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

:root {
    --orange:       #FF6B00;
    --orange-dim:   rgba(255, 107, 0, 0.09);
    --orange-glow:  rgba(255, 107, 0, 0.22);
    --green:        #00FF88;
    --green-dim:    rgba(0, 255, 136, 0.07);
    --green-glow:   rgba(0, 255, 136, 0.18);
    --bg:           #070707;
    --surface:      #0D0D0D;
    --surface-2:    #131313;
    --border:       rgba(255, 255, 255, 0.05);
    --border-hi:    rgba(255, 255, 255, 0.09);
    --text:         #EFEFEF;
    --text-2:       #909090;
    --text-3:       #666666;
    --radius:       16px;
    --mono:         'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Figtree', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--mono); }

/* ── Grain ── */
.grain {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px;
}

/* ── Scanlines ── */
.scanlines {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9998;
    background: repeating-linear-gradient(
        0deg,
        transparent, transparent 3px,
        rgba(0,0,0,0.022) 3px, rgba(0,0,0,0.022) 4px
    );
}

/* ── Container ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Label ── */
.label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 18px;
}

/* ───────────────────────────
   NAVBAR
─────────────────────────── */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
}

.nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 64px;
    border-bottom: 1px solid var(--border);
    background: rgba(7,7,7,0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.logo img { height: 60px; width: auto; }

/* Logo swap */
.logo-light { display: none !important; }
.logo-dark  { display: block; }
html[data-theme="light"] .logo-light { display: block !important; }
html[data-theme="light"] .logo-dark  { display: none !important; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Theme toggle button */
.theme-toggle {
    width: 36px; height: 36px;
    border-radius: 4px;
    border: 1px solid var(--border-hi);
    background: rgba(255,255,255,0.04);
    color: var(--text-2);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.theme-toggle:hover {
    border-color: var(--orange);
    color: var(--text);
    background: rgba(255,107,0,0.06);
}
.theme-toggle svg { width: 15px; height: 15px; }

/* Dark mode: show sun, hide moon */
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

/* Light mode: show moon, hide sun */
html[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-cta {
    font-family: var(--mono);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #000; background: var(--text);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 3px;
    transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #d4d4d4; transform: translateY(-1px); }

/* ───────────────────────────
   HERO
─────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 120px 0 80px;
}

/* Canvas */
.oscilloscope-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

/* Spectrum bars */
.spectrum-bg {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 220px;
    display: flex; align-items: flex-end; justify-content: center;
    gap: 3px; padding: 0 16px;
    pointer-events: none;
}

.spec-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(255,107,0,0.07), transparent);
    border-radius: 2px 2px 0 0;
    animation: specPulse 2.2s ease-in-out infinite alternate;
    transform-origin: bottom;
}
.spec-bar:nth-child(1)  { height: 38px;  animation-delay: 0s;     }
.spec-bar:nth-child(2)  { height: 68px;  animation-delay: 0.09s;  }
.spec-bar:nth-child(3)  { height: 105px; animation-delay: 0.17s;  }
.spec-bar:nth-child(4)  { height: 55px;  animation-delay: 0.24s;  }
.spec-bar:nth-child(5)  { height: 135px; animation-delay: 0.32s;  }
.spec-bar:nth-child(6)  { height: 78px;  animation-delay: 0.4s;   }
.spec-bar:nth-child(7)  { height: 48px;  animation-delay: 0.47s;  }
.spec-bar:nth-child(8)  { height: 98px;  animation-delay: 0.55s;  }
.spec-bar:nth-child(9)  { height: 150px; animation-delay: 0.62s;  }
.spec-bar:nth-child(10) { height: 85px;  animation-delay: 0.7s;   }
.spec-bar:nth-child(11) { height: 62px;  animation-delay: 0.78s;  }
.spec-bar:nth-child(12) { height: 118px; animation-delay: 0.86s;  }
.spec-bar:nth-child(13) { height: 73px;  animation-delay: 0.94s;  }
.spec-bar:nth-child(14) { height: 52px;  animation-delay: 1.02s;  }
.spec-bar:nth-child(15) { height: 92px;  animation-delay: 1.1s;   }
.spec-bar:nth-child(16) { height: 144px; animation-delay: 1.18s;  }
.spec-bar:nth-child(17) { height: 80px;  animation-delay: 1.26s;  }
.spec-bar:nth-child(18) { height: 112px; animation-delay: 1.34s;  }
.spec-bar:nth-child(19) { height: 66px;  animation-delay: 1.42s;  }
.spec-bar:nth-child(20) { height: 96px;  animation-delay: 1.5s;   }
.spec-bar:nth-child(21) { height: 128px; animation-delay: 1.58s;  }
.spec-bar:nth-child(22) { height: 58px;  animation-delay: 1.66s;  }
.spec-bar:nth-child(23) { height: 84px;  animation-delay: 1.74s;  }
.spec-bar:nth-child(24) { height: 44px;  animation-delay: 1.82s;  }

@keyframes specPulse {
    0%   { transform: scaleY(0.18); opacity: 0.35; }
    100% { transform: scaleY(1);    opacity: 1;    }
}

/* Radial glow */
.hero::before {
    content: '';
    position: absolute; top: 10%; left: 38%;
    transform: translateX(-50%);
    width: 1000px; height: 700px;
    background: radial-gradient(ellipse at center, rgba(255,107,0,0.22) 0%, rgba(255,107,0,0.08) 35%, transparent 65%);
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 840px; }

/* Stagger fade-in */
.hero-anim {
    opacity: 0;
    transform: translateY(22px);
    animation: heroIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Pill tag */
.hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-2);
    border: 1px solid var(--border-hi);
    border-radius: 3px;
    padding: 7px 14px;
    margin-bottom: 36px;
}
.tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange);
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--orange); }
    50%       { opacity: 0.38; box-shadow: 0 0 3px var(--orange); }
}

