/* Demo interactiva Turnero — scope: .turnero-demo */

.turnero-demo-section {
    position: relative;
    scroll-margin-top: calc(var(--nav-h) + 12px);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 212, 255, 0.06), transparent 55%),
        linear-gradient(180deg, #0a1012 0%, var(--bg-card) 42%, #080c0e 100%);
    border-block: 1px solid var(--border);
}

.turnero-demo {
    --demo-accent: var(--accent-cyan);
    --demo-accent-alt: var(--accent-mint);
    --demo-phone-w: min(100%, 390px);
    --demo-phone-ratio: 780;
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}

.turnero-demo:not(.is-ready) .turnero-demo-layout {
    min-height: 320px;
    opacity: 0.85;
}

.turnero-demo-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.turnero-demo-head-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.turnero-demo-disclaimer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--text-muted);
}

.turnero-demo-disclaimer-icon {
    flex-shrink: 0;
    opacity: 0.85;
}

.turnero-demo-rubros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.turnero-demo-rubro-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}

.turnero-demo-rubro-btn:hover {
    border-color: rgba(0, 212, 255, 0.35);
    color: var(--text);
}

.turnero-demo-rubro-btn[aria-selected="true"] {
    border-color: var(--demo-accent);
    color: var(--text);
    background: color-mix(in srgb, var(--demo-accent) 14%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--demo-accent) 35%, transparent);
}

.turnero-demo-rubro-btn:focus-visible {
    outline: 2px solid var(--demo-accent);
    outline-offset: 2px;
}

.turnero-demo-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.turnero-demo-phone-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.turnero-demo-view-toggle {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
    max-width: var(--demo-phone-w);
}

.turnero-demo-view-toggle.is-visible {
    display: flex;
}

.turnero-demo-view-btn {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.turnero-demo-view-btn[aria-pressed="true"] {
    border-color: var(--demo-accent);
    background: rgba(0, 212, 255, 0.12);
    color: var(--text);
}

.turnero-demo-phone {
    position: relative;
    width: var(--demo-phone-w);
    border-radius: 32px;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, #1a2228 0%, #0a0e10 100%);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.turnero-demo-phone-scaler {
    width: 100%;
    max-width: var(--demo-phone-w);
}

.turnero-demo-phone-side,
.turnero-demo-phone-status,
.turnero-demo-phone-home-indicator {
    display: none;
}

.turnero-demo-phone-notch {
    width: 36%;
    height: 5px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.turnero-demo-aside-restart {
    display: none;
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
}

.turnero-demo-phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 390 / 780;
    max-height: min(78vh, 780px);
    min-height: 480px;
    overflow: hidden;
    border-radius: 22px;
    background: #0f1418;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.turnero-demo-phone-progress {
    flex-shrink: 0;
    display: flex;
    gap: 4px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}

.turnero-demo-phone-progress .turnero-demo-progress-seg {
    height: 3px;
}

.turnero-demo-screen-mount {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.turnero-demo-screen {
    padding: 16px 14px 20px;
}

.turnero-demo-screen--forward {
    animation: turnero-demo-screen-forward 0.22s ease both;
}

.turnero-demo-screen--back {
    animation: turnero-demo-screen-back 0.22s ease both;
}

@keyframes turnero-demo-screen-forward {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes turnero-demo-screen-back {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .turnero-demo-screen--forward,
    .turnero-demo-screen--back {
        animation: none;
    }

    .turnero-demo-screen-mount {
        scroll-behavior: auto;
    }
}

.turnero-demo-title--center {
    text-align: center;
}

.turnero-demo-lead--spaced {
    margin-top: 12px;
}

.turnero-demo-field-error {
    margin: 4px 0 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #fca5a5;
}

.turnero-demo-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: #001;
    border-radius: 50%;
    animation: turnero-demo-spin 0.65s linear infinite;
}

@keyframes turnero-demo-spin {
    to {
        transform: rotate(360deg);
    }
}

.turnero-demo-btn--primary .turnero-demo-spinner {
    margin-right: 4px;
}

.turnero-demo-cal-nav button:focus-visible {
    outline: 2px solid var(--demo-accent);
    outline-offset: 2px;
}

.turnero-demo-time:focus-visible {
    outline: 2px solid var(--demo-accent);
    outline-offset: 2px;
}

.turnero-demo-aside-steps {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.turnero-demo-aside-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    border: 1px solid transparent;
    opacity: 0.55;
    transform: translateY(4px);
    animation: turnero-demo-aside-in 0.35s ease both;
}

.turnero-demo-aside-step:nth-child(1) { animation-delay: 0.02s; }
.turnero-demo-aside-step:nth-child(2) { animation-delay: 0.06s; }
.turnero-demo-aside-step:nth-child(3) { animation-delay: 0.1s; }
.turnero-demo-aside-step:nth-child(4) { animation-delay: 0.14s; }
.turnero-demo-aside-step:nth-child(5) { animation-delay: 0.18s; }

.turnero-demo-aside-step.is-done {
    opacity: 1;
    color: var(--text-secondary);
}

.turnero-demo-aside-step.is-current {
    opacity: 1;
    color: var(--text);
    border-color: color-mix(in srgb, var(--demo-accent) 40%, transparent);
    background: color-mix(in srgb, var(--demo-accent) 10%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--demo-accent) 20%, transparent);
}

.turnero-demo-aside-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 800;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.turnero-demo-aside-step.is-done .turnero-demo-aside-step-num,
.turnero-demo-aside-step.is-current .turnero-demo-aside-step-num {
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-alt));
    color: #001;
}

