/* ===== FarmVerse — Design tokens ===== */
:root {
  --sky: #8FD3F4;
  --sun-gold: #FFC94D;
  --sun-deep: #FF9800;
  --leaf-light: #8BC34A;
  --leaf: #4E8F2B;
  --leaf-dark: #1B5E20;
  --leaf-darker: #0F3D14;
  --orange: #F57C00;
  --coral: #FF7043;

  --bg: #FBFBF6;
  --bg-alt: #F3F7EC;
  --text: #21311F;
  --text-soft: #4B5A45;
  --card-bg: #FFFFFF;
  --border: #E4EBDA;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(27, 91, 32, 0.08);
  --shadow-md: 0 10px 30px rgba(27, 91, 32, 0.12);
  --shadow-lg: 0 20px 60px rgba(27, 91, 32, 0.18);

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }

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

.accent { color: var(--orange); }
.dot { color: var(--sun-deep); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--leaf-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--sun-gold), var(--orange));
  color: #422900;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--leaf-dark);
  border: 2px solid var(--leaf-dark);
}
.btn-ghost:hover { background: var(--leaf-dark); color: #fff; }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 246, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
}
.brand-mark { border-radius: 10px; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--leaf-dark);
}
.main-nav { display: flex; gap: 14px; flex-shrink: 0; }
.main-nav a {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-soft);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--leaf-dark); }

/* ===== Language switcher ===== */
.lang-switcher { display: flex; align-items: center; flex-shrink: 0; }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--leaf-dark);
  background: var(--card-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231B5E20'%3E%3Cpath d='M5.5 7.5l4.5 5 4.5-5z'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 11px;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 7px 26px 7px 12px;
  cursor: pointer;
  max-width: 128px;
}
.lang-select:hover, .lang-select:focus-visible { border-color: var(--leaf-dark); outline: none; }
@media (max-width: 1180px) {
  .lang-select { max-width: 96px; font-size: 12px; padding: 7px 24px 7px 10px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--leaf-dark);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 4px;
}
.mobile-nav a {
  padding: 10px 0;
  font-weight: 700;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.site-header.nav-open .mobile-nav { display: flex; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, #E3F3D9 45%, var(--bg) 100%);
  padding: 96px 0 120px;
  text-align: center;
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.hero-sun {
  position: absolute;
  top: -60px; right: 8%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFBEA, var(--sun-gold) 55%, var(--sun-deep) 100%);
  opacity: 0.85;
  filter: blur(0.5px);
}
.hero-leaf, .hero-fruit {
  position: absolute;
  font-size: 40px;
  opacity: 0.85;
  animation: float 6s ease-in-out infinite;
}
.leaf-1 { top: 18%; left: 6%; animation-delay: 0s; }
.leaf-2 { top: 60%; left: 12%; font-size: 30px; animation-delay: 1.2s; }
.fruit-1 { top: 12%; left: 22%; animation-delay: 0.5s; }
.fruit-2 { top: 70%; right: 10%; animation-delay: 1.8s; }
.fruit-3 { top: 30%; right: 6%; font-size: 34px; animation-delay: 2.4s; }
.fruit-4 { top: 78%; left: 30%; font-size: 30px; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--leaf);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 800;
  color: var(--leaf-dark);
  margin-bottom: 6px;
}
.tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--text-soft);
  margin-bottom: 22px;
}
.hero-copy {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}
.hero-note { font-size: 14px; color: var(--text-soft); opacity: 0.85; }

/* ===== Section shared ===== */
section { padding: 88px 0; }
.section-eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--orange);
  margin-bottom: 10px;
}
section h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--leaf-dark);
  max-width: 720px;
}
.section-sub { color: var(--text-soft); font-size: 17px; max-width: 620px; margin-bottom: 32px; }

.grid { display: grid; gap: 20px; }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ===== Why (pill cards) ===== */
.why { padding-top: 64px; }
.why h2 { text-align: center; margin: 0 auto 36px; }
.pill-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pill-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.pill-card h3 { font-size: 15px; margin: 0; color: var(--text); }

/* ===== Features ===== */
.features { background: var(--bg-alt); }
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  font-size: 34px;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sky), var(--leaf-light));
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 20px; color: var(--leaf-dark); }
.feature-card p { color: var(--text-soft); margin: 0; font-size: 15px; }

/* ===== Fruits ===== */
.fruits { text-align: center; }
.fruits h2, .fruits .section-sub { margin-left: auto; margin-right: auto; }
.fruit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.fruit-card {
  background: linear-gradient(160deg, #FFFFFF, var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fruit-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-md); }
.fruit-emoji { font-size: 44px; display: block; margin-bottom: 10px; }
.fruit-name { font-weight: 700; font-family: var(--font-head); font-size: 14px; color: var(--leaf-dark); }
.fruit-more { color: var(--text-soft); margin-top: 28px; font-size: 15px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== How it works ===== */
.how { background: var(--bg-alt); }
.how h2, .how .section-eyebrow { text-align: center; margin-left: auto; margin-right: auto; display: block; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.step {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf-light), var(--leaf-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; color: var(--leaf-dark); }
.step p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* ===== Progression ===== */
.progression { text-align: center; }
.progression h2, .progression .section-eyebrow { margin-left: auto; margin-right: auto; display: block; }
.progression-track {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.progression-stage {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--leaf-dark);
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.progression-final {
  background: linear-gradient(135deg, var(--sun-gold), var(--orange));
  color: #422900;
  border: none;
}
.progression-arrow { color: var(--leaf); font-weight: 700; }

/* ===== Roadmap ===== */
.roadmap { background: var(--bg-alt); text-align: center; }
.roadmap h2, .roadmap .section-eyebrow { margin-left: auto; margin-right: auto; display: block; }
.roadmap-grid { margin-top: 36px; }
.roadmap-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 16px;
  box-shadow: var(--shadow-sm);
}
.roadmap-card h3 { font-size: 26px; color: var(--leaf-dark); margin: 6px 0 4px; }
.roadmap-card p { margin: 0; color: var(--text-soft); font-size: 14px; }
.roadmap-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 999px;
}
.roadmap-current { border: 2px solid var(--orange); }
.roadmap-current .roadmap-tag { background: var(--orange); color: #fff; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(160deg, var(--leaf-dark), var(--leaf));
  color: #fff;
  text-align: center;
  border-radius: 0;
}
.cta-mark { margin: 0 auto 18px; border-radius: 16px; }
.cta h2 { color: #fff; margin-left: auto; margin-right: auto; }
.cta p { color: #E3F3D9; max-width: 520px; margin: 0 auto 28px; }
.signup-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-family: var(--font-body);
}
.form-note { margin-top: 14px; font-size: 14px; color: #FDE8B0; min-height: 1.2em; }

/* ===== Community ===== */
.community { text-align: center; }
.community h2 { margin-left: auto; margin-right: auto; }
.social-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social-link {
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid var(--border);
  font-weight: 700;
  color: var(--leaf-dark);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social-link:hover { background: var(--leaf-dark); color: #fff; border-color: var(--leaf-dark); }

/* ===== Footer ===== */
.site-footer { background: #12220F; color: #C9DABE; padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { height: 40px; width: auto; }
.footer-copy { margin: 0; font-size: 14px; color: #9DB58E; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: #C9DABE; }
.footer-links a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .fruit-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner .btn-small { display: none; }
}
@media (max-width: 560px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .fruit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 88px; }
  section { padding: 64px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
