/* =========================================================
   Palkkaran — fresh milk, delivered daily
   Theme: violet + milk white
   ========================================================= */
:root {
  --violet: #6c5cf5;
  --violet-600: #5a48e8;
  --violet-700: #4430c9;
  --ink: #1e1652;
  --ink-soft: #4d4675;
  --muted: #7b75a0;
  --milk: #fffdf8;
  --cream: #fbf8f1;
  --lav: #efecff;
  --lav-2: #e2ddff;
  --sky: #8fc2ff;
  --line: rgba(30, 22, 82, .1);
  --white: #fff;
  --wa: #25d366;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -20px rgba(68, 48, 201, .35);
  --shadow-sm: 0 8px 24px -12px rgba(30, 22, 82, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Fredoka", "Noto Sans Malayalam", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--milk);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
.ml { font-family: "Noto Sans Malayalam", var(--font-body); }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head p { font-size: 1.08rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-600);
  background: var(--lav);
  padding: 7px 14px; border-radius: 99px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(108, 92, 245, .2); }
.h-xl { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h-md { font-size: clamp(1.25rem, 2vw, 1.45rem); }
.text-violet { color: var(--violet); }
.grad {
  background: linear-gradient(100deg, var(--violet) 0%, #9a7bff 45%, var(--sky) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--violet);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 99px; border: 0;
  font-weight: 700; font-size: .98rem; color: #fff; background: var(--bg);
  box-shadow: 0 12px 28px -12px rgba(108, 92, 245, .8);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(108, 92, 245, .9); }
.btn:hover::after { transform: translateX(100%); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--violet); color: var(--violet-600); }
.btn-white { --bg: #fff; color: var(--violet-700); box-shadow: 0 12px 28px -12px rgba(0,0,0,.35); }
.btn-wa { --bg: var(--wa); box-shadow: 0 12px 28px -12px rgba(37, 211, 102, .8); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; border-radius: 16px;
  background: var(--ink); color: #fff; min-width: 180px;
  transition: transform .4s var(--ease), background .3s;
  position: relative;
}
.store:hover { transform: translateY(-3px); background: #000; }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: .68rem; opacity: .75; line-height: 1.1; letter-spacing: .02em; }
.store strong { display: block; font-size: 1.08rem; line-height: 1.2; font-weight: 700; }
.store.is-soon { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); cursor: default; }
.store.is-soon:hover { transform: none; background: #fff; }
.store .soon-tag {
  position: absolute; top: -9px; right: 10px; font-size: .62rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; background: var(--violet); color: #fff; padding: 3px 8px; border-radius: 99px;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease);
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 253, 248, .78);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(30, 22, 82, .3);
}
.header.hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--violet), #9b86ff);
  box-shadow: 0 8px 18px -8px rgba(108, 92, 245, .9);
  transition: transform .6s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.logo-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links a {
  display: block; padding: 9px 18px; border-radius: 99px; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--violet-600); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 12px 20px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 100px 32px 40px;
  clip-path: circle(0% at calc(100% - 43px) 41px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 43px) 41px); visibility: visible; }
