:root {
  --bg:#05050a;
  --panel:#10101a;
  --panel2:#151527;
  --text:#f5f7ff;
  --muted:#a3a6c2;
  --border:rgba(255,255,255,.12);
  --accent:#8b5cf6;
  --accent2:#22d3ee;
  --accent3:#ff4ecd;
  --success:#34d399;
  --font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 8% -5%, rgba(34,211,238,.24), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(255,78,205,.20), transparent 27%),
    radial-gradient(circle at 48% 48%, rgba(139,92,246,.18), transparent 36%),
    linear-gradient(180deg,#05050a 0%,#090913 48%,#05050a 100%);
  color:var(--text);
  font-family:var(--font);
}
body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 72%);
}
a { color:inherit; text-decoration:none; }
.noise { position:fixed; inset:0; opacity:.17; pointer-events:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px min(6vw,76px);
  position:sticky;
  top:0;
  z-index:5;
  backdrop-filter:blur(20px);
  background:rgba(5,5,10,.66);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand { display:flex; align-items:center; gap:11px; font-weight:900; letter-spacing:.35px; }
.brand img { width:38px; height:38px; border-radius:14px; box-shadow:0 0 28px rgba(34,211,238,.28); }
.nav div { display:flex; align-items:center; gap:18px; color:var(--muted); font-size:14px; }
.nav a:not(.brand):hover { color:var(--text); }
.pill, .cta {
  color:white;
  background:linear-gradient(135deg,var(--accent2),var(--accent),var(--accent3));
  border-radius:999px;
  padding:11px 17px;
  font-weight:900;
  box-shadow:0 16px 42px rgba(139,92,246,.28);
}
.hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,560px);
  gap:52px;
  align-items:center;
  padding:90px min(6vw,76px) 54px;
}
.hero-copy { position:relative; z-index:1; }
.kicker, .mini-kicker { color:var(--accent2); text-transform:uppercase; letter-spacing:1.7px; font-size:12px; font-weight:950; }
h1 { font-size:clamp(48px,7.4vw,92px); line-height:.9; letter-spacing:-5px; margin:12px 0 20px; max-width:1000px; }
.sub { color:var(--muted); font-size:19px; line-height:1.68; max-width:720px; }
.cta-row { display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; }
.secondary { border:1px solid var(--border); border-radius:999px; padding:11px 17px; color:var(--text); background:rgba(255,255,255,.045); }
.proof-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; color:var(--muted); }
.proof-row span { border:1px solid var(--border); background:rgba(255,255,255,.045); border-radius:999px; padding:9px 12px; }
.proof-row strong { color:var(--text); }
.mockup {
  position:relative;
  display:grid;
  grid-template-columns:66px 1fr;
  gap:12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.035));
  padding:46px 12px 12px;
  box-shadow:0 38px 110px rgba(0,0,0,.58), 0 0 80px rgba(34,211,238,.10);
  overflow:hidden;
}
.mockup::before { content:""; position:absolute; inset:-2px; background:radial-gradient(circle at 30% 0%,rgba(34,211,238,.35),transparent 32%),radial-gradient(circle at 85% 5%,rgba(255,78,205,.22),transparent 26%); pointer-events:none; }
.window-dots { position:absolute; top:18px; left:20px; display:flex; gap:8px; z-index:2; }
.window-dots span { width:11px; height:11px; border-radius:50%; background:#ff5f57; }
.window-dots span:nth-child(2) { background:#ffbd2e; }
.window-dots span:nth-child(3) { background:#28c840; }
.rail, .screen { position:relative; z-index:1; }
.rail { display:grid; gap:10px; align-content:start; }
.rail span { display:grid; place-items:center; height:52px; border-radius:18px; background:rgba(255,255,255,.07); border:1px solid var(--border); box-shadow:inset 0 1px 0 rgba(255,255,255,.06); }
.rail span:first-child { background:linear-gradient(135deg,rgba(34,211,238,.28),rgba(139,92,246,.28)); color:white; }
.screen { min-height:350px; border-radius:24px; background:linear-gradient(145deg,rgba(139,92,246,.18),rgba(34,211,238,.08)), #090913; padding:16px; border:1px solid rgba(255,255,255,.10); }
.bar { display:flex; justify-content:space-between; gap:12px; border:1px solid var(--border); border-radius:999px; padding:10px 14px; color:var(--muted); margin-bottom:16px; background:rgba(0,0,0,.22); }
.bar em { color:var(--success); font-style:normal; font-size:12px; }
.screen-grid { display:grid; grid-template-columns:128px 1fr; gap:14px; }
.screen aside { border:1px solid var(--border); background:rgba(255,255,255,.045); border-radius:18px; padding:12px; display:grid; gap:9px; align-content:start; color:var(--muted); font-size:13px; }
.screen aside b { color:var(--text); }
.screen aside span { padding:8px 9px; border-radius:12px; }
.screen aside .active { color:white; background:linear-gradient(135deg,rgba(34,211,238,.24),rgba(139,92,246,.24)); }
.screen section { padding:28px 8px 8px; }
.screen h3 { font-size:36px; letter-spacing:-1.4px; margin:0 0 8px; }
.screen p { color:var(--muted); line-height:1.55; }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin-top:22px; }
.chips span { border:1px solid var(--border); background:rgba(255,255,255,.065); border-radius:999px; padding:8px 10px; }
.features { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; padding:34px min(6vw,76px); }
.features article, .compare, .waitlist, .download-grid article { border:1px solid var(--border); border-radius:24px; background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)); padding:24px; box-shadow:0 18px 60px rgba(0,0,0,.22); }
.features article { transition:transform .18s ease, border-color .18s ease; }
.features article:hover { transform:translateY(-3px); border-color:rgba(34,211,238,.34); }
.icon { display:grid; place-items:center; width:38px; height:38px; margin-bottom:16px; border-radius:14px; background:linear-gradient(135deg,rgba(34,211,238,.24),rgba(139,92,246,.25)); color:white; }
.features strong { display:block; margin-bottom:8px; font-size:18px; }
.features span:not(.icon), li, .page p, .download-grid p, .waitlist p { color:var(--muted); line-height:1.55; }
.compare, .waitlist, .page { margin:34px min(6vw,76px); }
.compare { display:grid; grid-template-columns:.85fr 1.15fr; gap:24px; align-items:start; }
.compare h2, .waitlist h2, .page h1 { font-size:clamp(36px,4.5vw,56px); letter-spacing:-2.2px; line-height:1; margin:0 0 14px; }
.grid, .download-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.grid > div { border:1px solid var(--border); border-radius:18px; padding:18px; background:rgba(0,0,0,.16); }
.waitlist { display:flex; justify-content:space-between; gap:28px; align-items:end; }
.waitlist form { display:flex; gap:10px; width:min(560px,100%); }
input { flex:1; min-width:0; border:1px solid var(--border); border-radius:999px; background:rgba(255,255,255,.06); color:var(--text); padding:14px 16px; outline:none; }
input:focus { border-color:rgba(34,211,238,.6); box-shadow:0 0 0 4px rgba(34,211,238,.10); }
button { border:0; cursor:pointer; color:white; background:linear-gradient(135deg,var(--accent2),var(--accent),var(--accent3)); border-radius:999px; padding:14px 19px; font-weight:900; }

.audience, .roadmap { margin:34px min(6vw,76px); border:1px solid var(--border); border-radius:24px; background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)); padding:28px; box-shadow:0 18px 60px rgba(0,0,0,.22); }
.audience { display:grid; grid-template-columns:.9fr 1.1fr; gap:24px; align-items:start; }
.audience h2, .roadmap h2 { font-size:clamp(34px,4.2vw,54px); letter-spacing:-2px; line-height:1; margin:0; }
.audience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.audience-grid article, .timeline article { border:1px solid var(--border); border-radius:18px; background:rgba(0,0,0,.18); padding:18px; }
.audience-grid b, .timeline b { display:block; color:var(--text); margin-bottom:8px; }
.audience-grid span, .timeline p, .legal p { color:var(--muted); line-height:1.55; }
.timeline { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:20px; }
.timeline article span { display:grid; place-items:center; width:38px; height:38px; border-radius:13px; margin-bottom:14px; color:white; background:linear-gradient(135deg,rgba(34,211,238,.28),rgba(139,92,246,.28)); border:1px solid var(--border); font-weight:900; }
.timeline p { margin-bottom:0; }
.page-hero { margin-bottom:24px; }
.legal { max-width:880px; }
.legal section { margin-top:26px; padding-top:22px; border-top:1px solid var(--border); }
code.inline { display:inline; white-space:normal; padding:2px 6px; border-radius:8px; }
.compact { margin-left:0; margin-right:0; }

