/* ============================================================
   LabhoFy landing page — modern dark theme
   ============================================================ */

:root {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --card: #131c31;
  --card-hover: #18233c;
  --line: rgba(148, 163, 184, 0.14);
  --ink: #e6edf7;
  --muted: #94a3b8;
  --accent: #34d399;
  --accent-strong: #10b981;
  --accent-ink: #052e22;
  --glow: rgba(52, 211, 153, 0.16);
  --radius: 18px;
  --pad-x: clamp(18px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Noto Sans Malayalam", system-ui, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol { margin-top: 0; }

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: rgba(11, 17, 32, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-name em {
  font-style: normal;
  color: var(--accent);
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }

.nav-links .lang-switch {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, #4ade80, var(--accent-strong));
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.28);
}

.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(148, 163, 184, 0.07);
}

.button.lg { min-height: 52px; padding: 0 28px; font-size: 1.02rem; }
.button.xl { min-height: 58px; padding: 0 34px; font-size: 1.08rem; }

.nav-cta { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }

.header-phone {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-phone:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px var(--pad-x) 90px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 420px at 82% 30%, var(--glow), transparent 70%),
    radial-gradient(520px 380px at 8% 85%, rgba(99, 102, 241, 0.12), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 360px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.07);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.grad {
  background: linear-gradient(100deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.hero-copy strong { color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- phone mockup ---------- */

.hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }

.split-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }

.phone {
  width: min(100%, 320px);
  padding: 12px;
  border-radius: 42px;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 40px 90px rgba(2, 6, 23, 0.7),
    0 0 0 8px rgba(15, 23, 42, 0.6);
}

.phone-notch {
  width: 90px;
  height: 8px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
}

.screen-swap {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 640 / 1241;
  background: #f8fafc;
}

.screen-swap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

.screen-swap img.active { opacity: 1; }

.screen-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.screen-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, width 200ms ease;
}

.screen-dot:hover { background: rgba(148, 163, 184, 0.75); }

.screen-dot.active {
  width: 26px;
  background: var(--accent-strong, #10b981);
}

.screen-dot:focus-visible {
  outline: 2px solid var(--accent-strong, #10b981);
  outline-offset: 2px;
}

/* ---------- trust strip ---------- */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin: 0 var(--pad-x);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.trust div {
  padding: 22px 24px;
  background: var(--card);
}

.trust strong { display: block; margin-bottom: 5px; font-size: 1.02rem; }
.trust span { color: var(--muted); font-size: 0.87rem; line-height: 1.5; }

/* ---------- sections ---------- */

.section {
  padding: clamp(64px, 9vw, 120px) var(--pad-x);
  max-width: 1300px;
  margin: 0 auto;
}

.section.alt {
  max-width: none;
  background: var(--bg-alt);
}

.section.alt > * { max-width: 1156px; margin-left: auto; margin-right: auto; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---------- operating loop ---------- */

.loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.loop li {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 160ms ease, background 160ms ease;
}

.loop li:hover { background: var(--card-hover); border-color: rgba(52, 211, 153, 0.35); }

.loop-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}

.loop h3 { margin-bottom: 8px; font-size: 1.18rem; }
.loop p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.features article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 160ms ease, border-color 160ms ease;
}

.features article:hover { transform: translateY(-4px); border-color: rgba(52, 211, 153, 0.35); }

.feat-icon { display: block; margin-bottom: 16px; font-size: 1.6rem; line-height: 1; }

.features h3 { margin-bottom: 8px; font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); font-size: 0.89rem; line-height: 1.6; }

/* ---------- split sections (whatsapp / data) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.check-list li strong { color: var(--ink); }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23052e22" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-11"/></svg>') center / 11px no-repeat,
    linear-gradient(135deg, #4ade80, #10b981);
}

/* ---------- chat mockup ---------- */

.chat-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.5);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  font-weight: 800;
}

.chat-head strong { display: block; font-size: 0.95rem; }
.chat-head span { color: var(--muted); font-size: 0.78rem; font-weight: 600; }

.chat-bubble {
  max-width: 85%;
  margin-bottom: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-bubble.in {
  background: rgba(148, 163, 184, 0.12);
  border-bottom-left-radius: 4px;
}

.chat-bubble.out {
  margin-left: auto;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-bottom-right-radius: 4px;
}

.chat-flag {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.08);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

/* ---------- web store mockup ---------- */

.browser-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.5);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.06);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.browser-bar em {
  flex: 1;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.1);
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.shop-tile {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.05);
}

.shop-tile strong { display: block; margin-bottom: 6px; font-size: 0.86rem; }

.shop-tile p { margin: 0 0 10px; color: var(--muted); font-size: 0.82rem; }
.shop-tile p b { color: var(--accent); font-size: 0.95rem; margin-left: 4px; }

.shop-tile.sold-out { opacity: 0.6; }
.shop-tile.sold-out p { font-weight: 700; }

