:root{
  --bg:#0b0f14;
  --fg:#e8ecf1;
  --muted:#9aa5b1;
  --primary:#6aa3ff;
  --primary-2:#9b7bff;
  --surface:rgba(255,255,255,0.06);
  --border:rgba(255,255,255,0.12);
  --shadow:0 10px 30px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Helvetica,Arial,sans-serif;
  background:var(--bg); color:var(--fg); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

.bg{position:fixed; inset:0; z-index:-1; overflow:hidden}
.blob{position:absolute; width:44rem; height:44rem; filter:blur(60px); opacity:.5; will-change:transform}
.blob.b1{top:-10%; left:-10%; background:radial-gradient(60% 60% at 50% 50%, var(--primary), transparent 70%)}
.blob.b2{bottom:-15%; right:-15%; background:radial-gradient(60% 60% at 50% 50%, var(--primary-2), transparent 70%)}
.grain{position:absolute; inset:-200%; background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.05"/></svg>'); mix-blend-mode:overlay; animation:grain 9s steps(10) infinite}
@keyframes grain{0%{transform:translate(0,0)}100%{transform:translate(-10%,10%)}}

.nav{position:sticky; top:0; display:flex; justify-content:space-between; align-items:center; padding:20px 28px; backdrop-filter:saturate(140%) blur(10px); background:linear-gradient(180deg, rgba(10,14,20,.6), rgba(10,14,20,0)); border-bottom:1px solid var(--border)}
.logo{font-weight:700; letter-spacing:.2em}
.logo span{opacity:.6}
.links{display:flex; gap:18px}
.links a{color:var(--fg); text-decoration:none; opacity:.8; transition:opacity .3s ease}
.links a:hover{opacity:1}
.links .cta{padding:8px 14px; border:1px solid var(--border); border-radius:10px}

.hero{display:grid; place-items:center; min-height:calc(100dvh - 72px); padding:32px}
.hero-content{max-width:960px; text-align:center; animation:fadeUp .9s cubic-bezier(.2,.8,.2,1) both .1s}
.title{font-size:clamp(32px,6vw,64px); letter-spacing:.04em; margin:0}
.subtitle{margin:16px auto 24px; max-width:680px; color:var(--muted); font-size:clamp(14px,2.4vw,18px)}
.actions{display:flex; gap:14px; justify-content:center}
.button{cursor:pointer; border-radius:14px; padding:12px 18px; text-decoration:none; color:var(--fg); transition:transform .2s ease, background .3s ease, color .3s ease}
.button.primary{background:linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow:var(--shadow)}
.button.ghost{background:transparent; border:1px solid var(--border)}
.button:hover{transform:translateY(-1px)}
.button:active{transform:translateY(0)}

@keyframes fadeUp{from{opacity:0; transform:translateY(12px)} to{opacity:1; transform:translateY(0)}}

.cards{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; margin-top:56px; width:min(1080px, 100%)}
.card{background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:24px; min-height:140px; backdrop-filter:blur(8px); box-shadow:var(--shadow); transform:translateZ(0); transition:transform .4s cubic-bezier(.2,.8,.2,1), background .4s}
.card:hover{transform:translateY(-6px); background:rgba(255,255,255,0.08)}
.card h3{margin:0 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.6}

.footer{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:24px 28px; border-top:1px solid var(--border); color:var(--muted)}
.back-to-top{color:inherit; text-decoration:none; border:1px solid var(--border); padding:6px 10px; border-radius:10px; transition:background .3s}
.back-to-top:hover{background:var(--surface)}

@media (max-width:900px){
  .cards{grid-template-columns:1fr}
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important}
}


