/**
 * Demo Experience CSS - "Meet Q"
 * ==============================
 * Mobile-first, dark theme matching EchoVQ brand.
 */

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

.demo-body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    background-color: #0a0a14;
    color: #ffffff;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Dark gradient background */
.demo-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 1400px 900px at 50% 45%,
            rgba(30, 35, 70, 0.4) 0%,
            rgba(20, 25, 50, 0.6) 35%,
            rgba(14, 14, 26, 0.85) 65%,
            rgba(10, 10, 20, 1) 100%
        ),
        linear-gradient(135deg,
            #0E0E1A 0%,
            #151530 50%,
            #0A0A14 100%
        );
}

/* Noise overlay */
.demo-body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    mix-blend-mode: overlay;
}

/* ==========================================================================
   Main Container - Centered Layout (like /try-echovq)
   ========================================================================== */

.demo-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Q Orb Center Container - Orb + Spoken Text */
.qorb-center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
}

/* Q Orb Canvas Container */
.demo-orb {
    position: relative;
    width: 165px;
    height: 165px;
    margin: 0 auto;
}

.demo-orb canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Q Speaking Text - Below the Orb */
.q-spoken {
    margin: 20px auto 0;
    max-width: 36ch;
    color: #dfe8ff;
    font-size: 20px;
    line-height: 1.7;
    text-align: center;
    min-height: 3em;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Word-by-word fade-in animation */
@keyframes wordFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interaction Area Below Q */
#demo-interaction {
    width: 100%;
    max-width: 480px;
    text-align: center;
    animation: interactionFadeIn 0.5s ease-out;
}

@keyframes interactionFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

/* Legacy #demo-root (if JS still uses it) */
#demo-root {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.demo-stage {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ==========================================================================
   Q Speech Bubble
   ========================================================================== */

.q-speech-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 28px;
    position: relative;
    max-width: 100%;
}

.q-message {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
}

.q-message-secondary {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.q-hint {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 12px 16px;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 8px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.demo-btn {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    touch-action: manipulation;
}

.demo-btn-primary {
    background: linear-gradient(135deg, #9370DB 0%, #7B68EE 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(147, 112, 219, 0.3);
}

.demo-btn-primary:hover,
.demo-btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(147, 112, 219, 0.4);
}

.demo-btn-primary:active {
    transform: translateY(0);
}

.demo-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-btn-secondary:hover,
.demo-btn-secondary:focus {
    background: rgba(255, 255, 255, 0.15);
}

.demo-btn-text {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    padding: 12px 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.demo-btn-text:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   User Type Selector (Stage 2)
   ========================================================================== */

.user-type-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.user-type-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.15) 0%, rgba(123, 104, 238, 0.08) 100%);
    border: 1px solid rgba(147, 112, 219, 0.35);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.user-type-btn:hover,
.user-type-btn:focus {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.3) 0%, rgba(123, 104, 238, 0.2) 100%);
    border-color: rgba(147, 112, 219, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(147, 112, 219, 0.25);
}

.user-type-icon {
    font-size: 1.1rem;
    opacity: 0.9;
}

.user-type-label {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.user-type-desc {
    display: none;
}

/* ==========================================================================
   Exercise Preview (Stage 3)
   ========================================================================== */

.exercise-preview {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    width: 100%;
}

.exercise-name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.audio-player-container {
    display: flex;
    justify-content: center;
}

.play-icon {
    margin-right: 8px;
}

/* ==========================================================================
   Recording Area (Stage 4 & 6)
   ========================================================================== */

.recording-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.record-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9370DB 0%, #7B68EE 100%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.record-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(147, 112, 219, 0.4);
}

.record-btn.recording {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%);
    animation: recordPulse 1.5s ease-in-out infinite;
}

@keyframes recordPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 107, 0.6);
    }
}

.record-icon {
    font-size: 2rem;
}

.record-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.recording-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Metrics Display (Stage 5 & 7)
   ========================================================================== */

.metrics-display {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.metric-icon {
    font-size: 1rem;
}

.metric-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #9370DB 0%, #7B68EE 100%);
    border-radius: 4px;
    transition: width 0.6s ease-out;
}

.metric-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

.stage-title {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ==========================================================================
   Comparison View (Stage 7)
   ========================================================================== */

.comparison-view {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 24px;
}

.attempt-column {
    flex: 1;
}

.attempt-column h3 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.comparison-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.improvement-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(147, 112, 219, 0.15);
    border-radius: 16px;
    margin-bottom: 16px;
}

.improvement-icon {
    font-size: 1.5rem;
}

.improvement-number {
    font-size: 3rem;
    font-weight: 800;
    color: #9370DB;
    line-height: 1;
}

.improvement-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.signup-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -8px;
}

/* ==========================================================================
   Loading State
   ========================================================================== */

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(147, 112, 219, 0.2);
    border-top-color: #9370DB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-message {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.loading-progress {
    width: 100%;
    max-width: 300px;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #9370DB;
    transition: width 0.3s ease;
}

.progress-step {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* ==========================================================================
   Error State
   ========================================================================== */

.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    color: #FF9B9B;
}

/* ==========================================================================
   Q Orb Canvas Styles (moved to .demo-orb above)
   ========================================================================== */

#demo-q-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   Confetti Canvas
   ========================================================================== */

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */

@media (max-width: 480px) {
    .demo-container {
        padding: 20px 16px;
    }

    .demo-orb {
        width: 140px;
        height: 140px;
    }

    .q-spoken {
        font-size: 18px;
        max-width: 32ch;
    }

    .q-speech-bubble {
        padding: 20px;
    }

    .q-message {
        font-size: 1rem;
    }

    .demo-btn {
        padding: 14px 32px;
        min-width: 180px;
    }

    .record-btn {
        width: 140px;
        height: 140px;
    }

    .improvement-number {
        font-size: 2.5rem;
    }

    .comparison-view {
        flex-direction: column;
        gap: 20px;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .user-type-selector {
        gap: 8px;
        flex-wrap: wrap;
    }

    .user-type-btn {
        padding: 10px 18px;
    }

    .user-type-icon {
        font-size: 1rem;
    }

    .user-type-label {
        font-size: 0.85rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .q-spoken {
        font-size: 16px;
    }

    .demo-orb {
        width: 120px;
        height: 120px;
    }

    .record-btn {
        width: 120px;
        height: 120px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .demo-container {
        padding: 20px;
    }

    .qorb-center-container {
        margin-bottom: 20px;
    }

    .demo-orb {
        width: 100px;
        height: 100px;
    }
}

/* Safe area insets for modern devices */
@supports (padding: max(0px)) {
    .demo-container {
        padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom)));
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .q-speech-bubble {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.3);
    }

    .demo-btn-primary {
        background: #9370DB;
    }
}

/* ==========================================================================
   Demo Player - Exercise Player with Spotlight Tour
   ========================================================================== */

