/* ============================================
   Nova Green Foods — Design System
   ============================================ */

:root {
  --green-950: #0a1f17;
  --green-900: #0f2e22;
  --green-800: #1a4d38;
  --green-700: #236b4f;
  --green-600: #2d8a66;
  --green-500: #3aad7e;
  --green-400: #5ec99a;
  --green-300: #8eddb8;
  --gold-500: #c4a35a;
  --gold-400: #d4b872;
  --cream: #f7f3eb;
  --cream-dark: #ebe4d6;
  --white: #ffffff;
  --text: #1a2e24;
  --text-muted: #5a6e64;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10, 31, 23, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 31, 23, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

img { max-width: 100%; display: block; }

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

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(10, 31, 23, 0.06);
  padding: 0.75rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav__logo-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav__logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
}

.nav__logo-text small {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--green-700);
}

.nav__cta {
  background: var(--green-800) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta:hover {
  background: var(--green-700) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 77, 56, 0.3);
}

.btn--primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 77, 56, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--green-900);
  border: 1.5px solid rgba(26, 77, 56, 0.25);
}

.btn--ghost:hover {
  border-color: var(--green-700);
  background: rgba(26, 77, 56, 0.05);
}

.btn--light {
  background: var(--white);
  color: var(--green-800);
}

.btn--light:hover {
  background: var(--cream);
}

.btn--full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(61, 173, 126, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(196, 163, 90, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, var(--cream) 0%, #eef5f0 50%, var(--cream-dark) 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, var(--green-800) 1px, transparent 0);
  background-size: 32px 32px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-left: max(4vw, calc((100vw - 1140px) / 2));
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: rgba(45, 138, 102, 0.1);
  border: 1px solid rgba(45, 138, 102, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--green-950);
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  color: var(--green-700);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 77, 56, 0.12);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero__corn-ring {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(45, 138, 102, 0.08) 0%, transparent 70%),
    conic-gradient(from 0deg, var(--green-300), var(--gold-400), var(--green-400), var(--green-300));
  animation: ringRotate 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__corn-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--cream);
}

.hero__corn-ring::after {
  content: '🌽';
  position: relative;
  z-index: 1;
  font-size: 8rem;
  filter: drop-shadow(0 8px 24px rgba(26, 77, 56, 0.2));
  animation: cornPulse 3s ease-in-out infinite;
}

.corn-float {
  position: absolute;
  font-size: 2.5rem;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.corn-float--1 { top: 10%; right: 5%; animation-delay: 0s; }
.corn-float--2 { bottom: 15%; left: 0; animation-delay: 1.3s; font-size: 2rem; }
.corn-float--3 { top: 50%; right: -10%; animation-delay: 2.6s; font-size: 1.8rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

@keyframes cornPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- Marquee ---- */
.marquee {
  background: var(--green-900);
  color: var(--green-300);
  padding: 0.85rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--green-950);
  color: var(--cream);
}

.section--green {
  background: var(--green-800);
  color: var(--white);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}

.section--dark .section__eyebrow,
.section--green .section__eyebrow {
  color: var(--green-400);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-950);
  margin-bottom: 1rem;
}

.section--dark .section__title,
.section--green .section__title {
  color: var(--white);
}

.section__text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}

.section--dark .section__text,
.section--green .section__text {
  color: rgba(255, 255, 255, 0.75);
}

.section__text--center {
  margin-inline: auto;
  text-align: center;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__header .section__text {
  margin-inline: auto;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__quote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold-500);
}

.about__quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green-800);
  line-height: 1.6;
}

.about__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}

.about__card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.about__card:hover {
  transform: translateY(-4px);
}

.about__card--main {
  grid-column: 1 / -1;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.about__card--accent {
  background: var(--green-800);
  color: var(--white);
}

.about__card--dark {
  background: var(--green-950);
  color: var(--white);
}

.about__card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.about__card p {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ---- Products ---- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(94, 201, 154, 0.3);
  transform: translateY(-4px);
}

.product-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.product-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card__features li {
  font-size: 0.85rem;
  color: var(--green-400);
  padding-left: 1.25rem;
  position: relative;
}

.product-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold-400);
}

/* ---- Quality ---- */
.quality__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.quality__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.feature__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  flex-shrink: 0;
}

.feature__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-900);
  margin-bottom: 0.35rem;
}

.feature__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Export ---- */
.export__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.export__regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.region-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.export__checklist {
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.export__checklist h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.export__checklist ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.export__checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.export__checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green-400);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--green-950);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

a.contact__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact__item-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.contact__item small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.15rem;
}

.contact__form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-note a {
  color: var(--green-700);
  font-weight: 500;
}

/* ---- Footer ---- */
.footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}

.footer__brand small {
  font-size: 0.75rem;
  color: var(--green-400);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    min-height: auto;
  }

  .hero__content {
    padding-left: 0;
    padding-inline: 4vw;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    min-height: 280px;
    margin-top: 1rem;
  }

  .hero__corn-ring {
    width: 260px;
    height: 260px;
  }

  .hero__corn-ring::after {
    font-size: 5rem;
  }

  .about__grid,
  .quality__grid,
  .export__inner,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right var(--transition);
  }

  .nav__links.open {
    right: 0;
  }

  .footer__top {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__stats {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }

  .about__visual {
    grid-template-columns: 1fr;
  }

  .about__card--main {
    grid-column: auto;
  }
}
