:root{
  /* layout scales nicely from mobile -> 8K */
  --bg:#0b0d12;
  --card:#111522;
  --alt:#0f1424;
  --text:#e8ecff;
  --muted:#a9b2d6;
  --accent:#7c5cff;
  --accent2:#18d5ff;
  --border:rgba(255,255,255,.12);
  --shadow: 0 12px 36px rgba(0,0,0,.35);
  --radius: 20px;

  /* container max grows with viewport but stays readable */
  --max: clamp(980px, 70vw, 1800px);
  --pad: clamp(16px, 2vw, 34px);

  --hero: clamp(540px, 72vh, 860px);

  --h1: clamp(34px, 3.4vw, 72px);
  --h2: clamp(22px, 2.0vw, 38px);
  --h3: clamp(18px, 1.5vw, 26px);
  --p : clamp(15px, 1.05vw, 18px);
  --small: clamp(12px, .9vw, 14px);

  --gap: clamp(12px, 1.2vw, 18px);
  --ring: 0 0 0 3px rgba(124,92,255,.25);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size: var(--p);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit}

.container{
  width:min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline:auto;
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(11,13,18,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}
.brand{display:flex; align-items:center; gap:12px; min-width: 220px}
.brand__logo{
  width:38px;height:38px;border-radius:12px;object-fit:cover;
  border:1px solid var(--border);
}
.brand__name{font-weight:900; letter-spacing:.2px}

.nav{
  display:flex; align-items:center; gap: clamp(10px, 1vw, 18px);
  flex-wrap:wrap;
}
.nav a{
  color: var(--muted);
  font-weight:800;
  font-size: var(--small);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{color:var(--text); background: rgba(255,255,255,.06)}

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

.iconbtn{
  display:none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(17,21,34,.55);
  color: var(--text);
  box-shadow:none;
}
.iconbtn:focus{outline:none; box-shadow: var(--ring)}
.iconbtn svg{width:22px; height:22px}

/* Hero */
.hero{
  position:relative;
  min-height: var(--hero);
  display:grid;
  align-items:center;
  overflow:hidden;
  background-image: var(--hero-bg);
  background-size:cover;
  background-position:center;
  border-bottom: 1px solid var(--border);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1400px 600px at 18% 22%, rgba(124,92,255,.38), transparent 58%),
    radial-gradient(1200px 600px at 82% 32%, rgba(24,213,255,.22), transparent 58%),
    linear-gradient(to bottom, rgba(11,13,18,.25), rgba(11,13,18,.92));
}
.hero__content{
  position:relative;
  padding: clamp(36px, 4vw, 86px) 0;
  max-width: 80ch;
}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding: 8px 12px;
  border:1px solid var(--border);
  border-radius: 999px;
  background: rgba(17,21,34,.55);
  color: var(--muted);
  font-weight:900;
  font-size: var(--small);
}
.hero h1{
  margin: 14px 0 10px;
  font-size: var(--h1);
  line-height: 1.04;
  letter-spacing: -0.6px;
}
.accent{color:var(--accent)}
.lead{
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 20px);
  line-height:1.6;
  margin: 0;
}
.hero__buttons{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight:950;
  border: 1px solid rgba(124,92,255,.55);
  background: linear-gradient(135deg, rgba(124,92,255,.96), rgba(124,92,255,.56));
  box-shadow: var(--shadow);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{transform: translateY(-1px); filter: brightness(1.05)}
.btn:focus{outline:none; box-shadow: var(--ring)}
.btn--secondary{
  border-color: rgba(24,213,255,.55);
  background: linear-gradient(135deg, rgba(24,213,255,.80), rgba(24,213,255,.35));
}
.btn--ghost{
  border-color: var(--border);
  background: rgba(17,21,34,.55);
  box-shadow:none;
}
.btn--small{padding:10px 12px; border-radius: 14px; font-size: var(--small)}

.hero__stats{
  display:flex; gap:12px; margin-top: 22px; flex-wrap:wrap;
}
.stat{
  background: rgba(17,21,34,.55);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-width: 180px;
}
.stat__num{font-size: 18px; font-weight:1000}
.stat__txt{color: var(--muted); font-weight:900; font-size: var(--small); margin-top:4px}

/* Sections */
.section{padding: clamp(44px, 4vw, 86px) 0}
.section--alt{background: var(--alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap}
.section__head h2{margin:0; font-size: var(--h2)}
.muted{color:var(--muted)}
.small{font-size: var(--small)}
h3{font-size: var(--h3); margin: 0 0 8px}

.grid2{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--gap);
  align-items:start;
}
.card{
  background: rgba(17,21,34,.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(14px, 1.2vw, 20px);
  box-shadow: var(--shadow);
}
.card--glow{
  background:
    radial-gradient(700px 240px at 20% 10%, rgba(124,92,255,.22), transparent 58%),
    radial-gradient(700px 240px at 92% 20%, rgba(24,213,255,.14), transparent 58%),
    rgba(17,21,34,.78);
}
.card__head{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap
}
.link{color: var(--accent2); font-weight:950}
.link:hover{text-decoration:underline}

.bullets{padding-left: 18px; color: var(--muted); line-height:1.7; margin: 10px 0 0}
.row{display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px}

.kv{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 12px;
  margin-top: 10px;
}
.kv__k{color: var(--muted); font-weight:950}
.kv__v{font-weight:950}

.embed{
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.embed iframe{width:100%; height:100%; border:0}

.partners{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.partner{
  display:flex; align-items:center; justify-content:center;
  padding: 16px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(17,21,34,.55);
  font-weight:1000;
  color: var(--muted);
  min-height: 62px;
}
.partner:hover{color:var(--text); transform: translateY(-1px)}

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
}
.footer__inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer__links{display:flex; gap:12px}
.footer__links a:hover{color: var(--text)}

/* Mobile menu */
.mobilepanel{
  position: fixed;
  inset: 0 0 auto 0;
  top: 64px;
  display:none;
  padding: 12px 0 16px;
  background: rgba(11,13,18,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mobilepanel__inner{
  display:grid;
  gap: 10px;
}
.mobilepanel a{
  display:flex;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(17,21,34,.55);
  color: var(--text);
  font-weight:950;
}
.mobilepanel a span{color: var(--muted); font-weight:900; margin-left:auto; font-size: var(--small)}
.mobilepanel[aria-hidden="false"]{display:block}

@media (max-width: 980px){
  .nav{display:none}
  .iconbtn{display:inline-flex; align-items:center; justify-content:center}
  .grid2{grid-template-columns: 1fr}
  .partners{grid-template-columns: repeat(3, 1fr)}
}
@media (max-width: 520px){
  .brand{min-width: unset}
  .brand__name{display:none}
  .partners{grid-template-columns: repeat(2, 1fr)}
  .stat{min-width: 160px}
}
