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

:root {
  --bg: #FAF6F0;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --terracotta: #C4522A;
  --terracotta-light: #f5e8e1;
  --forest: #1B4D3E;
  --forest-light: #e6f0ec;
  --sand: #E8D5B7;
  --white: #ffffff;
  --up: #16a34a;
  --down: #dc2626;
  --neutral: #6b7280;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--terracotta);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.5px;
}

.logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}

.nav-badge {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--forest-light);
  color: var(--forest);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  background: var(--bg);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.hero-content {}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.2rem;
}

.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {}

.stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--terracotta);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.12);
}

/* === PRICE WIDGET === */
.price-widget {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  overflow: hidden;
}

.widget-header {
  background: var(--forest);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.widget-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.9rem;
}

.widget-row:last-of-type { border-bottom: none; }

.product-name { color: var(--fg); font-weight: 500; }

.product-price { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }

.price-trend {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.price-trend.up { background: #dcfce7; color: var(--up); }
.price-trend.down { background: #fee2e2; color: var(--down); }
.price-trend.neutral { background: #f3f4f6; color: var(--neutral); }

.widget-footer {
  background: var(--terracotta-light);
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  text-align: center;
}

/* === CATEGORIES === */
.categories {
  padding: 5rem 2rem;
  background: #F4EFE7;
}

.categories-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.category-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.cat-icon {
  width: 44px;
  height: 44px;
  background: var(--terracotta-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.cat-icon svg { width: 22px; height: 22px; stroke: var(--terracotta); }

.vegetables .cat-icon { background: #F0F9F0; }
.vegetables .cat-icon svg { stroke: #2D7A2D; }
.meat .cat-icon { background: #FDF0EC; }
.meat .cat-icon svg { stroke: #C4522A; }
.oils .cat-icon { background: #F9F5EC; }
.oils .cat-icon svg { stroke: #8B6914; }
.livestock .cat-icon { background: #F0F5F9; }
.livestock .cat-icon svg { stroke: #2D5D7A; }

.category-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.cat-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--forest-light);
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

/* === PRICING SECTION === */
.pricing-section {
  padding: 5rem 2rem;
  background: var(--bg);
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

.pricing-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 2rem;
}

.comparison { display: flex; flex-direction: column; gap: 1.25rem; }

.comp-old, .comp-new {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
}

.comp-header { margin-bottom: 1rem; }

.comp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

.comp-badge.old { background: #f3f4f6; color: var(--muted); }
.comp-badge.new { background: var(--forest-light); color: var(--forest); }

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.comp-list li {
  font-size: 0.88rem;
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.comp-list li::before {
  content: '—';
  color: var(--muted);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.comp-new .comp-list li::before { content: '→'; color: var(--forest); }

.comp-data {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  line-height: 1.8;
}

.comp-data strong { color: var(--terracotta); }
.comp-data.green { color: var(--forest); font-weight: 600; }

/* === PRICE CARD (right side) === */
.price-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  overflow: hidden;
}

.pc-header {
  background: var(--terracotta);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.9rem 1.25rem;
  letter-spacing: 0.03em;
}

.pc-chart {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.chart-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.chart-bar {
  height: 80px;
  background: linear-gradient(to top, var(--terracotta-light), rgba(196,82,42,0.1));
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  position: relative;
}

.bar-fill {
  width: 100%;
  height: var(--h);
  background: linear-gradient(180deg, var(--terracotta), #d4522a);
  border-radius: 5px;
  min-height: 20%;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.pc-breakdown {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.88rem;
}

.breakdown-row:last-child { border-bottom: none; }
.breakdown-row span:first-child { color: var(--muted); }
.breakdown-row span:last-child { font-weight: 600; color: var(--fg); }

/* === MANIFESTO === */
.manifesto {
  padding: 5rem 2rem;
  background: var(--forest);
  color: white;
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-rule {
  width: 48px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}

.manifesto-quote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
}

.manifesto-body {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.manifesto-body:last-child { margin-bottom: 0; }

/* === FOOTER === */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {}

.footer-logo {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-meta { text-align: right; }

.footer-coverage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.coverage-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}

.footer-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .price-widget { max-width: 100%; }
  .pricing-inner { grid-template-columns: 1fr; }
  .pricing-right { order: -1; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .footer-coverage { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
  .categories, .pricing-section, .manifesto { padding: 3.5rem 1.25rem; }
  .footer { padding: 2rem 1.25rem; }
}