/* ── Variables ──────────────────────────────────── */
:root {
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --accent: #F59E0B;
    --bg: #0F0F1A;
    --surface: #1A1A2E;
    --surface-2: #232338;
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --border: #2D2D4A;
    --success: #10B981;
    --error: #EF4444;
    --radius: 12px;
    --font: 'Inter', sans-serif;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header / Nav ───────────────────────────────── */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 2rem; position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--text); letter-spacing: -0.5px; }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

/* ── Buttons ────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--surface-2); text-decoration: none; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; padding: 0.9rem; }

/* ── Forms ──────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-control { width: 100%; padding: 0.75rem 1rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.95rem; transition: border 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary); }
select.form-control { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; }
.form-check-input { width: 18px; height: 18px; cursor: pointer; accent-color: var(--primary); }
.field-error { color: var(--error); font-size: 0.8rem; display: block; margin-top: 0.25rem; }
.validation-summary { background: rgba(239,68,68,0.1); border: 1px solid var(--error); border-radius: 8px; padding: 1rem; margin-bottom: 1rem; color: var(--error); font-size: 0.85rem; }
fieldset.form-section { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
fieldset.form-section legend { font-weight: 700; font-size: 0.9rem; padding: 0 0.5rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Chips ──────────────────────────────────────── */
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-muted); font-size: 0.85rem; cursor: pointer; transition: all 0.2s; }
.chip input[type="checkbox"] { display: none; }
.chip:has(input:checked), .chip-active { background: var(--primary); color: white; border-color: var(--primary); }
button.chip { font-weight: 500; }

/* ── Main Content ───────────────────────────────── */
.main-content { min-height: calc(100vh - 64px); }

/* ── Hero Section ───────────────────────────────── */
.hero-section { max-width: 900px; margin: 0 auto; padding: 4rem 2rem; }
.hero-content { text-align: center; margin-bottom: 3rem; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; letter-spacing: -1px; margin-bottom: 1rem; }
.hero-content p { color: var(--text-muted); font-size: 1.1rem; }

/* ── Demo Widget ────────────────────────────────── */
.demo-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem; }
.demo-widget h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.loading-msg { text-align: center; padding: 1rem; color: var(--text-muted); font-size: 0.95rem; }
.error-msg { background: rgba(239,68,68,0.1); border: 1px solid var(--error); border-radius: 8px; padding: 0.75rem 1rem; color: var(--error); font-size: 0.9rem; margin-top: 1rem; }

/* ── Audio Player ───────────────────────────────── */
.audio-player-section { margin-top: 1.5rem; background: var(--surface-2); border-radius: var(--radius); padding: 1.25rem; }
.player-bar { display: flex; align-items: center; gap: 1rem; }
.play-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); border: none; color: white; font-size: 1rem; cursor: pointer; flex-shrink: 0; }
.progress-bar-wrap { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); width: 0%; transition: width 0.5s; }
.timer-label { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }

/* ── CTA Banner ─────────────────────────────────── */
.cta-banner { text-align: center; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); padding: 3rem 2rem; }
.cta-banner p { font-size: 1.2rem; margin-bottom: 1.5rem; }

/* ── Auth Pages ─────────────────────────────────── */
.auth-container { display: flex; justify-content: center; align-items: flex-start; padding: 3rem 1rem; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 560px; }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.subtitle { color: var(--text-muted); margin-bottom: 2rem; }
.auth-link { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.hint { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }

/* ── Subscription ───────────────────────────────── */
.subscription-container { max-width: 900px; margin: 0 auto; padding: 3rem 2rem; }
.subscription-header { text-align: center; margin-bottom: 3rem; }
.subscription-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.pricing-card { position: relative; background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius); padding: 2rem; cursor: pointer; transition: border-color 0.2s; display: block; }
.pricing-card:has(input:checked) { border-color: var(--primary); }
.pricing-card input[type="radio"] { display: none; }
.pricing-card.featured { border-color: var(--accent); }
.card-badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: #000; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; }
.card-body h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.price { font-size: 2.5rem; font-weight: 800; margin: 0.75rem 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.features { list-style: none; margin-top: 1rem; }
.features li { padding: 0.35rem 0; color: var(--text-muted); font-size: 0.9rem; }
.payment-footer { text-align: center; }
.secure-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; }

