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

:root {
  --green-900: #1B5E20;
  --green-700: #2E7D32;
  --green-600: #388E3C;
  --green-500: #4CAF50;
  --green-100: #E8F5E9;
  --green-50:  #F1F8F1;
  --teal-500:  #00897B;
  --teal-100:  #E0F2F1;
  --lime-500:  #7CB342;
  --lime-100:  #F1F8E9;
  --text-dark: #1a2e1b;
  --text-mid:  #3d5c3e;
  --text-muted:#6b8c6d;
  --border:    #d4e8d4;
  --white:     #ffffff;
  --off-white: #f8fcf8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(46,125,50,.08);
  --shadow-md: 0 4px 20px rgba(46,125,50,.12);
  --shadow-lg: 0 8px 40px rgba(46,125,50,.16);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm {
  background: var(--green-700);
  color: var(--white);
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-sm:hover { background: var(--green-600); box-shadow: var(--shadow-sm); }

.btn-hero {
  background: var(--green-700);
  color: var(--white);
  padding: 15px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.btn-hero:hover { background: var(--green-600); box-shadow: var(--shadow-lg); }

.btn-product {
  width: 100%;
  background: var(--green-700);
  color: var(--white);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.btn-product:hover { background: var(--green-600); box-shadow: var(--shadow-sm); }

.btn-cta {
  background: var(--white);
  color: var(--green-700);
  padding: 15px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  flex-shrink: 0;
}

.btn-cta:hover { background: var(--green-50); box-shadow: 0 8px 32px rgba(0,0,0,.2); }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(46,125,50,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

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

.logo-icon { width: 36px; height: 36px; }

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--teal-100) 100%);
  padding: 72px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(46,125,50,.2);
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-visual {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 300px;
}

.pill {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: default;
  animation: floatPill 3s ease-in-out infinite;
}

.pill:nth-child(2) { animation-delay: 0.5s; }
.pill:nth-child(3) { animation-delay: 1s; }
.pill:nth-child(4) { animation-delay: 1.5s; }
.pill:nth-child(5) { animation-delay: 2s; }
.pill:nth-child(6) { animation-delay: 2.5s; }

.pill-green  { background: var(--green-100); color: var(--green-700); border: 1px solid rgba(46,125,50,.25); }
.pill-teal   { background: var(--teal-100);  color: var(--teal-500);  border: 1px solid rgba(0,137,123,.25); }
.pill-lime   { background: var(--lime-100);  color: var(--lime-500);  border: 1px solid rgba(124,179,66,.25); }

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

/* === SECTIONS === */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.section-title + .categories-grid,
.section-title + .benefits-grid {
  margin-top: 48px;
}

/* === CATEGORIES === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-500);
}

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: Georgia, serif;
  margin-bottom: 4px;
}

.ci-green { background: var(--green-100); color: var(--green-700); }
.ci-teal  { background: var(--teal-100);  color: var(--teal-500); }
.ci-lime  { background: var(--lime-100);  color: var(--lime-500); }

.cat-name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.cat-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* === PRODUCTS === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--green-700);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-new  { background: var(--teal-500); }
.badge-sale { background: #E53935; }

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: Georgia, serif;
  letter-spacing: -0.02em;
}

.pi-yellow { background: #FFF9C4; color: #F57F17; }
.pi-teal   { background: var(--teal-100); color: var(--teal-500); }
.pi-green  { background: var(--green-100); color: var(--green-700); }
.pi-pink   { background: #FCE4EC; color: #C62828; }
.pi-blue   { background: #E3F2FD; color: #1565C0; }

.product-name { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); }
.product-desc { font-size: 0.875rem; color: var(--text-mid); line-height: 1.55; flex: 1; }

.product-footer { margin-top: auto; padding-top: 8px; }

/* === BENEFITS === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.benefit-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.bi-green { background: var(--green-100); color: var(--green-700); }
.bi-teal  { background: var(--teal-100);  color: var(--teal-500); }
.bi-lime  { background: var(--lime-100);  color: var(--lime-500); }

.benefit-item h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--teal-500) 100%);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.cta-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
}

/* === FOOTER === */
.site-footer {
  background: var(--green-900);
  padding: 40px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .logo-text { color: var(--white); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
}

.footer-credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
  margin-top: 8px;
}

.footer-credit a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}

.footer-credit a:hover { color: rgba(255,255,255,.8); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-nav { display: none; }

  .header-inner { gap: 16px; }

  .hero { padding: 48px 0 56px; }

  .hero-inner {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }

  .hero-visual { flex: none; width: 100%; }

  .hero-pill-group { max-width: 100%; }

  .section { padding: 56px 0; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }

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

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

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

@media (max-width: 400px) {
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-card { padding: 20px 10px 18px; }
}
