/* ============================================================
   NSE Practice — Landing Page Stylesheet
   style.css
   ============================================================ */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
    --bg:             #0d0f14;
    --surface:        #161b24;
    --surface-raised: #1e2535;
    --border:         #2a3148;
    --primary:        #4f8ef7;
    --premium:        #f5a623;
    --green:          #27c87a;
    --red:            #e05252;
    --text:           #e8ecf4;
    --text-muted:     #8892a4;
    --font:           'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-card:    12px;
    --radius-btn:     8px;
    --max-w:          1100px;
    --nav-h:          68px;
    --transition:     0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--border) var(--bg);
}

::-webkit-scrollbar          { width: 8px; }
::-webkit-scrollbar-track    { background: var(--bg); }
::-webkit-scrollbar-thumb    { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3d4f72; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section     { padding: 96px 0; }
.section-alt { background: var(--surface); }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.invisible { visibility: hidden; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    border: none;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: #6aa0f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 142, 247, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-premium {
    background: var(--premium);
    color: #0d0f14;
    font-weight: 700;
}
.btn-premium:hover {
    background: #f7b94a;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 166, 35, 0.4);
}

.btn-large {
    padding: 16px 44px;
    font-size: 17px;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px)   rotate(-3deg); }
    50%       { transform: translateY(-14px) rotate(-3deg); }
}

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

