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

:root {
  --bg: #06100d;
  --bg-soft: #0a1713;
  --panel: #0f1f1a;
  --panel-2: #13271f;
  --text: #eef8f2;
  --muted: #9bb1a7;
  --jade: #35d79a;
  --jade-strong: #18b978;
  --line: rgba(83, 220, 163, 0.18);
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(53, 215, 154, 0.08), transparent 28%),
    linear-gradient(180deg, #06100d 0%, #07130f 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 16, 13, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(53, 215, 154, 0.4);
  border-radius: 12px;
  background: rgba(53, 215, 154, 0.1);
  color: var(--jade);
}

.brand-text {
  font-size: 1.08rem;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: #cfe2d8;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--jade);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  min-height: 680px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 15, 12, 0.96), rgba(5, 15, 12, 0.72)),
    radial-gradient(circle at 75% 35%, rgba(53, 215, 154, 0.18), transparent 25%),
    linear-gradient(135deg, #07120e, #0b241a);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.eyebrow {
  color: var(--jade);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

.hero-lead {
  max-width: 700px;
  color: #c2d6cc;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--jade);
  color: #04120c;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04);
}

.intro-section,
.visual-banner,
.content-section,
.disclaimer {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2,
.visual-banner h2,
.disclaimer h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.section-heading > p:last-child,
.visual-banner p,
.disclaimer p {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  background: linear-gradient(180deg, rgba(53,215,154,.09), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  color: var(--jade);
  font-size: 2.5rem;
  font-weight: 900;
}

.stat-label {
  color: #c9ddd3;
}

.visual-banner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  align-items: center;
}

.image-placeholder {
  min-height: 310px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px dashed rgba(53,215,154,.48);
  background:
    radial-gradient(circle at center, rgba(53,215,154,.12), transparent 36%),
    var(--panel);
  color: var(--jade);
  text-align: center;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.content-section {
  border-top: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.herb-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)), var(--panel);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.info-card:hover,
.herb-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53,215,154,.44);
  box-shadow: var(--shadow);
}

.card-index,
.letter {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 10px;
  color: var(--jade);
  background: rgba(53,215,154,.1);
  border: 1px solid rgba(53,215,154,.18);
  font-size: 0.78rem;
  font-weight: 900;
}

.info-card h3,
.herb-card h3 {
  font-size: 1.22rem;
  margin-bottom: 4px;
}

.range,
.latin {
  color: var(--jade);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.info-card > p:not(.range),
.herb-card p {
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(53,215,154,.1);
  color: #6ce4b4;
  font-size: 0.82rem;
  font-weight: 800;
}

.herb-section {
  background: rgba(4, 14, 11, 0.45);
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.search-shell input {
  width: min(680px, 100%);
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #0b1914;
  color: var(--text);
  padding: 0 17px;
  outline: none;
}

.search-shell input:focus {
  border-color: rgba(53,215,154,.6);
  box-shadow: 0 0 0 4px rgba(53,215,154,.08);
}

.result-count {
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.9rem;
}

.herb-card strong {
  color: #dcece4;
}

.no-results {
  margin-top: 30px;
  color: var(--muted);
}

.disclaimer {
  border-top: 1px solid var(--line);
}

.disclaimer {
  max-width: 1180px;
}

.disclaimer p {
  max-width: 820px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #040b09;
}

.footer-shell {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-shell strong {
  color: var(--jade);
}

.footer-shell p {
  color: #80968c;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    background: #0a1713;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: rgba(53,215,154,.08);
  }

  .hero {
    min-height: 590px;
  }

  .stats-grid,
  .card-grid,
  .visual-banner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .hero-content {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 20vw, 5.6rem);
  }

  .stats-grid,
  .card-grid,
  .visual-banner {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .visual-banner,
  .content-section,
  .disclaimer {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .search-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-shell {
    padding: 34px 0;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }
}