.shop-btn {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.sold-out .shop-btn {
  background: rgba(148, 163, 184, 0.1);
  border-color: var(--line);
  color: var(--muted);
}

.browser-card .chat-flag { margin: 0 16px 16px; }

/* ---------- who ---------- */

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.who-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.who-grid h3 { margin-bottom: 10px; font-size: 1.12rem; }
.who-grid p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

.starter-packs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 16px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(400px 240px at 0% 0%, rgba(52, 211, 153, 0.09), transparent 70%),
    var(--card);
}

.starter-copy h3 { margin-bottom: 10px; font-size: 1.18rem; }
.starter-copy p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

.pack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pack-chips li {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.07);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- stats ---------- */

.stat-stack { display: grid; gap: 14px; }

.stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.stat strong {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(120deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { color: var(--muted); font-size: 0.95rem; font-weight: 600; }

/* ---------- pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 20px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.price-card.featured {
  border-color: rgba(52, 211, 153, 0.45);
  background:
    radial-gradient(300px 200px at 85% 0%, rgba(52, 211, 153, 0.12), transparent 70%),
    var(--card);
}

/* Secondary cards: deliberately smaller, sit in the row below the two main plans */
.price-card.addon {
  padding: 24px 28px;
}

.price-card.addon .price { margin-bottom: 16px; }
.price-card.addon .price strong { font-size: 1.3rem; }
.price-card.addon ul { margin-bottom: 20px; }

.price-tag {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ade80, #10b981);
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.price-card h3 { margin-bottom: 6px; font-size: 1.1rem; color: var(--muted); }

.price { margin-bottom: 22px; }
.price strong { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.02em; }
.price span { color: var(--muted); font-size: 0.95rem; }

.price-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.price-card ul li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Scan credit packs inside the AI Bill Scan card */
.packs { gap: 0 !important; margin-bottom: 14px !important; }

.packs li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0 0 !important;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
}

.packs li::before { content: none !important; }
.packs li .scans { color: var(--muted); font-size: 0.86rem; }
.packs li b { font-weight: 800; font-size: 1.02rem; }

.fineprint {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.price-card .button { margin-top: auto; }

/* ---------- download ---------- */

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 26px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(52, 211, 153, 0.14), transparent 70%),
    var(--card);
}

.download-copy h2 { margin-bottom: 12px; }
.download-copy .button { margin: 22px 0 14px; }

.install-steps {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.install-steps li::marker { color: var(--accent); font-weight: 800; }
.install-steps strong { color: var(--ink); }

/* ---------- faq ---------- */

.faq { display: grid; gap: 12px; max-width: 820px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
}

.faq summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 600;
  transition: transform 160ms ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq details a { color: var(--accent); text-decoration: underline; }

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 36px var(--pad-x) 44px;
  border-top: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }

.footer-brand-text { display: flex; flex-direction: column; gap: 6px; }
.footer-brand-text strong { font-size: 1.05rem; }
.footer-brand-text span { color: var(--muted); font-size: 0.82rem; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover { color: var(--ink); }

.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible { opacity: 1; transform: none; }

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

/* ---------- hero workflow strip ---------- */

.hero-workflow {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-workflow .arrow,
.mini-flow .arrow {
  color: var(--accent);
  margin: 0 5px;
  font-weight: 900;
}

/* ---------- problem section ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.problem-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.problem-grid h3 { margin-bottom: 10px; font-size: 1.08rem; }
.problem-grid p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

.problem-statement {
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(52, 211, 153, 0.3);
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(52, 211, 153, 0.09), transparent 70%),
    var(--card);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- mini flow (AI Bill Scan) ---------- */

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- comparison table (why not a billing app) ---------- */

.compare-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  min-width: 480px;
}

.compare-table th {
  text-align: left;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) { text-align: center; }

.compare-table td {
  padding: 14px 16px;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}

.compare-table tr td:first-child { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; }
.compare-table tr td:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }

.compare-table .yes { color: var(--accent); font-weight: 800; }
.compare-table .no { color: var(--muted); }

/* ---------- offline narrative chips ---------- */

.offline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.offline-chips li {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.07);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
    background: rgba(11, 17, 32, 0.97);
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px var(--pad-x); }

  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }

  .split { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: minmax(0, 460px); }
  .who-grid { grid-template-columns: 1fr; }
  .starter-packs { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav-cta { display: none; }
  .header-phone { display: none; }
  .brand-tagline { font-size: 0.64rem; white-space: normal; }
  .shop-grid { grid-template-columns: 1fr; }
  .loop, .features, .trust { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .download-copy .button { width: 100%; }
  .stat strong { font-size: 2.1rem; }

  .site-footer { flex-direction: column; gap: 18px; }
  .footer-right { align-items: flex-start; }
  .footer-links { justify-content: flex-start; gap: 10px 18px; }
  .footer-note { text-align: left; }
}