/* Headline */
.hero-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.04em;
    display: flex; flex-direction: column;
    margin-bottom: 32px;
}
.hero-headline .line-1 { font-size: clamp(60px, 9.5vw, 118px); color: var(--text); }
.hero-headline .line-2 { font-size: clamp(50px, 7.8vw, 96px);  color: var(--text-2); }
.hero-headline .line-2 em { font-style: italic; color: var(--text); }
.hero-headline .line-3 {
    font-size: clamp(60px, 9.5vw, 118px); color: var(--text);
    display: flex; align-items: center;
}
.cursor {
    color: var(--orange);
    font-weight: 300;
    margin-left: 3px;
    animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-sub {
    font-size: 17px; color: var(--text-2);
    line-height: 1.78; max-width: 460px;
    font-weight: 400; margin-bottom: 42px;
}

.hero-cta {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #000; background: var(--orange);
    text-decoration: none;
    padding: 15px 38px;
    border-radius: 3px;
    box-shadow: 0 0 40px rgba(255,107,0,0.28);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 65px rgba(255,107,0,0.5);
    background: #ff7a1a;
}

/* ───────────────────────────
   FEATURES
─────────────────────────── */
.features {
    padding: 130px 0;
    border-top: 1px solid var(--border);
}
.features-header { margin-bottom: 56px; }
.features-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}

/* Bento grid */
.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.bento-card {
    background: var(--surface);
    padding: 36px 32px;
    display: flex; flex-direction: column; gap: 14px;
    position: relative; overflow: hidden;
    transition: background 0.25s;
}

/* Subtle scanlines inside each card */
.bento-card::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(0,0,0,0.018) 3px, rgba(0,0,0,0.018) 4px
    );
    pointer-events: none; z-index: 0;
}
.bento-card > * { position: relative; z-index: 1; }

/* Left accent bar (animated in on hover) */
.bento-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--orange);
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}
.bento-card:hover::before  { transform: scaleY(1); }
.bento-card:hover          { background: var(--surface-2); }

/* Green highlight card */
.bento-green {
    background: linear-gradient(155deg, rgba(0,255,136,0.045) 0%, var(--surface) 55%);
}
.bento-green::before       { background: var(--green); }
.bento-green:hover {
    background: linear-gradient(155deg, rgba(0,255,136,0.09) 0%, var(--surface-2) 55%);
}

