/* Base styles */
:root {
  --bg: #0b0f14;
  --bg-elev: #0f141b;
  --text: #e6edf3;
  --muted: #9fb0c0;
  --brand: #5b9cff;
  --brand-600: #387cff;
  --accent: #22d3ee;
  --success: #22c55e;
  --warning: #f59e0b;
  --card: #0f141b;
  --border: #1f2a37;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-elev: #f8fafc;
  --text: #0b1220;
  --muted: #475569;
  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --accent: #0891b2;
  --success: #16a34a;
  --warning: #d97706;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(2,6,23,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,0.08), transparent 40%),
    radial-gradient(800px 500px at 0% 0%, rgba(37,99,235,0.10), transparent 40%),
    var(--bg);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; position: sticky; top: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), transparent); backdrop-filter: blur(6px); z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: white; font-weight: 800; }
.brand-name { color: var(--text); text-decoration: none; letter-spacing: 0.2px; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); cursor: pointer; transition: transform .12s ease, background .2s ease; }
.icon-btn:hover { transform: translateY(-1px); }
.icon { display: block; }
.icon-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 8px 12px; background: var(--brand); color: #fff; border-radius: 6px; }

.section { padding: 64px 0; }
.section-title { font-size: 28px; line-height: 1.2; margin: 0 0 24px; letter-spacing: -0.02em; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; min-height: 68vh; }
.hero-title { font-size: clamp(28px, 6vw, 56px); margin: 12px 0 12px; line-height: 1.05; letter-spacing: -0.03em; }
.hero-title .gradient { }
.hero-subtext { color: var(--muted); margin: 0 0 18px; max-width: 46ch; }
.hero-points { display: none; }
.hero-points li { }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; height: 28px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.2px; background: rgba(37,99,235,0.12); color: var(--brand); border: 1px solid var(--border); line-height: 1; white-space: nowrap; }
.hero-art { position: relative; min-height: 240px; }
.glow { position: absolute; inset: 10% 0 0 10%; background: radial-gradient(400px 220px at 20% 20%, rgba(91,156,255,0.35), transparent 60%), radial-gradient(360px 220px at 70% 30%, rgba(34,211,238,0.25), transparent 60%); filter: blur(30px); opacity: 0.8; }
.grid-overlay { display: none; }
.orb, .orb-a, .orb-b { display: none; }

/* Hero mock window (desktop only) */
.mock-window { position: relative; margin: 8px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)), var(--bg-elev); box-shadow: var(--shadow); overflow: hidden; }
.mock-header { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-bottom: 1px solid var(--border); background: rgba(2,6,23,0.32); }
.mock-header .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mock-header .dot.red { background: #ef4444; }
.mock-header .dot.yellow { background: #f59e0b; }
.mock-header .dot.green { background: #22c55e; }
.mock-title { color: var(--muted); font-size: 12px; margin-left: auto; }
.mock-body { padding: 12px; }
.code-line { height: 8px; margin: 8px 0; border-radius: 6px; background: linear-gradient(90deg, rgba(59,130,246,0.25), rgba(34,211,238,0.25)); }
.code-line.long { width: 80%; }
.code-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.code-card { height: 62px; border-radius: 10px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)); }

.email-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; max-width: 520px; }
.email-form input[type="email"] { width: 100%; height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); outline: none; }
.email-form input[type="email"]::placeholder { color: var(--muted); }
.email-form input[type="email"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-primary { height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; font-weight: 600; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease; box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37,99,235,0.45); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-hint { grid-column: 1 / -1; color: var(--muted); margin: 4px 2px 0; font-size: 12px; }
.form-error, .form-success { grid-column: 1 / -1; margin: 8px 2px 0; font-size: 13px; }
.form-error { color: #ef4444; }
.form-success { color: var(--success); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); border: 0; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)), var(--card); padding: 16px; box-shadow: var(--shadow); }
.card:hover { }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.card-title { margin: 8px 0 2px; font-size: 18px; }
.card-text { margin: 0; color: var(--muted); }
.status { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.2px; border: 1px solid var(--border); white-space: nowrap; line-height: 1; }
.status.available { background: rgba(34,197,94,0.14); color: var(--success); border-color: rgba(34,197,94,0.35); }
.status.soon { background: rgba(245,158,11,0.14); color: var(--warning); border-color: rgba(245,158,11,0.35); }

/* Roadmap */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.timeline-item { position: relative; border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 16px; box-shadow: var(--shadow); min-height: 140px; scroll-snap-align: start; }
.timeline-item:hover { }
.timeline-item .step { position: absolute; top: 14px; left: 14px; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; line-height: 1; box-shadow: 0 8px 18px rgba(37,99,235,0.35); }
.timeline-item .content { padding-left: 46px; }
.timeline-item.done { outline: 2px solid rgba(34,197,94,0.35); }
.item-title { margin: 4px 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.timeline-item p { margin: 0; color: var(--muted); }
.timeline::-webkit-scrollbar { height: 8px; }
.timeline::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* CTA */
.cta { position: relative; }
.cta-box { border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: linear-gradient(180deg, rgba(37,99,235,0.10), rgba(255,255,255,0.00)), var(--card); box-shadow: var(--shadow); }
.cta-title { margin: 0 0 6px; font-size: clamp(22px, 4.2vw, 36px); }
.cta-subtext { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); color: var(--muted); }
.footer-links { display: flex; gap: 12px; padding: 0; margin: 0 0 8px; list-style: none; flex-wrap: wrap; }
.footer-link { color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; border: 1px solid transparent; }
.footer-link:hover { color: var(--text); border-color: var(--border); background: var(--bg-elev); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-animate="stagger"] { }

@keyframes rise-in { from { opacity: 1; transform: none; } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 16px; text-align: left; padding-top: 24px; }
  .hero-title { font-size: clamp(26px, 7vw, 40px); }
  .hero-art { display: none; }
  .hero-points { }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .email-form { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .site-header { padding: 14px 0; }
  .timeline { grid-auto-flow: row; grid-auto-columns: unset; gap: 12px; scroll-snap-type: none; }
}


