:root{
  --bg0:#07080a;
  --bg1:#0b0d12;
  --card:#0e1118cc;
  --card2:#0b0d12cc;
  --stroke:#ffffff14;
  --stroke2:#ffffff20;
  --text:#f3f4f6;
  --muted:#b8bcc6;
  --muted2:#8b90a0;
  --gold1:#f7e9a8;
  --gold2:#d8b356;
  --gold3:#a97a23;
  --glow: 0 0 30px rgba(216,179,86,.22);
  --shadow: 0 12px 35px rgba(0,0,0,.55);
  --radius:18px;
  --radius2:26px;
  --max:1200px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 900px at 20% 0%, rgba(216,179,86,.12), transparent 60%),
              radial-gradient(900px 700px at 80% 10%, rgba(255,255,255,.07), transparent 58%),
              radial-gradient(900px 900px at 50% 110%, rgba(169,122,35,.18), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:26px}
.row{display:flex; gap:16px; align-items:center}
.spread{justify-content:space-between}
.hide{display:none !important}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(7,8,10,.78), rgba(7,8,10,.42));
  border-bottom:1px solid var(--stroke);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  max-width:var(--max); margin:0 auto; padding:14px 26px;
}
.brand{display:flex; align-items:center; gap:12px}
.brand img{width:34px; height:34px; border-radius:12px; object-fit:cover; box-shadow: var(--glow)}
.brand .name{font-weight:700; letter-spacing:.3px}
.brand .tag{font-size:12px; color:var(--muted2); margin-top:2px}
.navlinks{display:flex; gap:10px; align-items:center}
.pill{
  padding:10px 12px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius:999px;
  font-size:13px;
  color:var(--muted);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.pill:hover{transform:translateY(-1px); border-color:var(--stroke2); background: rgba(255,255,255,.05)}
.pill.active{color:var(--text); border-color:rgba(216,179,86,.35); background:rgba(216,179,86,.08); box-shadow: var(--glow)}

.btn{
  cursor:pointer;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(216,179,86,.35);
  background: linear-gradient(135deg, rgba(247,233,168,.18), rgba(216,179,86,.10));
  color:var(--text);
  font-weight:650;
  letter-spacing:.2px;
  transition: transform .2s var(--ease), filter .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 10px 30px rgba(216,179,86,.10);
}
.btn:hover{transform:translateY(-1px); filter:brightness(1.04); box-shadow: 0 12px 38px rgba(216,179,86,.14)}
.btn:active{transform:translateY(0px)}
.btn.ghost{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  box-shadow:none;
  color:var(--muted);
}
.btn.small{padding:9px 12px; border-radius:10px; font-size:13px}

.hero{
  padding:54px 0 22px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 940px){
  .heroGrid{grid-template-columns:1fr}
  .nav{padding:14px 18px}
  .container{padding:18px}
  .navlinks{display:none}
}

.card{
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardInner{padding:22px}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(216,179,86,.30);
  background: rgba(216,179,86,.08);
  color:var(--gold1);
  font-size:12px;
  letter-spacing:.3px;
}
.h1{
  margin:14px 0 8px;
  font-size:54px;
  line-height:1.02;
  letter-spacing:-.02em;
}
.h1 .gold{
  background: linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.sub{
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  max-width:58ch;
}
.actions{display:flex; gap:10px; margin-top:18px; flex-wrap:wrap}

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:18px;
}
.stat{
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:12px 12px;
  background: rgba(0,0,0,.16);
}
.stat .v{
  font-size:18px;
  font-weight:750;
  letter-spacing:.2px;
}
.stat .l{font-size:12px; color:var(--muted2); margin-top:2px}

.preview{
  position:relative;
  min-height:360px;
  background:
    radial-gradient(700px 420px at 30% 0%, rgba(216,179,86,.18), transparent 55%),
    radial-gradient(680px 520px at 80% 20%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.12));
}
.preview .grain{
  position:absolute; inset:0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".75" numOctaves="3" stitchTiles="stitch"/></filter><rect width="240" height="240" filter="url(%23n)" opacity=".18"/></svg>');
  mix-blend-mode: overlay;
  opacity:.35;
  pointer-events:none;
}
.preview .mock{
  position:absolute; inset:16px;
  border-radius:22px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.30);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  overflow:hidden;
}
.mockTop{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}
.dots{display:flex; gap:6px}
.dot{width:10px; height:10px; border-radius:50%; background: rgba(255,255,255,.12)}
.dot:nth-child(1){background: rgba(255,255,255,.10)}
.dot:nth-child(2){background: rgba(255,255,255,.12)}
.dot:nth-child(3){background: rgba(216,179,86,.25)}
.mockBody{padding:14px}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width: 560px){.grid2{grid-template-columns:1fr}}
.smallCard{
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px;
}
.badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; color:var(--muted);
  padding:6px 8px;
  border:1px solid var(--stroke);
  border-radius:999px;
}
.badge .spark{width:8px; height:8px; border-radius:50%; background: rgba(216,179,86,.55); box-shadow: var(--glow)}
.smallTitle{font-weight:700; margin:10px 0 2px}
.smallMeta{font-size:12px; color:var(--muted2)}