.mobile-menu a.m-link { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; padding: 8px 0; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.menu-open .mobile-menu a.m-link:nth-child(2) { transition-delay: .08s; }
.menu-open .mobile-menu a.m-link:nth-child(3) { transition-delay: .16s; }
.mobile-menu .m-foot { margin-top: 40px; display: grid; gap: 12px; }
.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .logo { color: #fff; }
.menu-open .burger { background: var(--violet); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: 140px 0 160px; display: flex; align-items: center;
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(143, 194, 255, .35), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(108, 92, 245, .18), transparent 60%),
    linear-gradient(180deg, #f4f1ff 0%, var(--milk) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-lead { font-size: 1.18rem; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 34px; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: .35s; } .d2 { animation-delay: .5s; } .d3 { animation-delay: .65s; } .d4 { animation-delay: .8s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.live-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 99px; padding: 8px 18px 8px 8px; margin-bottom: 26px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-size: .9rem; font-weight: 600; color: var(--ink);
}
.live-pill .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lav); position: relative; }
.live-pill .dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.live-pill .dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--violet); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.live-pill .muted { color: var(--muted); font-weight: 500; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: center; perspective: 1000px; }
.hero-blob {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: linear-gradient(145deg, var(--violet) 0%, #a493ff 60%, var(--sky) 100%);
  animation: morph 14s ease-in-out infinite; opacity: .95;
  box-shadow: 0 40px 80px -30px rgba(68, 48, 201, .6);
}
.hero-blob::after { content: ""; position: absolute; inset: 9%; border-radius: inherit; border: 2px dashed rgba(255,255,255,.35); animation: spin 40s linear infinite; }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg); }
  33% { border-radius: 63% 37% 41% 59% / 55% 62% 38% 45%; }
  66% { border-radius: 38% 62% 52% 48% / 64% 35% 65% 36%; transform: rotate(8deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-phones { position: relative; width: 78%; z-index: 2; filter: drop-shadow(0 30px 40px rgba(30, 22, 82, .35)); transition: transform .3s ease-out; will-change: transform; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.float-card {
  position: absolute; z-index: 3; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-radius: 18px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3; color: var(--ink); font-weight: 600;
  animation: float 5s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--lav); color: var(--violet); flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.fc-1 { top: 12%; left: -4%; animation-delay: -1s; }
.fc-2 { bottom: 16%; right: -2%; animation-delay: -2.5s; }
.fc-3 { bottom: 4%; left: 8%; animation-delay: -3.5s; }

.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bubble { position: absolute; bottom: -60px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.4) 60%, rgba(143,194,255,.2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); animation: bubble linear infinite; opacity: .8; }
@keyframes bubble { to { transform: translateY(-115vh) translateX(var(--drift, 30px)); opacity: 0; } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; z-index: 4; pointer-events: none; }
.wave svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.wave .w1 { animation: waveX 14s linear infinite; fill: rgba(255, 253, 248, .55); }
.wave .w2 { animation: waveX 9s linear infinite reverse; fill: var(--milk); }
@keyframes waveX { to { transform: translateX(-50%); } }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 16px 0; margin-top: -26px; position: relative; z-index: 5; }
.marquee { background: var(--ink); color: #fff; padding: 20px 0; overflow: hidden; position: relative; transform: rotate(-1.4deg); margin: 0 -20px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; white-space: nowrap; }
.marquee-item::after { content: ""; width: 14px; height: 18px; background: var(--sky); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: path("M7 0C7 0 0 8 0 12a7 7 0 0 0 14 0C14 8 7 0 7 0z"); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  position: relative; padding: 32px 26px 30px; border-radius: var(--radius); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  overflow: hidden; isolation: isolate;
}
.feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(108, 92, 245, .14), transparent 45%);
}
.feature:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(108,92,245,.35), var(--shadow); }
.feature:hover::before { opacity: 1; }
.feature .f-ic {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(145deg, var(--lav), var(--lav-2)); color: var(--violet-600);
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.feature:hover .f-ic { transform: rotate(-8deg) scale(1.08); background: var(--violet); color: #fff; }
.feature .f-ic svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { font-size: .97rem; margin: 0; }
.feature .num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--lav); line-height: 1; z-index: -1; transition: color .4s; }
.feature:hover .num { color: rgba(108,92,245,.12); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.split-visual { position: relative; }
.split-visual .ring { position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle, var(--lav) 0%, transparent 68%); z-index: -1; }
.split-visual img { width: 100%; filter: drop-shadow(0 30px 40px rgba(30, 22, 82, .18)); }
.check-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check-list li .tick { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.check-list li .tick svg { width: 14px; height: 14px; }
.check-list li span.sub { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(56px, 8vw, 96px); }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--cream)); box-shadow: inset 0 0 0 1px var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--violet); line-height: 1.05; }
.stat span { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Process timeline ---------- */
.process { background: linear-gradient(180deg, var(--milk), #f3f0ff 30%, #f3f0ff 70%, var(--milk)); }
.timeline { position: relative; max-width: 1040px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: var(--lav-2); }
.timeline .progress { position: absolute; left: 50%; top: 0; width: 4px; margin-left: -2px; border-radius: 4px; height: 0; background: linear-gradient(180deg, var(--sky), var(--violet)); }
.timeline .progress::after {
  content: ""; position: absolute; bottom: -14px; left: 50%; width: 26px; height: 32px; margin-left: -13px;
  background: var(--violet); clip-path: path("M13 0C13 0 0 15 0 21a13 11 0 0 0 26 0C26 15 13 0 13 0z");
  filter: drop-shadow(0 4px 8px rgba(108,92,245,.6));
}
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding: 34px 0; }
.step:nth-child(odd) .step-media { order: 2; }
.step::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #fff; border: 4px solid var(--lav-2); z-index: 2; transition: border-color .5s, transform .5s var(--ease), background .5s;
}
.step.on::before { border-color: var(--violet); background: var(--violet); transform: scale(1.25); box-shadow: 0 0 0 8px rgba(108,92,245,.15); }
.step-media { background: #fff; border-radius: 28px; padding: 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.step-media::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 70%; background: radial-gradient(ellipse at center, var(--lav), transparent 70%); z-index: 0; }
.step-media img { position: relative; z-index: 1; margin: 0 auto; max-height: 230px; width: auto; transition: transform .8s var(--ease); }
.step:hover .step-media img { transform: scale(1.05) rotate(-1deg); }
.step-time { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--violet-600); background: #fff; padding: 6px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--lav-2); margin-bottom: 14px; }
.step-time svg { width: 16px; height: 16px; }
.step-body .step-no { font-family: var(--font-display); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.step-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.step-body p { margin: 0; max-width: 420px; }

/* ---------- App section ---------- */
.app-band {
  position: relative; border-radius: 36px; overflow: hidden; color: #e9e6ff;
  background: radial-gradient(700px 400px at 90% 0%, rgba(143,194,255,.35), transparent 60%), linear-gradient(140deg, #2a1d7a 0%, var(--violet-700) 45%, var(--violet) 100%);
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.app-band h2 { color: #fff; }
.app-band .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.app-band .eyebrow::before { background: var(--sky); box-shadow: 0 0 0 4px rgba(143,194,255,.25); }
.app-steps { display: grid; gap: 14px; margin: 28px 0 34px; counter-reset: s; }
.app-step { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .3s, transform .4s var(--ease); }
.app-step:hover { background: rgba(255,255,255,.14); transform: translateX(6px); }
.app-step::before { counter-increment: s; content: counter(s); width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; background: #fff; color: var(--violet-700); font-family: var(--font-display); font-weight: 700; }
.app-step strong { color: #fff; display: block; }
.app-step span { font-size: .93rem; }
.app-band .store { background: #fff; color: var(--ink); }
.app-band .store.is-soon { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }
.app-band .store .soon-tag { background: var(--sky); color: var(--ink); }
.app-visual { position: relative; }
.app-visual img { max-width: 360px; margin: 0 auto; position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.app-visual::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(30px); }
.orbit { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.25); animation: spin 30s linear infinite; }
.orbit::before { content: ""; position: absolute; top: 8%; left: 18%; width: 14px; height: 14px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 18px var(--sky); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq[open] { box-shadow: inset 0 0 0 1.5px var(--violet), var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; color: var(--ink); font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--lav); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--violet); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq[open] summary .pm { background: var(--violet); transform: rotate(180deg); }
.faq[open] summary .pm::before, .faq[open] summary .pm::after { background: #fff; }
.faq[open] summary .pm::after { transform: rotate(0); }
.faq .faq-body { overflow: hidden; }
.faq .faq-body p { padding: 0 22px 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; background: #fff; border-radius: 36px; padding: clamp(32px, 5vw, 56px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, var(--lav) 0%, transparent 70%); }
.cta > * { position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.qr-card { background: var(--cream); border-radius: 24px; padding: 16px; width: 220px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease); }
.qr-card:hover { transform: rotate(-3deg) scale(1.03); }
.qr-card img { border-radius: 14px; }
.qr-card small { display: block; margin-top: 10px; font-weight: 600; color: var(--ink); font-size: .85rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 170px 0 150px; text-align: center; overflow: hidden;
  background: radial-gradient(700px 400px at 80% 0%, rgba(143,194,255,.35), transparent 60%), radial-gradient(700px 500px at 10% 100%, rgba(108,92,245,.2), transparent 60%), linear-gradient(180deg, #f1edff, var(--milk));
}
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.15rem; }
.crumbs { display: inline-flex; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--violet); }

/* ---------- Values / story ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story-card { border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.story-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(108,92,245,.3), var(--shadow); }
.story-card img { height: 150px; width: auto; margin: 0 auto 20px; }
.story-card h3 { font-size: 1.3rem; }
.story-card p { margin: 0; font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
a.c-card:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1.5px var(--violet), var(--shadow-sm); }
.c-card .ic { width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--lav); color: var(--violet); }
.c-card .ic.wa { background: #e6f9ee; color: #128c4a; }
.c-card .ic svg { width: 24px; height: 24px; }
.c-card small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.c-card strong { color: var(--ink); font-size: 1.12rem; }
.form-card { background: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream);
  border: 1.5px solid transparent; border-radius: 16px; padding: 24px 18px 10px; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 17px; font-size: 1rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 5px rgba(108,92,245,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 7px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-600); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c5cf5' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-card .btn { width: 100%; margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9b3e0; padding: 90px 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 60px; background: var(--milk); clip-path: ellipse(60% 100% at 50% 0%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 20px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: #fff; }
.footer-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 15vw, 13rem); line-height: .9; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); margin: 60px 0 20px; letter-spacing: -.02em; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }

/* ---------- Floating WhatsApp & scroll progress ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.8); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sky), var(--violet)); z-index: 60; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: 120px; }
  .hero-grid, .split, .app-band, .faq-wrap, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 10px auto 0; width: 100%; }
  .story-grid { grid-template-columns: 1fr; }
  .qr-card { margin: 0 auto; }
  .timeline::before, .timeline .progress { left: 18px; }
  .step { grid-template-columns: 1fr; gap: 20px; padding: 26px 0 26px 54px; }
  .step::before { left: 18px; top: 40px; }
  .step:nth-child(odd) .step-media { order: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { display: none; }
  .store { flex: 1; min-width: 0; }
  .wa-float { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .fade-up, .hero h1 .line > span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.tight-b { padding-bottom: clamp(40px, 5vw, 70px); }

/* ---------- Malayalam highlights ---------- */
[lang="ml"] { font-family: "Noto Sans Malayalam", var(--font-body); letter-spacing: 0 !important; text-transform: none !important; }
.ml-kicker {
  display: block; text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.6;
  color: var(--ink); margin: -6px 0 18px;
}
.ml-kicker.left { text-align: left; }
.ml-kicker::before {
  content: ""; display: inline-block; vertical-align: -2px; margin-right: 10px; width: 14px; height: 18px; background: var(--violet);
  clip-path: path("M7 0C7 0 0 8 0 12a7 7 0 0 0 14 0C14 8 7 0 7 0z");
}
.ml-kicker.on-dark { color: #fff; }
.ml-kicker.on-dark::before { background: var(--sky); }
.ml-kicker mark, .ml-hero mark {
  color: var(--violet-600); background: linear-gradient(transparent 62%, rgba(143, 194, 255, .5) 62%) no-repeat;
  background-size: 0% 100%; transition: background-size 1.1s var(--ease) .35s; padding: 0 2px;
}
.ml-kicker.on-dark mark { color: #fff; background-image: linear-gradient(transparent 62%, rgba(143, 194, 255, .45) 62%); }
.ml-kicker.in mark, .ml-hero mark { background-size: 100% 100%; }
.ml-hero { display: block; font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 700; color: var(--ink); margin: -6px 0 16px; line-height: 1.7; }
.ml-hero mark { transition-delay: 1.1s; }
.ml-sub { display: block; font-size: .95rem; font-weight: 700; color: var(--violet-600); margin: -4px 0 10px; line-height: 1.5; }
.step-body .ml-sub { font-size: 1.05rem; margin-bottom: 12px; }
.stat em { display: block; font-style: normal; font-size: .85rem; font-weight: 600; color: var(--violet-600); margin-top: 2px; }
.c-card small [lang="ml"] { font-size: .85rem; font-weight: 700; }

/* Shop link in navbar */
.nav-links a.nav-shop { font-weight: 700; color: var(--violet-700); }
