:root {
  --emerald: #0A3D2E;
  --emerald-light: #1B5C43;
  --gold: #B8922A;
  --gold-light: #D4AB38;
  --cream: #FAF6EE;
  --cream-dark: #F0E8D8;
  --text-dark: #1A1A18;
  --text-mid: #4A4A42;
  --text-light: #7A7A68;
  --border: #E2D9C8;
}

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

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--emerald);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 72px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 20px; }

.eyebrow-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  border-radius: 20px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--emerald);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--cream-dark);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
}

/* Product grid */
.hero-visual { display: flex; flex-direction: column; gap: 32px; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
}

.card-a { grid-column: 1; grid-row: 1; }
.card-b { grid-column: 2; grid-row: 1; }
.card-c { grid-column: 1; grid-row: 2; }
.card-d { grid-column: 2; grid-row: 2; }

.card-inner {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.card-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.halal-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EAF3EC;
  border: 1px solid #B8D4BC;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald);
  width: fit-content;
}

/* Hero stats row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.stat { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 28px;
}

/* TRUST SECTION */
.trust-section {
  background: var(--cream-dark);
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Comparison table */
.comparison-table {
  width: 100%;
}

.comp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.comp-header {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 12px 16px;
}

.comp-header .comp-col:first-child { padding-left: 0; }

.comp-row:not(.comp-header) .comp-col {
  padding: 18px 16px;
  display: flex;
  align-items: center;
}

.comp-row:not(.comp-header) .comp-col:first-child {
  padding-left: 0;
}

.comp-label {
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 400;
}

/* CATEGORIES SECTION */
.categories-section {
  padding: 80px 48px;
  background: var(--cream);
}

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

.categories-header { margin-bottom: 56px; }

.section-title.light { color: var(--cream-dark); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-icon {
  width: 52px;
  height: 52px;
  background: var(--cream-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--emerald);
}

.cat-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* CERTIFICATION SECTION */
.certification-section {
  background: var(--emerald);
  padding: 80px 48px;
}

.cert-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.cert-visual { display: flex; align-items: center; }

.cert-diagram {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.cert-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px 20px;
  min-width: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.step-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.cert-arrow {
  flex-shrink: 0;
  opacity: 0.5;
}

.cert-text .section-eyebrow { color: var(--gold); }
.cert-text .section-title { color: white; }
.cert-text .section-sub { color: rgba(255,255,255,0.65); }

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.certifier-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cream);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 20px;
}

/* MARKET STATS SECTION */
.stats-section {
  background: var(--cream-dark);
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner { max-width: 1280px; margin: 0 auto; }

.stats-header { margin-bottom: 56px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}

.stat-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.stats-source {
  margin-top: 40px;
  font-size: 0.72rem;
  color: var(--text-light);
  font-style: italic;
}

/* CLOSING SECTION */
.closing-section {
  background: var(--cream);
  padding: 80px 48px;
  overflow: hidden;
}

.closing-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.closing-pattern {
  position: absolute;
  top: -20px;
  right: -40px;
  opacity: 0.04;
  pointer-events: none;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  width: 400px;
}

.pattern-cell {
  width: 100%;
  aspect-ratio: 1;
  border: 1.5px solid var(--emerald);
  border-radius: 4px;
}

.closing-content { position: relative; max-width: 700px; }

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 40px;
}

.closing-payment { display: flex; flex-direction: column; gap: 14px; }

.pay-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.pay-methods { display: flex; flex-wrap: wrap; gap: 10px; }

.pay-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--emerald);
  background: white;
  border: 1.5px solid var(--border);
  padding: 8px 18px;
  border-radius: 8px;
}

/* FOOTER */
.site-footer {
  background: var(--emerald);
  padding: 40px 48px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 32px; }
  .trust-inner { grid-template-columns: 1fr; gap: 40px; }
  .cert-inner { grid-template-columns: 1fr; gap: 48px; }
  .cert-diagram { flex-direction: column; align-items: stretch; }
  .cert-arrow { transform: rotate(90deg); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .navbar { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 32px 24px; }
  .trust-section, .categories-section, .certification-section, .stats-section, .closing-section { padding: 56px 24px; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .categories-grid { grid-template-columns: 1fr; }
  .comp-row { grid-template-columns: 1fr 1fr; }
  .comp-row.comp-header { display: none; }
  .comp-row:not(.comp-header) .comp-col:nth-child(2),
  .comp-row:not(.comp-header) .comp-col:nth-child(3),
  .comp-row:not(.comp-header) .comp-col:nth-child(4) { display: none; }
  .comp-row:not(.comp-header) .comp-col:last-child { display: flex; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}