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

:root {
  --bg: #07090f;
  --bg-card: #0d1117;
  --border: #1c2133;
  --accent: #4a7cf7;
  --accent-hover: #6090ff;
  --text: #eef1fb;
  --muted: #7a8499;
  --font: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 15, 0.88);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent-hover);
}

/* ── Hero ── */
.hero {
  padding: 9rem 0 7rem;
  background: radial-gradient(ellipse at 15% 60%, rgba(74, 124, 247, 0.07) 0%, transparent 55%);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 1.6rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 2.75rem;
  line-height: 1.72;
}

/* ── Button ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--accent-hover);
}

/* ── Features ── */
.features {
  padding: 5.5rem 0 6.5rem;
  border-top: 1px solid var(--border);
}

.features-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 8px;
  padding: 2rem 1.75rem;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.68;
}

/* ── Contact ── */
.contact {
  padding: 6rem 0 7rem;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 580px;
}

.contact h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
}

footer span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .hero {
    padding: 5rem 0 4rem;
  }

  .features {
    padding: 4rem 0 5rem;
  }

  .contact {
    padding: 4rem 0 5rem;
  }
}