/* ── Player Screen ──────────────────────────────── */
.player-container { max-width: 700px; margin: 0 auto; padding: 3rem 2rem; text-align: center; }
.player-header { margin-bottom: 2rem; }
.player-header h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.status-badge { display: inline-block; padding: 0.4rem 1.2rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; }
.status-active { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid var(--success); }
.status-paused { background: rgba(148,163,184,0.1); color: var(--text-muted); border: 1px solid var(--border); }
.master-controls { margin: 2.5rem 0; }
.master-play-btn { width: 120px; height: 120px; border-radius: 50%; background: var(--primary); border: none; color: white; font-size: 2.5rem; cursor: pointer; transition: transform 0.2s, background 0.2s; box-shadow: 0 0 40px rgba(124,58,237,0.4); }
.master-play-btn:hover { transform: scale(1.05); background: var(--primary-dark); }
.energy-selector, .palette-selector { margin-bottom: 2rem; }
.energy-selector h3, .palette-selector h3 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.segment-control { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 4px; }
.segment-btn { padding: 0.5rem 1.5rem; border-radius: 999px; border: none; background: transparent; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.segment-btn.active { background: var(--primary); color: white; }
.palette-selector .chip-group { justify-content: center; }

/* ══════════════════════════════════════════════════
   DEMO PAGE — SPIN IT UP STYLE
══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');

.demo-page {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1rem;
    padding: 1rem;
    height: calc(100vh - 64px); /* min-height → height */
    overflow: hidden; /* ← Add */
    background: #0a0a12;
    font-family: 'DM Sans', sans-serif;
}

/* ── Section Cards ── */
.section-card {
    background: #111120;
    border: 1px solid #1e1e35;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.section-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.badge {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    background: #1e1e35;
    color: #666;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0;
}

/* ── Venue Grid ── */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.venue-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    background: #0f0f1e;
    border: 1px solid #1e1e35;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.venue-card:hover { border-color: #00ff88; color: #fff; }
