:root {
  --bg: #0d1117;
  --bg-alt: #131920;
  --bg-card: #161b22;
  --fg: #e6edf3;
  --fg-muted: #8b949e;
  --accent: #58a65c;
  --accent-light: #7bc97f;
  --accent-glow: rgba(88, 166, 92, 0.15);
  --border: #21262d;
  --radius: 12px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

.accent { color: var(--accent-light); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(88, 166, 92, 0.08) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(88, 166, 92, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 720px; }

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-stat-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  padding: 28px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-item { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent-light);
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ─── FEATURES ─── */
.features {
  padding: 100px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 56px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 500px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
}

.feature-card-large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(88, 166, 92, 0.06) 100%);
}

.feature-icon {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ─── HOW ─── */
.how {
  padding: 100px 24px;
  background: var(--bg-alt);
}

.how-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.how-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.how-text p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.how-note {
  color: var(--accent-light) !important;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin-top: 24px !important;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 40px;
  bottom: -2px;
  width: 2px;
  background: var(--border);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  margin-top: 2px;
}

.timeline-dot.active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-content strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.timeline-content span {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ─── CLOSING ─── */
.closing {
  padding: 120px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--accent-light);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: inline-block;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg);
}

.footer-sep { opacity: 0.3; }

/* ─── HERO CTA ─── */
.hero-cta {
  margin-top: 36px;
}

.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  background: var(--accent);
  color: #0d1117;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}

.cta-btn:hover {
  background: var(--accent-light);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .hero { min-height: 80vh; padding: 60px 20px 40px; }
  .hero-stat-bar { flex-direction: column; gap: 20px; padding: 24px 32px; }
  .stat-divider { width: 40px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: span 1; }
  .how-inner { grid-template-columns: 1fr; gap: 40px; }
  .closing { padding: 80px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .feature-card { padding: 24px 20px; }
}