/* Scroll-triggered animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children within grids */
.features-grid   .animate-on-scroll:nth-child(1) { transition-delay: 0.00s; }
.features-grid   .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.features-grid   .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.features-grid   .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.features-grid   .animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.features-grid   .animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }
.steps-container .animate-on-scroll:nth-child(1) { transition-delay: 0.00s; }
.steps-container .animate-on-scroll:nth-child(2) { transition-delay: 0.10s; }
.steps-container .animate-on-scroll:nth-child(3) { transition-delay: 0.20s; }
.steps-container .animate-on-scroll:nth-child(4) { transition-delay: 0.30s; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(13, 15, 20, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    border-color: var(--border);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
    letter-spacing: -0.3px;
}
.nav-logo-icon { font-size: 22px; line-height: 1; }
.nav-wordmark  { font-weight: 700; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-link {
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    padding: 9px 20px;
    font-size: 14px;
    flex-shrink: 0;
    margin-left: 8px;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    padding: 8px;
    border-radius: 6px;
    margin-left: auto;
    transition: background var(--transition);
}
.hamburger:hover { background: rgba(255, 255, 255, 0.07); }

/* Mobile Drawer */
.mobile-drawer {
    display: none;  /* shown via media query */
    flex-direction: column;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 0 20px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-open .mobile-drawer { max-height: 520px; }

.drawer-link {
    display: block;
    padding: 15px 12px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}
.drawer-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.drawer-link + .drawer-link { border-top: 1px solid rgba(42, 49, 72, 0.5); }

.drawer-cta {
    display: flex;
    justify-content: center;
    margin: 16px 0 20px;
    border-radius: var(--radius-btn);
    padding: 14px 24px;
    font-size: 15px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
}

/* Background glow orbs */
.hero-glow-left {
    position: absolute;
    bottom: -15%; left: -12%;
    width: 65%; height: 70%;
    background: radial-gradient(ellipse,
        rgba(79, 142, 247, 0.13) 0%,
        transparent 68%);
    pointer-events: none;
}
.hero-glow-right {
    position: absolute;
    top: 5%; right: -8%;
    width: 50%; height: 55%;
    background: radial-gradient(ellipse,
        rgba(245, 166, 35, 0.07) 0%,
        transparent 65%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 64px;
    padding-top: 56px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79, 142, 247, 0.1);
    border: 1px solid rgba(79, 142, 247, 0.28);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-h1 {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.8px;
    color: var(--text);
}

.accent-text {
    background: linear-gradient(90deg, var(--primary) 20%, var(--premium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.75;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* Play Store badge */
.play-badge-link { display: inline-block; }
.play-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 11px 22px;
    transition: all var(--transition);
}
.play-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(79, 142, 247, 0.35);
    transform: translateY(-2px);
}
.play-icon { width: 26px; height: 26px; flex-shrink: 0; }
.play-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.play-badge-top {
    font-size: 10px;
    font-weight: 500;
    color: #aaa;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}
.play-badge-bottom {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.3px;
}

/* Social proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    flex-wrap: wrap;
}
.social-proof span { display: flex; align-items: center; gap: 6px; }

/* Hero visual / phone frame */
.hero-visual {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 265px;
    height: 530px;
    border-radius: 38px;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box,
        linear-gradient(145deg, var(--primary) 0%, var(--premium) 100%) border-box;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(79, 142, 247, 0.1);
    animation: float 7s ease-in-out infinite;
}

.hero-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Phone placeholder content */
.phone-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 18px 14px 14px;
    gap: 10px;
    background: var(--surface-raised);
}

.ph-topbar {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ph-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ph-dot-red    { background: #e05252; }
.ph-dot-yellow { background: #f5a623; }
.ph-dot-green  { background: #27c87a; }
.ph-ticker {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    color: var(--green);
    background: rgba(39, 200, 122, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.2px;
}

.ph-chart-wrap {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    height: 100px;
    flex-shrink: 0;
}
.ph-chart-svg { width: 100%; height: 100%; }
.ph-chart-line {
    stroke-dasharray: 640;
    stroke-dashoffset: 640;
    animation: drawLine 2.8s ease-in-out 0.5s forwards;
}

.ph-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ph-stat {
    background: var(--surface);
    border-radius: 8px;
    padding: 10px 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ph-stat-label {
    font-size: 8px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.ph-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.ph-orders {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    overflow: hidden;
}
.ph-order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border-radius: 7px;
    padding: 9px 11px;
}
.ph-order-sym { font-size: 10px; font-weight: 600; color: var(--text); }
.ph-order-pnl { font-size: 11px; font-weight: 700; }

/* ── Features Grid ──────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    border-color: rgba(79, 142, 247, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 14px 48px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    font-size: 34px;
    display: block;
    margin-bottom: 18px;
    line-height: 1;
}
.feature-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
}
.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Compare Plans ──────────────────────────────────────────── */

/* -- Desktop table -- */
.compare-table {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 40px;
}

.cmp-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
}
.cmp-header {
    background: var(--surface-raised);
    border-bottom: 2px solid var(--border);
}

.cmp-cell {
    padding: 18px 24px;
    display: flex;
    align-items: center;
}
.cmp-feature-col {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-right: 1px solid var(--border);
}
.cmp-plan-col {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    border-left: 1px solid var(--border);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}
.cmp-header .cmp-plan-col { align-items: center; }

.premium-plan-col { background: rgba(245, 166, 35, 0.04); }

.cmp-row:not(.cmp-header) { border-bottom: 1px solid var(--border); }
.cmp-row:not(.cmp-header):last-child { border-bottom: none; }

.cmp-row-hl { background: rgba(245, 166, 35, 0.025); }
.cmp-row-hl .cmp-feature-col { font-weight: 600; }
.cmp-row-price {
    background: var(--surface-raised);
    font-weight: 700;
    font-size: 16px;
}
.cmp-row-price .cmp-plan-col { color: var(--text); }
.cmp-row-price .premium-plan-col { color: var(--premium); }

.premium-check { color: var(--green) !important; font-weight: 700; }

/* Plan badges */
.plan-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}
.free-badge    { background: rgba(79, 142, 247, 0.15); color: var(--primary); }
.premium-badge { background: rgba(245, 166, 35,  0.15); color: var(--premium); }

.plan-name         { font-size: 22px; font-weight: 700; color: var(--text); }
.premium-plan-name { color: var(--premium); }

/* -- Mobile cards (hidden on desktop) -- */
.compare-cards {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
}
.premium-card { border-color: rgba(245, 166, 35, 0.4); }

.plan-card-hd {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.premium-hd { background: rgba(245, 166, 35, 0.06); }

.plan-feat-list {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.plan-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
}
.feat-ico { flex-shrink: 0; font-size: 13px; line-height: 1.5; }
.feat-lbl { color: var(--text-muted); line-height: 1.5; }
.feat-missing .feat-lbl { opacity: 0.45; }

.plan-price-item {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    padding-top: 10px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.premium-price-item { color: var(--premium); }

/* Compare CTA */
.compare-cta { text-align: center; }
.compare-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── How It Works ───────────────────────────────────────────── */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 56px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-top {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.step-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(79, 142, 247, 0.35), rgba(79, 142, 247, 0.6));
}

.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3a7de8);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 8px rgba(79, 142, 247, 0.1);
    position: relative;
    z-index: 1;
}

.step-body { padding: 0 16px; }
.step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
}
.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-cta { text-align: center; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.faq-item.open { border-color: rgba(79, 142, 247, 0.5); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    transition: background var(--transition);
}
.faq-question:hover { background: rgba(255, 255, 255, 0.03); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.2s ease;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer p {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: #0a0c10;
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.footer-wordmark { color: var(--text); }
.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 10px;
}
.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.65;
    line-height: 1.6;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-link:hover { color: var(--text); }

.footer-email {
    display: inline-block;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: opacity var(--transition);
    word-break: break-all;
}
.footer-email:hover { opacity: 0.75; }

.footer-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: border-color var(--transition), color var(--transition);
}
.footer-play-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.55;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px – 1023px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {

    .hero-container { gap: 40px; }

    .phone-frame {
        width: 230px;
        height: 460px;
    }

    .features-grid { grid-template-columns: repeat(2, 1fr); }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
    .step-top { justify-content: center; }
    .step-line { display: none; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 767px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    .section { padding: 72px 0; }

    /* Navbar */
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .hamburger { display: flex; }
    .mobile-drawer { display: flex; }
    .nav-brand { font-size: 17px; }

    /* Hero */
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 44px;
        padding-top: 40px;
        padding-bottom: 64px;
    }
    .hero-content { order: 2; }
    .hero-visual  { order: 1; width: 100%; }

    .phone-frame {
        width: 210px;
        height: 420px;
        margin: 0 auto;
        animation: none;  /* stop float on mobile for perf */
    }

    .hero-h1 {
        font-size: clamp(30px, 9vw, 44px);
        letter-spacing: -1px;
    }
    .hero-sub { font-size: 16px; max-width: 100%; }

    .hero-ctas      { justify-content: center; }
    .eyebrow-badge  { margin: 0 auto 24px; }
    .social-proof   { justify-content: center; gap: 12px; font-size: 12px; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; }

    /* Compare */
    .compare-table { display: none; }
    .compare-cards { display: grid; grid-template-columns: 1fr; }

    /* Steps: vertical */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 18px;
    }
    .step-top {
        flex-direction: column;
        width: auto;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .step-line { display: none; }
    .step-body { padding: 4px 0 0; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .section-title { letter-spacing: -0.3px; }
    .section-sub   { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Very small (≤ 480px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    .hero-ctas { flex-direction: column; align-items: center; }
    .btn-ghost { width: 100%; max-width: 280px; }

    .play-badge { padding: 10px 18px; }
    .play-badge-bottom { font-size: 16px; }

    .steps-container { gap: 24px; }

    .faq-question { padding: 18px 20px; font-size: 14px; }
    .faq-answer p { padding: 14px 20px 18px; }
}

/* ── Ad-Free Callout Band ────────────────────────────── */
.adfree-band {
    background: linear-gradient(135deg, #0f1f14 0%, #0d1a2e 100%);
    border-top: 1px solid rgba(39, 200, 122, 0.15);
    border-bottom: 1px solid rgba(39, 200, 122, 0.15);
}

.adfree-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(39, 200, 122, 0.06);
    border: 1px solid rgba(39, 200, 122, 0.2);
    border-radius: 16px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
}

.adfree-icon {
    font-size: 3rem;
    flex-shrink: 0;
    line-height: 1;
}

.adfree-copy {
    flex: 1;
    min-width: 0;
}

.adfree-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 10px;
    line-height: 1.2;
}

.adfree-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 580px;
}

.adfree-stamp {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 6px;
    padding: 6px 10px;
    opacity: 0.5;
    transform: rotate(12deg);
    user-select: none;
}

@media (max-width: 640px) {
    .adfree-inner {
        flex-direction: column;
        padding: 28px 24px;
        text-align: center;
    }
    .adfree-stamp { display: none; }
    .adfree-sub { max-width: 100%; }
}

/* ── Screenshots Carousel ────────────────────────────── */
.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Desktop: show 3 slides at once (width = 100% / 3) */
.carousel-slide {
    min-width: calc(100% / 3);
    padding: 12px 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.carousel-phone-frame {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    max-width: 200px;
    width: 100%;
    aspect-ratio: 9 / 19.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.carousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

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

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.35);
}

/* Mobile: 1 slide at a time */
@media (max-width: 767px) {
    .carousel-slide {
        min-width: 100%;
        padding: 8px 0;
    }
    .carousel-phone-frame {
        max-width: 220px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* ── Beta Sign-Up Modal ──────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    transform: translateY(16px);
    transition: transform 0.25s ease;
    text-align: center;
}

.modal-overlay.is-open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: var(--surface-raised);
    color: var(--text);
}

.modal-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.modal-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.modal-input:focus {
    border-color: var(--primary);
}

.modal-input.input-error {
    border-color: var(--red);
}

.modal-error {
    color: var(--red);
    font-size: 0.85rem;
    margin: 0;
    min-height: 1.2em;
}

.modal-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-privacy {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.modal-done {
    margin-top: 8px;
}

.btn-beta-cta {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
}

@media (max-width: 480px) {
    .modal-card {
        padding: 32px 20px 24px;
    }
}

/* ── Pricing Page ────────────────────────────────────── */
.pricing-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.premium-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
/* .feature-card styles already exist — reused here */

/* ── Premium Plan Tier Cards ─────────────────────────── */
.plan-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    align-items: stretch;
}

.plan-tier-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.plan-tier-featured {
    border-color: rgba(245, 166, 35, 0.55);
    background: linear-gradient(160deg, rgba(245, 166, 35, 0.06) 0%, var(--surface) 60%);
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.08);
}

.plan-tier-popular-badge,
.plan-tier-savings-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plan-tier-popular-badge {
    background: var(--premium);
    color: #0d0f14;
}

.plan-tier-savings-badge {
    background: rgba(245, 166, 35, 0.15);
    color: var(--premium);
    border: 1px solid rgba(245, 166, 35, 0.4);
}

.plan-tier-hd {
    text-align: center;
}

.plan-tier-duration {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.plan-tier-price-wrap {
    margin-bottom: 8px;
}

.plan-tier-price-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--premium);
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 6px 18px;
    border-radius: 8px;
}

.plan-tier-billing {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.plan-tier-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plan-tier-perks li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.plan-tier-cta-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--border);
}

.plan-tiers-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

@media (max-width: 900px) {
    .plan-tiers-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .plan-tier-card { padding: 28px 20px; }
}
