@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@500;600;700;800&family=Geist:wght@400;500;600;700&display=swap');

:root {
  --brand: #15803d;
  --brand-dark: #0b2f1e;
  --brand-light: #e8f5ec;
  --canvas: #f7f5f0;
  --text: #17201a;
  --muted: #4f5a53;
  --white: #ffffff;
  --border: #e2e0d6;
  --border-strong: #c9c5b8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 47, 30, 0.12);
  --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Lexend', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-display); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }

/* Topbar */
.topbar {
  background: var(--brand-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.brand span { color: #86efac; }
.nav { display: flex; gap: 28px; }
.nav a { color: #d7e7dc; font-weight: 500; }
.nav a:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 4px 14px rgba(21,128,61,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21,128,61,0.38); background: #16913f; }
.btn-ghost { background: var(--white); border: 2px solid var(--border-strong); color: var(--brand-dark); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-danger { background: #b91c1c; color: var(--white); box-shadow: 0 4px 14px rgba(185,28,28,0.28); }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(185,28,28,0.38); background: #a51818; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn i { margin-right: 7px; }
.btn i:only-child { margin-right: 0; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

/* Hero */
.hero { padding: 80px 0 60px; overflow: hidden; }
.hero-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1 1 460px; }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; }
.hero-text h1 { font-size: 2.6rem; line-height: 1.15; margin: 14px 0 18px; color: var(--brand-dark); }
.hero-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-media { flex: 1 1 340px; position: relative; height: 340px; }
.float-img {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  border: 4px solid var(--white);
}
.img-1 { width: 190px; height: 190px; top: 0; right: 40px; }
.img-2 { width: 230px; height: 230px; top: 110px; left: 0; }
.img-3 { width: 170px; height: 170px; bottom: 0; right: 0; }

/* Stats strip */
.strip { background: var(--brand); color: var(--white); padding: 28px 0; }
.strip-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.strip-inner div { display: flex; flex-direction: column; }
.strip-inner strong { font-size: 2rem; }
.strip-inner span { color: #d7f0dd; font-size: 0.9rem; }

/* Section */
.section { padding: 70px 0; }
.section.alt { background: var(--white); }
.section h2 { font-size: 1.9rem; color: var(--brand-dark); text-align: center; }
.section-lede { color: var(--muted); text-align: center; max-width: 620px; margin: 12px auto 40px; }

/* Species */
.species-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.species-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.species-card:hover { transform: translateY(-6px); }
.species-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.species-body { padding: 20px; }
.species-body h3 { color: var(--brand-dark); margin-bottom: 8px; }
.tag {
  display: inline-block;
  background: #e8f5ec;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.species-body p { color: var(--muted); font-size: 0.92rem; }

/* Modules */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.module-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.module-icon { font-size: 1.8rem; margin-bottom: 10px; }
.module-card h3 { color: var(--brand-dark); margin-bottom: 8px; font-size: 1.05rem; }
.module-card p { color: var(--muted); font-size: 0.9rem; }

/* Roles */
.role-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.role-chip {
  background: var(--brand-dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Roadmap */
.roadmap { list-style: none; max-width: 760px; margin: 0 auto; }
.roadmap li {
  background: var(--canvas);
  border-left: 4px solid var(--brand);
  padding: 14px 20px;
  margin-bottom: 12px;
  border-radius: 0 10px 10px 0;
  color: var(--muted);
}
.roadmap li strong { color: var(--brand-dark); display: block; margin-bottom: 2px; }

/* CTA */
.cta { background: var(--brand-dark); color: var(--white); text-align: center; padding: 80px 0; }
.cta h2 { font-size: 2rem; margin-bottom: 12px; }
.cta p { color: #cfe4d6; margin-bottom: 28px; }

/* Footer */
.footer { background: #081f14; color: #9fb8a8; text-align: center; padding: 22px 0; font-size: 0.85rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 720px) {
  .hero-media { display: none; }
  .nav { display: none; }
  .hero-text h1 { font-size: 2rem; }
}
