/* ============================================================
   GENZ.CSS — Shared Gen-Z design system for Swadeshi Mushroom
   All inner pages use this on top of style_v4.css
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&display=swap');

/* ── Root tokens ── */
:root {
  --gz-ink:    #0d0d0d;
  --gz-paper:  #f8f6f0;
  --gz-gold:   #f5bd4a;
  --gz-green:  #6B705C;
  --gz-dark-green: #0c1c11;
  --gz-border: rgba(255,255,255,0.08);
  --gz-border-light: rgba(0,0,0,0.1);
}

/* ── Body override when genz page ── */
body.gz-page {
  background: var(--gz-ink) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

/* ── Grain overlay ── */
.gz-grain {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px; mix-blend-mode: soft-light;
}

/* ── Marquee ticker ── */
.gz-ticker {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 800;
  height: 32px; overflow: hidden; display: flex; align-items: center;
  background: rgba(13,13,13,0.7); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gz-border);
}
.gz-ticker-track {
  display: flex; white-space: nowrap;
  animation: gzTicker 30s linear infinite;
}
.gz-ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px; font-size: 0.58rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.gz-ticker-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gz-gold); flex-shrink: 0; }
@keyframes gzTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Page hero ── */
.gz-hero {
  position: relative; height: 72vh; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; margin-top: 104px; /* nav 72px + ticker 32px */
}
.gz-hero-bg {
  position: absolute; inset: -5%;
  background-size: cover; background-position: center;
  filter: brightness(0.38) saturate(0.65);
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  animation: gzKenBurns 18s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes gzKenBurns {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(0, 0, 0) scale(1.07); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
.gz-hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, #0d0d0d 0%, rgba(13,13,13,0.5) 50%, rgba(13,13,13,0.05) 100%),
    linear-gradient(to right, rgba(13,13,13,0.65) 0%, transparent 60%);
}
.gz-hero-content {
  position: relative; z-index: 5;
  padding: 0 6vw 6vh;
}
.gz-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gz-gold);
  margin-bottom: 18px;
  opacity: 0; animation: gzFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
.gz-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gz-gold); }

.gz-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.92; letter-spacing: 1px;
  color: #fff; text-transform: uppercase; margin: 0 0 20px;
}
.gz-h1 .gz-line { display: block; overflow: hidden; }
.gz-h1 .gz-line-inner {
  display: block; transform: translateY(105%);
  animation: gzLineReveal 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}
.gz-h1 .gz-line:nth-child(1) .gz-line-inner { animation-delay: 0.15s; }
.gz-h1 .gz-line:nth-child(2) .gz-line-inner { animation-delay: 0.27s; }
.gz-h1 .gz-line:nth-child(3) .gz-line-inner { animation-delay: 0.39s; }
.gz-h1 .gz-outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.3); }
.gz-h1 .gz-gold { color: var(--gz-gold); }

.gz-hero-sub {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.65);
  max-width: 520px; line-height: 1.7;
  opacity: 0; animation: gzFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s forwards;
}

.gz-hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px;
  opacity: 0; animation: gzFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.65s forwards;
}
.gz-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 7px 16px; border-radius: 100px;
}
.gz-tag svg { width: 12px; height: 12px; }

/* ── Keyframes ── */
@keyframes gzFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gzLineReveal {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}

/* ── Marquee strip (after hero) ── */
.gz-marquee {
  background: var(--gz-gold); overflow: hidden;
  padding: 12px 0; display: flex;
}
.gz-marquee-track {
  display: flex; white-space: nowrap;
  animation: gzTicker 20s linear infinite;
}
.gz-marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0 24px; font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem; letter-spacing: 3px; color: #000; text-transform: uppercase;
}
.gz-marquee-item::after { content: '✦'; font-size: 0.5rem; }

