/* SyncLivestock homepage — standalone so it works without a Tailwind build. */
:root {
  --green-900: #0f3d24;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #15803d;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f8faf7;
  --amber: #b45309;
  --red: #b91c1c;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(15, 61, 36, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.bn { font-family: 'Noto Sans Bengali', 'Hind Siliguri', 'Inter', sans-serif; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700);
}
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 12px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 6px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: 999px; padding: 12px 22px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(22, 101, 52, .25); }
.btn--primary:hover { background: var(--green-800); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn--light { background: #fff; color: var(--green-800); }
.btn svg { width: 18px; height: 18px; }

/* Google Play button */
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border-radius: 12px; padding: 10px 20px 10px 16px;
  border: 1px solid #3c3c3c; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.play-badge:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.play-badge svg { width: 28px; height: 28px; flex: none; }
.play-badge small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; line-height: 1.2; }
.play-badge strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 18px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--text); }
.nav a:hover, .nav a.active { color: var(--green-700); }
.nav a.active { font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .login { font-weight: 600; font-size: 15px; color: var(--text); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 14px 20px; font-weight: 500; border-bottom: 1px solid #f1f5f9; }
.mobile-nav.open { display: block; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 197, 94, .16), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(22, 101, 52, .08), transparent 60%),
    linear-gradient(180deg, #f7fcf8 0%, #fff 100%);
  padding: 72px 0 88px;
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin-top: 18px; }
.hero h1 span { color: var(--green-700); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.hero-points svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--green-100); color: var(--green-700);
  border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow);
}
.pill .dot { width: 22px; height: 22px; border-radius: 999px; background: var(--green-50); display: grid; place-items: center; }
.pill .dot::after { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--green-500); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; max-width: 78vw;
  border-radius: 46px; padding: 12px; background: #0b1220;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #1f2937;
}
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 1080 / 2340; object-fit: cover; background: #f1f5f9; }
.phone--sm { width: 260px; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .14); border: 1px solid #eef2f0;
  display: flex; gap: 10px; align-items: center; font-size: 13px; max-width: 250px;
}
.float-card .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .icon svg { width: 20px; height: 20px; }
.float-card b { display: block; color: var(--ink); font-size: 13px; }
.float-card span { color: var(--muted); font-size: 12px; line-height: 1.35; display: block; }
.float-card--alert { top: 56px; left: -10px; }
.float-card--alert .icon { background: #fee2e2; color: var(--red); }
.float-card--milk { bottom: 70px; right: -6px; }
.float-card--milk .icon { background: #dbeafe; color: #1d4ed8; }
.up, .float-card span.up { color: var(--green-600); font-weight: 700; display: inline; }

/* ── Highlights strip ──────────────────────────────────── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; gap: 14px; align-items: center; padding: 26px 18px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.strip-item .icon svg { width: 22px; height: 22px; }
.strip-item b { display: block; color: var(--ink); font-size: 15px; }
.strip-item span { font-size: 13px; color: var(--muted); }

/* ── Features ──────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; font-weight: 700; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.tint-green { background: var(--green-50); color: var(--green-700); }
.tint-red { background: #fef2f2; color: var(--red); }
.tint-blue { background: #eff6ff; color: #1d4ed8; }
.tint-amber { background: #fffbeb; color: var(--amber); }
.tint-violet { background: #f5f3ff; color: #6d28d9; }
.tint-teal { background: #f0fdfa; color: #0f766e; }

/* ── Spotlights ────────────────────────────────────────── */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spotlight + .spotlight { margin-top: 112px; }
.spotlight--flip .spotlight-media { order: 2; }
.spotlight-media { display: flex; justify-content: center; position: relative; }
.spotlight-media::before {
  content: ''; position: absolute; inset: 8% 10%; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(34, 197, 94, .18), transparent);
  z-index: 0;
}
.spotlight-media .phone { z-index: 1; }
.spotlight h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-top: 12px; }
.spotlight .text { margin-top: 18px; font-size: 18px; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checklist .tick { width: 24px; height: 24px; border-radius: 999px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick svg { width: 14px; height: 14px; }

.offline-card {
  width: 340px; max-width: 86vw; background: #fff; border-radius: 24px; padding: 22px;
  box-shadow: var(--shadow-lg); border: 1px solid #eef2f0; position: relative; z-index: 1;
}
.offline-banner { display: flex; align-items: center; gap: 10px; background: #fef3c7; color: #92400e; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.offline-banner svg { width: 18px; height: 18px; flex: none; }
.offline-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.offline-row:last-child { border-bottom: 0; }
.offline-row b { color: var(--ink); }
.badge { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.badge--wait { background: #fef3c7; color: #92400e; }
.badge--ok { background: var(--green-100); color: var(--green-700); }

/* ── Steps ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ── Pricing ───────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--green-600); box-shadow: var(--shadow-lg); position: relative; }
.plan--featured .ribbon { position: absolute; top: -13px; left: 28px; background: var(--green-700); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .desc { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 42px; }
.plan .price { margin-top: 18px; font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .per-month { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li svg { width: 18px; height: 18px; color: var(--green-600); flex: none; margin-top: 3px; }
.plans-note { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.plans-note a { color: var(--green-700); font-weight: 600; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--green-100); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--ink); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--green-700); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

/* ── CTA band ──────────────────────────────────────────── */
.cta {
  border-radius: 28px; padding: 64px 48px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(134, 239, 172, .25), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
}
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.cta p { margin: 16px auto 0; max-width: 620px; color: #d1fae5; font-size: 18px; }
.cta .hero-cta { justify-content: center; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: var(--green-700); }
.footer-about p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 320px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .strip .container { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav, .header-actions .login, .header-actions .btn--primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding: 40px 0 64px; }
  .hero .container, .spotlight { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .spotlight--flip .spotlight-media { order: 0; }
  .spotlight + .spotlight { margin-top: 80px; }
  .steps, .plans { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta { padding: 48px 22px; }
}
@media (max-width: 560px) {
  .features, .strip .container { grid-template-columns: 1fr; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .float-card--alert { left: -4px; top: 30px; }
  .float-card--milk { right: -4px; bottom: 40px; }
  .float-card { max-width: 200px; padding: 10px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Icon component sizes (its Tailwind classes aren't loaded on this page) */
.w-5 { width: 20px; } .h-5 { height: 20px; }
svg { flex-shrink: 0; }


/* ── Hero with computer + phone ─────────────────────────── */
.hero--devices { padding: 64px 0 40px; }
.hero--devices .container { display: block; }
.hero-copy--center { text-align: center; max-width: 860px; margin: 0 auto; }
.hero-copy--center h1 { font-size: clamp(36px, 5.2vw, 62px); }
.hero-copy--center .lead { margin-left: auto; margin-right: auto; max-width: 680px; }
.hero-copy--center .hero-cta, .hero-copy--center .hero-points { justify-content: center; }
.devices { position: relative; max-width: 1040px; margin: 56px auto 0; padding: 0 6% 40px 0; }
.device-browser {
  margin: 0; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(15, 61, 36, .18), 0 2px 6px rgba(15, 23, 42, .06);
}
.device-browser img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.browser-url {
  margin-left: 12px; flex: 1; max-width: 340px; background: #fff; border-radius: 6px; padding: 1px 10px;
  font-size: 11px; color: var(--muted); line-height: 16px; border: 1px solid var(--line);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 999px; background: #cbd5e1; display: block; }
.browser-bar i:nth-child(1) { background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; }
.browser-bar i:nth-child(3) { background: #34d399; }
.device-phone { position: absolute; right: 0; bottom: 0; width: 23%; min-width: 150px; padding: 8px; border-radius: 34px; }
.device-phone img { border-radius: 27px; }
.float-card--sync { top: -22px; right: 3%; }
.float-card--sync .icon { background: var(--green-100); color: var(--green-700); }
.devices .float-card--alert { top: auto; bottom: 22%; left: -16px; }
@media (max-width: 880px) {
  .hero--devices { padding: 40px 0 24px; }
  .devices { margin-top: 40px; padding: 0 10% 56px 0; }
  .device-phone { width: 30%; min-width: 110px; padding: 5px; border-radius: 22px; }
  .device-phone img { border-radius: 18px; }
  .float-card--sync { display: none; }
  .devices .float-card--alert { left: -6px; bottom: 6%; }
}
@media (max-width: 560px) {
  .browser-url { display: none; }
  .devices .float-card--alert { display: none; }
  .strip .container { grid-template-columns: 1fr 1fr; }
  .strip-item + .strip-item { border-top: 0; }
  .strip-item:nth-child(odd) { border-left: 0; }
  .strip-item:nth-child(even) { border-left: 1px solid var(--line); }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .strip-item { flex-direction: column; align-items: flex-start; padding: 18px 14px; gap: 10px; }
}


/* ── Web app tour slider ────────────────────────────────── */
.tour { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.tour-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tour-tab {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tour-tab svg { width: 18px; height: 18px; }
.tour-tab:hover { border-color: var(--green-600); color: var(--green-700); }
.tour-tab.active { background: var(--green-700); border-color: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(22, 101, 52, .22); }
.tour-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .7); }
.tour-tab.active.running .tour-progress { animation: tour-progress 6s linear forwards; }
@keyframes tour-progress { from { width: 0; } to { width: 100%; } }

.tour-stage { position: relative; max-width: 1040px; margin: 0 auto; }
.tour-browser { box-shadow: 0 30px 80px rgba(15, 61, 36, .16), 0 2px 6px rgba(15, 23, 42, .06); }
.tour-slides { position: relative; aspect-ratio: 1440 / 900; background: #f8fafc; }
.tour-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.015); transition: opacity .6s ease, transform .8s ease; }
.tour-slide.active { opacity: 1; transform: none; }
.tour-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.tour-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12); transition: transform .15s ease, background .15s ease;
}
.tour-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.tour-arrow svg { width: 22px; height: 22px; }
.tour-arrow--prev { left: -23px; }
.tour-arrow--next { right: -23px; }

.tour-captions { position: relative; max-width: 680px; margin: 28px auto 0; text-align: center; min-height: 96px; }
.tour-caption { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.tour-caption.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.tour-caption h3 { font-size: 22px; font-weight: 800; }
.tour-caption p { margin-top: 8px; color: var(--muted); font-size: 16px; }

@media (max-width: 1120px) {
  .tour-arrow--prev { left: 8px; }
  .tour-arrow--next { right: 8px; }
}
@media (max-width: 640px) {
  .tour-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 22px; padding: 2px 20px 6px; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex: none; padding: 9px 14px; font-size: 14px; }
  .tour-arrow { width: 38px; height: 38px; }
  .tour-arrow svg { width: 18px; height: 18px; }
  .tour-captions { min-height: 120px; }
  .tour-caption h3 { font-size: 19px; }
  .tour-caption p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-slide { transform: none; }
}


/* ── Features and Pricing pages ─────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section--tight { padding: 64px 0; }
.page-hero { padding-bottom: 72px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--green-700); font-weight: 600; }
.crumbs span { margin: 0 4px; }
.page-hero h1 { margin-top: 14px; }

.jump-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px auto 0; max-width: 900px; }
.jump-nav a {
  font-size: 14px; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px; transition: border-color .15s ease, color .15s ease;
}
.jump-nav a:hover { border-color: var(--green-600); color: var(--green-700); }

.feature-modules { overflow-x: clip; }
.feature-modules .module { scroll-margin-top: 96px; grid-template-columns: 1.15fr .85fr; }
.feature-modules .module.spotlight--flip { grid-template-columns: .85fr 1.15fr; }
.module-media { display: block; }
.module-media::before { inset: -6% -4%; border-radius: 48px; }
.module-media .device-browser { position: relative; z-index: 1; box-shadow: 0 24px 60px rgba(15, 61, 36, .14), 0 2px 6px rgba(15, 23, 42, .06); }
#android, #more, #compare, #faq { scroll-margin-top: 80px; }

.phone-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; max-width: 960px; margin: 0 auto; }
.phone-trio figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.phone-trio .phone { width: 250px; max-width: 100%; }
.phone-trio .raised { margin-top: -28px; }
.phone-trio figcaption { margin-top: 22px; max-width: 260px; color: var(--muted); font-size: 15px; }
.phone-trio figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.android-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.center-cta { text-align: center; margin-top: 40px; }
.center-cta .play-badge { display: inline-flex; }
.cta-note { margin-top: 22px !important; font-size: 15px !important; }
.cta-note a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.plans--page { max-width: 1080px; margin: 48px auto 0; text-align: left; }
.plan .plan-name { font-size: 20px; font-weight: 700; }
.plan-limits { display: grid; gap: 8px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); }
.plan-limits span { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.plan-limits svg { width: 18px; height: 18px; color: var(--green-700); }
.plans-note a { display: inline-flex; align-items: center; gap: 6px; }
.plans-note a svg { width: 16px; height: 16px; }

.compare-wrap { position: relative; max-width: 980px; margin: 0 auto; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; text-align: center; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); }
.compare thead th { font-size: 16px; font-weight: 700; color: var(--ink); padding-top: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.compare thead small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.compare td b { color: var(--ink); }
.compare .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--green-100); color: var(--green-700); }
.compare .yes svg { width: 15px; height: 15px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .android-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .feature-modules .module, .feature-modules .module.spotlight--flip { grid-template-columns: 1fr; gap: 32px; }
  .phone-trio { grid-template-columns: 1fr 1fr; }
  .phone-trio figure:last-child { grid-column: 1 / -1; }
  .phone-trio .raised { margin-top: 0; }
  .features--3 { grid-template-columns: 1fr; }
  .section--tight { padding: 48px 0; }
}
@media (max-width: 560px) {
  .jump-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 26px -20px 0; padding: 2px 20px 6px; scrollbar-width: none; }
  .jump-nav::-webkit-scrollbar { display: none; }
  .jump-nav a { flex: none; }
  .phone-trio { grid-template-columns: 1fr; gap: 44px; }
  .phone-trio .phone { width: 240px; }
  .android-points { grid-template-columns: 1fr; margin-top: 48px; }
  .compare th, .compare td { padding: 12px 10px; font-size: 14px; }
  .compare th[scope="row"] { min-width: 120px; }
  .compare thead th { font-size: 14px; }
  .plan .desc { min-height: 0; }
}


/* ── Bangla pages ───────────────────────────────────────── */
html[lang="bn"] body, html[lang="bn"] button, html[lang="bn"] input { font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Inter', system-ui, sans-serif; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang="bn"] .eyebrow { letter-spacing: .02em; }

/* ── Header language link and wider footer ──────────────── */
.lang-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.lang-link:hover { border-color: var(--green-600); color: var(--green-700); }
.lang-link svg { width: 16px; height: 16px; }
.footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
.footer-lang { margin-top: 12px !important; font-size: 14px; display: flex; gap: 8px; }
.footer-lang a { color: var(--green-700); font-weight: 600; }
.footer-lang a[aria-current] { color: var(--ink); }
.footer-mail { margin-top: 6px !important; font-size: 14px; }
.footer-mail a { color: var(--muted); }

/* ── Simple page header and readable text ───────────────── */
.container--narrow { max-width: 820px; }
.page-head { padding: 56px 0 8px; background: linear-gradient(180deg, #f3faf5 0%, #fff 100%); }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin-top: 14px; }
.page-head h1 span { color: var(--green-700); }
.page-head .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin: 16px 0 0; max-width: 680px; }
.page-head .meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-left: auto; margin-right: auto; }
.section--page { padding: 40px 0 88px; }

.prose { font-size: 17px; color: var(--text); line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 40px 0 10px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--green-100); color: var(--muted); }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose img { border-radius: 14px; margin: 20px 0; }
.steps-list { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 999px;
  background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: 14px; display: grid; place-items: center;
}

.summary-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.summary-cards div { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; }
.summary-cards b { display: block; font-size: 26px; font-weight: 800; color: var(--green-700); }
.summary-cards span { font-size: 14px; color: var(--muted); }

.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; font-size: 15px; }
.notice svg { width: 22px; height: 22px; flex: none; }
.notice b { display: block; color: var(--ink); }
.notice span { color: var(--muted); }
.notice--ok { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-700); }
.notice--draft { background: #fef3c7; color: #92400e; font-weight: 600; display: block; }

/* ── Contact ────────────────────────────────────────────── */
.contact-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-ways--one { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
.contact-way { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px 24px; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.contact-way:hover { transform: translateY(-3px); border-color: var(--green-600); }
.contact-way .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px; }
.contact-way .icon svg { width: 28px; height: 28px; }
.contact-way b { color: var(--ink); font-size: 20px; }
.contact-value { color: var(--green-700); font-weight: 700; font-size: 18px; word-break: break-all; }
.contact-hint { color: var(--muted); font-size: 14px; max-width: 320px; }
.contact-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 26px; color: var(--text); font-size: 15px; font-weight: 500; }
.contact-facts > span { display: inline-flex; align-items: center; gap: 8px; }
.contact-facts svg { width: 18px; height: 18px; color: var(--green-600); }
.contact-quick { margin-top: 48px; padding: 28px; border-radius: 22px; background: var(--bg-soft); text-align: center; }
.contact-quick h2 { font-size: 22px; font-weight: 800; }
.contact-quick p { color: var(--muted); margin: 6px 0 18px; }
.contact-quick ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.contact-quick li a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 15px; color: var(--text); }
.contact-quick li a:hover { border-color: var(--green-600); color: var(--green-700); }
.contact-quick li svg { width: 18px; height: 18px; color: var(--green-700); }

/* ── Android app page ───────────────────────────────────── */
.app-hero .hero-copy h1 { margin-top: 14px; }
.qr-box { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; max-width: 460px; box-shadow: var(--shadow); }
.qr { width: 112px; height: 112px; flex: none; padding: 6px; background: #fff; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-box b { display: block; color: var(--ink); }
.qr-box span { font-size: 14px; color: var(--muted); }

/* ── Help center ────────────────────────────────────────── */
.help-search { position: relative; max-width: 560px; margin: 26px auto 0; }
.help-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.help-search input { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px 14px 46px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; box-shadow: var(--shadow); }
.help-search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.help-group + .help-group { margin-top: 44px; }
.help-group h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.help-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-100); }
.help-card .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px; }
.help-card .icon svg { width: 22px; height: 22px; }
.help-card b { color: var(--ink); font-size: 17px; }
.help-card > span:last-child { color: var(--muted); font-size: 15px; }
.help-card[hidden], .help-group[hidden] { display: none; }
.help-empty { text-align: center; color: var(--muted); font-size: 17px; }
.help-empty a { color: var(--green-700); font-weight: 600; }
.help-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding: 24px 26px; border-radius: 20px; background: var(--green-50); border: 1px solid var(--green-100); }
.help-contact b { display: block; color: var(--ink); font-size: 18px; }
.help-contact span { color: var(--muted); }
.help-contact .btn { flex: none; }
.article-links { margin-top: 24px; }
.article-links a, .related a { display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); font-weight: 600; }
.article-links svg, .related svg { width: 18px; height: 18px; }
.related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

/* ── Farm types ─────────────────────────────────────────── */
.farm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.farm-cards--3 { grid-template-columns: repeat(3, 1fr); }
.farm-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px 52px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.farm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.farm-card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; }
.farm-card .icon svg { width: 24px; height: 24px; }
.farm-card b { color: var(--ink); font-size: 18px; }
.farm-card > span:not(.icon) { color: var(--muted); font-size: 15px; }
.farm-card i { position: absolute; left: 22px; bottom: 18px; color: var(--green-700); }
.farm-card i svg { width: 20px; height: 20px; transition: transform .2s ease; }
.farm-card:hover i svg { transform: translateX(4px); }
.farm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 36px auto 0; }
.farm-stats div { text-align: center; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 16px; padding: 14px 12px; }
.farm-stats b { display: block; color: var(--ink); font-size: 16px; }
.farm-stats span { font-size: 14px; color: var(--muted); }
.pill--icon { gap: 8px; }
.pill--icon svg { width: 18px; height: 18px; color: var(--green-700); }

/* ── Blog ───────────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.post-cover { display: block; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, var(--green-50), #e0f2fe); overflow: hidden; }
.post-card--lead .post-cover { aspect-ratio: auto; min-height: 260px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover-art { display: grid; place-items: center; width: 100%; height: 100%; color: var(--green-600); }
.post-cover-art svg { width: 72px; height: 72px; opacity: .55; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card--lead .post-body { padding: 34px; justify-content: center; }
.post-meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.post-body h2 { font-size: 20px; font-weight: 800; line-height: 1.3; }
.post-card--lead .post-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.post-body h2 a:hover { color: var(--green-700); }
.post-body p { color: var(--muted); font-size: 15px; margin: 10px 0 16px; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--green-700); font-weight: 600; font-size: 15px; }
.read-more svg { width: 16px; height: 16px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.post-title { font-size: clamp(30px, 4.2vw, 46px) !important; }
.post-hero { border-radius: 20px; margin-bottom: 32px; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding: 26px; border-radius: 22px; background: var(--green-50); border: 1px solid var(--green-100); }
.post-cta b { display: block; color: var(--ink); font-size: 19px; }
.post-cta span { color: var(--muted); font-size: 15px; }
.post-cta .hero-cta { margin-top: 0; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .farm-cards { grid-template-columns: repeat(2, 1fr); }
  .help-cards, .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .lang-link span { display: none; }
  .lang-link { padding: 8px; }
  .contact-ways, .post-card--lead { grid-template-columns: 1fr; }
  .post-card--lead .post-cover { min-height: 0; aspect-ratio: 1200 / 630; }
  .post-card--lead .post-body { padding: 22px 24px 24px; }
  .app-hero .hero-copy .qr-box { margin-left: auto; margin-right: auto; text-align: left; }
  .help-contact { flex-direction: column; align-items: flex-start; }
  .farm-cards--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .qr-box { display: none; }
  .summary-cards { grid-template-columns: 1fr; }
  .summary-cards { gap: 10px; }
  .help-cards, .post-grid, .farm-cards, .farm-cards--3 { grid-template-columns: 1fr; }
  .farm-stats { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-head { padding-top: 36px; }
  .pager span { display: none; }
}