.venue-card.active { border-color: #00ff88; background: rgba(0,255,136,0.08); color: #00ff88; }
.venue-icon { font-size: 1.4rem; }

/* ── Feel Grid ── */
.feel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.feel-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #0f0f1e;
    border: 1px solid #1e1e35;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.72rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.feel-icon { font-size: 1.1rem; }
.feel-card:hover { border-color: #ff3cac; color: #fff; }
.feel-card.active { border-color: #ff3cac; background: rgba(255,60,172,0.1); color: #ff3cac; }

/* ── Energy Dial ── */
.energy-section { display: flex; flex-direction: column; align-items: center; }
.dial-wrap { margin: 0.5rem 0; }
.dial { position: relative; width: 140px; height: 140px; }
.dial-svg { width: 100%; height: 100%; transition: all 0.4s; }
.dial-label {
    position: absolute;
    bottom: 10px;
    left: 0; right: 0;
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #00ff88;
    letter-spacing: 0.1em;
}
#dialArc { transition: stroke-dashoffset 0.4s ease; }
#dialNeedle { transition: transform 0.4s ease; }
.energy-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; width: 100%; }
.energy-btn {
    padding: 0.4rem;
    background: #0f0f1e;
    border: 1px solid #1e1e35;
    border-radius: 8px;
    color: #666;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.energy-btn:hover { border-color: #00ff88; color: #fff; }
.energy-btn.active { border-color: #00ff88; background: rgba(0,255,136,0.1); color: #00ff88; }

/* ── Time & Weather ── */
.time-section { display: flex; flex-direction: column; }
.time-btns { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.5rem; }
.time-btn {
    padding: 0.5rem 0.75rem;
    background: #0f0f1e;
    border: 1px solid #1e1e35;
    border-radius: 8px;
    color: #666;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.time-btn:hover { border-color: #7c3aed; color: #fff; }
.time-btn.active { border-color: #7c3aed; background: rgba(124,58,237,0.1); color: #a78bfa; }

/* ── RIGHT PANEL ── */
.right-panel { display: flex; flex-direction: column; gap: 1rem; }
.generate-card {
    background: #111120;
    border: 1px solid #1e1e35;
    border-radius: 16px;
    padding: 1.25rem;
    flex: 1;
}
.left-panel {
    overflow-y: auto;
    height: 100%;
    padding-right: 0.5rem;
}

    /* Scrollbar hide karo */
    .left-panel::-webkit-scrollbar {
        width: 4px;
    }

    .left-panel::-webkit-scrollbar-track {
        background: transparent;
    }

    .left-panel::-webkit-scrollbar-thumb {
        background: #1e1e35;
        border-radius: 2px;
    }
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    overflow-y: auto;
}
/* ══════════════════════════════════════════
   PLAYER PAGE
══════════════════════════════════════════ */
.player-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    height: calc(100vh - 64px);
    background: #0a0a12;
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;
}

.player-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    height: 100%;
    padding-right: 0.5rem;
}

.player-right {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.player-card {
    background: #111120;
    border: 1px solid #1e1e35;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex: 1;
    overflow: hidden;
}
/* Energy Grid */
.energy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}


.energy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    background: #0f0f1e;
    border: 1px solid #1e1e35;
    border-radius: 12px;
    cursor: pointer;
    color: #666;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

    .energy-card span:first-child {
        font-size: 1.5rem;
    }

    .energy-card:hover {
        border-color: #00ff88;
        color: #fff;
    }

    .energy-card.active {
        border-color: #00ff88;
        background: rgba(0,255,136,0.08);
        color: #00ff88;
    }

/* Palette Grid */
.palette-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.palette-card {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: #0f0f1e;
    border: 1px solid #1e1e35;
    border-radius: 999px;
    color: #666;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

    .palette-card:hover {
        border-color: #ff3cac;
        color: #fff;
    }

    .palette-card.active {
        border-color: #ff3cac;
        background: rgba(255,60,172,0.1);
        color: #ff3cac;
    }

/* Player Card */
.player-right {
    display: flex;
    flex-direction: column;
}

.player-card {
    background: #111120;
    border: 1px solid #1e1e35;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.venue-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.stream-status {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
}

    .stream-status.paused {
        background: rgba(148,163,184,0.1);
        color: #666;
        border: 1px solid #1e1e35;
    }

    .stream-status.active {
        background: rgba(0,255,136,0.1);
        color: #00ff88;
        border: 1px solid #00ff88;
    }

/* Big Play Button */
.play-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-play-btn {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff3cac, #7c3aed, #00ff88, #ff3cac);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: transform 0.2s;
    animation: hue-spin 4s linear infinite;
}

    .big-play-btn:hover {
        transform: scale(1.05);
    }

@keyframes hue-spin {
    to {
        filter: hue-rotate(360deg);
    }
}

/* Rings */
.play-rings {
    position: absolute;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0,255,136,0.2);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.ring-1 {
    width: 160px;
    height: 160px;
    animation: pulse-ring 2s ease-out infinite;
}

.ring-2 {
    width: 190px;
    height: 190px;
    animation: pulse-ring 2s ease-out infinite 0.5s;
}

.ring-3 {
    width: 220px;
    height: 220px;
    animation: pulse-ring 2s ease-out infinite 1s;
}

@keyframes pulse-ring {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.95);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Now Playing */
.now-playing {
    width: 100%;
}

.np-bar {
    height: 3px;
    background: #1e1e35;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.np-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff3cac, #00ff88);
    width: 0%;
    transition: width 0.5s;
}

.np-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #00ff88;
    text-align: center;
}

/* Buffer Status */
.buffer-status {
    display: flex;
    gap: 1.5rem;
}

.buffer-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #444;
}

.buffer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e1e35;
    transition: background 0.3s;
}

    .buffer-dot.loading {
        background: #f59e0b;
        animation: blink 0.8s ease-in-out infinite;
    }

    .buffer-dot.ready {
        background: #00ff88;
    }

    .buffer-dot.playing {
        background: #ff3cac;
        animation: blink 1.5s ease-in-out infinite;
    }

@keyframes blink {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}
/* ── Vibe Grid ── */
.vibe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.vibe-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    background: #0f0f1e;
    border: 1px solid #1e1e35;
    border-radius: 12px;
    color: #666;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.vibe-btn span:first-child { font-size: 1.5rem; }
.vibe-btn:hover { border-color: #ff3cac; color: #fff; }
.vibe-btn.active-vibe { border-color: #ff3cac; background: linear-gradient(135deg, rgba(255,60,172,0.15), rgba(0,255,136,0.08)); color: #fff; }

/* ── Generate Circle ── */
.generate-btn-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: 1rem 0; }
.generate-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff3cac, #7c3aed, #00ff88, #ff3cac);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: transform 0.2s;
    animation: spin-ring 4s linear infinite;
}
.generate-circle:hover { transform: scale(1.05); }
.generate-circle:disabled { opacity: 0.6; cursor: not-allowed; }
@keyframes spin-ring {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}
.generate-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ff3cac;
    text-align: center;
}