/* Coming soon card */
.bento-coming {
    background: linear-gradient(140deg, rgba(255,107,0,0.04) 0%, var(--surface) 55%);
}
.bento-coming:hover {
    background: linear-gradient(140deg, rgba(255,107,0,0.08) 0%, var(--surface-2) 55%);
}

.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }

/* Icons */
.bento-icon {
    width: 42px; height: 42px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-hi);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2); flex-shrink: 0;
}
.bento-icon svg { width: 18px; height: 18px; }
.bento-icon--orange { background: rgba(255,107,0,0.08); border-color: rgba(255,107,0,0.2); color: var(--orange); }
.bento-icon--green  { background: rgba(0,255,136,0.08); border-color: rgba(0,255,136,0.2); color: var(--green);  }

.bento-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 18px; font-weight: 700;
    letter-spacing: -0.01em; line-height: 1.2;
    color: var(--text);
}
.bento-card p { font-size: 14px; color: var(--text-2); line-height: 1.72; }

/* Tech pill */
.bento-pill {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    color: var(--green);
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: 3px;
    padding: 4px 10px; width: fit-content;
}

/* Coming soon badge */
.coming-badge {
    position: absolute; top: 22px; right: 22px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-dim);
    border: 1px solid rgba(255,107,0,0.18);
    border-radius: 3px; padding: 4px 10px;
}

/* ───────────────────────────
   SCROLL REVEAL
─────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ───────────────────────────
   APP PREVIEW
─────────────────────────── */
.preview {
    padding: 130px 0 80px;
    border-top: 1px solid var(--border);
    overflow: visible;
}

.screenshots-track-wrapper {
    overflow-x: clip;
}
.preview-header { margin-bottom: 56px; }
.preview-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}

/* Carousel */
.screenshots-track {
    display: flex; gap: 20px;
    padding: 32px 28px 44px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc((100vw - 1100px) / -2);
    padding-left:  max(28px, calc((100vw - 1100px) / 2 + 28px));
    padding-right: max(28px, calc((100vw - 1100px) / 2 + 28px));
}
.screenshots-track::-webkit-scrollbar { display: none; }

.screenshot-card {
    flex: 0 0 auto; width: 218px;
    display: flex; flex-direction: column; gap: 16px;
    animation: floatCard 7s ease-in-out infinite;
}
.screenshot-card:nth-child(even)      { animation-delay: -3.5s; }
.screenshot-card:nth-child(3n)        { animation-delay: -1.5s; }
@keyframes floatCard {
    0%, 100% { transform: translateY(0);   }
    50%       { transform: translateY(-7px); }
}

/* CSS phone frame */
.phone-frame {
    position: relative;
    padding: 20px 5px 6px;
    background: #0b0b0b;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 32px;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 28px 70px rgba(0,0,0,0.7);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    transform-origin: bottom center;
}
.phone-frame:hover {
    transform: translateY(0px) scale(1.06);
    box-shadow: 0 44px 90px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,107,0,0.12);
    border-color: rgba(255,107,0,0.18);
}

/* Pill notch */
.phone-notch {
    position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
    width: 44px; height: 4px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px; z-index: 1;
}

.screenshot {
    width: 100%; height: 420px;
    object-fit: cover; object-position: 0 -35px;
    border-radius: 26px; display: block;
}

.screenshot-card span {
    text-align: center;
    font-size: 10px; font-weight: 700;
    color: #aaa; letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ───────────────────────────
   WAITLIST
─────────────────────────── */
.waitlist {
    padding: 150px 0;
    border-top: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.waitlist::before {
    content: '';
    position: absolute; bottom: -90px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 420px;
    background: radial-gradient(ellipse, rgba(255,107,0,0.048) 0%, transparent 65%);
    pointer-events: none;
}

.waitlist-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center; position: relative;
}
.waitlist-left h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
    margin-bottom: 16px; color: var(--text);
}
.waitlist-left p { font-size: 16px; color: var(--text-2); line-height: 1.78; }

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

