/* =========================================================
   MALAI – business website styles
   Brand: teal #00838F · malai gold #F5C04A · cream #FFF8E7
   Roles: customer #1565C0 · farmer #2E7D32 · dairy #E65100
   ========================================================= */
:root {
  --brand: #00838f;
  --brand-dark: #005f68;
  --brand-light: #4fb3bf;
  --gold: #f5c04a;
  --gold-dark: #d99a16;
  --cream: #fff8e7;
  --customer: #1565c0;
  --farmer: #2e7d32;
  --dairy: #e65100;
  --ink: #12302f;
  --ink-2: #4b6563;
  --line: #e3ecea;
  --bg: #ffffff;
  --bg-alt: #f6fbfa;
  --radius: 20px;
  --shadow: 0 10px 30px -12px rgba(0, 60, 66, .18), 0 2px 6px rgba(0, 60, 66, .06);
  --shadow-lg: 0 30px 60px -20px rgba(0, 60, 66, .35);
  --ease: cubic-bezier(.05, .7, .1, 1);
  --font: 'Poppins', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; flex: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }
.center { text-align: center; margin-top: 2.5rem; }
.muted { color: var(--ink-2); }
.note { color: var(--ink-2); font-size: .82rem; text-align: center; margin-top: 1rem; }
.c-dairy { color: var(--dairy); } .c-farmer { color: var(--farmer); } .c-customer { color: var(--customer); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.6em; border-radius: 999px; font-weight: 600; border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; position: relative; overflow: hidden; white-space: nowrap; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-sm { padding: .55em 1.2em; font-size: .9rem; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 131, 143, .6); }
.btn-primary:hover { box-shadow: 0 16px 30px -8px rgba(0, 131, 143, .7); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn.full { width: 100%; justify-content: center; }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.ripple-wave { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: scale(0); animation: ripple .6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 9999; background: radial-gradient(circle at 50% 40%, #fff, var(--cream)); display: grid; place-content: center; justify-items: center; gap: 1rem; transition: opacity .6s, visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-drop { position: relative; width: 110px; height: 110px; display: grid; place-items: center; }
.loader-drop img { width: 80px; animation: dropBounce 1.1s var(--ease) infinite alternate; }
.loader-ring { position: absolute; inset: 0; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--brand); border-right-color: var(--gold); animation: spin 1s linear infinite; }
.loader-text { font-weight: 800; font-size: 1.4rem; color: var(--brand-dark); }
.loader-text span { font-weight: 500; font-size: .95rem; color: var(--ink-2); display: block; text-align: center; }
@keyframes dropBounce { from { transform: translateY(-8px) scale(.96); } to { transform: translateY(6px) scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll progress + cursor glow ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001; background: linear-gradient(90deg, var(--brand), var(--gold)); }
.cursor-glow { position: fixed; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(245, 192, 74, .16), transparent 65%); transform: translate(-50%, -50%); transition: opacity .3s; opacity: 0; }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 1000; transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
.nav.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); box-shadow: 0 4px 24px -10px rgba(0, 60, 66, .25); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.45rem; color: var(--brand-dark); }
.brand img { filter: drop-shadow(0 4px 8px rgba(217, 154, 22, .35)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }
.brand.light { color: #fff; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .93rem; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.nav-dash { color: var(--brand); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 130px 0 140px; background: linear-gradient(160deg, var(--cream) 0%, #fff 45%, #e8f6f6 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); background: rgba(0, 131, 143, .08); padding: .45em 1em; border-radius: 999px; margin-bottom: 1rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--farmer); box-shadow: 0 0 0 0 rgba(46, 125, 50, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); } }
.grad-text { display: inline-block; min-height: 1.2em; background: linear-gradient(90deg, var(--brand), var(--gold-dark), var(--brand)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
.grad-text::after { content: '|'; color: var(--gold-dark); -webkit-text-fill-color: var(--gold-dark); animation: blink 1s step-end infinite; margin-left: 2px; font-weight: 400; }
@keyframes shine { to { background-position: 200% center; } }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 2.4rem; }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stats div { display: flex; align-items: center; gap: .7rem; }
.hero-stats b { font-size: 2.4rem; font-weight: 800; color: var(--brand); }
.hero-stats span { font-size: .8rem; color: var(--ink-2); line-height: 1.3; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; z-index: 0; }
.b1 { width: 420px; height: 420px; background: var(--gold); top: -120px; right: -80px; }
.b2 { width: 360px; height: 360px; background: var(--brand-light); bottom: 40px; left: -120px; animation-delay: -5s; }
.b3 { width: 260px; height: 260px; background: #ffd9b3; top: 40%; left: 45%; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } }
.drops { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.drop { position: absolute; top: -30px; width: 14px; height: 18px; background: radial-gradient(circle at 35% 35%, #fff, #fbe7b4); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: .75; animation: fall linear infinite; box-shadow: 0 2px 6px rgba(217, 154, 22, .25); }
@keyframes fall { to { transform: translateY(110vh) rotate(25deg); } }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.plate-orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(0, 131, 143, .25); }
.r1 { width: 460px; height: 460px; animation: spin 40s linear infinite; }
.r2 { width: 560px; height: 560px; border-color: rgba(245, 192, 74, .4); animation: spin 60s linear infinite reverse; }
.orbit-chip { position: absolute; background: #fff; padding: .55em 1em; border-radius: 999px; font-weight: 600; font-size: .85rem; box-shadow: var(--shadow); border-left: 4px solid var(--c); animation: bob 4s ease-in-out infinite; z-index: 3; white-space: nowrap; }
.o1 { top: 12%; left: 2%; } .o2 { top: 20%; right: 0; animation-delay: -1s; } .o3 { bottom: 18%; left: 0; animation-delay: -2s; } .o4 { bottom: 10%; right: 6%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.phone { position: relative; width: 290px; height: 590px; border-radius: 44px; background: #0f2a2a; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c4b4b; z-index: 2; transform-style: preserve-3d; animation: phoneIn 1.2s var(--ease) both .6s; }
@keyframes phoneIn { from { transform: translateY(80px) rotate(8deg); opacity: 0; } }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 20px; background: #0f2a2a; z-index: 3; }
.phone-screen { height: 100%; border-radius: 34px; background: #fff8f2; overflow: hidden; padding: 44px 14px 12px; display: flex; flex-direction: column; gap: 10px; font-size: .8rem; }
.ps-head { display: flex; justify-content: space-between; align-items: center; }
.ps-head small { display: block; color: var(--ink-2); font-size: .7rem; }
.ps-head b { font-size: .95rem; }
.ps-hero { background: linear-gradient(135deg, var(--dairy), #ff8f3a); color: #fff; border-radius: 18px; padding: 14px; position: relative; overflow: hidden; box-shadow: 0 10px 20px -8px rgba(230, 81, 0, .6); }
.ps-hero small { opacity: .85; font-size: .72rem; }
.ps-hero b { display: block; font-size: 1.7rem; font-weight: 800; }
.ps-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; opacity: .35; }
.ps-wave svg { width: 200%; height: 100%; animation: waveSlide 3s linear infinite; }
.ps-wave path { fill: #fff; }
@keyframes waveSlide { to { transform: translateX(-50%); } }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-card { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.ps-card small { color: var(--ink-2); font-size: .68rem; display: block; }
.ps-card b { font-size: 1rem; }
.ps-list { display: flex; flex-direction: column; gap: 6px; }
.ps-item { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); animation: slideIn .6s var(--ease) both; }
.ps-item:nth-child(1) { animation-delay: 1.4s; } .ps-item:nth-child(2) { animation-delay: 1.6s; } .ps-item:nth-child(3) { animation-delay: 1.8s; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.ps-item div { flex: 1; line-height: 1.2; }
.ps-item b { font-size: .78rem; display: block; }
.ps-item small { font-size: .66rem; color: var(--ink-2); }
.ps-item em { font-style: normal; font-weight: 700; font-size: .72rem; }
.av { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .75rem; flex: none; }
.up { color: var(--farmer); } .down { color: #c62828; } .paid { color: var(--customer); }
.ps-tabs { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 -2px 10px rgba(0, 0, 0, .05); }
.ps-tabs span { padding: 4px 10px; border-radius: 10px; }
.ps-tabs .on { background: rgba(230, 81, 0, .14); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 120px; z-index: 2; }
.hero-wave svg { width: 100%; height: 100%; }
.wave-a { fill: rgba(255, 255, 255, .6); animation: waveMove 8s ease-in-out infinite alternate; }
.wave-b { fill: #fff; animation: waveMove 6s ease-in-out infinite alternate-reverse; }
@keyframes waveMove { to { transform: translateX(-40px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand-dark); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 10px -2%; width: 104%; box-shadow: var(--shadow); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 35s linear infinite; font-weight: 600; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }
.section-head.light, .section-head.light p { color: #fff; }
.section-head.light .eyebrow { background: rgba(255, 255, 255, .15); color: var(--gold); }
.section-head.light a { color: var(--gold); font-weight: 600; }
.sub-head { text-align: center; margin: 4rem 0 2rem; font-size: 1.5rem; }
.sub-head small { font-size: .8rem; color: var(--ink-2); font-weight: 500; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }

/* problem / solution */
.ps-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
.problem { border-top: 5px solid #e57373; }
.solution { border-top: 5px solid var(--farmer); }
.vs span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; font-weight: 800; box-shadow: 0 0 0 8px rgba(245, 192, 74, .2); animation: pulseGold 2s infinite; }
@keyframes pulseGold { 50% { box-shadow: 0 0 0 16px rgba(245, 192, 74, 0); } }
.x-list, .check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.x-list li, .check-list li { position: relative; padding-left: 1.9rem; }
.x-list li::before { content: '✕'; position: absolute; left: 0; top: 1px; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #ffebee; color: #c62828; font-size: .7rem; display: grid; place-items: center; font-weight: 700; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #e8f5e9; color: var(--farmer); font-size: .75rem; display: grid; place-items: center; font-weight: 800; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fcard { background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; transform-style: preserve-3d; transition: box-shadow .4s, transform .15s; }
.fcard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 14%, transparent), transparent 45%); opacity: 0; transition: opacity .4s; }
.fcard:hover::before { opacity: 1; }
.fcard:hover { box-shadow: var(--shadow-lg); }
.fcard::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.fcard:hover::after { transform: scaleX(1); }
.ficon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 1.2rem; transition: transform .5s var(--ease); position: relative; }
.ficon svg { width: 28px; height: 28px; }
.fcard:hover .ficon { transform: rotate(-8deg) scale(1.12); }
.fcard p { color: var(--ink-2); font-size: .94rem; margin: 0; position: relative; }
.fcard h3 { position: relative; }

/* plate */
.plate-section { background: radial-gradient(circle at 70% 50%, var(--cream), #fff 60%); overflow: hidden; }
.plate-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.plate-detail { margin-top: 1.5rem; border-left: 5px solid var(--gold); min-height: 140px; }
.plate-detail.flash { animation: flash .5s var(--ease); }
@keyframes flash { from { transform: translateX(-12px); opacity: .3; } }
.plate { position: relative; width: min(480px, 90vw); aspect-ratio: 1; margin-inline: auto; }
.plate-rim { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #fff 52%, #eef3f3 53%, #fff 60%, #dfe7e6 72%, #f7fafa 74%, #e2eaea 100%); box-shadow: 0 30px 60px -20px rgba(0, 60, 66, .35), inset 0 -10px 30px rgba(0, 60, 66, .1); animation: spin 80s linear infinite; }
.plate-center { position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, var(--cream)); display: grid; place-items: center; box-shadow: inset 0 4px 14px rgba(217, 154, 22, .25); }
.plate-center img { width: 62%; animation: dropBounce 2s ease-in-out infinite alternate; }
.katori { position: absolute; width: 23%; aspect-ratio: 1; border-radius: 50%; border: 0; background: radial-gradient(circle at 35% 30%, #fff, #f3e3c3 70%, #d9b97a); box-shadow: 0 10px 20px -6px rgba(120, 80, 0, .35), inset 0 -6px 10px rgba(120, 80, 0, .15); display: grid; place-content: center; font-size: 1.8rem; transition: transform .4s var(--ease), box-shadow .4s; --a: 0deg; transform: rotate(var(--a)) translate(0, -148%) rotate(calc(-1 * var(--a))); left: 38.5%; top: 38.5%; }
.katori span { font-size: .62rem; font-weight: 700; color: var(--ink); }
.katori:hover, .katori.on { transform: rotate(var(--a)) translate(0, -148%) rotate(calc(-1 * var(--a))) scale(1.18); box-shadow: 0 0 0 4px var(--gold), 0 16px 30px -8px rgba(120, 80, 0, .45); z-index: 2; }
.k1 { --a: 0deg; } .k2 { --a: 60deg; } .k3 { --a: 120deg; } .k4 { --a: 180deg; } .k5 { --a: 240deg; } .k6 { --a: 300deg; }

/* roles */
.role-tabs { display: flex; justify-content: center; gap: .8rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.role-tab { border: 2px solid var(--line); background: #fff; padding: .8em 1.5em; border-radius: 999px; font-weight: 600; transition: all .3s var(--ease); }
.role-tab:hover { border-color: var(--c); color: var(--c); }
.role-tab.active { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 10px 24px -8px var(--c); transform: translateY(-2px); }
.role-panels { position: relative; }
.role-panel { display: none; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; background: #fff; border-radius: 28px; padding: 2.5rem; box-shadow: var(--shadow); border-top: 6px solid var(--c); }
.role-panel.active { display: grid; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.role-panel h3 { font-size: 1.6rem; color: var(--c); }
.role-plate { width: 260px; aspect-ratio: 1; border-radius: 50%; margin-inline: auto; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #fff 45%, color-mix(in srgb, var(--c) 10%, #fff) 46%, #fff 62%, color-mix(in srgb, var(--c) 18%, #fff) 100%); box-shadow: 0 20px 40px -14px var(--c), inset 0 -8px 20px rgba(0, 0, 0, .06); animation: plateFloat 5s ease-in-out infinite; }
.role-plate span { font-size: 4.5rem; line-height: 1; }
.role-plate b { color: var(--c); font-size: 1.3rem; margin-top: .4rem; }
@keyframes plateFloat { 50% { transform: translateY(-12px) rotate(3deg); } }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; position: relative; padding-top: 10px; }
.tl-line { position: absolute; top: 38px; left: 10%; right: 10%; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.tl-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--gold)); transition: width .2s linear; }
.tl-step { text-align: center; position: relative; }
.tl-num { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; background: #fff; color: var(--brand); border: 3px solid var(--brand); box-shadow: 0 0 0 8px #fff; transition: transform .4s var(--ease), background .4s, color .4s; position: relative; }
.tl-step:hover .tl-num { background: var(--brand); color: #fff; transform: scale(1.15) rotate(360deg); }
.tl-step p { color: var(--ink-2); font-size: .9rem; }

/* calculator */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.calc { display: grid; gap: 1.3rem; margin-top: 1.5rem; }
.calc label { font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; }
.calc label input { flex-basis: 100%; margin-top: .4rem; }
.calc output { color: var(--brand); font-weight: 800; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--brand) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); cursor: grab; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: grab; }
.glass { background: linear-gradient(145deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 28px; padding: 2.5rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.glass::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(245, 192, 74, .25); top: -120px; right: -100px; animation: float 10s ease-in-out infinite; }
.glass small { opacity: .8; display: block; }
.glass .big { font-size: 2.8rem; font-weight: 800; display: block; position: relative; transition: transform .2s; }
.glass .big.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }
.glass .money { color: var(--gold); }
.glass hr { border: 0; border-top: 1px dashed rgba(255, 255, 255, .3); margin: 1.5rem 0; }
.chip { display: inline-block; padding: .3em .9em; border-radius: 999px; font-weight: 700; font-size: .85rem; background: rgba(255, 255, 255, .95); }
.chip.up { color: var(--farmer); } .chip.down { color: #c62828; }
.bar { height: 10px; background: rgba(255, 255, 255, .2); border-radius: 10px; margin-top: 1rem; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold); border-radius: 10px; transition: width .5s var(--ease); }
.formula { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; opacity: .85; margin: .5rem 0 0; position: relative; }

/* dairy data (govt statistics) */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.5rem; }
.stat { display: grid; gap: .35rem; border-top: 4px solid var(--gold); padding: 1.4rem; }
.stat small { color: var(--ink-2); font-weight: 600; font-size: .82rem; }
.stat b { font-size: 2.1rem; font-weight: 800; color: var(--brand-dark); line-height: 1.1; }
.stat b em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.stat-note { font-size: .76rem; color: var(--ink-2); }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.data-card { padding: 1.5rem; display: flex; flex-direction: column; }
.data-card header h3 { margin-bottom: .1rem; }
.data-card header p { color: var(--ink-2); font-size: .82rem; margin: 0 0 .8rem; }
.dchart { min-height: 120px; flex: 1; }
.dchart svg { width: 100%; height: auto; display: block; overflow: visible; }
.dchart text { fill: #555; font-size: 11.5px; font-family: var(--font); }
.dchart text.val { fill: var(--ink); font-weight: 600; }
.dchart text.strong { fill: var(--ink); font-weight: 700; }
.dchart .axis { stroke: #c9d3d2; }
.dchart .ref { stroke: #c62828; stroke-width: 1.5; stroke-dasharray: 4 3; }
.dchart .ref-label { fill: #c62828; font-weight: 700; font-size: 11px; }
.dchart .bar { transition: opacity .2s, filter .2s; transform-box: fill-box; }
.dchart svg:hover .bar:not(.hl) { opacity: .55; }
.dchart .grow-x { transform-origin: left center; animation: growX 1s var(--ease) both; }
.dchart .grow-y { transform-origin: center bottom; animation: growY 1s var(--ease) both; }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes growY { from { transform: scaleY(0); } }
.src { font-size: .76rem; color: var(--ink-2); margin: .8rem 0 0; padding-top: .7rem; border-top: 1px dashed var(--line); }
.legend-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .8rem; color: var(--ink-2); margin-bottom: .6rem; }
.legend-row span { display: inline-flex; align-items: center; gap: .35rem; }
.legend-row b { color: var(--ink); }
.legend-row i { width: 12px; height: 12px; border-radius: 3px; }
.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.trade p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.sources { margin-top: 1.5rem; background: var(--bg-alt); border-radius: 16px; padding: 1rem 1.3rem; border: 1px solid var(--line); }
.sources summary { cursor: pointer; font-weight: 600; }
.sources ul { margin: .8rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; font-size: .86rem; }
.dd-tip { position: fixed; z-index: 1200; pointer-events: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .75rem; font-size: .8rem; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .12s; min-width: 160px; }
.dd-tip.show { opacity: 1; }
.dd-tip b { display: block; margin-bottom: .2rem; }
.dd-tip .tr { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); }
.dd-tip .tr em { font-style: normal; font-weight: 600; color: var(--ink); }
.price-sub { color: var(--farmer); font-weight: 600; font-size: .88rem; margin: .2rem 0 0; }
.amount b.custom { font-size: 2.2rem; }

/* metrics band */
.metrics-band { background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, #26a3ad); color: #fff; overflow: hidden; }
.metrics-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.5px, transparent 1.5px); background-size: 26px 26px; animation: dots 20s linear infinite; }
@keyframes dots { to { background-position: 260px 260px; } }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.metric { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; backdrop-filter: blur(6px); transition: transform .4s var(--ease), background .4s; }
.metric:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .18); }
.metric b { display: block; font-size: 2.6rem; font-weight: 800; color: var(--gold); }
.metric > span { font-size: .9rem; opacity: .9; }

/* pricing */
.billing-toggle { display: inline-flex; align-items: center; gap: .8rem; font-weight: 600; margin-top: .5rem; }
.billing-toggle em { font-style: normal; color: var(--farmer); background: #e8f5e9; padding: .1em .6em; border-radius: 999px; font-size: .78rem; }
.switch { width: 54px; height: 30px; border-radius: 999px; border: 0; background: var(--line); position: relative; transition: background .3s; }
.switch span { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.switch[aria-pressed="true"] { background: var(--brand); }
.switch[aria-pressed="true"] span { transform: translateX(24px); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.price .check-list { margin: 1.2rem 0 1.8rem; flex: 1; }
.price .btn { justify-content: center; }
.amount { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.amount b { font-size: 3rem; font-weight: 800; display: inline-block; }
.amount b.flip { animation: flipIn .45s var(--ease); }
@keyframes flipIn { from { transform: rotateX(90deg); opacity: 0; } }
.amount span { font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.price.featured { border: 2px solid var(--brand); transform: scale(1.04); background: linear-gradient(180deg, #f0fbfb, #fff 40%); }
.price.featured:hover { transform: scale(1.04) translateY(-6px); }
.ribbon { position: absolute; top: 18px; right: -38px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .75rem; padding: .35em 3em; transform: rotate(45deg); }

/* testimonials */
.carousel { overflow: hidden; position: relative; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform .7s var(--ease); }
.quote { flex: 0 0 calc((100% - 3rem) / 3); margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 1.5rem; font-size: 1.02rem; position: relative; padding-top: 1.6rem; }
.quote blockquote::before { content: '“'; position: absolute; top: -1.4rem; left: -.2rem; font-size: 4.5rem; color: var(--gold); font-family: Georgia, serif; line-height: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote .av { width: 44px; height: 44px; font-size: .85rem; }
.quote small { display: block; color: var(--ink-2); }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: var(--line); transition: width .3s, background .3s; padding: 0; }
.carousel-dots button.on { width: 30px; background: var(--brand); }

/* about */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.about-card { text-align: center; }
.big-emoji { font-size: 2.8rem; display: inline-block; transition: transform .5s var(--ease); }
.about-card:hover .big-emoji { transform: scale(1.25) rotate(-10deg); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team { text-align: center; display: grid; justify-items: center; gap: .2rem; }
.team small { color: var(--ink-2); }
.team-av { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); margin-bottom: .8rem; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, #fff); transition: transform .5s var(--ease); }
.team:hover .team-av { transform: rotateY(360deg); }
.team-social a { color: var(--ink-2); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background .3s, color .3s; }
.team-social a:hover { background: #0a66c2; color: #fff; }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.biz p { color: var(--ink-2); font-size: .94rem; }
.biz dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; font-size: .9rem; }
.biz dt { color: var(--ink-2); }
.biz dd { margin: 0; font-weight: 600; word-break: break-all; }
.link { font-weight: 600; display: inline-block; transition: transform .3s; }
.link:hover { transform: translateX(6px); }

/* FAQ */
.faq { display: grid; gap: 1rem; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-lg); border-color: var(--brand-light); }
.faq summary { padding: 1.2rem 1.5rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--brand); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.3rem; color: var(--ink-2); margin: 0; animation: panelIn .4s var(--ease); }

/* download */
.download { background: linear-gradient(135deg, var(--cream), #fff 50%, #fdf1d3); }
.dl-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.store-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.store { display: inline-flex; align-items: center; gap: .8rem; background: #111; color: #fff; padding: .75em 1.4em; border-radius: 14px; transition: transform .3s var(--ease), box-shadow .3s; position: relative; overflow: hidden; }
.store:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.store svg { width: 28px; height: 28px; }
.store span { font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.store small { display: block; font-size: .65rem; font-weight: 500; opacity: .8; }
.download .note { text-align: left; }
.qr { text-align: center; }
.qr-box { width: 220px; height: 220px; margin: 0 auto 1rem; background: #fff; border-radius: 24px; padding: 16px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(21, 1fr); gap: 1px; position: relative; animation: plateFloat 6s ease-in-out infinite; }
.qr-box i { background: var(--ink); border-radius: 1px; }
.qr-box i.o { background: transparent; }
.qr-box img { position: absolute; width: 54px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 12px; padding: 4px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.contact-list a { display: flex; align-items: center; gap: 1rem; color: var(--ink); padding: .6rem; border-radius: 14px; transition: background .3s, transform .3s var(--ease); }
.contact-list a:hover { background: var(--bg-alt); transform: translateX(6px); }
.contact-list small { display: block; color: var(--ink-2); }
.ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); flex: none; }
.ci svg { width: 22px; height: 22px; }
.socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: inherit; background: rgba(255, 255, 255, .1); transition: transform .3s var(--ease), background .3s, color .3s; }
.socials a:hover { transform: translateY(-4px) rotate(8deg); background: var(--gold); color: var(--ink); }
.socials.big a { width: 50px; height: 50px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.socials.big a:hover { background: var(--c); color: #fff; }
.socials.big svg { width: 22px; height: 22px; }
.form { display: grid; gap: 1rem; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 1.3rem 1rem .5rem; border: 2px solid var(--line); border-radius: 14px; font: inherit; background: #fff; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 131, 143, .12); }
.field label { position: absolute; left: 1rem; top: 1rem; color: var(--ink-2); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.fixed { top: .35rem; font-size: .72rem; color: var(--brand); font-weight: 600; }
.field.err input { border-color: #e53935; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--farmer); } .form-msg.bad { color: #c62828; }
.form .note { text-align: left; margin: 0; }

/* footer */
.footer { background: #0b2b2c; color: #c9dcdb; position: relative; padding: 90px 0 0; margin-top: 40px; }
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; height: 80px; }
.footer-wave svg { width: 100%; height: 100%; }
.footer-wave path { fill: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.footer h4 { color: #fff; margin-bottom: 1rem; }
.footer-grid > div > a:not(.brand) { display: block; color: #c9dcdb; padding: .25rem 0; font-size: .92rem; transition: color .3s, transform .3s; }
.footer-grid > div > a:not(.brand):hover { color: var(--gold); transform: translateX(4px); }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input { flex: 1; min-width: 0; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 2rem 0; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* floating */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: .5rem; background: #25d366; color: #fff; border-radius: 999px; padding: 14px; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .7); animation: waPulse 2.5s infinite; transition: padding .3s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; transition: max-width .4s var(--ease); }
.wa-float:hover span { max-width: 140px; }
.wa-float:hover { padding-right: 20px; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: all .3s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie { position: fixed; left: 22px; bottom: 22px; z-index: 950; max-width: 380px; background: #fff; border-radius: 18px; padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); display: flex; gap: 1rem; align-items: center; animation: panelIn .6s var(--ease); }
.cookie p { margin: 0; font-size: .85rem; flex: 1; }
.cookie .btn { flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; background: #fff; padding: 100px 2rem 2rem; gap: 1.2rem; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .45s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.1rem; }
  .burger { display: block; z-index: 2; }
  .hero-grid, .plate-wrap, .calc-wrap, .contact-grid, .dl-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .feature-grid, .price-grid, .about-grid, .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .metric-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .data-grid, .trade-grid { grid-template-columns: 1fr; }
  .quote { flex-basis: calc((100% - 1.5rem) / 2); }
  .timeline { grid-template-columns: 1fr; gap: 1.5rem; }
  .tl-line { left: 28px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .tl-fill { width: 100% !important; height: var(--h, 0); }
  .tl-step { display: grid; grid-template-columns: 58px 1fr; column-gap: 1.2rem; text-align: left; }
  .tl-num { grid-row: span 2; margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price.featured { transform: none; }
}
@media (max-width: 680px) {
  .section { padding: 70px 0; }
  .feature-grid, .price-grid, .about-grid, .biz-grid, .team-grid, .metric-grid, .stat-grid, .row2 { grid-template-columns: 1fr; }
  .ps-grid { grid-template-columns: 1fr; }
  .vs { justify-self: center; }
  .role-panel { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; }
  .role-plate { width: 190px; }
  .quote { flex-basis: 100%; }
  .nav-cta .btn { display: none; }
  .r2, .o2, .o4 { display: none; }
  .r1 { width: 360px; height: 360px; }
  .hero-visual { min-height: 480px; transform: scale(.88); }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie { right: 22px; max-width: none; bottom: 96px; }
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
