:root {
  --bg: #0f2419;
  --card-bg: #1a3d2b;
  --accent: #4caf50;
  --accent2: #8bc34a;
  --text: #e8f5e9;
  --muted: #81c784;
  --border: #2e5e3a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 62px;
  padding: 0 1.4rem;
  background: rgba(15, 36, 25, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav-logo { font-size: 1.25rem; font-weight: 800; color: var(--accent); letter-spacing: -0.4px; }
.nav-logo span { color: var(--accent2); }
.nav-links { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #43a047; text-decoration: none; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: rgba(76, 175, 80, 0.1); text-decoration: none; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 58vh;
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3rem;
  background: #08170e center/cover no-repeat;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 14, 0.25), rgba(8, 23, 14, 0.92));
}
.hero-panel .wrap { position: relative; z-index: 1; }
.kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.28rem 0.8rem;
  border: 1px solid rgba(139, 195, 74, 0.4);
  border-radius: 999px;
  color: var(--accent2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-panel h1 {
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -1px;
  max-width: 16ch;
}
.lede { max-width: 42rem; margin-top: 1rem; color: rgba(232, 245, 233, 0.86); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

.section { padding: 3.5rem 0; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }
.section p.sub { color: var(--muted); max-width: 40rem; margin-bottom: 1.8rem; }

.world-grid, .plant-grid, .step-grid {
  display: grid;
  gap: 1.1rem;
}
.world-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plant-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  background: #102318 center/cover no-repeat;
}
.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 23, 14, 0.92));
}
.visual-card > * { position: relative; z-index: 1; }
.visual-card .tag { color: var(--accent2); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.visual-card h3 { font-size: 1.55rem; margin: 0.25rem 0 0.4rem; }
.visual-card p { color: var(--muted); margin-bottom: 0.9rem; }

.plant-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(26, 61, 43, 0.55);
  box-shadow: var(--shadow);
}
.plant-card img { width: 100%; height: 210px; object-fit: cover; }
.plant-card .body { padding: 1rem 1.05rem 1.15rem; }
.plant-card h2 { font-size: 1.2rem; }
.plant-card .meta { color: var(--muted); font-size: 0.82rem; }

.step {
  padding: 1.3rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(26, 61, 43, 0.5);
}
.step .num {
  color: var(--accent2);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.prose { max-width: 46rem; }
.prose h2, .prose h3 { margin: 1.6rem 0 0.6rem; }
.prose p, .prose li { color: rgba(232, 245, 233, 0.88); }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0.6rem 0 1rem; }

.plant-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 1rem;
}
.plant-hero img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 460px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0; }
.chip {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent2);
  font-size: 0.8rem;
}

.panel {
  margin: 1rem 0;
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(16, 35, 24, 0.72);
}
.panel h2 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.cal-row, .disease { padding: 0.65rem 0; border-top: 1px solid rgba(46, 94, 58, 0.6); }
.cal-row:first-of-type, .disease:first-of-type { border-top: none; }
.muted { color: var(--muted); }

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}
.site-footer .links { display: flex; justify-content: center; gap: 1.1rem; flex-wrap: wrap; margin: 0.8rem 0 1rem; }
.disclaimer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(129, 199, 132, 0.75);
}

@media (max-width: 800px) {
  .world-grid, .step-grid, .plant-hero { grid-template-columns: 1fr; }
  .nav-links .btn-outline { display: none; }
  .hero-panel { min-height: 70vh; }
}
