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

:root {
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --neutral-50:  #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-400: #a1a1aa;
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.10);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--neutral-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-green { color: var(--green-600); }

.badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.badge--light {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
}
.btn--primary:hover { background: var(--green-700); border-color: var(--green-700); }

.btn--ghost {
  background: transparent;
  color: var(--neutral-700);
  border-color: transparent;
}
.btn--ghost:hover { background: var(--neutral-100); }

.btn--outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-600);
}
.btn--outline:hover { background: var(--green-50); }

.btn--lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn--sm { padding: 7px 14px; font-size: .8rem; }

/* ─── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .3s ease;
}
.nav--scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  background: var(--green-600);
  color: #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.nav__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0 auto;
}
.nav__links a {
  text-decoration: none;
  color: var(--neutral-600);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: var(--green-600); }
.nav__actions { display: flex; gap: 8px; margin-left: auto; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav__hamburger span {
  width: 24px; height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: .2s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
}
.nav__mobile a {
  text-decoration: none;
  color: var(--neutral-700);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.nav__mobile--open { display: flex; }

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
}

/* ─── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
  background: linear-gradient(165deg, var(--green-50) 0%, #fff 60%);
}
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .5;
}
.shape--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--green-200), transparent 70%);
  top: -150px; right: -100px;
}
.shape--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #bbf7d0, transparent 70%);
  bottom: -100px; left: -80px;
}
.shape--3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #fde68a55, transparent 70%);
  top: 40%; left: 30%;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero__text { display: flex; flex-direction: column; gap: 20px; }
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--neutral-900);
}
.hero__desc {
  font-size: 1.05rem;
  color: var(--neutral-600);
  max-width: 480px;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--neutral-200);
  margin-top: 8px;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; font-weight: 700; color: var(--green-700); }
.stat span { font-size: .8rem; color: var(--neutral-500, #71717a); }

/* HERO PRODUCT CARDS */
.hero__visual { position: relative; }
.hero__card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.product-card--hero {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-100);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.product-card--hero:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card--hero:nth-child(2) { margin-top: 24px; }
.product-card--hero:nth-child(4) { margin-top: -16px; }
.product-card__icon {
  font-size: 2rem;
  width: 48px; height: 48px;
  background: var(--green-50);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.product-card__info { flex: 1; min-width: 0; }
.product-card__name { display: block; font-size: .85rem; font-weight: 600; color: var(--neutral-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card__origin { display: block; font-size: .75rem; color: var(--neutral-400); }
.product-card__price { font-size: .85rem; font-weight: 700; color: var(--green-600); flex-shrink: 0; }

/* ─── SECTIONS ─────────────────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: var(--neutral-50); }
.section--green { background: var(--green-700); color: #fff; }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.section__header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--neutral-900);
}
.section__header p { color: var(--neutral-600); }
.section__header--light h2 { color: #fff; }
.section__header--light p { color: rgba(255,255,255,.8); }

/* ─── CATEGORIES ─────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.category-card {
  background: #fff;
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
}
.category-card:hover {
  border-color: var(--green-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.category-card--active {
  border-color: var(--green-600);
  background: var(--green-50);
}
.category-card__icon { font-size: 2.5rem; margin-bottom: 12px; }
.category-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--neutral-800); }
.category-card p { font-size: .8rem; color: var(--neutral-600); line-height: 1.5; margin-bottom: 8px; }
.category-card__count { font-size: .75rem; font-weight: 600; color: var(--green-600); background: var(--green-100); padding: 2px 10px; border-radius: 999px; }

/* ─── PRODUCTS GRID ──────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.product-listing {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: box-shadow .25s, transform .25s;
}
.product-listing:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-listing__img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-listing__emoji { font-size: 4rem; }
.product-listing__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green-600);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.product-listing__body { padding: 16px 20px 20px; }
.product-listing__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.product-listing__category { font-size: .75rem; font-weight: 600; color: var(--green-600); text-transform: uppercase; letter-spacing: .06em; }
.product-listing__rating { font-size: .8rem; color: #f59e0b; font-weight: 600; }
.product-listing__name { font-size: 1rem; font-weight: 700; color: var(--neutral-800); margin-bottom: 4px; }
.product-listing__seller { font-size: .8rem; color: var(--neutral-400); margin-bottom: 16px; }
.product-listing__footer { display: flex; justify-content: space-between; align-items: center; }
.product-listing__price { font-size: 1.2rem; font-weight: 700; color: var(--neutral-900); }
.product-listing__price small { font-size: .75rem; font-weight: 400; color: var(--neutral-400); }

/* ─── HOW IT WORKS ─────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 44px; left: 0; right: 0;
  height: 2px;
  background: var(--green-200);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step__number {
  width: 36px; height: 36px;
  background: var(--green-600);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 700;
  margin: 0 auto 12px;
}
.step__icon { font-size: 2.5rem; margin-bottom: 16px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--neutral-800); }
.step p { font-size: .875rem; color: var(--neutral-600); line-height: 1.6; }

/* ─── TESTIMONIALS ─────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial__stars { color: #fde047; font-size: 1rem; }
.testimonial__text { font-size: .9rem; color: rgba(255,255,255,.9); line-height: 1.7; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 40px; height: 40px;
  background: var(--green-500);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-size: .9rem; color: #fff; }
.testimonial__author span { display: block; font-size: .75rem; color: rgba(255,255,255,.6); }

/* ─── CTA ───────────────────────────────────── */
.cta-section { background: var(--neutral-50); }
.cta-box {
  background: linear-gradient(135deg, var(--green-50) 0%, #fff 100%);
  border: 2px solid var(--green-200);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box__deco {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}
.cta-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--neutral-900);
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--neutral-600);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-box__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--neutral-700, #3f3f46);
}
.footer__brand .nav__logo-text { color: #fff; }
.footer__brand p { font-size: .85rem; margin-top: 12px; line-height: 1.6; }
.footer__links h4 { font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { text-decoration: none; color: var(--neutral-400); font-size: .85rem; transition: color .2s; }
.footer__links a:hover { color: var(--green-400); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
  .steps::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 110px 0 72px; }
  .section { padding: 64px 0; }
  .hero__stats { gap: 20px; }
  .cta-box { padding: 40px 24px; }
  .footer__inner { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}