/* ── Section wrappers ── */
.gz-section-dark  { background: var(--gz-ink); padding: 80px 6vw; }
.gz-section-mid   { background: #141414; padding: 80px 6vw; border-top: 1px solid var(--gz-border); }
.gz-section-light { background: var(--gz-paper); padding: 80px 6vw; }
.gz-section-white { background: #fff; padding: 80px 6vw; }

/* ── Section heading ── */
.gz-sec-eyebrow {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gz-gold);
  margin-bottom: 16px; display: block;
}
.gz-sec-eyebrow.dark { color: var(--gz-green); }
.gz-sec-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  text-transform: uppercase; line-height: 1; margin: 0 0 20px;
}
.gz-sec-h2.light  { color: #fff; }
.gz-sec-h2.dark   { color: var(--gz-ink); }
.gz-sec-h2 em { font-style: normal; color: var(--gz-gold); }
.gz-sec-h2 .gz-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.22); }
.gz-sec-p { font-size: 0.92rem; line-height: 1.75; font-weight: 300; max-width: 560px; }
.gz-sec-p.light { color: rgba(255,255,255,0.6); }
.gz-sec-p.dark  { color: rgba(0,0,0,0.55); }

/* ── Stat row ── */
.gz-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0; border: 1px solid var(--gz-border);
  border-radius: 10px; overflow: hidden; margin-top: 48px;
}
.gz-stat {
  padding: 32px 28px; border-right: 1px solid var(--gz-border);
  transition: background 0.3s;
}
.gz-stat:last-child { border-right: none; }
.gz-stat:hover { background: rgba(255,255,255,0.04); }
.gz-stat-big {
  font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem;
  color: #fff; line-height: 1; margin-bottom: 6px;
}
.gz-stat-big sup { font-size: 1.4rem; color: var(--gz-gold); vertical-align: super; }
.gz-stat-label { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── Feature grid (2 col split) ── */
.gz-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: stretch;
}
.gz-split-img {
  position: relative; overflow: hidden; min-height: 480px;
}
.gz-split-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.85);
  transition: transform 0.8s cubic-bezier(0.22,0.68,0,1.2);
}
.gz-split-img:hover img { transform: scale(1.06); }
.gz-split-body {
  padding: 60px 52px; display: flex;
  flex-direction: column; justify-content: center;
}

/* ── Bento grid ── */
.gz-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 8px;
}
.gz-bento-card {
  position: relative; overflow: hidden; border-radius: 10px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; text-decoration: none; cursor: pointer;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gz-border);
  transition: border-color 0.3s;
}
.gz-bento-card:hover { border-color: rgba(255,255,255,0.18); }
.gz-bento-card.wide  { grid-column: span 2; }
.gz-bento-card.tall  { grid-row: span 2; }
.gz-bento-bg {
  position: absolute; inset: -5%;
  background-size: cover; background-position: center;
  filter: brightness(0.45);
  transition: transform 0.7s cubic-bezier(0.22,0.68,0,1.2), filter 0.5s;
}
.gz-bento-card:hover .gz-bento-bg { transform: scale(1.07); filter: brightness(0.6); }
.gz-bento-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%); }
.gz-bento-body { position: relative; z-index: 2; }
.gz-bento-tag { font-size: 0.58rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gz-gold); margin-bottom: 8px; }
.gz-bento-h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: #fff; text-transform: uppercase; margin: 0; }
.gz-bento-p  { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.65; font-weight: 300; margin: 8px 0 0; }

/* Flat bento card (no image) */
.gz-bento-flat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gz-border);
  display: flex; flex-direction: column; justify-content: space-between;
}
.gz-bento-flat.gold { background: var(--gz-gold); border-color: var(--gz-gold); }
.gz-bento-flat.gold .gz-bento-tag { color: rgba(0,0,0,0.5); }
.gz-bento-flat.gold .gz-bento-h3 { color: #000; }
.gz-bento-flat.gold .gz-bento-p  { color: rgba(0,0,0,0.6); }
.gz-bento-num { font-family: 'Bebas Neue', sans-serif; font-size: 6rem; line-height: 1; color: rgba(255,255,255,0.06); }
.gz-bento-flat.gold .gz-bento-num { color: rgba(0,0,0,0.08); }

/* ── Steps / process ── */
.gz-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 0; }
.gz-step { padding: 36px 28px; border-right: 1px solid var(--gz-border); }
.gz-step:last-child { border-right: none; }
.gz-step-num { font-family: 'Bebas Neue', sans-serif; font-size: 0.9rem; color: rgba(255,255,255,0.2); margin-bottom: 8px; }
.gz-step-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--gz-green); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 14px; }
.gz-step-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 8px; }
.gz-step-desc { font-size: 0.76rem; color: rgba(255,255,255,0.45); line-height: 1.75; font-weight: 300; }