.section{padding:16px 0 6px}
.h2{margin:0 0 10px; font-size:20px; letter-spacing:-.01em}
.cards3{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
@media (max-width: 940px){.cards3{grid-template-columns:1fr}}
.feature{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.12);
}
.feature .t{font-weight:750; margin-top:10px}
.feature .d{color:var(--muted); font-size:13px; line-height:1.5; margin-top:6px}
.icon{
  width:34px; height:34px; border-radius:12px;
  border:1px solid rgba(216,179,86,.28);
  background: linear-gradient(135deg, rgba(247,233,168,.18), rgba(216,179,86,.08));
  display:grid; place-items:center;
  box-shadow: var(--glow);
}
.icon svg{width:18px; height:18px; fill: rgba(247,233,168,.9)}

.footer{
  padding:28px 0 40px;
  color:var(--muted2);
  font-size:12px;
}
.footer .line{height:1px; background:var(--stroke); margin:18px 0}
.footer a{color:var(--muted); text-decoration:underline; text-underline-offset:3px}

/* Launchpad table */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:18px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.14);
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid var(--stroke);
  font-size:13px;
}
.table th{
  text-align:left;
  color:var(--muted2);
  font-weight:650;
  background: rgba(255,255,255,.03);
}
.table tr:last-child td{border-bottom:none}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.pctUp{color: #bfe8c2}
.pctDn{color: #f2b1b1}

.input, .select{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.input:focus, .select:focus{border-color: rgba(216,179,86,.35); box-shadow: var(--glow)}
.label{font-size:12px; color:var(--muted2); margin:12px 0 6px}
.gridForm{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width: 700px){.gridForm{grid-template-columns:1fr}}

.modalBackdrop{
  position:fixed; inset:0; z-index:200;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  display:none;
  align-items:center; justify-content:center;
  padding:18px;
}
.modal{
  width:min(720px, 100%);
  border-radius:24px;
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(12,14,20,.96), rgba(7,8,10,.96));
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  overflow:hidden;
}
.modalHead{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}
.modalTitle{font-weight:750}
.modalBody{padding:16px 18px}
.modalFoot{display:flex; justify-content:flex-end; gap:10px; padding:16px 18px; border-top:1px solid var(--stroke)}
.note{color:var(--muted2); font-size:12px; line-height:1.5}

/* Entrance */
#splash{
  position:fixed; inset:0; z-index:999;
  display:grid; place-items:center;
  background:
    radial-gradient(900px 650px at 30% 0%, rgba(216,179,86,.18), transparent 60%),
    radial-gradient(700px 600px at 70% 20%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #050608, #0a0c11);
}
.splashCard{
  width:min(720px, calc(100% - 28px));
  border-radius:28px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  padding:26px;
  position:relative;
  overflow:hidden;
}
.splashCard:before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(600px 200px at 30% 10%, rgba(216,179,86,.22), transparent 55%);
  pointer-events:none;
}
.splashRow{display:flex; align-items:center; gap:14px}
.splashRow img{width:44px; height:44px; border-radius:16px; object-fit:cover; box-shadow: var(--glow)}
.splashTitle{
  font-size:32px; font-weight:850; letter-spacing:-.02em;
}
.splashTitle span{
  background: linear-gradient(90deg, var(--gold1), var(--gold2), var(--gold3));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.splashSub{color:var(--muted); margin-top:6px}
.progress{
  height:10px; border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.24);
  overflow:hidden;
  margin-top:18px;
}
.bar{
  height:100%; width:0%;
  background: linear-gradient(90deg, rgba(247,233,168,.35), rgba(216,179,86,.55), rgba(169,122,35,.45));
  border-radius:999px;
  box-shadow: var(--glow);
  transition: width .9s var(--ease);
}
.fadeOut{animation: fadeOut .65s var(--ease) forwards}
@keyframes fadeOut{to{opacity:0; transform: translateY(6px)}}
