:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f17;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-dim: #a1a1aa;
  --text-mute: #71717a;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* Background effects */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  top: -20%; left: 50%;
  width: 1100px; height: 1100px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(124,92,255,0.25), transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(34,211,238,0.18), transparent 55%),
    radial-gradient(circle at 50% 70%, rgba(244,114,182,0.15), transparent 50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto;
  padding: 24px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav nav { display: flex; gap: 32px; }
.nav nav a {
  color: var(--text-dim); font-size: 16px; font-weight: 500;
  transition: color .2s;
}
.nav nav a:hover { color: var(--text); }
.logo { display: flex; align-items: center; }
.logo-svg { height: 48px; width: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: all .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5a3fff);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(124,92,255,0.7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(124,92,255,0.85); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }

/* Main */
main { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* Hero */
.hero {
  padding: 80px 0 120px;
  text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; color: var(--text-dim);
  margin-bottom: 28px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}
.gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.stats {
  display: flex; justify-content: center; gap: 56px;
  margin-top: 80px;
  flex-wrap: wrap;
}
.stats > div { display: flex; flex-direction: column; align-items: center; }
.stats strong {
  font-size: 36px; font-weight: 700;
  background: linear-gradient(135deg, var(--text), var(--text-dim));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { font-size: 13px; color: var(--text-mute); margin-top: 4px; }

/* Sections */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.section-head p { color: var(--text-dim); font-size: 17px; margin: 0; }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .3s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,0.08), transparent 40%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,92,255,0.2), rgba(34,211,238,0.15));
  border: 1px solid var(--border);
  font-size: 20px;
  margin-bottom: 20px;
}
.card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* Chips */
.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
  justify-content: center;
}
.chips li {
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-dim);
  transition: all .2s;
}
.chips li:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid h2 { font-size: clamp(34px, 4.5vw, 52px); margin: 12px 0 20px; letter-spacing: -0.025em; }
.about-grid p { color: var(--text-dim); font-size: 16px; }
.about-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.avatar {
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 32px; font-weight: 700;
  color: white;
  box-shadow: 0 16px 40px -12px rgba(124,92,255,0.6);
}
.avatar-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.avatar-meta strong { font-size: 18px; }
.avatar-meta span { color: var(--text-dim); font-size: 14px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.about-tags span {
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-dim);
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Contact */
.contact-card {
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(124,92,255,0.08), rgba(34,211,238,0.05));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124,92,255,0.15), transparent 60%);
  pointer-events: none;
}
.contact-card h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; letter-spacing: -0.025em; }
.contact-card > p { color: var(--text-dim); margin: 0 auto 40px; max-width: 500px; position: relative; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  position: relative;
}
.contact-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .2s;
}
a.contact-item:hover { background: rgba(0,0,0,0.5); border-color: var(--border-strong); }
.contact-item .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-mute);
}
.contact-item .value { font-size: 15px; color: var(--text); font-weight: 500; }

/* Footer */
footer {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 40px 32px;
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}

@media (max-width: 720px) {
  .nav { padding: 16px 20px; }
  .nav nav { display: none; }
  main { padding: 0 20px; }
  .section { padding: 70px 0; }
  .stats { gap: 32px; margin-top: 56px; }
  .contact-card { padding: 40px 24px; }
}
