:root {
  --bg: #0c0f14;
  --bg-elevated: #141a24;
  --text: #e8edf5;
  --text-muted: #9aa8bc;
  --accent: #5b8def;
  --accent-hover: #7aa3f5;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(91, 141, 239, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(120, 80, 220, 0.1), transparent);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-size: 0.9em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text) !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0 auto 2rem;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.hero-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.hero-card-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-green {
  background: #3dd68c;
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.6);
}

.hero-card-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.hero-card-metric strong {
  font-size: 1.25rem;
  color: var(--text);
}

.hero-card-metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
main section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

main h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 auto 2.5rem;
  max-width: 480px;
  text-align: center;
  color: var(--text-muted);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.feature:hover {
  border-color: rgba(91, 141, 239, 0.35);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How it works */
.how {
  padding-top: 2rem;
}

.steps {
  list-style: none;
  margin: 2.5rem auto 0;
  padding: 0;
  max-width: 560px;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.steps li:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(91, 141, 239, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
