:root {
  --bg: #0b0b12;
  --bg2: #0f0e19;
  --surface: #181824;
  --raised: #212132;
  --border: #2a2a3e;
  --primary: #7c3aed;
  --accent: #a855f7;
  --pink: #e879f9;
  --ok: #34d399;
  --text: #edebff;
  --muted: #a9a3c9;
  --dim: #6e6890;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- announcement bar ---- */
.announce {
  background: linear-gradient(90deg, #2a1557, #3b1d78 50%, #2a1557);
  color: #e9ddff; text-align: center; font-size: 14px; padding: 8px 16px;
}
.announce b { color: #fff; }

/* ---- header ---- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 11, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
header.scrolled { border-bottom-color: var(--border); background: rgba(11, 11, 18, 0.9); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img.em { width: 34px; }
.brand img.wm { width: 112px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) { nav { display: none; } }
@media (max-width: 480px) { header .brand img.wm { display: none; } .nav-cta .soon { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 12px; border: 0; cursor: pointer;
  font: inherit; font-weight: 800; letter-spacing: 0.04em; font-size: 15px;
  text-transform: uppercase; color: #fff; text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--accent)); box-shadow: 0 0 34px rgba(168, 85, 247, 0.45); }
.btn-primary:hover { box-shadow: 0 0 48px rgba(168, 85, 247, 0.7); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(232, 121, 249, 0.55); color: #fbe9ff; }
.btn-ghost:hover { background: rgba(232, 121, 249, 0.14); }
.btn-small { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn .soon { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); letter-spacing: 0.06em; }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 0;
  background: url("assets/hero_bg.jpg") center top / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at 50% 30%, rgba(124, 58, 237, 0.4), transparent 70%),
    linear-gradient(180deg, rgba(8, 6, 18, 0.45) 0%, rgba(11, 11, 18, 0.85) 55%, var(--bg) 78%);
}
.hero .wrap { position: relative; text-align: center; }
.hero .em { width: 110px; filter: drop-shadow(0 0 32px rgba(168, 85, 247, 0.65)); animation: float 6s ease-in-out infinite; }
.hero .wm { display: block; width: min(600px, 84vw); margin: 18px auto 0; }
.hero p.lead { font-size: 20px; color: #ddd5fb; max-width: 640px; margin: 18px auto 30px; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* launcher screenshot in a window frame */
.shot {
  position: relative; margin: 64px auto 0; max-width: 1040px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 30px 120px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.shot img { display: block; width: 100%; }
.shot-glow { position: absolute; inset: auto 10% -40px; height: 80px; background: radial-gradient(closest-side, rgba(168, 85, 247, 0.5), transparent); filter: blur(20px); }

/* ---- sections ---- */
section { padding: 96px 0; }
.kicker { color: var(--accent); font-weight: 800; letter-spacing: 0.14em; font-size: 13px; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 40px; font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* big image tiles, kicker over a bold headline */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 28px;
  background: url("assets/hero_bg.jpg") var(--pos, center) / 260% auto no-repeat;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, background-size 0.6s ease;
}
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 18, 0.05) 20%, rgba(11, 11, 18, 0.92)); }
.tile:hover { transform: translateY(-4px); border-color: rgba(168, 85, 247, 0.6); background-size: 280% auto; }
.tile > div { position: relative; }
.tile .k { font-style: italic; font-weight: 800; letter-spacing: 0.14em; font-size: 12px; color: #e3d6ff; text-transform: uppercase; }
.tile h3 { margin: 4px 0 6px; font-size: 32px; line-height: 1.05; font-weight: 900; text-transform: uppercase; }
.tile p { margin: 0; color: #cfc6ee; font-size: 15px; }
.tile.char { background-image: none; background-color: #160f2b; }
.tile.char img { position: absolute; right: -10px; top: 12px; width: 62%; filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5)); transition: transform 0.4s ease; }
.tile.char:hover img { transform: translateY(-6px) rotate(-2deg); }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(168, 85, 247, 0.6); box-shadow: 0 10px 40px rgba(124, 58, 237, 0.18); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(168, 85, 247, 0.25));
}
.card .ic svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* split: text + screenshot */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1.3fr 1fr; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.split .shot { margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; color: #d6cff3; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* versions */
.versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.ver { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.ver b { display: block; font-size: 22px; }
.ver span { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ver.now { border-color: rgba(52, 211, 153, 0.5); }
.ver.now span { color: var(--ok); }
.ver.next span { color: var(--dim); }

/* Vanguard+ band */
.plus {
  position: relative; overflow: hidden; border-radius: 24px; padding: 56px;
  background: radial-gradient(80% 120% at 100% 0%, rgba(232, 121, 249, 0.25), transparent 60%), linear-gradient(135deg, #1a1030, #120c22);
  border: 1px solid rgba(232, 121, 249, 0.35);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
@media (max-width: 860px) { .plus { grid-template-columns: 1fr; padding: 36px; } }
.plus h2 span { background: linear-gradient(90deg, var(--accent), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plus .card-art {
  aspect-ratio: 1.6; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, #24133f, #0f0a1d); border: 1px solid rgba(232, 121, 249, 0.6);
  box-shadow: 0 0 60px rgba(232, 121, 249, 0.25); transform: rotate(-4deg);
}
.plus .card-art img { width: 46%; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin: 12px 0; padding: 0 22px; }
.faq details[open] { border-color: rgba(168, 85, 247, 0.5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* final call */
.final { text-align: center; background: radial-gradient(50% 80% at 50% 100%, rgba(124, 58, 237, 0.3), transparent 70%); }

/* ---- text pages ---- */
.page { padding: 60px 0 80px; max-width: 820px; }
.page h1 { font-size: 36px; margin: 0 0 6px; }
.page .date { color: var(--dim); margin: 0 0 32px; }
.page h2 { font-size: 20px; margin: 32px 0 8px; }
.page p, .page li { color: #cfc9ea; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--border); padding: 48px 0 28px; color: var(--dim); font-size: 14px; background: var(--bg2); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } }
.foot h4 { color: var(--text); margin: 0 0 10px; font-size: 14px; }
.foot a { display: block; color: var(--muted); margin: 6px 0; }
.foot p { margin: 12px 0 0; max-width: 360px; }
.legal { border-top: 1px solid var(--border); padding-top: 20px; }
footer .simple { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
footer .simple a { color: var(--muted); margin-left: 18px; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .em { animation: none; }
  .tile, .card, .btn { transition: none; }
}