@keyframes turnero-demo-aside-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.turnero-demo-confetti {
    pointer-events: none;
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    overflow: hidden;
    opacity: 0;
    z-index: 5;
}

.turnero-demo-confetti.is-active {
    opacity: 1;
}

.turnero-demo-confetti-piece {
    position: absolute;
    top: 35%;
    width: 6px;
    height: 10px;
    border-radius: 2px;
    opacity: 0.9;
    animation: turnero-demo-confetti-fall 1s ease-out forwards;
}

@keyframes turnero-demo-confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(120px) rotate(280deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .turnero-demo-aside-step {
        animation: none;
        transform: none;
    }

    .turnero-demo-spinner {
        animation: none;
    }

    .turnero-demo-confetti-piece {
        animation: none;
        opacity: 0;
    }
}

.turnero-demo-app-header {
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.turnero-demo-app-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
}

.turnero-demo-app-header-main {
    flex: 1;
    min-width: 0;
}

.turnero-demo-app-back {
    display: none;
    flex: none;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.turnero-demo-app-back:hover {
    border-color: color-mix(in srgb, var(--demo-accent) 45%, transparent);
    color: var(--demo-accent);
}

.turnero-demo-app-back:focus-visible {
    outline: 2px solid var(--demo-accent);
    outline-offset: 2px;
}

.turnero-demo-app-name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text);
}

.turnero-demo-app-step {
    margin: 4px 0 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--demo-accent);
}

.turnero-demo-title {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
}

.turnero-demo-lead {
    margin: 0 0 16px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.turnero-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.turnero-demo-btn:focus-visible {
    outline: 2px solid var(--demo-accent);
    outline-offset: 2px;
}

.turnero-demo-btn--primary {
    width: 100%;
    color: #001;
    background: linear-gradient(90deg, var(--demo-accent), var(--demo-accent-alt));
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
}

.turnero-demo-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
}

.turnero-demo-btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.turnero-demo-btn--ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.turnero-demo-btn--ghost:hover {
    border-color: var(--demo-accent);
    color: var(--text);
}

.turnero-demo-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.turnero-demo-btn-row .turnero-demo-btn--ghost {
    flex: 0 0 auto;
}

.turnero-demo-btn-row .turnero-demo-btn--primary {
    flex: 1;
    min-width: 140px;
}

.turnero-demo-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.turnero-demo-service-card {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-family: var(--font);
    color: inherit;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.turnero-demo-service-card:hover {
    border-color: rgba(0, 212, 255, 0.35);
}

.turnero-demo-service-card.is-selected {
    border-color: var(--demo-accent);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.25);
}

