*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080b10;
  --surface: #0e1318;
  --surface2: #151c24;
  --border: rgba(255,255,255,0.07);
  --accent: #00e5ff;
  --accent2: #7b61ff;
  --text: #e8edf2;
  --muted: #6b7a8d;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* noise overlay */
.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.5;
}

/* NAV */
header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(8,11,16,0.75);
  border-bottom: 1px solid var(--border);
}
nav {
  max-width: 1100px; margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--surface2) !important;
  color: var(--text) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.88rem !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.btn-nav:hover { border-color: var(--accent) !important; }

/* HERO */
.hero {
  max-width: 1100px; margin: 0 auto;
  padding: 7rem 2rem 4rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  color: var(--accent); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem; border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  max-width: 540px; margin-top: 1.5rem;
  color: var(--muted); font-size: 1.05rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-cta {
  display: flex; align-items: center; gap: 1.2rem;
  margin-top: 2.5rem;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  background: var(--accent); color: #000;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.8rem; border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-ghost {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* STATS */
.hero-stats {
  display: flex; align-items: center; gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat { text-align: left; }
.stat span.num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--text);
}
.stat span:not(.num) { font-size: 1.4rem; color: var(--accent); }
.stat p { color: var(--muted); font-size: 0.8rem; margin-top: 0.1rem; }
.stat-divider {
  width: 1px; height: 40px; background: var(--border);
}

/* FEATURES */
.features {
  max-width: 1100px; margin: 4rem auto;
  padding: 0 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.3s, transform 0.3s;
  animation: fadeUp 0.6s calc(var(--i) * 0.1s + 0.2s) ease both;
}
.feature-card:hover {
  border-color: rgba(0,229,255,0.25);
  transform: translateY(-3px);
}
.feature-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem;
}
.feature-card p { color: var(--muted); font-size: 0.88rem; }

/* CTA */
.cta-section {
  max-width: 1100px; margin: 2rem auto 6rem;
  padding: 0 2rem;
}
.cta-inner {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(123,97,255,0.15), transparent 70%);
  pointer-events: none;
}
.cta-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  margin-bottom: 0.5rem;
}
.cta-inner p { color: var(--muted); margin-bottom: 2rem; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1.5rem; justify-content: space-between;
}
.footer-links {
  display: flex; gap: 1.5rem; list-style: none;
}
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 0.8rem; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links li:not(:last-child) { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .cta-inner { padding: 2rem 1.5rem; }
}