/* Terminal input */
.terminal-input-wrap {
    display: flex; align-items: center;
    background: var(--surface);
    border: 1px solid var(--border-hi);
    border-radius: 5px; overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.terminal-input-wrap:focus-within {
    border-color: rgba(255,107,0,0.35);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.07);
}
.terminal-prompt {
    font-size: 14px; color: var(--orange);
    padding: 16px 12px 16px 18px;
    background: rgba(255,107,0,0.045);
    border-right: 1px solid var(--border-hi);
    flex-shrink: 0; line-height: 1;
    user-select: none;
}
.wl-input {
    background: transparent; border: none;
    padding: 16px 18px;
    font-size: 13px; color: var(--text);
    letter-spacing: 0.03em; width: 100%;
}
.wl-input::placeholder { color: var(--text-3); }
.wl-input:focus { outline: none; }

.wl-btn {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    background: var(--orange); color: #000;
    border: none; border-radius: 5px;
    padding: 16px 28px; cursor: pointer; width: 100%;
    box-shadow: 0 0 30px rgba(255,107,0,0.2);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.wl-btn:hover {
    background: #ff7a1a; transform: translateY(-1px);
    box-shadow: 0 0 55px rgba(255,107,0,0.38);
}
.wl-btn:active { transform: scale(0.98); }

.wl-success {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: var(--green);
    margin-top: 10px; padding: 14px 16px;
    background: rgba(0,255,136,0.04);
    border: 1px solid rgba(0,255,136,0.15);
    border-radius: 5px; letter-spacing: 0.03em;
}
.wl-error {
    font-size: 11px; color: #FF453A;
    margin-top: 10px; padding: 12px 16px;
    background: rgba(255,69,58,0.05);
    border: 1px solid rgba(255,69,58,0.18);
    border-radius: 5px; letter-spacing: 0.05em;
}
.hidden { display: none; }

.wl-note { margin-top: 14px; font-size: 11px; color: var(--text-3); letter-spacing: 0.07em; }

/* ───────────────────────────
   FOOTER
─────────────────────────── */
.footer {
    padding: 44px 0;
    border-top: 1px solid var(--border);
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; }
.footer-logo  { width: 130px; height: auto; display: block; flex-shrink: 0; }
.footer-left  { display: flex; flex-direction: column; gap: 8px; }
.footer-left p { font-size: 11px; color: var(--text-3); letter-spacing: 0.07em; }
.footer-right  { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.footer-right p, .footer-right a {
    font-size: 11px; color: var(--text-3);
    text-decoration: none; letter-spacing: 0.05em;
    transition: color 0.2s;
}
.footer-right a:hover { color: var(--text-2); }

/* ───────────────────────────
   RESPONSIVE
─────────────────────────── */
@media (max-width: 900px) {
    .features-bento { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }
    .bento-tall { grid-row: span 1; }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 80px; }
    .hero-headline .line-1 { font-size: 52px; }
    .hero-headline .line-2 { font-size: 44px; }
    .hero-headline .line-3 { font-size: 52px; }

    .features { padding: 80px 0; }
    .features-bento { grid-template-columns: 1fr; }
    .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }

    .waitlist-inner { grid-template-columns: 1fr; gap: 48px; }

    .footer-inner { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
    .footer-left { align-items: center; }
    .footer-right { text-align: center; align-items: center; }

    .screenshots-track { margin: 0; padding: 8px 28px 36px; }
}

@media (max-width: 480px) {
    .hero-headline .line-1 { font-size: 38px; }
    .hero-headline .line-2 { font-size: 32px; }
    .hero-headline .line-3 { font-size: 38px; }

    .nav-cta { font-size: 10px; padding: 8px 14px; }

    .hero-sub { font-size: 14px; }

    .wl-form { flex-direction: column; }
}

/* ───────────────────────────
   LIGHT MODE
─────────────────────────── */
html[data-theme="light"] {
    --bg:        #F5F4F0;
    --surface:   #FFFFFF;
    --surface-2: #EDECE8;
    --border:    rgba(0,0,0,0.07);
    --border-hi: rgba(0,0,0,0.12);
    --text:      #0A0A0A;
    --text-2:    #505050;
    --text-3:    #909090;
}

html[data-theme="light"] body {
    background: var(--bg);
    color: var(--text);
}

/* Navbar */
html[data-theme="light"] .nav-inner {
    background: rgba(245,244,240,0.92);
    border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .theme-toggle {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.12);
    color: #555;
}
html[data-theme="light"] .theme-toggle:hover {
    background: rgba(255,107,0,0.08);
    border-color: var(--orange);
    color: var(--orange);
}
html[data-theme="light"] .nav-cta {
    background: #0A0A0A;
    color: #fff;
}
html[data-theme="light"] .nav-cta:hover { background: #2a2a2a; }

/* Hero */
html[data-theme="light"] .hero::before {
    background: radial-gradient(ellipse at center, rgba(255,107,0,0.18) 0%, rgba(255,107,0,0.06) 35%, transparent 65%);
}
html[data-theme="light"] .spec-bar {
    background: linear-gradient(to top, rgba(255,107,0,0.12), transparent);
}
html[data-theme="light"] .hero-tag {
    border-color: rgba(0,0,0,0.12);
    color: #666;
}

/* Grain & scanlines */
html[data-theme="light"] .grain { opacity: 0.025; filter: invert(1); }
html[data-theme="light"] .scanlines {
    background: repeating-linear-gradient(
        0deg,
        transparent, transparent 3px,
        rgba(0,0,0,0.014) 3px, rgba(0,0,0,0.014) 4px
    );
}

/* Bento grid */
html[data-theme="light"] .features-bento {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.07);
}
html[data-theme="light"] .bento-card              { background: #FFFFFF; }
html[data-theme="light"] .bento-card:hover        { background: #F7F6F2; }
html[data-theme="light"] .bento-card::after       { background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.01) 3px, rgba(0,0,0,0.01) 4px); }
html[data-theme="light"] .bento-green             { background: linear-gradient(155deg, rgba(0,200,100,0.06) 0%, #FFFFFF 55%); }
html[data-theme="light"] .bento-green:hover       { background: linear-gradient(155deg, rgba(0,200,100,0.1) 0%, #F7F6F2 55%); }
html[data-theme="light"] .bento-coming            { background: linear-gradient(140deg, rgba(255,107,0,0.06) 0%, #FFFFFF 55%); }
html[data-theme="light"] .bento-coming:hover      { background: linear-gradient(140deg, rgba(255,107,0,0.1) 0%, #F7F6F2 55%); }
html[data-theme="light"] .bento-icon              { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: #666; }
html[data-theme="light"] .bento-icon--orange      { background: rgba(255,107,0,0.08); border-color: rgba(255,107,0,0.2); }
html[data-theme="light"] .bento-icon--green       { background: rgba(0,200,100,0.08); border-color: rgba(0,200,100,0.2); }
html[data-theme="light"] .coming-badge            { background: rgba(255,107,0,0.08); border-color: rgba(255,107,0,0.2); }

/* Screenshots */
html[data-theme="light"] .phone-frame {
    background: #E2E0D8;
    border-color: rgba(0,0,0,0.14);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 28px 70px rgba(0,0,0,0.12);
}
html[data-theme="light"] .phone-notch { background: rgba(0,0,0,0.1); }
html[data-theme="light"] .phone-frame:hover {
    box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,107,0,0.15);
}
html[data-theme="light"] .screenshot-card span { color: #333; }

/* Waitlist */
html[data-theme="light"] .terminal-input-wrap {
    background: #FFFFFF;
    border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .terminal-input-wrap:focus-within {
    border-color: rgba(255,107,0,0.4);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.08);
}
html[data-theme="light"] .terminal-prompt { background: rgba(255,107,0,0.06); border-right-color: rgba(0,0,0,0.1); }
html[data-theme="light"] .wl-input { color: var(--text); }
html[data-theme="light"] .wl-input::placeholder { color: #aaa; }
html[data-theme="light"] .wl-note { color: #aaa; }
html[data-theme="light"] .wl-success { background: rgba(0,180,90,0.05); border-color: rgba(0,180,90,0.2); }

/* Section borders */
html[data-theme="light"] .features,
html[data-theme="light"] .preview,
html[data-theme="light"] .waitlist,
html[data-theme="light"] .footer { border-top-color: rgba(0,0,0,0.08); }

/* Footer */
html[data-theme="light"] .footer-right a:hover { color: #333; }