.turnero-demo-service-card:focus-visible {
    outline: 2px solid var(--demo-accent);
    outline-offset: 2px;
}

.turnero-demo-service-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.turnero-demo-service-name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.turnero-demo-service-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    color: transparent;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.turnero-demo-service-card.is-selected .turnero-demo-service-check {
    border-color: var(--demo-accent-alt);
    background: var(--demo-accent-alt);
    color: #001;
}

.turnero-demo-service-meta {
    margin: 6px 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.turnero-demo-service-price {
    margin-top: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--demo-accent);
}

.turnero-demo-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.turnero-demo-cal-nav button {
    min-width: 36px;
    min-height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
}

.turnero-demo-cal-nav h4 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: capitalize;
}

.turnero-demo-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 12px;
}

.turnero-demo-cal-dow {
    font-size: 0.625rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-muted);
    padding: 4px 0;
}

.turnero-demo-cal-day {
    aspect-ratio: 1;
    min-height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
}

.turnero-demo-cal-day.is-available:hover {
    background: rgba(0, 224, 128, 0.15);
    color: var(--text);
}

.turnero-demo-cal-day.is-selected {
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-alt));
    color: #001;
}

.turnero-demo-cal-day.is-blocked {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    cursor: not-allowed;
    text-decoration: line-through;
}

.turnero-demo-cal-day.is-unavailable {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.turnero-demo-cal-day:disabled {
    cursor: not-allowed;
}

.turnero-demo-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.turnero-demo-legend li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.turnero-demo-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.turnero-demo-legend-dot--ok {
    background: rgba(0, 224, 128, 0.5);
}

.turnero-demo-legend-dot--blocked {
    background: rgba(239, 68, 68, 0.55);
}

.turnero-demo-legend-dot--na {
    background: rgba(255, 255, 255, 0.15);
}

.turnero-demo-times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.turnero-demo-time {
    min-height: 40px;
    padding: 8px 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
}

.turnero-demo-time:hover:not(:disabled) {
    border-color: var(--demo-accent);
}

.turnero-demo-time.is-selected {
    border-color: var(--demo-accent);
    background: rgba(0, 212, 255, 0.12);
    color: var(--text);
}

.turnero-demo-time.is-busy {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
}

.turnero-demo-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.turnero-demo-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.turnero-demo-field input,
.turnero-demo-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.8125rem;
}

.turnero-demo-field input:focus,
.turnero-demo-field textarea:focus {
    outline: none;
    border-color: var(--demo-accent);
}

.turnero-demo-field.is-invalid input,
.turnero-demo-field.is-invalid textarea {
    border-color: #f87171;
}

.turnero-demo-summary {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.06);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.turnero-demo-summary strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8125rem;
    color: var(--text);
}

.turnero-demo-fill-example {
    margin-top: 8px;
    padding: 0;
    border: none;
    background: none;
    color: var(--demo-accent);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.turnero-demo-success-icon {
    width: 56px;
    height: 56px;
    margin: 8px auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #001;
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-alt));
    animation: turnero-demo-pop 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes turnero-demo-pop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.turnero-demo-email-preview {
    margin-top: 14px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    color: #1a1a1a;
    font-size: 0.6875rem;
    line-height: 1.45;
    text-align: left;
}

.turnero-demo-email-preview h4 {
    margin: 0 0 8px;
    font-size: 0.75rem;
    color: #111;
}

.turnero-demo-email-preview p {
    margin: 0 0 6px;
}

.turnero-demo-email-preview .turnero-demo-email-muted {
    color: #666;
    font-size: 0.625rem;
}

.turnero-demo-cancel-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.6875rem;
    color: #b91c1c;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font);
}

.turnero-demo-owner {
    padding: 12px;
}

.turnero-demo-owner-title {
    margin: 0 0 10px;
    font-size: 0.875rem;
    font-weight: 800;
}

.turnero-demo-owner-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.turnero-demo-owner-item {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
}

.turnero-demo-owner-item.is-new {
    border-color: var(--demo-accent-alt);
    background: rgba(0, 224, 128, 0.1);
    box-shadow: 0 0 0 1px rgba(0, 224, 128, 0.2);
}

