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

:root {
  --bg:        #080e1a;
  --surface:   #0d1526;
  --border:    rgba(94,234,212,.15);
  --teal:      #5eead4;
  --teal-dim:  #2dd4bf;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --font:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── Starfield ── */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

header, main, footer { position: relative; z-index: 1; }

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #080e1a;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--teal);
  color: #080e1a;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn-outline:hover { border-color: var(--teal); background: rgba(94,234,212,.06); }

/* ── Hero ── */
.hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  color: #fff;
}
.hero-title em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.feat-icon {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--teal);
}

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Footer ── */
.footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--teal); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .header { padding: 16px 20px; }
  .footer  { padding: 16px 20px; }
  .hero    { padding: 72px 20px 60px; }
  .features { padding: 0 20px 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-outline { transition: none; }
}
