/* ===================================================================
   Orgramic — landing page styles
   Earth-tone palette · mobile-first · scrollytelling
   =================================================================== */

:root {
  --soil:      #3a2a1d;   /* deep soil brown */
  --soil-2:    #5b4636;
  --leaf:      #2f7d4f;   /* leaf green */
  --leaf-dark: #1f5a37;
  --gold:      #e0a526;   /* harvest gold */
  --cream:     #faf6ee;   /* off-white */
  --cream-2:   #f1e9da;
  --ink:       #2a2118;
  --muted:     #6f6354;
  --line:      rgba(58, 42, 29, 0.12);
  --shadow:    0 18px 50px -20px rgba(58, 42, 29, 0.45);
  --radius:    18px;
  --max:       1080px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* Telugu typography swap */
html[lang="te"],
html[lang="te"] body { --font-head: "Noto Sans Telugu", sans-serif; --font-body: "Noto Sans Telugu", sans-serif; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ---------- SCROLL PROGRESS ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%; z-index: 60;
  background: linear-gradient(90deg, var(--leaf), var(--gold));
  transition: width .1s linear;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--soil); }
.brand-mark { display: block; width: 34px; height: 34px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.nav-right { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); }
.nav-link { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-link:hover { color: var(--ink); }
.nav-cta {
  text-decoration: none; background: var(--leaf); color: #fff;
  padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--leaf-dark); transform: translateY(-1px); }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px; background: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
  cursor: pointer; font-family: var(--font-body); font-size: .85rem; color: var(--muted);
}
.lang-toggle span.active { color: var(--leaf); font-weight: 700; }
.lang-sep { opacity: .4; }
@media (max-width: 560px) { .nav-link { display: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn-primary { background: var(--leaf); color: #fff; box-shadow: 0 12px 28px -12px rgba(47,125,79,.7); }
.btn-primary:hover { background: var(--leaf-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn.full { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px clamp(20px, 5vw, 40px) 80px; color: var(--cream); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(224,165,38,.28), transparent 60%),
    linear-gradient(160deg, #214a31 0%, #2f5d3c 38%, #3a2a1d 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .6;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; font-weight: 600;
  color: var(--gold); margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-head); font-weight: 700; line-height: 1.05;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem); letter-spacing: -.02em; margin-bottom: 22px;
}
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(250,246,238,.86); max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: .9rem; color: rgba(250,246,238,.6); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(250,246,238,.55);
}
.scroll-arrow { animation: bob 1.8s ease-in-out infinite; font-size: 1rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- STORY SECTIONS ---------- */
.story { padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 40px); }
.story-inner { max-width: var(--max); margin: 0 auto; }
.story-dark { background: var(--soil); color: var(--cream); }
.story-gap { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.story-light { background: var(--cream-2); }

.story-kicker { font-family: var(--font-head); font-size: clamp(1.3rem,3vw,1.9rem); color: var(--gold); font-style: italic; margin-bottom: 10px; }
.story-kicker.center { text-align: center; }
.story-lead { font-size: clamp(1.2rem,2.6vw,1.6rem); color: rgba(250,246,238,.85); margin-bottom: 34px; }
.story-big { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem,5vw,3.2rem); line-height: 1.18; letter-spacing: -.01em; margin-bottom: 26px; }
.story-big em { color: var(--gold); font-style: normal; }
.story-why { font-size: clamp(1.05rem,2.2vw,1.25rem); color: rgba(250,246,238,.78); max-width: 640px; }

.section-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem,4.4vw,2.8rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 48px; max-width: 780px; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }

/* problem question grid */
.q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 50px; }
.q-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: 0 10px 30px -22px rgba(58,42,29,.5);
}
.q-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.q-card p { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--soil); }
.story-truth { font-family: var(--font-head); font-style: italic; font-size: clamp(1.4rem,3.4vw,2rem); color: var(--leaf-dark); max-width: 720px; }

/* gap */
.gap-question { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem,4.4vw,2.6rem); line-height: 1.2; color: var(--soil); margin-bottom: 22px; max-width: 820px; }
.gap-answer { font-size: clamp(1.15rem,2.6vw,1.5rem); color: var(--leaf-dark); font-weight: 600; margin-bottom: 44px; }
.gap-points { display: grid; gap: 14px; max-width: 680px; }
.gap-points p { position: relative; padding-left: 30px; font-size: 1.08rem; color: var(--muted); }
.gap-points p::before { content: "•"; position: absolute; left: 8px; color: var(--gold); font-size: 1.4rem; line-height: 1.1; }