footer { display:flex; gap:18px; padding:36px min(6vw,76px); color:var(--muted); border-top:1px solid rgba(255,255,255,.07); }
.page { max-width:1120px; }
.download-grid { grid-template-columns:repeat(3,1fr); }
.download-grid h2 { letter-spacing:-.8px; }
code { display:block; white-space:pre-wrap; border:1px solid var(--border); border-radius:16px; padding:14px; color:var(--accent2); background:rgba(0,0,0,.28); overflow:auto; }
.disabled { opacity:.55; pointer-events:none; display:inline-block; }
@media (max-width:1000px) {
  .hero, .features, .grid, .download-grid, .compare, .audience, .audience-grid, .timeline { grid-template-columns:1fr; }
  h1 { letter-spacing:-3px; }
  .waitlist { flex-direction:column; align-items:stretch; }
}
@media (max-width:640px) {
  .nav { align-items:flex-start; gap:14px; flex-direction:column; }
  .nav div { flex-wrap:wrap; gap:12px; }
  .hero { padding-top:56px; }
  .mockup { grid-template-columns:1fr; }
  .rail { grid-template-columns:repeat(5,1fr); }
  .screen-grid { grid-template-columns:1fr; }
  .bar { flex-direction:column; border-radius:18px; }
  .waitlist form { flex-direction:column; }
}