.turnero-demo-owner-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--demo-accent-alt);
    color: #001;
}

.turnero-demo-aside-wrap {
    min-width: 0;
    width: 100%;
}

.turnero-demo-aside-panel {
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.turnero-demo-aside-kicker {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--demo-accent);
}

.turnero-demo-aside-title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
}

.turnero-demo-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.turnero-demo-progress-seg {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.turnero-demo-progress-seg.is-done {
    background: linear-gradient(90deg, var(--demo-accent), var(--demo-accent-alt));
}

.turnero-demo-aside-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.turnero-demo-aside-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.turnero-demo-aside-plans {
    display: none;
    margin: 0;
}

.turnero-demo-screen--home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    text-align: center;
    padding-bottom: 24px;
}

.turnero-demo-home-brand {
    margin-bottom: 16px;
}

.turnero-demo-home-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #001;
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-accent-alt));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--demo-accent) 35%, transparent);
}

.turnero-demo-home-mark--ib7 {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 0.875rem;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.turnero-demo-home-name {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.turnero-demo-screen--home .turnero-demo-title {
    margin-bottom: 8px;
}

.turnero-demo-screen--home .turnero-demo-lead {
    margin-bottom: 16px;
}

.turnero-demo-screen--home .turnero-demo-btn--primary {
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
}

.turnero-demo-home-perks {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    text-align: left;
}

.turnero-demo-home-perk {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.6875rem;
    line-height: 1.35;
    color: var(--text-secondary);
}

.turnero-demo-home-perk strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    color: var(--text);
}

.turnero-demo-footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.turnero-demo-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.turnero-demo-plan-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    max-width: 100%;
    text-align: left;
}

.turnero-demo-plan-badge strong {
    color: var(--text);
}

.turnero-demo-plan-badge--extra {
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.08);
}

.turnero-demo-footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.turnero-demo-footer-actions .btn {
    min-height: 48px;
}

.turnero-demo-footer-actions .turnero-demo-restart {
    min-height: 48px;
}