/* solution */
.brand-big { font-family: var(--font-head); font-weight: 700; text-align: center; font-size: clamp(3rem,10vw,6rem); color: var(--leaf-dark); letter-spacing: -.03em; line-height: 1; margin: 4px 0 14px; }
.sol-sub { text-align: center; font-size: clamp(1.1rem,2.4vw,1.35rem); color: var(--muted); max-width: 600px; margin: 0 auto 56px; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.benefit {
  background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: left;
  border: 1px solid var(--line); box-shadow: 0 12px 34px -24px rgba(58,42,29,.5);
  transition: transform .25s, box-shadow .25s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.b-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.benefit h3 { font-family: var(--font-head); font-size: 1.25rem; color: var(--soil); margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .98rem; }

/* ---------- HOW IT WORKS (3 steps) ---------- */
.how { padding: clamp(80px,12vh,140px) clamp(20px,5vw,40px); background: var(--cream); }
.how-inner { max-width: var(--max); margin: 0 auto; }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; margin-top: 12px; }
.step {
  position: relative; text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 44px 26px 30px; box-shadow: 0 14px 40px -28px rgba(58,42,29,.55);
}
.step-num {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--leaf); color: #fff; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 8px 18px -8px rgba(47,125,79,.8); border: 3px solid var(--cream);
}
.step-icon { font-size: 2.6rem; display: block; margin: 6px 0 14px; }
.step h3 { font-family: var(--font-head); font-size: 1.35rem; color: var(--soil); margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; }
.step-line { align-self: center; width: 100%; min-width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .6; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 38px; }
  .step-line { display: none; }
}

/* ---------- JOIN ---------- */
.join { padding: clamp(80px,12vh,140px) clamp(20px,5vw,40px); background: var(--cream); }
.join-inner { max-width: var(--max); margin: 0 auto; }
.join-sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 56px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }
.door {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 38px clamp(24px,4vw,38px); box-shadow: var(--shadow);
}
.door-feature { border: 2px solid var(--leaf); }
.door-badge {
  position: absolute; top: -13px; left: 32px; background: var(--gold); color: var(--soil);
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 14px; border-radius: 999px;
}
.door-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.door h3 { font-family: var(--font-head); font-size: clamp(1.5rem,3vw,1.9rem); color: var(--soil); margin-bottom: 8px; }
.door > p { color: var(--muted); margin-bottom: 26px; }

/* forms */
.form { display: grid; gap: 16px; }
/* Honeypot anti-spam field — visually & physically removed for real users,
   still present in the DOM so bots fill it and get rejected server-side. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--soil-2); }
.form input[type="text"], .form input[type="tel"] {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(47,125,79,.15); background: #fff; }
.check-row { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--leaf); }
.form .btn { margin-top: 6px; }
.form-status { font-size: .9rem; min-height: 1.2em; font-weight: 600; }
.form-status.ok { color: var(--leaf-dark); }
.form-status.err { color: #c0432b; }
.form.sent { opacity: .65; pointer-events: none; }

/* ---------- WHATSAPP ---------- */
.btn-wa { background: #25D366; color: #fff; gap: 9px; box-shadow: 0 12px 28px -14px rgba(37,211,102,.8); }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .85rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 13px 18px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.7);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 40px -10px rgba(37,211,102,.8); }
.wa-float svg { flex-shrink: 0; }
@media (max-width: 560px) {
  .wa-float { padding: 14px; right: 14px; bottom: 14px; }
  .wa-float-text { display: none; }
}

/* ---------- VISION ---------- */
.vision {
  padding: clamp(90px,14vh,160px) clamp(20px,5vw,40px); text-align: center; color: var(--cream);
  background: radial-gradient(110% 100% at 50% 0%, rgba(224,165,38,.22), transparent 55%), linear-gradient(160deg, var(--leaf-dark), var(--soil));
}
.vision-inner { max-width: 760px; margin: 0 auto; }
.vision-kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .82rem; font-weight: 600; color: var(--gold); margin-bottom: 22px; }
.vision-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem,5.4vw,3.4rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 26px; }
.vision-sub { font-size: clamp(1.05rem,2.3vw,1.25rem); color: rgba(250,246,238,.82); margin-bottom: 34px; }
.vision-tag { font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem,2.8vw,1.6rem); color: var(--gold); }

/* ---------- FOOTER ---------- */
.footer { background: var(--soil); color: rgba(250,246,238,.8); padding: 56px clamp(20px,5vw,40px) 30px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { font-size: .92rem; color: rgba(250,246,238,.55); margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(250,246,238,.78); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { max-width: var(--max); margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(250,246,238,.12); font-size: .85rem; color: rgba(250,246,238,.5); text-align: center; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.q-grid .reveal:nth-child(2) { transition-delay: .08s; }
.q-grid .reveal:nth-child(3) { transition-delay: .16s; }
.q-grid .reveal:nth-child(4) { transition-delay: .24s; }
.benefit-grid .reveal:nth-child(2) { transition-delay: .06s; }
.benefit-grid .reveal:nth-child(3) { transition-delay: .12s; }
.benefit-grid .reveal:nth-child(4) { transition-delay: .18s; }
.benefit-grid .reveal:nth-child(5) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-arrow { animation: none; }
}