.demo-player {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.demo-player-wrapper {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Piano Roll Display Area */
.demo-player-display {
    display: flex;
    height: 200px;
    background: linear-gradient(180deg, #12121f 0%, #1a1a2e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Piano Keys */
.demo-piano-keys {
    width: 50px;
    background: linear-gradient(90deg, #2a2a40 0%, #1a1a2e 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.demo-keys-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.demo-key {
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.1s ease;
}

.demo-key-white {
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
}

.demo-key:hover {
    background: rgba(147, 112, 219, 0.2);
}

/* Piano Roll / Notes Area */
.demo-piano-roll {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.demo-notes-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.demo-note-bars {
    position: relative;
    width: 100%;
    height: 100%;
}

.demo-note-bar {
    position: absolute;
    height: 20px;
    background: linear-gradient(90deg, #9370DB 0%, #7B68EE 100%);
    border-radius: 4px;
    top: var(--note-pos);
    left: var(--note-start);
    width: var(--note-width);
    box-shadow: 0 2px 8px rgba(147, 112, 219, 0.4);
    transform: translateY(-50%);
}

/* Playhead */
.demo-playhead {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #fff;
    left: 0;
    z-index: 10;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transition: left 0.1s linear;
}

.demo-playhead.playing {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

/* Control Bar */
.demo-control-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0f0f1a;
    gap: 16px;
}

.demo-controls-left,
.demo-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-controls-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Control Buttons */
.demo-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.demo-control-btn:disabled {
    opacity: 0.5;
}

.demo-control-btn.demo-btn-enabled {
    background: linear-gradient(135deg, #9370DB 0%, #7B68EE 100%);
    color: #fff;
    cursor: pointer;
    opacity: 1;
}

.demo-control-btn.demo-btn-enabled:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(147, 112, 219, 0.4);
}

.demo-play-btn {
    width: 52px;
    height: 52px;
}

.demo-record-btn {
    background: rgba(255, 100, 100, 0.2);
}

.demo-record-btn.demo-btn-enabled {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.demo-btn-pulse {
    animation: btnPulse 1.5s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); }
}

.demo-loop-btn {
    width: auto;
    border-radius: 20px;
    padding: 8px 16px;
    gap: 6px;
    font-size: 0.75rem;
}

/* Transpose Select */
.demo-transpose-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    cursor: not-allowed;
}

/* Progress Bar */
.demo-progress-container {
    flex: 1;
    max-width: 200px;
}

.demo-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.demo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9370DB 0%, #7B68EE 100%);
    width: 0%;
    transition: width 0.1s linear;
}

.demo-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
    min-width: 36px;
}

.demo-volume-control {
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Spotlight Tour
   ========================================================================== */

.demo-spotlight-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.demo-spotlight-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.demo-spotlight-target {
    position: relative;
    z-index: 101;
    box-shadow: 0 0 0 4px rgba(147, 112, 219, 0.6), 0 0 20px rgba(147, 112, 219, 0.4);
    border-radius: 8px;
}

/* Tour Tooltip */
.demo-tour-tooltip {
    position: absolute;
    z-index: 102;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.demo-tour-tooltip.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.demo-tour-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #fff;
    border-top: none;
}

.demo-tour-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

.demo-tour-message {
    font-size: 0.8125rem;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.demo-tour-next {
    background: linear-gradient(135deg, #9370DB 0%, #7B68EE 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.demo-tour-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(147, 112, 219, 0.3);
}

/* ==========================================================================
   Demo Player - Mobile Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .demo-player-display {
        height: 150px;
    }

    .demo-piano-keys {
        width: 40px;
    }

    .demo-control-bar {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 10px;
    }

    .demo-controls-left {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .demo-controls-center {
        order: 1;
    }

    .demo-controls-right {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .demo-progress-container {
        max-width: 150px;
    }

    .demo-loop-btn span {
        display: none;
    }

    .demo-loop-btn {
        width: 40px;
        padding: 8px;
    }
}

/* ==========================================================================
   Demo Piano Roll - Real Notes from MusicXML
   ========================================================================== */

.demo-piano-roll-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.demo-piano-roll-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(26, 26, 46, 0.9);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.demo-loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(147, 112, 219, 0.2);
    border-top-color: #9370DB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.demo-piano-roll-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.9);
    color: #ff9b9b;
    font-size: 0.875rem;
}

.demo-piano-roll-content {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Piano Keys Canvas */
.demo-keys-canvas {
    flex-shrink: 0;
    background: #2d2d44;
}

/* Piano Roll Scroll Container */
.demo-roll-scroll-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(147, 112, 219, 0.5) rgba(255, 255, 255, 0.1);
}

.demo-roll-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.demo-roll-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.demo-roll-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(147, 112, 219, 0.5);
    border-radius: 3px;
}

.demo-roll-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(147, 112, 219, 0.7);
}

/* Piano Roll Canvas */
.demo-roll-canvas {
    display: block;
}

/* Playhead for Piano Roll - Fixed position, content scrolls behind it */
.demo-roll-scroll-container .demo-playhead {
    position: absolute;
    top: 0;
    bottom: 6px; /* Account for scrollbar */
    width: 3px;
    background: rgb(168, 49, 219);
    left: 60px; /* Fixed position - JS may override but this is default */
    z-index: 10;
    box-shadow: 0 0 8px rgba(168, 49, 219, 0.6);
    pointer-events: none;
}

/* Fallback styles for when MusicXML not available */
.demo-fallback-keys {
    width: 50px;
    display: flex;
    flex-direction: column;
    background: #2d2d44;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-key-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-fallback-roll {
    flex: 1;
    position: relative;
    background: #1a1a2e;
}

/* Adjust player display for real piano roll */
#demo-piano-roll-mount {
    width: 100%;
    height: 100%;
}

/* Make sure spotlight works with the new structure */
#demo-piano-roll-container.demo-spotlight-target .demo-piano-roll-wrapper,
#demo-keys-canvas.demo-spotlight-target {
    box-shadow: 0 0 0 4px rgba(147, 112, 219, 0.6), 0 0 20px rgba(147, 112, 219, 0.4);
}

/* ==========================================================================
   Demo Piano Roll - Mobile Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .demo-keys-canvas {
        width: 40px !important;
    }

    .demo-piano-roll-content {
        height: 150px;
    }
}

/* ==========================================================================
   Debug Panel Styles
   ========================================================================== */

.debug-panel {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.debug-toggle {
    width: 100%;
    padding: 12px 16px;
    background: rgba(147, 112, 219, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-family: 'Monaco', 'Menlo', monospace;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.debug-toggle:hover {
    background: rgba(147, 112, 219, 0.2);
    color: #fff;
}

.debug-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.debug-content.expanded {
    max-height: 500px;
    overflow: auto;
    padding: 16px;
}

.debug-content h4 {
    color: #9370db;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.debug-section {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(147, 112, 219, 0.2);
}

.debug-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.debug-section strong {
    color: #b8a2d0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.debug-table {
    width: 100%;
    margin-top: 8px;
    font-size: 11px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.debug-table td {
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.debug-table td:first-child {
    color: rgba(255, 255, 255, 0.6);
    width: 40%;
}

.debug-table td:last-child {
    color: #7dd3fc;
    text-align: right;
}

.debug-content pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.8);
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Debug Comparison Panels (Stage 7 - both attempts side by side) */
.debug-comparison-panels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
}

@media (min-width: 768px) {
    .debug-comparison-panels {
        flex-direction: row;
        gap: 20px;
    }

    .debug-comparison-panels .debug-panel {
        flex: 1;
        margin: 0;
        max-width: none;
    }
}

.debug-comparison-panels .debug-panel {
    margin-top: 0;
}

.debug-comparison-panels .debug-toggle {
    font-weight: 600;
}

/* Color code attempt 1 vs attempt 2 */
.debug-comparison-panels #debug-panel-1 {
    border-color: rgba(100, 150, 255, 0.4);
}

.debug-comparison-panels #debug-panel-1 .debug-toggle {
    background: rgba(100, 150, 255, 0.1);
}

.debug-comparison-panels #debug-panel-1 .debug-toggle:hover {
    background: rgba(100, 150, 255, 0.2);
}

.debug-comparison-panels #debug-panel-2 {
    border-color: rgba(100, 255, 150, 0.4);
}

.debug-comparison-panels #debug-panel-2 .debug-toggle {
    background: rgba(100, 255, 150, 0.1);
}

.debug-comparison-panels #debug-panel-2 .debug-toggle:hover {
    background: rgba(100, 255, 150, 0.2);
}

/* ==========================================================================
   Progressive Analysis View
   ========================================================================== */

.progressive-analysis {
    width: 100%;
    max-width: 500px;
}

.progressive-analysis .demo-content {
    gap: 20px;
}

/* Phase Indicator */
.analysis-phase-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(147, 112, 219, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(147, 112, 219, 0.2);
}

.phase-icon {
    font-size: 1.5rem;
    animation: phaseIconPulse 2s ease-in-out infinite;
}

@keyframes phaseIconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.phase-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

/* Progress Bar */
.analysis-progress-container {
    width: 100%;
    padding: 0 20px;
}

.analysis-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.analysis-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9370DB 0%, #7B68EE 50%, #a78bfa 100%);
    border-radius: 3px;
    transition: width 0.5s ease-out;
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

/* Power Stats */
.analysis-power-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
}

.power-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.power-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9370DB;
    font-variant-numeric: tabular-nums;
}

.power-stat .stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Metrics Reveal */
.analysis-metrics-reveal {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-reveal-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
}

.metric-reveal-item:hover {
    background: rgba(147, 112, 219, 0.1);
}