@media (max-width: 767px) {
    .turnero-demo-aside-wrap {
        margin-top: 4px;
    }

    .turnero-demo {
        --demo-phone-w: 100%;
    }

    .turnero-demo-phone-scaler {
        width: 100%;
        max-width: none;
        height: auto;
    }

    .turnero-demo-phone {
        width: 100%;
        height: auto;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .turnero-demo-phone-notch {
        display: none;
    }

    .turnero-demo-phone-screen {
        aspect-ratio: auto;
        min-height: min(520px, 72vh);
        max-height: none;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
    }

    .turnero-demo-view-toggle,
    .turnero-demo-phone-wrap {
        max-width: none;
        width: 100%;
    }

    .turnero-demo-btn,
    .turnero-demo-cal-nav button,
    .turnero-demo-time {
        min-height: 44px;
    }

    .turnero-demo-footer-actions {
        flex-direction: column;
        width: 100%;
    }

    .turnero-demo-footer-actions .btn,
    .turnero-demo-footer-actions .turnero-demo-restart {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .turnero-demo-section {
        --demo-phone-frame-w: 360px;
        --demo-phone-frame-h: calc(var(--demo-phone-frame-w) * 19.5 / 9);
        --demo-desk-stage-h: calc(var(--demo-phone-frame-h) * var(--phone-scale, 1));
        padding-block: 64px;
    }

    .turnero-demo-section .turnero-section-intro {
        margin-bottom: 0;
    }

    .turnero-demo-section-intro .section-title {
        font-size: clamp(1.5rem, 2.2vw, 1.875rem);
        line-height: 1.2;
    }

    .turnero-demo-section-intro .section-sub {
        font-size: 0.9375rem;
    }

    .turnero-demo-container {
        max-width: 1100px;
        margin-inline: auto;
    }

    .turnero-demo-section-head {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
        text-align: center;
    }

    .turnero-demo-head-meta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 16px;
    }

    .turnero-demo-rubros {
        margin-bottom: 0;
    }

    .turnero-demo {
        max-width: 1100px;
    }

    .turnero-demo-layout {
        grid-template-columns: 400px minmax(0, 1fr);
        gap: 56px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .turnero-demo-phone-wrap {
        position: relative;
        flex: none;
        width: 400px;
        max-width: 400px;
        min-height: var(--demo-desk-stage-h);
        justify-content: center;
        perspective: 1200px;
    }

    .turnero-demo-phone-wrap::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 52%;
        width: min(420px, 95%);
        height: min(640px, 78vh);
        transform: translate(-50%, -50%);
        background: radial-gradient(
            closest-side,
            rgba(0, 217, 245, 0.22),
            rgba(0, 230, 138, 0.1) 45%,
            transparent 100%
        );
        filter: blur(28px);
        pointer-events: none;
        z-index: 0;
    }

    .turnero-demo-phone-scaler {
        --phone-scale: 1;
        position: relative;
        z-index: 1;
        flex: none;
        width: calc(var(--demo-phone-frame-w) * var(--phone-scale));
        height: calc(var(--demo-phone-frame-h) * var(--phone-scale));
        max-width: none;
    }

    .turnero-demo-phone {
        position: relative;
        flex: none;
        box-sizing: border-box;
        width: var(--demo-phone-frame-w);
        height: var(--demo-phone-frame-h);
        padding: 10px;
        border-radius: 54px;
        border: 1px solid transparent;
        background:
            linear-gradient(#050708, #050708) padding-box,
            linear-gradient(145deg, #2a2f33 0%, #1a1d20 45%, #0d0f10 100%) border-box;
        box-shadow:
            0 40px 80px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(255, 255, 255, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        transform: scale(var(--phone-scale)) rotateY(-6deg);
        transform-origin: top center;
        transition: transform 0.25s ease;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .turnero-demo-phone-scaler:hover .turnero-demo-phone {
        transform: scale(var(--phone-scale)) rotateY(0deg);
    }

    .turnero-demo-phone-side {
        display: block;
        position: absolute;
        background: linear-gradient(180deg, #3a4045, #15181b);
        border-radius: 2px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
        pointer-events: none;
    }

    .turnero-demo-phone-side--vol {
        left: -3px;
        top: 128px;
        width: 3px;
        height: 34px;
    }

    .turnero-demo-phone-side--vol::after {
        content: "";
        position: absolute;
        left: 0;
        top: 44px;
        width: 3px;
        height: 54px;
        border-radius: 2px;
        background: inherit;
        box-shadow: inherit;
    }

    .turnero-demo-phone-side--power {
        right: -3px;
        top: 168px;
        width: 3px;
        height: 72px;
    }

    .turnero-demo-phone-status {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: none;
        height: 28px;
        padding: 0 18px 0 14px;
        margin-bottom: 2px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .turnero-demo-phone-status-icons {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .turnero-demo-phone-status-icons svg {
        display: block;
        opacity: 0.95;
    }

    .turnero-demo-phone-notch {
        position: absolute;
        z-index: 4;
        top: 10px;
        left: 50%;
        width: 96px;
        height: 28px;
        margin: 0;
        transform: translateX(-50%);
        border-radius: 999px;
        background: #000;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    }

    .turnero-demo-phone-screen {
        position: relative;
        flex: 1;
        min-height: 0;
        width: 100%;
        max-height: none;
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        border-radius: 44px;
        background: #0f1418;
        border: 1px solid rgba(255, 255, 255, 0.07);
        overflow: hidden;
    }

    .turnero-demo-phone-progress {
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(15, 20, 24, 0.96);
        backdrop-filter: blur(6px);
    }

    .turnero-demo-screen-mount {
        flex: 1;
        min-height: 0;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
    }

    .turnero-demo-screen-mount::-webkit-scrollbar {
        width: 4px;
    }

    .turnero-demo-screen-mount::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
        border-radius: 999px;
    }

    .turnero-demo-screen {
        padding: 14px 14px 72px;
        font-size: 0.9375rem;
    }

    .turnero-demo-screen .turnero-demo-btn--primary,
    .turnero-demo-screen .turnero-demo-btn-row {
        position: sticky;
        bottom: 8px;
        z-index: 2;
        margin-top: 12px;
    }

    .turnero-demo-screen .turnero-demo-btn-row {
        padding-top: 8px;
        background: linear-gradient(180deg, transparent, rgba(15, 20, 24, 0.92) 28%);
    }

    .turnero-demo-phone-home-indicator {
        display: block;
        flex: none;
        width: 34%;
        height: 5px;
        margin: 6px auto 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.32);
    }

    .turnero-demo-app-header {
        position: sticky;
        top: 0;
        z-index: 1;
        margin-bottom: 10px;
        padding-bottom: 10px;
        background: rgba(15, 20, 24, 0.96);
        backdrop-filter: blur(6px);
    }

    .turnero-demo-app-header-row {
        justify-content: flex-start;
        text-align: left;
    }

    .turnero-demo-app-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .turnero-demo-aside-wrap {
        display: flex;
        align-self: stretch;
        min-height: var(--demo-desk-stage-h);
    }

    .turnero-demo-aside-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: var(--demo-desk-stage-h);
        padding: 28px 32px 24px;
        font-size: 0.9375rem;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    }

    .turnero-demo-aside-panel > .turnero-demo-progress {
        display: none;
    }

    .turnero-demo-aside-title {
        font-size: 1.125rem;
        margin-bottom: 16px;
    }

    .turnero-demo-aside-steps {
        flex: 0 1 auto;
        gap: 0;
        margin-bottom: 16px;
    }

    .turnero-demo-aside-step {
        position: relative;
        align-items: flex-start;
        gap: 12px;
        margin: 0;
        padding: 0 0 20px 44px;
        border: none;
        border-radius: 0;
        background: transparent;
        opacity: 0.45;
        transform: none;
        animation: none;
        font-size: 0.9375rem;
        transition: opacity 0.22s ease, color 0.22s ease;
    }

    .turnero-demo-aside-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 15px;
        top: 32px;
        bottom: 4px;
        width: 2px;
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--demo-accent) 45%, transparent),
            rgba(255, 255, 255, 0.08)
        );
    }

    .turnero-demo-aside-step.is-done:not(:last-child)::after {
        background: linear-gradient(
            180deg,
            var(--demo-accent),
            color-mix(in srgb, var(--demo-accent-alt) 70%, transparent)
        );
    }

    .turnero-demo-aside-step-num {
        position: absolute;
        left: 0;
        top: 0;
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .turnero-demo-aside-step.is-done .turnero-demo-aside-step-num {
        font-size: 0.875rem;
    }

    .turnero-demo-aside-step.is-current {
        opacity: 1;
        color: var(--text);
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .turnero-demo-aside-step.is-current .turnero-demo-aside-step-num {
        box-shadow:
            0 0 0 3px color-mix(in srgb, var(--demo-accent) 25%, transparent),
            0 0 18px color-mix(in srgb, var(--demo-accent) 55%, transparent);
    }

    .turnero-demo-aside-step.is-done {
        opacity: 0.92;
    }

    .turnero-demo-aside-foot {
        margin-top: auto;
        gap: 12px;
    }

    .turnero-demo-aside-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .turnero-demo-aside-plans {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px;
    }

    .turnero-demo-aside-plans .turnero-demo-plan-badge {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 140px;
        font-size: 0.6875rem;
        padding: 8px 10px;
    }

    .turnero-demo-aside-restart {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .turnero-demo-footer .turnero-demo-plans {
        display: none;
    }

    .turnero-demo-view-toggle {
        max-width: 360px;
    }

    .turnero-demo-screen--forward {
        animation-duration: 0.25s;
    }

    .turnero-demo-screen--back {
        animation-duration: 0.25s;
    }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
    .turnero-demo-phone {
        transform: scale(var(--phone-scale));
        transition: none;
    }

    .turnero-demo-phone-scaler:hover .turnero-demo-phone {
        transform: scale(var(--phone-scale));
    }

    .turnero-demo-aside-step {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .turnero-demo-success-icon {
        animation: none;
    }

    .turnero-demo-btn--primary:hover:not(:disabled) {
        transform: none;
    }

    .turnero-demo-screen--forward,
    .turnero-demo-screen--back {
        animation: none;
    }
}