/* ── Audio Player ── */
.audio-player-wrap { margin-top: 1rem; }
.audio-controls { display: flex; align-items: center; gap: 0.75rem; }
.play-pause-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #7c3aed;
    border: none; color: white;
    font-size: 1rem; cursor: pointer;
    flex-shrink: 0;
}
.progress-wrap { flex: 1; }
.progress-track { height: 4px; background: #1e1e35; border-radius: 2px; margin-bottom: 0.4rem; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #ff3cac, #00ff88); width: 0%; transition: width 0.3s; }
.demo-badge { font-size: 0.65rem; color: #ff3cac; font-weight: 700; letter-spacing: 0.08em; }

/* ── Loading ── */
.loading-wrap { display: flex; align-items: center; gap: 0.75rem; color: #888; font-size: 0.85rem; margin-top: 1rem; }
.loading-spinner {
    width: 20px; height: 20px;
    border: 2px solid #1e1e35;
    border-top-color: #00ff88;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error-wrap { color: #ef4444; font-size: 0.85rem; margin-top: 1rem; padding: 0.75rem; background: rgba(239,68,68,0.1); border-radius: 8px; }

/* ── CTA Card ── */
.cta-card {
    background: linear-gradient(135deg, #ff3cac22, #7c3aed22);
    border: 1px solid #ff3cac44;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}
.cta-card h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; margin-bottom: 0.4rem; }
.cta-card p { color: #888; font-size: 0.85rem; margin-bottom: 1rem; }
.cta-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #ff3cac, #7c3aed);
    color: white;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s;
}
.cta-btn:hover { transform: scale(1.03); text-decoration: none; color: white; }
/* ══════════════════════════════
   SUBSCRIPTION PAGE
══════════════════════════════ */
.subscription-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    font-family: 'DM Sans', sans-serif;
}

.sub-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .sub-header h1 {
        font-family: 'Syne', sans-serif;
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
    }

    .sub-header p {
        color: #888;
        font-size: 1rem;
    }

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-card {
    position: relative;
    background: #111120;
    border: 2px solid #1e1e35;
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: border-color 0.2s;
    display: block;
}

    .pricing-card:has(input:checked) {
        border-color: #00ff88;
        background: rgba(0,255,136,0.05);
    }

    .pricing-card input[type="radio"] {
        display: none;
    }

    .pricing-card.featured {
        border-color: #ff3cac44;
    }

        .pricing-card.featured:has(input:checked) {
            border-color: #ff3cac;
        }

.card-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: linear-gradient(135deg, #ff3cac, #7c3aed);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.plan-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-body h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.price {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.75rem 0;
    color: #fff;
}

    .price span {
        font-size: 1rem;
        font-weight: 400;
        color: #666;
    }

.plan-desc {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.features {
    list-style: none;
}

    .features li {
        padding: 0.35rem 0;
        color: #888;
        font-size: 0.88rem;
        border-bottom: 1px solid #1e1e35;
    }

        .features li:last-child {
            border-bottom: none;
        }

.payment-footer {
    text-align: center;
}

.secure-note {
    color: #444;
    font-size: 0.82rem;
    margin-top: 0.75rem;
}