.metric-reveal-status {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-reveal-icon {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.metric-reveal-icon.pending {
    color: rgba(255, 255, 255, 0.3);
}

.metric-reveal-icon.in-progress {
    color: #fbbf24;
    animation: metricSpinner 1s linear infinite;
}

@keyframes metricSpinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.metric-reveal-icon.complete {
    color: #34d399;
    animation: metricComplete 0.4s ease;
}

@keyframes metricComplete {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.metric-reveal-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.metric-reveal-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.metric-reveal-description {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Precision Messaging */
.analysis-precision {
    padding: 12px 16px;
    background: rgba(147, 112, 219, 0.08);
    border-radius: 8px;
    transition: opacity 0.5s ease;
}

.analysis-precision p {
    font-size: 0.75rem;
    color: rgba(147, 112, 219, 0.9);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Dimension Carousel - Cycling Analysis Dimensions
   ========================================================================== */

.analysis-dimension-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(147, 112, 219, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(147, 112, 219, 0.15);
    overflow: hidden;
}

.carousel-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.carousel-item-container {
    position: relative;
    min-width: 180px;
    height: 36px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-item.exiting {
    transform: translateY(-100%);
    opacity: 0;
}

.carousel-item.entering {
    transform: translateY(0);
    opacity: 1;
    animation: carouselEnter 0.3s ease forwards;
}

@keyframes carouselEnter {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel-dimension {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.carousel-detail {
    font-size: 0.7rem;
    color: rgba(147, 112, 219, 0.9);
    font-weight: 500;
}

/* ==========================================================================
   Analysis Depth Badge - Real-Time Stats Display
   ========================================================================== */

.analysis-depth-badge {
    width: 100%;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(147, 112, 219, 0.25);
    border-radius: 16px;
    padding: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.analysis-depth-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

.badge-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.badge-icon {
    font-size: 1.25rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.badge-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-stats {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    margin-bottom: 16px;
}

.badge-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.badge-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #a78bfa;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.badge-stat-value.badge-stat-large {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-stat-featured {
    padding: 8px 0;
}

.badge-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.3;
}

/* Smaller stats row */
.badge-stats-row {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 12px;
    border-top: 1px solid rgba(147, 112, 219, 0.1);
    border-bottom: 1px solid rgba(147, 112, 219, 0.1);
}

.badge-stat-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.badge-stat-small .badge-stat-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.badge-stat-small .badge-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-unit {
    font-size: 0.7em;
    opacity: 0.7;
}

.badge-precision {
    text-align: center;
    padding-top: 0;
}

.badge-precision span {
    font-size: 0.7rem;
    color: rgba(147, 112, 219, 0.8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Badge Metrics List - shows metrics being measured */
.badge-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(147, 112, 219, 0.15);
}

.badge-metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(147, 112, 219, 0.06);
    border-radius: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.badge-metric-item.active {
    opacity: 1;
    background: rgba(147, 112, 219, 0.12);
}

.badge-metric-item.complete {
    opacity: 1;
}

.badge-metric-icon {
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

.badge-metric-label {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.badge-metric-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(147, 112, 219, 0.7);
    min-width: 24px;
    text-align: right;
}

.badge-metric-item.active .badge-metric-status {
    color: rgba(147, 112, 219, 1);
    animation: pulse-status 1s ease-in-out infinite;
}

.badge-metric-item.complete .badge-metric-status {
    color: #4ade80;
}

@keyframes pulse-status {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Adjusted carousel in badge header */
.badge-header .analysis-dimension-carousel {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.badge-header .carousel-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(147, 112, 219, 0.8);
}

.badge-header .carousel-dimension {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.badge-header .carousel-detail {
    font-size: 0.8rem;
    color: rgba(147, 112, 219, 0.7);
}

/* Progress bar inside badge */
.analysis-depth-badge .analysis-progress-container {
    margin: 16px 0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .badge-metrics-list {
        gap: 6px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .badge-metric-item {
        padding: 6px 10px;
        gap: 8px;
    }

    .badge-metric-icon {
        font-size: 0.9rem;
        width: 20px;
    }

    .badge-metric-label {
        font-size: 0.8rem;
    }

    .badge-metric-status {
        font-size: 0.7rem;
    }

    .badge-header .carousel-dimension {
        font-size: 1rem;
    }

    .badge-header .carousel-detail {
        font-size: 0.75rem;
    }

    .analysis-phase-indicator {
        padding: 12px 16px;
        gap: 10px;
    }

    .phase-icon {
        font-size: 1.25rem;
    }

    .phase-title {
        font-size: 1rem;
    }

    .analysis-power-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .power-stat .stat-value {
        font-size: 1.25rem;
    }

    .power-stat .stat-label {
        font-size: 0.65rem;
    }

    .metric-reveal-item {
        padding: 8px 10px;
    }

    .metric-reveal-label {
        font-size: 0.85rem;
    }

    .metric-reveal-description {
        font-size: 0.7rem;
    }

    /* Carousel mobile */
    .analysis-dimension-carousel {
        padding: 12px 16px;
        gap: 10px;
    }

    .carousel-label {
        font-size: 0.65rem;
    }

    .carousel-item-container {
        min-width: 140px;
    }

    .carousel-dimension {
        font-size: 0.9rem;
    }

    .carousel-detail {
        font-size: 0.65rem;
    }

    /* Badge mobile */
    .analysis-depth-badge {
        padding: 16px;
    }

    .badge-title {
        font-size: 0.75rem;
    }

    .badge-stat-value {
        font-size: 1.5rem;
    }

    .badge-stat-value.badge-stat-large {
        font-size: 2rem;
    }

    .badge-stat-label {
        font-size: 0.6rem;
    }

    .badge-stats-row {
        gap: 8px;
        padding: 10px 0;
    }

    .badge-stat-small .badge-stat-value {
        font-size: 1rem;
    }

    .badge-precision span {
        font-size: 0.65rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .analysis-power-stats {
        flex-direction: column;
        gap: 12px;
    }

    .power-stat {
        flex-direction: row;
        gap: 8px;
    }

    /* Carousel extra small */
    .analysis-dimension-carousel {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .carousel-item-container {
        min-width: 100%;
        text-align: center;
    }

    .carousel-item {
        align-items: center;
    }

    /* Badge extra small */
    .badge-stat-value.badge-stat-large {
        font-size: 1.75rem;
    }

    .badge-stats-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .badge-stat-small {
        min-width: 60px;
    }

    .badge-stat-small .badge-stat-value {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Stage 5: YOUR BASELINE - Clean, Simple Design
   ========================================================================== */

.baseline-captured {
    max-width: 480px;
}

.baseline-captured .demo-content {
    gap: 24px;
}

/* Success Header */
.baseline-success-header {
    text-align: center;
}

.success-checkmark {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(52, 211, 153, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #34d399;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.success-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Baseline Pills - simple checkmark list */
.baseline-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.baseline-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.baseline-pill .pill-check {
    color: #34d399;
    font-weight: 700;
}

.baseline-pill .pill-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Data Summary */
.baseline-data-summary {
    text-align: center;
    padding: 16px 24px;
    background: rgba(147, 112, 219, 0.08);
    border-radius: 12px;
}

.data-highlight {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #9370DB;
    font-variant-numeric: tabular-nums;
}

.data-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* See Details Toggle */
.see-details-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.see-details-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.toggle-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

/* Baseline Details (expanded view) */
.baseline-details {
    width: 100%;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(147, 112, 219, 0.2);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.baseline-details.hidden {
    display: none;
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.detail-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a78bfa;
    font-family: 'Monaco', 'Menlo', monospace;
}

/* Baseline CTA */
.baseline-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-subtext {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Button Glow Effect */
.demo-btn-glow {
    position: relative;
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(147, 112, 219, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(147, 112, 219, 0.5), 0 0 40px rgba(147, 112, 219, 0.2);
    }
}

/* ==========================================================================
   Stage 7: THE MOMENT - Comparison Reveal
   ========================================================================== */

.the-moment {
    max-width: 600px;
}

.the-moment .demo-content {
    gap: 24px;
}

/* Comparison Container */
.comparison-reveal-container {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: 100%;
}

/* Comparison Cards */
.comparison-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    min-width: 0;
}

.attempt-2-card {
    border-color: rgba(147, 112, 219, 0.3);
    background: rgba(147, 112, 219, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.card-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(52, 211, 153, 0.1) 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 12px;
    color: #34d399;
}

.card-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Comparison Metric Row */
.comparison-metric-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-info {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
}

.metric-info .metric-icon {
    font-size: 0.9rem;
}

.metric-info .metric-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.metric-delta {
    font-size: 0.7rem;
    font-weight: 700;
}

.metric-delta.improved {
    color: #34d399;
}

.metric-delta.declined {
    color: #f87171;
}

.metric-bar-inline {
    flex: 1;
}

.metric-bar-track-inline {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.metric-bar-fill-inline {
    height: 100%;
    background: linear-gradient(90deg, #9370DB 0%, #7B68EE 100%);
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

.metric-bar-fill-inline.improved {
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
}

.metric-value-inline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    min-width: 60px;
    text-align: right;
}

/* Comparison Arrow */
.comparison-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
}

.arrow-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(147, 112, 219, 0.6) 50%, transparent 100%);
}

.arrow-head {
    font-size: 1.5rem;
    color: #9370DB;
}

.arrow-animate .arrow-head {
    animation: arrowBounce 0.5s ease-out;
}

@keyframes arrowBounce {
    0% { transform: translateX(-10px); opacity: 0; }
    60% { transform: translateX(5px); }
    100% { transform: translateX(0); opacity: 1; }
}

/* Improvement Reveal */
.improvement-reveal {
    padding: 8px 0;
}

.improvement-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 32px;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.15) 0%, rgba(123, 104, 238, 0.1) 100%);
    border: 2px solid rgba(147, 112, 219, 0.4);
    border-radius: 20px;
}

.improvement-badge.high,
.improvement-badge.maximum {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(52, 211, 153, 0.5);
}

.improvement-badge.neutral {
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.improvement-arrow {
    font-size: 1.75rem;
}

.improvement-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #9370DB;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.improvement-badge.high .improvement-number,
.improvement-badge.maximum .improvement-number {
    color: #34d399;
}

.improvement-number.number-landed {
    animation: numberLand 0.4s ease-out;
}

@keyframes numberLand {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.improvement-percent {
    font-size: 2rem;
    font-weight: 700;
    color: inherit;
    opacity: 0.8;
}

.improvement-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.improvement-text-neutral {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.improvement-subtext {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Moment CTA */
.moment-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.demo-btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.signup-teaser {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ==========================================================================
   Stage 8: Depth Peek - What I Was Really Tracking
   ========================================================================== */

.depth-peek {
    max-width: 520px;
}

.depth-peek .demo-content {
    gap: 24px;
}

.depth-header {
    text-align: center;
}

.depth-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.depth-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

/* Stats Grid */
.depth-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.depth-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.depth-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #9370DB;
    font-variant-numeric: tabular-nums;
}

.depth-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.depth-stat-detail {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Precision Badge */
.precision-badge {
    padding: 12px 20px;
    background: rgba(147, 112, 219, 0.1);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 12px;
    text-align: center;
}

.precision-badge span {
    font-size: 0.85rem;
    color: rgba(147, 112, 219, 0.9);
    font-weight: 500;
}

.depth-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   Stage 9: The Ask - Conversion (Phase 2.5 Redesign)
   ========================================================================== */

.the-ask {
    max-width: 520px;
}

.the-ask .demo-content {
    gap: 20px;
}

/* Journey Graph Container (2.5.1) - Vertical Graph Layout */
/* ============================================
   JOURNEY GRAPH - Premium Animated Version
   ============================================ */

.journey-graph-container {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

/* Subtle background shimmer */
.journey-graph-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.journey-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Vertical Journey Visual */
.journey-visual {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Goal Section (Top) - label left, photos right */
.journey-goal-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.goal-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Artist Photos Carousel */
.artist-photos-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 180px;
}

/* Fade gradients on edges */
.artist-photos-wrapper::before,
.artist-photos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 2;
    pointer-events: none;
}

.artist-photos-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #262450 0%, transparent 100%);
}

.artist-photos-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #262450 0%, transparent 100%);
}

.artist-photos {
    display: flex;
    gap: 10px;
    align-items: center;
    animation: artistCarousel 20s linear infinite;
    padding: 0 5px;
}

@keyframes artistCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.artist-photos:hover {
    animation-play-state: paused;
}

.artist-photo-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.artist-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.6);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.artist-img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    border-color: #a78bfa;
}

.artist-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(99, 102, 241, 0.5));
    border: 2px solid rgba(139, 92, 246, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.artist-initials {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e0d7ff;
}

.artist-name {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

/* Path Area with SVG */
.journey-path-area {
    position: relative;
    height: 80px;
    margin: 8px 0;
}

.journey-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Glow layer - behind main path */
.journey-glow {
    opacity: 0.6;
}

.path-glow {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPathGlow 2s ease-out 0.3s forwards;
}

@keyframes drawPathGlow {
    to { stroke-dashoffset: 0; }
}

/* Main animated path - draws in */
.journey-path-animated {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawPath 1.8s ease-out 0.5s forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

/* User Marker - positioned on the path ~10% up */
.journey-user-marker {
    position: absolute;
    left: calc(3% + 65px);
    bottom: 6%;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: userMarkerAppear 0.6s ease-out 2s forwards;
    z-index: 10;
}

@keyframes userMarkerAppear {
    0% { opacity: 0; transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.user-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    border-radius: 50%;
    border: 3px solid #1a1a2e;
    z-index: 3;
    position: relative;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

.user-dot-outer {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.25);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: 1;
}

.user-dot-ring {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite 0.5s;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.you-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: #e0d7ff;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Goal marker at end of path */
.journey-goal-marker {
    position: absolute;
    right: 3%;
    top: calc(4% - 10px);
    opacity: 0;
    animation: goalAppear 0.6s ease-out 2.2s forwards;
}

@keyframes goalAppear {
    0% { opacity: 0; transform: scale(0) rotate(-180deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.goal-star {
    font-size: 1.4rem;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.6), 0 0 40px rgba(251, 191, 36, 0.3);
    animation: starGlow 2s ease-in-out infinite;
}

@keyframes starGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(251, 191, 36, 0.6), 0 0 40px rgba(251, 191, 36, 0.3); }
    50% { text-shadow: 0 0 30px rgba(251, 191, 36, 0.8), 0 0 60px rgba(251, 191, 36, 0.5); }
}

/* Start marker at 0% point */
.journey-start-marker {
    position: absolute;
    left: 3%;
    bottom: 6%;
    opacity: 0;
    animation: startMarkerAppear 0.5s ease-out 0.3s forwards;
    z-index: 5;
}

@keyframes startMarkerAppear {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

.start-dot {
    width: 10px;
    height: 10px;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.6);
}

/* Start Section (Bottom) */
.journey-start-section {
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.start-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Artist Ticker */
.artist-ticker-container {
    width: 100%;
    overflow: hidden;
    margin: 12px 0 6px 0;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.artist-ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ticker-content {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    padding-right: 8px;
    font-weight: 500;
}

.journey-motivation {
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    font-style: italic;
    font-weight: 500;
    /* Shimmer effect */
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.7) 40%,
        rgba(167, 139, 250, 1) 50%,
        rgba(255, 255, 255, 0.7) 60%,
        rgba(255, 255, 255, 0.7) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: -100% 50%; }
}

/* Feature List (2.5.6 - Compact list design showing all features) */
.feature-list-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.feature-list-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(167, 139, 250, 0.9);
    text-align: center;
    margin-bottom: 4px;
}

.feature-list-header {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
    text-align: center;
    letter-spacing: 0.5px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-row .feature-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.feature-row .feature-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    min-width: 140px;
}

.feature-row .feature-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    flex: 1;
}

/* Feature divider between singer and teacher sections */
.feature-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.feature-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.3) 50%,
        transparent 100%);
}

.feature-divider .divider-text {
    font-size: 0.75rem;
    color: rgba(167, 139, 250, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* CTA Section (2.5.3, 2.5.9) */
.ask-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.cta-subtext {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-icon {
    font-size: 0.85rem;
}

.ask-alternatives {
    margin-top: 4px;
}

/* Legacy Vision Carousel (kept for backwards compatibility) */
.vision-carousel {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.vision-card {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.vision-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #9370DB;
    width: 20px;
    border-radius: 4px;
}

/* ==========================================================================
   Mobile Responsive for New Stages
   ========================================================================== */

@media (max-width: 480px) {
    /* Stage 5 */
    .baseline-results {
        max-width: 100%;
    }

    .baseline-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    .baseline-metric-card {
        padding: 14px 16px;
    }

    .metric-card-label {
        font-size: 0.9rem;
    }

    /* Stage 7 */
    .comparison-reveal-container {
        flex-direction: column;
        gap: 12px;
    }

    .comparison-arrow-container {
        flex-direction: row;
        padding: 8px 0;
    }

    .arrow-line {
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(147, 112, 219, 0.6) 50%, transparent 100%);
    }

    .improvement-number {
        font-size: 2.75rem;
    }

    .improvement-badge {
        padding: 16px 24px;
    }

    /* Stage 8 */
    .depth-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .depth-stat-card {
        padding: 16px 12px;
    }

    .depth-stat-number {
        font-size: 1.5rem;
    }

    .depth-stat-label {
        font-size: 0.7rem;
    }

    /* Stage 9 - Journey Graph Mobile */
    .journey-graph-container {
        padding: 12px;
    }

    .journey-title {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .journey-goal-section {
        gap: 8px;
        padding: 6px 0;
    }

    .goal-label {
        font-size: 0.65rem;
    }

    .artist-img {
        width: 32px;
        height: 32px;
    }

    .artist-photo-slot.center .artist-img {
        width: 38px;
        height: 38px;
    }

    .artist-fallback {
        width: 32px;
        height: 32px;
    }

    .artist-name {
        font-size: 0.5rem;
        max-width: 40px;
    }

    .journey-path-area {
        height: 55px;
    }

    .user-dot {
        width: 12px;
        height: 12px;
    }

    .user-dot-outer {
        width: 22px;
        height: 22px;
    }

    .you-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .start-label {
        font-size: 0.65rem;
    }

    .journey-motivation {
        font-size: 0.7rem;
    }

    /* Feature List Mobile */
    .feature-list-container {
        max-width: 100%;
    }

    .feature-list-intro {
        font-size: 1rem;
    }

    .feature-list-header {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .feature-row {
        flex-wrap: wrap;
        padding: 8px 10px;
        gap: 6px;
    }

    .feature-row .feature-icon {
        font-size: 0.9rem;
        width: 20px;
    }

    .feature-row .feature-title {
        font-size: 0.75rem;
        min-width: auto;
        flex: 1;
    }

    .feature-row .feature-desc {
        display: none; /* Hide descriptions on mobile for compact view */
    }

    .feature-divider {
        margin: 12px 0;
    }

    .feature-divider .divider-text {
        font-size: 0.65rem;
    }

    /* Legacy carousel */
    .vision-carousel {
        height: 120px;
    }

    .vision-card {
        padding: 16px;
    }

    .vision-icon {
        font-size: 1.5rem;
    }

    .vision-card h3 {
        font-size: 1rem;
    }

    .vision-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .depth-stats-grid {
        grid-template-columns: 1fr;
    }

    .comparison-metric-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .metric-info {
        width: 100%;
    }

    .metric-bar-inline {
        flex: 1;
        min-width: 100px;
    }
}

/* ==========================================================================
   Enhanced Comparison View - 5 Vertical Metric Bars
   ========================================================================== */

.enhanced-comparison {
    max-width: 700px;
}

.enhanced-comparison .demo-content {
    gap: 28px;
}

/* Metric Bars Container */
.metric-bars-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px 20px;
}

.metric-bars-header {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bars-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bars-legend::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.bars-legend.first-try {
    color: rgba(255, 255, 255, 0.5);
}

.bars-legend.first-try::before {
    background: rgba(147, 112, 219, 0.4);
}

.bars-legend.second-try {
    color: rgba(147, 112, 219, 0.9);
}

.bars-legend.second-try::before {
    background: linear-gradient(180deg, #9370DB 0%, #7B68EE 100%);
}

/* 5-Column Grid */
.metric-bars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* Individual Vertical Metric Bar */
.vertical-metric-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.vertical-metric-bar:hover {
    background: rgba(147, 112, 219, 0.08);
    border-color: rgba(147, 112, 219, 0.2);
    transform: translateY(-2px);
}

.metric-icon-top {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.metric-name {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.2;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bar Comparison Area */
.bars-comparison {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: center;
    margin: 8px 0;
}

.bar-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 36px;
}

.bar-value {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
    min-height: 1.2em;
}

.bar-track {
    width: 24px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.bar-fill {
    width: 100%;
    border-radius: 12px;
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.first-try-bar .bar-fill {
    background: rgba(147, 112, 219, 0.35);
}

.second-try-bar .bar-fill {
    background: linear-gradient(180deg, #9370DB 0%, #7B68EE 100%);
    box-shadow: 0 0 12px rgba(147, 112, 219, 0.4);
}

.second-try-bar.improved .bar-fill {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

.bar-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Metric Status Badge */
.metric-status {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vertical-metric-bar.revealed .metric-status {
    opacity: 1;
    transform: scale(1);
}

.metric-status.improved {
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
}

.metric-status.practice {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-size: 0.55rem;
    white-space: nowrap;
}

/* Metric Description */
.metric-description {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.4;
    margin-top: 4px;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

/* Data Points Summary */
.data-points-summary {
    width: 100%;
    display: flex;
    justify-content: center;
}

.data-points-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(147, 112, 219, 0.08);
    border: 1px solid rgba(147, 112, 219, 0.2);
    border-radius: 30px;
}

.data-icon {
    font-size: 1.2rem;
}

.data-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: #9370DB;
    font-variant-numeric: tabular-nums;
}

.data-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Enhanced Comparison - Mobile Responsive
   ========================================================================== */

@media (max-width: 700px) {
    .enhanced-comparison {
        max-width: 100%;
    }

    .metric-bars-container {
        padding: 20px 12px;
    }

    .metric-bars-grid {
        gap: 8px;
    }

    .vertical-metric-bar {
        padding: 12px 4px;
    }

    .metric-icon-top {
        font-size: 1.25rem;
    }

    .metric-name {
        font-size: 0.6rem;
    }

    .bar-column {
        width: 28px;
    }

    .bar-track {
        width: 20px;
        height: 65px;
    }

    .bar-value {
        font-size: 0.55rem;
    }

    .metric-status {
        font-size: 0.5rem;
        padding: 3px 6px;
    }

    .metric-description {
        font-size: 0.5rem;
        display: none; /* Hide descriptions on smaller screens */
    }
}

@media (max-width: 480px) {
    .metric-bars-header {
        gap: 16px;
        margin-bottom: 12px;
    }

    .bars-legend {
        font-size: 0.65rem;
    }

    .metric-bars-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
    }

    .vertical-metric-bar {
        padding: 10px 2px;
        border-radius: 12px;
    }

    .metric-icon-top {
        font-size: 1.1rem;
    }

    .metric-name {
        font-size: 0.55rem;
        min-height: 2em;
    }

    .bar-column {
        width: 24px;
        gap: 4px;
    }

    .bar-track {
        width: 16px;
        height: 55px;
        border-radius: 8px;
    }

    .bar-fill {
        border-radius: 8px;
    }

    .bar-value {
        font-size: 0.5rem;
    }

    .bar-label {
        font-size: 0.5rem;
    }

    .metric-status {
        font-size: 0.45rem;
        padding: 2px 4px;
    }

    .metric-status.practice {
        font-size: 0.4rem;
        padding: 2px 3px;
    }

    .bars-comparison {
        gap: 4px;
    }

    .data-points-badge {
        padding: 10px 16px;
        gap: 8px;
    }

    .data-icon {
        font-size: 1rem;
    }

    .data-number {
        font-size: 1rem;
    }

    .data-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .metric-bars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .vertical-metric-bar:nth-child(4),
    .vertical-metric-bar:nth-child(5) {
        grid-column: span 1;
    }

    /* Center the last row with 2 items */
    .metric-bars-grid::after {
        content: '';
        grid-column: span 1;
    }

    .bar-track {
        width: 18px;
        height: 60px;
    }

    .metric-icon-top {
        font-size: 1.2rem;
    }

    .metric-name {
        font-size: 0.6rem;
    }
}

/* ==========================================================================
   Improved Badge Animation Enhancements
   ========================================================================== */

.improvement-badge {
    animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Shimmer effect on improved bars */
.second-try-bar.improved .bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: barShimmer 2s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes barShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ==========================================================================
   Hero Reveal - Maximum Dopamine Design
   ========================================================================== */

.hero-reveal {
    max-width: 520px;
}

.hero-reveal .demo-content {
    gap: 24px;
}

/* Hero Moment - The Big Number */
.hero-moment {
    text-align: center;
    padding: 20px 0;
}

.hero-number-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hero-arrow {
    font-size: 2.5rem;
    animation: heroArrowBounce 0.6s ease-out;
}

@keyframes heroArrowBounce {
    0% { transform: translateY(20px); opacity: 0; }
    60% { transform: translateY(-5px); }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-number {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hero-number.number-landed {
    animation: heroLand 0.3s ease-out;
}

@keyframes heroLand {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.hero-percent {
    font-size: 2.5rem;
    font-weight: 800;
    color: #34d399;
    margin-left: -4px;
}

.hero-suffix {
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 8px;
    align-self: flex-end;
    padding-bottom: 0.6rem;
}

.hero-number-small {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.hero-label {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Simplified congratulations design */
.hero-congrats {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.hero-improved-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.hero-count {
    font-weight: 800;
    color: #34d399;
    -webkit-text-fill-color: #34d399;
}

/* Hero Neutral State */
.hero-neutral {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.hero-neutral-icon {
    font-size: 3rem;
}

.hero-neutral-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-neutral-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Achievements Section - Trophy Badges
   ========================================================================== */

.achievements-section {
    width: 100%;
}

.achievements-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.achievements-icon {
    font-size: 1.5rem;
}

.achievements-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.achievement-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: achievementShine 2s ease-in-out infinite;
    animation-delay: var(--shine-delay, 0s);
}

@keyframes achievementShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.achievement-badge:nth-child(1) { --shine-delay: 0s; }
.achievement-badge:nth-child(2) { --shine-delay: 0.3s; }
.achievement-badge:nth-child(3) { --shine-delay: 0.6s; }
.achievement-badge:nth-child(4) { --shine-delay: 0.9s; }
.achievement-badge:nth-child(5) { --shine-delay: 1.2s; }

.achievement-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.achievement-info {
    flex: 1;
    min-width: 0;
}

.achievement-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.achievement-gain {
    font-size: 0.8rem;
    font-weight: 700;
    color: #34d399;
    margin-top: 2px;
}

.achievement-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(52, 211, 153, 0.4);
}

/* ==========================================================================
   Up Next Section - Positive Framing
   ========================================================================== */

.upnext-section {
    width: 100%;
    text-align: center;
}

.upnext-header {
    margin-bottom: 12px;
}

.upnext-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.03em;
}

.upnext-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.upnext-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Data Credibility Badge
   ========================================================================== */

.data-credibility {
    text-align: center;
}

.data-stat {
    font-size: 0.75rem;
    color: rgba(147, 112, 219, 0.8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Expandable Detail Section
   ========================================================================== */

.detail-expander {
    width: 100%;
}

.detail-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.detail-content.expanded {
    max-height: 600px;
    padding-top: 16px;
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.detail-metric-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.detail-metric-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.detail-metric-row.improved {
    background: rgba(52, 211, 153, 0.06);
}

.detail-metric-row.improved:hover {
    background: rgba(52, 211, 153, 0.1);
}

.detail-metric-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.detail-metric-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    min-width: 0;
}

.detail-metric-values {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-family: 'Monaco', 'Menlo', monospace;
}

.detail-val-1 {
    color: rgba(255, 255, 255, 0.4);
}

.detail-arrow {
    color: rgba(255, 255, 255, 0.3);
}

.detail-val-2 {
    color: rgba(255, 255, 255, 0.7);
}

.detail-metric-change {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 50px;
    text-align: center;
}

.detail-metric-change.improved {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.detail-metric-change.neutral {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Hero Reveal - Mobile Responsive
   ========================================================================== */

@media (max-width: 480px) {
    .hero-reveal {
        max-width: 100%;
    }

    .hero-number {
        font-size: 4rem;
    }

    .hero-percent {
        font-size: 2rem;
    }

    .hero-arrow {
        font-size: 2rem;
    }

    .hero-label {
        font-size: 1.1rem;
    }

    .achievement-badge {
        padding: 12px 14px;
        gap: 12px;
    }

    .achievement-icon {
        font-size: 1.5rem;
    }

    .achievement-name {
        font-size: 0.9rem;
    }

    .achievement-check {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .detail-metric-values {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    .detail-arrow {
        display: none;
    }

    .detail-val-1::after {
        content: ' →';
        color: rgba(255, 255, 255, 0.3);
    }
}

@media (max-width: 360px) {
    .hero-number {
        font-size: 3.5rem;
    }

    .hero-percent {
        font-size: 1.75rem;
    }

    .achievement-badge {
        padding: 10px 12px;
    }

    .achievement-info {
        flex: 1;
    }

    .detail-metric-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .detail-metric-values {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding-left: calc(1.1rem + 10px);
    }

    .detail-arrow {
        display: inline;
    }

    .detail-val-1::after {
        display: none;
    }

    .detail-metric-change {
        margin-left: auto;
    }
}

/* ==========================================================================
   Phase 3: Session Warning Overlay
   ========================================================================== */

.session-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.session-warning-content {
    background: linear-gradient(145deg, #2a2a4a, #1a1a3a);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.session-warning-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.session-warning-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.session-warning-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}


/* ==========================================================================
   In-App Browser Warning
   ========================================================================== */

.in-app-warning {
    text-align: center;
    padding: 40px 20px;
}

.in-app-warning-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.in-app-warning-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.in-app-warning-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.5;
}

.in-app-warning-instruction {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.in-app-warning-instruction strong {
    color: #a78bfa;
}

.in-app-actions {
    margin-bottom: 32px;
}

.in-app-actions .demo-btn {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.copy-icon {
    margin-right: 8px;
}

.in-app-hint {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    min-height: 24px;
    transition: all 0.3s ease;
}

.in-app-hint.success {
    color: #4ade80;
}

.in-app-hint.error {
    color: #f87171;
}

.in-app-manual-steps {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    max-width: 320px;
    margin: 0 auto;
}

.in-app-manual-steps .steps-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.in-app-manual-steps ol {
    text-align: left;
    padding-left: 20px;
    margin: 0;
}

.in-app-manual-steps li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.4;
}

.in-app-manual-steps li:last-child {
    margin-bottom: 0;
}

.in-app-manual-steps strong {
    color: #ffffff;
}

/* ==========================================================================
   PERSONALIZED ONBOARDING STAGES (10-14)
   ========================================================================== */

.onboarding-stage {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.onboarding-stage .demo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.onboarding-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.onboarding-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Form Styles */
.onboarding-form {
    width: 100%;
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.onboarding-input,
.onboarding-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.onboarding-input:focus,
.onboarding-textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.onboarding-input::placeholder,
.onboarding-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.onboarding-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.onboarding-actions {
    width: 100%;
    max-width: 440px;
    margin: 24px auto 0 auto;
    display: flex;
    justify-content: center;
}

.onboarding-skip {
    margin-top: 20px;
    text-align: center;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

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

.btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* YouTube Search Styles */
.youtube-search-container {
    width: 100%;
    max-width: 500px;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.search-input-wrapper .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.5;
}

/* Song Suggestions */
.song-suggestions {
    margin-bottom: 20px;
}

.suggestions-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 10px 0;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.suggestion-chip:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.suggestion-chip:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .suggestion-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.youtube-results {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.youtube-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.youtube-result:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.result-thumbnail {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.result-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.result-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-channel {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.search-loading,
.search-error,
.no-results {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Selected Song Card */
.selected-song-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
}

.selected-song-card img {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

.selected-song-info {
    flex: 1;
    text-align: left;
}

.selected-song-info h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.selected-song-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.btn-remove-song {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.btn-remove-song:hover {
    color: #f87171;
}

/* Category Selection Styles */
.category-grid {
    width: 100%;
    max-width: 600px;
    margin-bottom: 24px;
}

.category-section {
    margin-bottom: 24px;
}

.category-section h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: left;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.category-card {
    position: relative;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.category-card.selected {
    background: rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.category-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6366f1;
    border-radius: 50%;
    font-size: 0.85rem;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.2s;
}

.category-card.selected .category-check {
    opacity: 1;
}

/* Practice Plan Preview */
.practice-plan-preview {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.4s ease;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.practice-plan-preview h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.plan-exercises {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-exercise {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.exercise-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5b4fc;
}

.exercise-name {
    flex: 1;
    font-size: 0.95rem;
    color: #ffffff;
    text-align: left;
}

.exercise-badge {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

.plan-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    font-style: italic;
}

/* ==========================================================================
   Stage 13: Plan Structure Cards (10-minute plan overview)
   ========================================================================== */

.plan-structure-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
    max-width: 400px;
    width: 100%;
}

.plan-structure-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.plan-structure-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.plan-structure-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.plan-structure-content {
    flex: 1;
}

.plan-structure-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2px 0;
}

.plan-structure-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.plan-structure-time {
    font-size: 0.85rem;
    color: rgba(99, 102, 241, 0.9);
    font-weight: 500;
    white-space: nowrap;
}

.plan-structure-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.plan-structure-note i {
    color: #6366f1;
}

/* Plan Flow - Inline progression display */
.plan-flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
    flex-wrap: nowrap;
    padding: 0 16px;
}

.plan-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    min-width: 90px;
    flex: 1;
    max-width: 130px;
}

.plan-flow-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-flow-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #a5b4fc;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plan-flow-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    text-align: center;
    line-height: 1.2;
}

.plan-flow-time {
    font-size: 0.7rem;
    color: #a5b4fc;
    font-weight: 500;
}

.plan-flow-arrow {
    font-size: 1.2rem;
    color: rgba(165, 180, 252, 0.5);
    font-weight: 300;
    flex-shrink: 0;
}

/* Mobile: stack vertically */
@media (max-width: 500px) {
    .plan-flow-container {
        flex-direction: column;
        gap: 6px;
    }

    .plan-flow-step {
        width: 100%;
        max-width: 220px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 16px;
    }

    .plan-flow-icon {
        width: 28px;
        height: 28px;
    }

    .plan-flow-icon svg {
        width: 20px;
        height: 20px;
    }

    .plan-flow-label {
        flex: 1;
        text-align: left;
    }

    .plan-flow-time {
        font-size: 0.7rem;
    }

    .plan-flow-arrow {
        transform: rotate(90deg);
        font-size: 1rem;
    }
}

/* ==========================================================================
   Stage 14: Skill Focus Selection Grid
   ========================================================================== */

.skill-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 24px auto;
    max-width: 380px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.skill-focus-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-align: center;
}

.skill-focus-card:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-focus-card.selected {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.skill-focus-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-focus-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #a5b4fc;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skill-focus-card.selected .skill-focus-icon svg {
    stroke: #c4b5fd;
}

.skill-focus-content {
    flex: 1;
    min-width: 0;
}

.skill-focus-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.skill-focus-content p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.3;
}

.skill-focus-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #ffffff;
    font-weight: 700;
    background: #6366f1;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.skill-focus-card.selected .skill-focus-check {
    opacity: 1;
    transform: scale(1);
}

/* Tablet/Desktop: 3 columns */
@media (min-width: 520px) {
    .skill-focus-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 480px;
        gap: 12px;
    }
}

/* Small mobile */
@media (max-width: 360px) {
    .skill-focus-grid {
        gap: 8px;
        padding: 0 12px;
    }

    .skill-focus-card {
        padding: 12px 8px;
    }

    .skill-focus-icon {
        width: 32px;
        height: 32px;
    }

    .skill-focus-icon svg {
        width: 22px;
        height: 22px;
    }

    .skill-focus-content h4 {
        font-size: 0.78rem;
    }

    .skill-focus-content p {
        font-size: 0.65rem;
    }
}

/* ==========================================================================
   Stage 16: Plan Summary Card (before pricing)
   ========================================================================== */

.plan-summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
    max-width: 500px;
    width: 100%;
}

.plan-summary-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}

.plan-summary-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-summary-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.plan-summary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-summary-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-summary-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

/* ==========================================================================
   Stage 16: Your Vocal Future - Conversion Page
   ========================================================================== */

.stage-16-content {
    max-width: 600px;
    width: 100%;
}

/* Future Hero Section */
.future-hero {
    text-align: center;
    margin-bottom: 32px;
}

.future-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.future-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Plan Reveal Card */
.plan-reveal-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 32px;
}

.plan-reveal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-reveal-icon {
    font-size: 1.3rem;
}

.plan-reveal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.plan-reveal-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-reveal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.reveal-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    flex-shrink: 0;
}

.reveal-label {
    color: rgba(255, 255, 255, 0.6);
    min-width: 100px;
}

.reveal-value {
    color: #ffffff;
    font-weight: 500;
}

/* Unlock Section */
.unlock-section {
    margin-bottom: 36px;
}

.unlock-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
}

.unlock-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unlock-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.unlock-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.unlock-icon {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.unlock-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.unlock-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.unlock-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.unlock-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.unlock-divider .divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.unlock-divider .divider-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.teacher-features .unlock-item {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

.teacher-features .unlock-icon {
    background: rgba(139, 92, 246, 0.2);
}

/* Pricing Section */
.pricing-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.pricing-header-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
}

.pricing-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
    text-align: center;
}

/* Money Back Guarantee */
.money-back-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.guarantee-badge {
    font-size: 1.2rem;
}

/* ==========================================================================
   Stage 16: Practice Plan Reveal - Exercise Carousel
   ========================================================================== */

/* Override parent constraints for stage 16 to allow carousel breakout */
.demo-stage.stage-16 {
    max-width: 100%;
    width: 100%;
}

.stage-16-plan-content {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.plan-reveal-hero {
    text-align: center;
    margin-bottom: 28px;
}

.plan-reveal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-reveal-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Loading State */
.plan-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 20px;
}

.plan-loading p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.plan-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Exercise Plan Carousel */
/* ==========================================================================
   Exercise Carousel - Horizontal Swipeable Cards
   Simple approach: scroll on mobile, centered on desktop
   ========================================================================== */

.exercise-carousel-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 24px;
    padding: 20px 0;
}

.exercise-carousel-container::-webkit-scrollbar {
    display: none;
}

.exercise-carousel-track {
    display: flex;
    gap: 16px;
    width: fit-content;
    padding: 0 20px;
}

/* Large screens: all cards visible, centered, no scrolling */
@media (min-width: 1100px) {
    .exercise-carousel-container {
        overflow: visible;
    }

    .exercise-carousel-track {
        width: 100%;
        justify-content: center;
        padding: 0;
    }

    .exercise-carousel-card {
        width: 180px;
    }

    .exercise-carousel-image {
        height: 120px;
    }
}

/* Exercise Card - Portrait style like artist cards */
.exercise-carousel-card {
    flex-shrink: 0;
    width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.exercise-carousel-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.exercise-carousel-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.3);
}

.exercise-carousel-card-inner {
    display: flex;
    flex-direction: column;
}

/* Card Image/Icon Area */
.exercise-carousel-image {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.exercise-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exercise-carousel-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.exercise-carousel-card.warmup .exercise-carousel-icon {
    background: linear-gradient(135deg, #ff9f43 0%, #f39c12 100%);
}

.exercise-carousel-card.song .exercise-carousel-icon {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
}

.exercise-carousel-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Details */
.exercise-carousel-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exercise-carousel-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #667eea;
    font-weight: 600;
}

.exercise-carousel-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.exercise-carousel-desc {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exercise-carousel-meta {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.exercise-duration-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.exercise-difficulty-tag {
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

/* Stat Banner */
.plan-stat-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    margin-bottom: 28px;
}

.stat-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 480px) {
    .exercise-carousel-card {
        width: 170px;
    }

    .exercise-carousel-image {
        height: 110px;
    }

    .exercise-carousel-icon {
        font-size: 2.5rem;
    }

    .exercise-carousel-details {
        padding: 12px;
    }

    .exercise-carousel-name {
        font-size: 0.9rem;
    }

    .exercise-carousel-desc {
        font-size: 0.75rem;
    }

    .plan-stat-banner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .carousel-hint {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Stage 17: Account Creation Prompt
   ========================================================================== */

.stage-17-content {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-17-content .onboarding-actions {
    margin-top: 0;
}

.account-prompt-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.account-prompt-card .prompt-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.account-prompt-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.account-prompt-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.guarantee-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: 14px;
    margin-bottom: 28px;
}

.guarantee-banner .guarantee-shield {
    font-size: 2rem;
    flex-shrink: 0;
}

.guarantee-banner .guarantee-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guarantee-banner .guarantee-text strong {
    font-size: 1rem;
    color: #ffffff;
}

.guarantee-banner .guarantee-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Stage 18: Pricing with Features
   ========================================================================== */

.stage-18-content {
    max-width: 700px;
    width: 100%;
}

.pricing-hero {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.pricing-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.pricing-cards-full {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card-full {
    position: relative;
    width: 300px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.pricing-card-full:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-full.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    border-color: #6366f1;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pricing-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    line-height: 1.4;
}

.pricing-feature-list .feature-check {
    color: #10b981;
    font-weight: 600;
    flex-shrink: 0;
}

.pricing-cta-full {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
}

.pricing-guarantees {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.guarantee-item span:first-child {
    font-size: 1.1rem;
}

.pricing-support {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-support a {
    color: var(--demo-primary, #00d4ff);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pricing-support a:hover {
    color: var(--demo-secondary, #ff6b9d);
    text-decoration: underline;
}

@media (max-width: 680px) {
    .pricing-cards-full {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card-full {
        width: 100%;
        max-width: 340px;
    }

    .pricing-guarantees {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .guarantee-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* Pricing Cards */
.pricing-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-card {
    position: relative;
    width: 280px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
    border-color: #6366f1;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.price-currency {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-left: -2px;
}

.price-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.pricing-cta {
    width: 100%;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.guarantee-icon {
    font-size: 1rem;
}

/* Success Stage (Stage 14) */
.success-animation {
    margin-bottom: 24px;
}

.success-icon {
    font-size: 4rem;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.success-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 400px;
}

/* Toast Notifications */
.demo-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #ffffff;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.demo-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.demo-toast-error {
    border: 1px solid #f87171;
}

.demo-toast-info {
    border: 1px solid #60a5fa;
}

/* Mobile Adjustments for Onboarding */
@media (max-width: 640px) {
    .onboarding-title {
        font-size: 1.5rem;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 320px;
    }

    .category-cards {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 14px;
    }
}

/* ==========================================================================
   STAGE 10: Value Proposition Card
   ========================================================================== */

.value-prop-card {
    width: 100%;
    max-width: 400px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    margin-bottom: 28px;
    text-align: center;
}

.value-prop-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.value-prop-icon {
    font-size: 1.5rem;
}

.value-prop-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-prop-text {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.value-prop-text strong {
    color: #a78bfa;
}

.value-prop-subtext {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ==========================================================================
   STAGE 11: Goal Chips
   ========================================================================== */

.goal-chips {
    margin-top: 20px;
    text-align: center;
}

.chips-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.goal-chip {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.goal-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.goal-chip.selected {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #a78bfa;
}

/* ==========================================================================
   STAGE 11 v2: Multi-select Goal Chips
   ========================================================================== */

.goals-instruction {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.goal-chips-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 24px;
}

.goal-chip-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.goal-chip-v2:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.goal-chip-v2 .chip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.goal-chip-v2 .chip-label {
    flex: 1;
    font-weight: 500;
}

.goal-chip-v2 .chip-check {
    opacity: 0;
    color: #10b981;
    font-weight: bold;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.goal-chip-v2.selected {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.goal-chip-v2.selected .chip-check {
    opacity: 1;
}

.goal-chip-v2.selected:hover {
    background: rgba(16, 185, 129, 0.2);
}

/* Other goal input container */
.other-goal-container {
    margin-top: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .goal-chip-v2 {
        padding: 12px 14px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .goal-chip-v2 .chip-icon {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   STAGE 12: Voice Choice & Range Selection
   ========================================================================== */

.voice-choice-container,
.range-choice-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 24px;
}

.voice-choice-btn,
.range-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.voice-choice-btn:hover,
.range-choice-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.voice-choice-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.voice-choice-label,
.range-choice-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.voice-choice-desc,
.range-choice-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.range-choice-unsure {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.range-choice-unsure:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   STAGE 12d: Vocal Results Card
   ========================================================================== */

.vocal-results-card {
    width: 100%;
    max-width: 350px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.results-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
}

.results-voice-type {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.results-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
}

.results-range {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.range-label {
    color: rgba(255, 255, 255, 0.6);
}

.range-value {
    color: #a78bfa;
    font-weight: 600;
}

/* Voice Type Badge Large - Stage 12d */
.voice-type-badge-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.voice-type-badge-large .voice-type-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.voice-type-badge-large .voice-type-name {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.voice-type-badge-large .voice-type-range {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.overlap-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 16px 0;
    padding: 10px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    border-left: 3px solid rgba(167, 139, 250, 0.5);
}

.overlap-message strong {
    color: #c4b5fd;
    font-weight: 600;
}

.growth-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.growth-message i {
    color: #a78bfa;
    font-size: 1rem;
}

/* ==========================================================================
   STAGE 12e: Voice Type Badge & Artist Carousel
   ========================================================================== */

.voice-type-badge {
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.badge-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.badge-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 4px;
}

.badge-desc {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.artists-heading {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.artist-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0 24px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.artist-carousel::-webkit-scrollbar {
    display: none;
}

.artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    scroll-snap-align: center;
}

.artist-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid rgba(99, 102, 241, 0.4);
    transition: transform 0.2s ease;
}

.artist-card:hover .artist-image {
    transform: scale(1.05);
}

.artist-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

/* Demo Content Wide - for full-width carousel */
.demo-content-wide {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Exercise carousel breakout - now handled by base .exercise-carousel-container styles */

/* Horizontal Scrolling Carousel - Demo Version */
.demo-artist-carousel-horizontal {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.demo-artist-carousel-track {
    display: flex;
    gap: 20px;
    width: fit-content;
    will-change: transform;
}

.carousel-loading {
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Demo Artist Card - A4 Portrait with Header Image */
.demo-artist-card {
    flex-shrink: 0;
    width: 180px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.demo-artist-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.demo-artist-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
    z-index: 10;
}

.demo-artist-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Artist Image - Full Width Header */
.demo-artist-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.demo-artist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.demo-artist-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

/* Artist Details */
.demo-artist-details {
    width: 100%;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-artist-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.demo-artist-song {
    font-size: 11px;
    color: #667eea;
    font-style: italic;
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

/* Artist Meta (Genre) */
.demo-artist-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.demo-artist-genre-tag {
    display: inline-block;
    padding: 3px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Monthly Listeners */
.demo-artist-listeners {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    font-size: 10px;
    color: #667eea;
    font-weight: 600;
}

.demo-artist-listeners i {
    font-size: 11px;
}

/* Artist Note */
.artist-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 16px 0;
    padding: 0 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .demo-artist-card {
        width: 160px;
    }

    .demo-artist-image-container {
        height: 160px;
    }

    .demo-artist-details {
        padding: 12px;
    }

    .demo-artist-name {
        font-size: 14px;
    }
}

/* ==========================================================================
   STAGE 14: Profile Summary
   ========================================================================== */

.plan-profile-summary {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 24px;
}

.profile-item {
    flex: 1;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.profile-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.profile-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-time-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #a78bfa;
    margin-bottom: 16px;
}

/* ==========================================================================
   STAGE 16: YouTube Processing Note
   ========================================================================== */

.youtube-processing-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 400px;
}

.processing-icon {
    font-size: 1.2rem;
}

/* ==========================================================================
   VOCAL RANGE TEST (Stage 12c) - Full implementation
   ========================================================================== */

/* Layout for vocal test page */
.vocal-test-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
}

/* Task Progress Indicator */
.task-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.task-number {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.task-dots {
    display: flex;
    gap: 8px;
}

.task-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.task-dot.active {
    background: #6366f1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.task-dot.completed {
    background: #22c55e;
}

/* ==========================================================================
   NEW: Tap-to-Record UI (Remarkable Recording Experience)
   ========================================================================== */

/* Task instruction card */
.vocal-task-card {
    text-align: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    max-width: 320px;
    margin-bottom: 8px;
}

.vocal-task-instruction {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

/* Beautiful Record Button */
.record-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.record-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 3px solid rgba(99, 102, 241, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.record-button:hover {
    transform: scale(1.05);
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.record-button:active {
    transform: scale(0.98);
}

.record-button-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.record-icon {
    width: 48px;
    height: 48px;
    color: #a78bfa;
    transition: all 0.3s ease;
    z-index: 2;
}

.record-icon svg {
    width: 100%;
    height: 100%;
}

/* Pulse rings (idle state) */
.record-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: record-pulse-idle 3s ease-in-out infinite;
}

.record-pulse.delay {
    animation-delay: 1.5s;
}

@keyframes record-pulse-idle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* Recording state */
.record-button.recording {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(248, 113, 113, 0.3));
    border-color: #ef4444;
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
    animation: record-button-pulse 1.5s ease-in-out infinite;
}

.record-button.recording .record-icon {
    color: #f87171;
}

.record-button.recording .record-pulse {
    border-color: rgba(239, 68, 68, 0.5);
    animation: record-pulse-active 1s ease-in-out infinite;
}

@keyframes record-button-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes record-pulse-active {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Success state */
.record-button.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.3));
    border-color: #10b981;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

.record-button.success .record-icon {
    color: #34d399;
}

.record-button-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Live Pitch Display */
.live-pitch-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.live-pitch-display.visible {
    opacity: 1;
    transform: translateY(0);
}

.pitch-note {
    font-size: 2.5rem;
    font-weight: 700;
    color: #a78bfa;
    font-family: 'Monaco', 'Menlo', monospace;
    transition: all 0.15s ease;
}

.pitch-note.active {
    color: #c4b5fd;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.pitch-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Audio Level Bar */
.audio-level-container {
    width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.audio-level-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 3px;
    transition: width 0.05s ease, background 0.2s ease;
}

/* Success Overlay */
.task-success-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

.task-success-overlay.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-checkmark-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
    animation: success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes success-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-note-captured {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34d399;
    margin: 0;
    text-shadow: 0 0 20px rgba(52, 211, 153, 0.5);
}

/* Mobile adjustments for new recording UI */
@media (max-width: 480px) {
    .record-button {
        width: 100px;
        height: 100px;
    }

    .record-icon {
        width: 40px;
        height: 40px;
    }

    .vocal-task-instruction {
        font-size: 1rem;
    }

    .pitch-note {
        font-size: 2rem;
    }

    .audio-level-container {
        width: 160px;
    }
}

/* Quiet Environment Note - styled as subtle info notice */
.quiet-environment-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    margin-top: 24px;
    font-style: italic;
}

.quiet-icon {
    font-size: 15px;
}

/* Circular Waveform Canvas - positioned over Q orb via JS */
.vocal-waveform-canvas {
    position: fixed;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vocal-waveform-canvas.recording {
    opacity: 1;
}

/* Current Note Display - positioned over Q orb via JS */
.current-note-display {
    position: fixed;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
    z-index: 101;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.current-note-display.visible {
    opacity: 1;
}


/* Audio Example Button */
.audio-example-container {
    margin-top: 8px;
    z-index: 10;
}

.audio-example-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    color: #a5b4fc;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audio-example-btn:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.audio-example-btn.playing {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    color: #86efac;
}

.audio-example-btn i {
    font-size: 16px;
}

/* Audio Example Button V2 - More Prominent Design */
.audio-example-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 30px;
    color: #c4b5fd;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
    margin-top: 12px;
}

.audio-example-btn-v2:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.audio-example-btn-v2 .example-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.audio-example-btn-v2 .example-play-icon svg {
    width: 14px;
    height: 14px;
    fill: #c4b5fd;
}

.audio-example-btn-v2 .example-text {
    letter-spacing: 0.3px;
}

.audio-example-btn-v2 .example-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
    margin-left: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audio-example-btn-v2 .wave-bar {
    width: 3px;
    height: 8px;
    background: #c4b5fd;
    border-radius: 2px;
}

/* Playing state - animated waveform */
.audio-example-btn-v2.playing {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
    border-color: rgba(34, 197, 94, 0.5);
    color: #86efac;
}

.audio-example-btn-v2.playing .example-play-icon {
    background: rgba(34, 197, 94, 0.3);
}

.audio-example-btn-v2.playing .example-play-icon svg {
    fill: #86efac;
}

.audio-example-btn-v2.playing .example-wave {
    opacity: 1;
}

.audio-example-btn-v2.playing .wave-bar {
    background: #86efac;
    animation: waveAnimation 0.6s ease-in-out infinite;
}

.audio-example-btn-v2.playing .wave-bar:nth-child(1) {
    animation-delay: 0s;
}

.audio-example-btn-v2.playing .wave-bar:nth-child(2) {
    animation-delay: 0.15s;
}

.audio-example-btn-v2.playing .wave-bar:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes waveAnimation {
    0%, 100% { height: 6px; }
    50% { height: 14px; }
}

/* Vocal test controls container */
.vocal-test-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Mobile Record Button */
.mobile-record-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    z-index: 10;
}

.mobile-record-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.2);
    border: 3px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

.mobile-record-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

.mobile-record-btn.active {
    background: rgba(239, 68, 68, 0.5);
    border-color: #ef4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
    animation: pulse-record 1s infinite;
}

@keyframes pulse-record {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.mobile-record-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Spacebar Hint (Desktop) */
.spacebar-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: opacity 0.3s ease;
    z-index: 10;
    margin-top: 16px;
}

.key-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* Hide desktop/mobile controls appropriately */
@media (max-width: 768px) {
    .spacebar-hint {
        display: none;
    }

    .task-instruction {
        margin-top: 160px;
    }

    .vocal-waveform-canvas {
        width: 300px;
        height: 300px;
    }

    .current-note-display {
        font-size: 36px;
    }
}

@media (min-width: 769px) {
    .mobile-record-container {
        display: none;
    }
}

/* Mobile adjustments for new components */
@media (max-width: 640px) {
    .value-prop-card {
        padding: 20px;
    }

    .value-prop-text {
        font-size: 1rem;
    }

    .artist-image {
        width: 80px;
        height: 80px;
    }

    .plan-profile-summary {
        flex-direction: column;
    }

    .profile-item {
        padding: 12px;
    }
}

/* ==========================================================================
   Stage 19: Password Setup Form
   ========================================================================== */

.password-setup-form {
    margin: 24px 0;
    text-align: left;
}

.password-setup-form .input-group {
    margin-bottom: 16px;
}

.password-setup-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.password-setup-form .demo-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.2s ease;
}

.password-setup-form .demo-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.password-setup-form .demo-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
}

.password-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin: 8px 0 0 0;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
}