/* ── Comparison table ── */
.gz-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.gz-vs-col { padding: 40px 36px; }
.gz-vs-col.ours { background: var(--gz-gold); }
.gz-vs-col.theirs { background: rgba(255,255,255,0.04); border: 1px solid var(--gz-border); border-radius: 10px; }
.gz-vs-center { display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.gz-vs-badge { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: rgba(255,255,255,0.15); letter-spacing: 4px; }
.gz-vs-col-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 4px; }
.gz-vs-col.ours .gz-vs-col-title { color: #000; }
.gz-vs-col.theirs .gz-vs-col-title { color: #fff; }
.gz-vs-col-sub { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; opacity: 0.55; }
.gz-vs-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid; font-size: 0.82rem; line-height: 1.5; }
.gz-vs-col.ours .gz-vs-row { border-color: rgba(0,0,0,0.1); color: #000; }
.gz-vs-col.theirs .gz-vs-row { border-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.65); }
.gz-vs-row:last-child { border-bottom: none; }
.gz-tick { color: #0c1c11; font-weight: 900; }
.gz-cross { color: rgba(255,255,255,0.3); }

/* ── Nutrient grid ── */
.gz-nutri { display: flex; gap: 0; flex-wrap: wrap; }
.gz-nutri-cell { flex: 1; min-width: 120px; padding: 28px 24px; border-right: 1px solid var(--gz-border); text-align: center; }
.gz-nutri-cell:last-child { border-right: none; }
.gz-nutri-val { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: #fff; line-height: 1; margin-bottom: 6px; }
.gz-nutri-label { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── CTA band ── */
.gz-cta {
  background: var(--gz-gold); padding: 72px 6vw;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.gz-cta-h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem,4vw,5rem); color: #000; text-transform: uppercase; line-height: 1; }
.gz-cta-h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px rgba(0,0,0,0.3); }
.gz-cta-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ── Buttons ── */
.gz-btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: var(--gz-gold) !important;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 15px 30px; border-radius: 100px;
  text-decoration: none; transition: transform 0.3s;
}
.gz-btn-dark:hover { transform: scale(1.04); }
.gz-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid rgba(0,0,0,0.25); color: #000 !important;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 13px 26px; border-radius: 100px;
  text-decoration: none; transition: background 0.3s;
}
.gz-btn-outline:hover { background: rgba(0,0,0,0.08); }
.gz-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8) !important;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 13px 26px; border-radius: 100px;
  text-decoration: none; transition: border-color 0.3s, color 0.3s;
}
.gz-btn-ghost:hover { border-color: rgba(255,255,255,0.7); color: #fff !important; }

/* ── Scroll reveal (JS adds .gz-revealed) ── */
.gz-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.gz-reveal.gz-revealed { opacity: 1; transform: translateY(0); }

/* ── Other mushroom nav ── */
.gz-also {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 48px;
}
.gz-also-card {
  position: relative; overflow: hidden; border-radius: 10px;
  height: 220px; text-decoration: none; display: block;
}
.gz-also-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.55); transition: transform 0.6s ease, filter 0.4s; }
.gz-also-card:hover .gz-also-bg { transform: scale(1.07); filter: brightness(0.7); }
.gz-also-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%); }
.gz-also-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 22px; }
.gz-also-tag { font-size: 0.56rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gz-gold); margin-bottom: 4px; }
.gz-also-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: #fff; text-transform: uppercase; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .gz-split { grid-template-columns: 1fr; }
  .gz-bento { grid-template-columns: 1fr 1fr; }
  .gz-bento-card.wide { grid-column: 1; }
  .gz-vs { grid-template-columns: 1fr; }
  .gz-vs-center { display: none; }
  .gz-also { grid-template-columns: 1fr 1fr; }
  .gz-cta { flex-direction: column; text-align: center; }
  .gz-cta-btns { justify-content: center; }
}
@media (max-width: 768px) {
  .gz-hero { height: 85vh; }
  .gz-bento { grid-template-columns: 1fr; }
  .gz-also { grid-template-columns: 1fr; }
  .gz-steps { grid-template-columns: 1fr 1fr; }
  .gz-nutri-cell { min-width: 80px; }
}
