:root{
  --bg: #0b0f14;
  --surface: #0f1520cc;
  --surface-strong:#121a28cc;
  --text: #e9eef5;
  --muted:#a6b3c3;
  --brand-1:#7cf3ff;
  --brand-2:#a78bfa;
  --brand-3:#00ffa3;
  --ring: #77e3ff;
  --card: #0f1520b3;
  --border: #223043;
  --shadow: 0 10px 30px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2);
}

* { box-sizing: border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.6;
}

/* Layout helpers */
.container{
  width:min(1100px, 92%);
  margin-inline:auto;
}

.section{
  padding: clamp(3rem, 6vw, 6rem) 0;
}
.section.alt{ background: linear-gradient(180deg, transparent, rgba(255,255,255,.02)); }
.section-lead{ color:var(--muted); margin-top:.4rem; }

/* Header */
.site-header{
  position: sticky; top:0; z-index:50;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(10,12,16,.7), rgba(10,12,16,.3));
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.header-inner{
  display:grid; grid-template-columns: auto 1fr auto; align-items:center;
  gap: 1rem; padding: .8rem 0;
}
.brand{
  display:flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--text);
  font-weight:800; letter-spacing:.2px;
}
.logo{ 
  width:32px; 
  height:32px;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.logo.small{ width:22px; height:22px; }

.nav-list{
  display:flex; gap:1.2rem; list-style:none; margin:0; padding:0; align-items:center;
}
.nav-list a{
  color:var(--muted); text-decoration:none; padding:.4rem .6rem; border-radius:10px;
}
.nav-list a:hover{ color:var(--text); background: rgba(255,255,255,.06); }

.header-cta{ display:flex; gap:.6rem; align-items:center; }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:.4rem; border-radius:10px;
}
.nav-toggle:hover{ background: rgba(255,255,255,.06); }
.nav-toggle .bar{
  display:block; width:22px; height:2px; background:var(--text); margin:4px 0; border-radius:2px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.7rem 1rem; border-radius:14px; text-decoration:none; font-weight:600;
  border:1px solid transparent; transition: transform .06s ease, background .2s ease, border .2s ease;
  box-shadow: var(--shadow);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn-primary{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color:#0a0c10;
  border-color: color-mix(in oklab, var(--brand-2), #000 15%);
}
.btn-ghost{
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-color: rgba(255,255,255,.12);
}
.btn-lg{ padding:.9rem 1.2rem; font-size:1.05rem; }

@media (max-width: 960px){
  .header-inner{ grid-template-columns:auto auto auto; }
  .nav-toggle{ display:block; }
  .nav-list{ position:absolute; top:60px; right:4%; background: rgba(15,21,32,.98); border:1px solid var(--border); border-radius:14px; padding:.6rem; display:none; flex-direction:column; min-width:200px; }
  .nav-list.open{ display:flex; }
}

/* Footer */
.site-footer{
  padding: 2rem 0; border-top:1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(10,12,16,.4), rgba(10,12,16,.7));
}
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.brandline{ display:flex; align-items:center; gap:.5rem; font-weight:800; color:var(--text); }
.footer-nav a{ color:var(--muted); text-decoration:none; margin-right:1rem; }
.footer-nav a:hover{ color:var(--text); }
.copy{ color:var(--muted); margin:0; }

/* Motion preferences */
@media (prefers-reduced-motion:no-preference){
  .fx-gradient{ animation: float 16s ease-in-out infinite alternate; }
  @keyframes float{
    from{ transform: translateY(0px); }
    to{ transform: translateY(-20px); }
  }
}
