/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0f1e;
  --surface:   #0d1421;
  --card:      #111827;
  --border:    #1e293b;
  --green:     #00a86b;
  --green-dim: #00a86b22;
  --text:      #f1f5f9;
  --muted:     #94a3b8;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--muted); }

.green  { color: var(--green); }
.center { text-align: center; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: #009960; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.logo strong { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links .btn-nav {
  background: var(--green);
  color: #fff;
  padding: 8px 18px;
  font-weight: 600;
}
.nav-links .btn-nav:hover { background: #009960; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hero h1 { margin-bottom: 20px; }
.hero p  { font-size: 1.1rem; max-width: 580px; margin: 0 auto 36px; }

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Stats ────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 60px 0;
}

.stat {
  background: var(--surface);
  padding: 28px 24px;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ── Section headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header p {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 1rem;
}

/* ── Cards / Grids ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--green); }

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 { margin-bottom: 8px; }

/* ── Problem section ──────────────────────────────────────── */
.problem { background: var(--surface); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.problem-card {
  border-left: 3px solid #ef4444;
  background: var(--card);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
}

.problem-card h3 { margin-bottom: 6px; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #00a86b15, #0a0f1e);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { margin-bottom: 14px; }
.cta-section p  { margin-bottom: 32px; font-size: 1rem; }

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
}

/* ── Page header (inner pages) ────────────────────────────── */
.page-header {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
}

.page-header .badge { margin-bottom: 20px; }
.page-header h1 { margin-bottom: 14px; }

/* ── Tag chips ────────────────────────────────────────────── */
.tag {
  display: inline-block;
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 72px 0 56px; }
}
