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

:root {
  --bg: #05080f;
  --surface: #0d1117;
  --border: #1e2a3a;
  --accent: #3b82f6;
  --accent-glow: #60a5fa;
  --text: #e2e8f0;
  --muted: #7c93ae;
  --white: #ffffff;
  --radius: 12px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

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

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--text); }
.btn-nav {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 500;
}
.btn-nav:hover { background: var(--accent-glow); }

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.15) 0%, transparent 70%),
    var(--bg);
}
.hero-inner { max-width: 780px; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-logo {
  height: 240px;
  width: auto;
  margin-bottom: 1.75rem;
  mix-blend-mode: screen;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(59,130,246,0.3);
}
.btn-primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 32px rgba(96,165,250,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-glow); }

/* ── Shared container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ── Features ── */
.features {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; }

/* ── About ── */
.about {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(59,130,246,0.08) 0%, transparent 70%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 700px) { .about-inner { grid-template-columns: 1fr; } }
.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.about-text p { color: var(--muted); font-size: 0.95rem; }
.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-glow);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ── CTA ── */
.cta {
  padding: 6rem 0;
  text-align: center;
}
.cta h2 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.cta p { color: var(--muted); margin-bottom: 2rem; }
.cta-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-form input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input:focus { border-color: var(--accent); }
.cta-form input::placeholder { color: var(--muted); }

/* ── Single pages ── */
.page-content {
  min-height: calc(100vh - 120px);
  padding: 5rem 0;
}
.page-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2.5rem;
  letter-spacing: -0.03em;
}
.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.5rem;
}
.prose p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin-bottom: 0.5rem;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
