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

:root {
  --green: #14532d;
  --green-light: #166534;
  --orange: #f97316;
  --orange-light: #fb923c;
  --bg: #f8fafc;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Roboto", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f5f7f4 100%);
  color: var(--text);
  min-height: 100vh;
  padding: 24px;
}

/* ═══════════════ NAVBAR ═══════════════ */

.navbar {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto 28px auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 22px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 20px;
  z-index: 100;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ═══════════════ HAMBURGER BUTTON ═══════════════ */

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fafb;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.open .icon-menu {
  display: none;
}

.menu-toggle.open .icon-close {
  display: block;
}

/* ═══════════════ NAV DRAWER ═══════════════ */

.nav-drawer {
  display: contents; /* behaves like no wrapper on desktop */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-pill {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: 0.22s ease;
}

.nav-pill:hover {
  background: #f3f4f6;
  color: var(--green);
}

.nav-pill.active {
  background: #ecfdf5;
  color: var(--green);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-btn {
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.22s ease;
  border: 1px solid transparent;
}

.nav-auth .nav-btn:first-child {
  background: var(--green);
  color: var(--white);
}

.nav-auth .nav-btn:first-child:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.nav-auth .nav-btn:last-child {
  background: #fff7ed;
  color: var(--orange);
  border-color: #fed7aa;
}

.nav-auth .nav-btn:last-child:hover {
  background: #ffedd5;
  transform: translateY(-1px);
}

/* ═══════════════ HERO ═══════════════ */

.hero {
  max-width: 1250px;
  margin: 0 auto;
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 24px 8px 20px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-family: "Roboto", "Inter", sans-serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -1.6px;
  color: #111827;
}

.hl-orange {
  color: var(--orange);
}

.hl-green {
  color: var(--green);
}

.hero-desc {
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.stats {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  width: fit-content;
}

.stat {
  min-width: 120px;
}

.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: capitalize;
}

.stat-divider {
  width: 1px;
  height: 42px;
  background: #d1d5db;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-right::before {
  content: "";
  position: absolute;
  width: min(520px, 90%);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.18) 0%, rgba(22, 101, 52, 0.08) 45%, transparent 72%);
  border-radius: 50%;
  filter: blur(6px);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.16));
  animation: floatBurger 4s ease-in-out infinite;
}

/* ═══════════════ ANIMATION ═══════════════ */

.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBurger {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 12px;
  }

  .hero-left {
    align-items: center;
  }

  .hero-desc {
    max-width: 700px;
  }

  .stats {
    justify-content: center;
    width: 100%;
    max-width: 760px;
  }

  .hero-right {
    order: -1;
  }

  .hero-image {
    max-height: 420px;
  }
}

@media (max-width: 760px) {
  body {
    padding: 14px;
  }

  /* Navbar becomes a flex row on mobile: logo left, hamburger right */
  .navbar {
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 18px;
    position: sticky;
    top: 14px;
    gap: 0;
  }

  /* Show the hamburger button */
  .menu-toggle {
    display: flex;
  }

  /* Nav drawer is hidden by default on mobile */
  .nav-drawer {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
    /* Animate open */
    animation: drawerOpen 0.22s ease forwards;
  }

  /* When open class is toggled via JS */
  .nav-drawer.open {
    display: flex;
  }

  @keyframes drawerOpen {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Stack nav links vertically */
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav-pill {
    text-align: center;
    padding: 12px 16px;
    border-radius: 12px;
  }

  /* Stack auth buttons vertically */
  .nav-auth {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 13px 18px;
  }

  .hero {
    min-height: auto;
    gap: 22px;
    padding: 12px 0 20px;
  }

  .hero-title {
    letter-spacing: -0.8px;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.65;
  }

  .stats {
    padding: 18px;
    gap: 16px;
  }

  .stat {
    min-width: 100px;
  }

  .stat-divider {
    display: none;
  }

  .hero-image {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .navbar {
    top: 10px;
    border-radius: 16px;
  }

  .logo-img {
    height: 44px;
  }

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

  .stat {
    width: 100%;
  }

  .hero-image {
    max-height: 240px;
  }
}