:root {
  --bg: #0b0d17;
  --bg-alt: #11142280;
  --card: #151829;
  --border: #23273d;
  --text: #e8eaf3;
  --muted: #9aa0b8;
  --primary: #6366f1;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 13, 23, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #6366f1, #a855f7); font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99, 102, 241, .35); }
.btn-small { padding: 8px 16px; color: #fff !important; }
.btn-ghost { background: transparent; border: 1px solid var(--border); }
.btn-ghost:hover { box-shadow: none; border-color: var(--muted); }

/* Hero */
.hero {
  padding: 120px 0 100px; text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99, 102, 241, .25), transparent);
}
.hero-inner { max-width: 820px; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--border); color: var(--muted); margin-bottom: 24px;
}
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.grad { background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 24px auto 36px; font-size: 18px; color: var(--muted); max-width: 640px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin-top: 8px; }

/* Project cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card {
  position: relative; padding: 28px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border);
  transition: transform .2s, border-color .2s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 26px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.status {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.card h3 { font-size: 21px; font-weight: 700; }
.tagline { color: var(--muted); margin: 6px 0 18px; }
.card ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.card li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }
.card-link { display: inline-block; margin-top: 20px; color: var(--accent); font-weight: 600; font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* CTA */
.cta-box {
  text-align: center; padding: 64px 24px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .2), rgba(168, 85, 247, .15));
  border: 1px solid var(--border);
}
.cta-box h2 { font-size: clamp(26px, 4vw, 34px); }
.cta-box p { color: var(--muted); margin: 8px 0 28px; }

.footer { padding: 32px 0; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 80px 0 64px; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; }
}