/* Shift-style workspace browser sections */
.shift-mockup {
  grid-template-columns:64px 1fr;
  padding:46px 12px 12px;
}
.app-rail {
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  align-content:start;
}
.app-rail span {
  display:grid;
  place-items:center;
  height:50px;
  border-radius:16px;
  background:rgba(255,255,255,.075);
  border:1px solid var(--border);
  color:white;
  font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.app-rail .nova-glyph { background:linear-gradient(135deg,rgba(34,211,238,.34),rgba(139,92,246,.34)); box-shadow:0 0 28px rgba(34,211,238,.20); }
.browser-shell { position:relative; z-index:1; min-height:390px; border:1px solid rgba(255,255,255,.11); border-radius:24px; padding:14px; background:#080812; }
.top-tabs { display:flex; gap:8px; margin-bottom:10px; overflow:hidden; }
.top-tabs span { border:1px solid var(--border); border-radius:999px; padding:8px 11px; color:var(--muted); background:rgba(255,255,255,.045); white-space:nowrap; font-size:12px; }
.top-tabs .active { color:white; background:linear-gradient(135deg,rgba(34,211,238,.18),rgba(139,92,246,.18)); }
.url-bar { display:flex; justify-content:space-between; gap:12px; border:1px solid var(--border); border-radius:16px; padding:10px 13px; color:var(--muted); margin-bottom:12px; background:rgba(0,0,0,.25); font-size:13px; }
.url-bar em { color:var(--success); font-style:normal; font-size:12px; }
.workspace-ui { display:grid; grid-template-columns:116px 1fr 112px; gap:12px; }
.workspace-list, .account-panel { border:1px solid var(--border); border-radius:18px; padding:12px; background:rgba(255,255,255,.045); display:grid; gap:9px; align-content:start; color:var(--muted); font-size:12px; }
.workspace-list b, .account-panel b { color:var(--text); }
.workspace-list span, .account-panel span { padding:8px 9px; border-radius:12px; }
.workspace-list .active, .account-panel .active { color:white; background:linear-gradient(135deg,rgba(34,211,238,.20),rgba(139,92,246,.20)); }
.account-panel small { color:var(--muted); border-top:1px solid rgba(255,255,255,.08); padding-top:8px; }
.workspace-main { min-height:275px; border:1px solid var(--border); border-radius:18px; padding:18px; background:linear-gradient(145deg,rgba(139,92,246,.14),rgba(34,211,238,.06)); }
.workspace-main h3 { font-size:32px; letter-spacing:-1.2px; margin:4px 0 14px; }
.app-grid-mini { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.app-grid-mini span { display:grid; place-items:center; min-height:54px; border:1px solid var(--border); border-radius:15px; background:rgba(255,255,255,.06); color:var(--text); font-weight:800; font-size:12px; }
.command-chip { margin-top:14px; border:1px solid rgba(34,211,238,.28); border-radius:15px; padding:11px; color:#dffbff; background:rgba(34,211,238,.08); font-size:12px; }
.workspace-system, .app-directory { margin:34px min(6vw,76px); border:1px solid var(--border); border-radius:24px; background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)); padding:28px; box-shadow:0 18px 60px rgba(0,0,0,.22); }
.workspace-system { display:grid; grid-template-columns:.85fr 1.15fr; gap:24px; align-items:start; }
.section-copy h2, .app-directory h2 { font-size:clamp(34px,4.2vw,54px); letter-spacing:-2px; line-height:1; margin:0 0 14px; }
.section-copy p:not(.kicker) { color:var(--muted); line-height:1.6; }
.system-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.system-grid article { border:1px solid var(--border); border-radius:18px; background:rgba(0,0,0,.18); padding:18px; }
.system-grid article span { display:grid; place-items:center; width:38px; height:38px; border-radius:13px; margin-bottom:14px; color:white; background:linear-gradient(135deg,rgba(34,211,238,.28),rgba(139,92,246,.28)); border:1px solid var(--border); font-weight:900; }
.system-grid b { display:block; color:var(--text); margin-bottom:8px; }
.system-grid p { color:var(--muted); line-height:1.55; margin-bottom:0; }
.app-directory { display:grid; grid-template-columns:.7fr 1.3fr; gap:24px; align-items:start; }
.app-tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.app-tiles span { display:flex; align-items:center; gap:8px; min-height:54px; border:1px solid var(--border); border-radius:16px; padding:10px; background:rgba(255,255,255,.055); color:var(--muted); }
.app-tiles b { display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; border-radius:10px; background:linear-gradient(135deg,rgba(34,211,238,.20),rgba(139,92,246,.22)); color:white; font-size:12px; }
@media (max-width:1000px) {
  .workspace-system, .app-directory, .system-grid, .app-tiles { grid-template-columns:1fr; }
  .workspace-ui { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .shift-mockup { grid-template-columns:1fr; }
  .app-rail { grid-template-columns:repeat(7,1fr); overflow:auto; }
  .app-rail span { min-width:45px; }
  .url-bar { flex-direction:column; }
  .app-grid-mini { grid-template-columns:repeat(2,1fr); }
}
