:root {
  --bg: #0b0f1a;
  --surface: #121828;
  --surface-2: #182238;
  --text: #eef2fb;
  --muted: #9aa7c2;
  --accent: #6ea8fe;
  --accent-2: #b388ff;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow-a { background: #2f5fd0; top: -160px; right: -120px; }
.glow-b { background: #5b2ea6; bottom: -220px; left: -140px; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 6vw;
  background: rgba(11, 15, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.5px; }
.logo span { color: var(--accent); }
.nav nav a {
  color: var(--muted); text-decoration: none; margin-left: 26px; font-size: 0.95rem;
}
.nav nav a:hover { color: var(--text); }

main { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; padding: 0 6vw; }

.hero { padding: 84px 0 40px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.12; font-weight: 850;
  background: linear-gradient(92deg, #fff 20%, var(--accent) 60%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-typed { font-size: clamp(1.2rem, 3vw, 1.7rem); margin-top: 14px; font-weight: 600; }
.hero-typed #typed { color: var(--accent-2); }
.cursor { animation: blink 0.9s steps(1) infinite; color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); max-width: 640px; margin-top: 16px; font-size: 1.05rem; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 650;
  border: 1px solid var(--border); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(92deg, #2f5fd0, #5b2ea6); color: #fff; border: none; }
.btn.primary:hover { box-shadow: 0 10px 28px rgba(80, 90, 220, 0.4); }
.btn.ghost { color: var(--text); background: var(--surface); }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px; margin-top: 46px;
}
.hero-stats div {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
}
.hero-stats strong { display: block; font-size: 1.7rem; }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

.section { padding: 56px 0 8px; }
.section h2 { font-size: 1.9rem; margin-bottom: 14px; }
.section-sub { color: var(--muted); margin-bottom: 22px; max-width: 640px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; color: var(--muted); }
.about-grid strong { color: var(--text); }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(110, 168, 254, 0.45); background: var(--surface-2); }
.card-tag { font-size: 0.75rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.card a:hover { text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 0.9rem;
}
.chip:hover { border-color: rgba(179, 136, 255, 0.55); }

footer {
  position: relative; z-index: 1;
  text-align: center; color: var(--muted); font-size: 0.88rem;
  padding: 60px 6vw 36px;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
