/* Landing page (index.html) only — the legacy pages (pricing/contact/legal) keep using
   styles.css untouched. Reuses its :root color variables and adds the rest here. */

:root {
  --ai: #7c3aed;
  --ai-sky: #f1ecfe;
  --sky: #e9f1ff;
  --good: #12b76a;
  --good-sky: #e7f8f0;
  --fair: #f5a524;
  --poor: #f0476a;
}

.l-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── header ───────────────────────────────────────────────────────────── */
header.l-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.l-header .l-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }
.l-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.l-brand img { width: 36px; height: 36px; border-radius: 10px; }
.l-brand span { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
nav.l-nav { display: flex; align-items: center; gap: 28px; }
nav.l-nav a { color: #33456e; text-decoration: none; font-size: 15px; font-weight: 600; }
nav.l-nav a:hover { color: var(--brand); }
.l-header-actions { display: flex; align-items: center; gap: 10px; }
.l-btn-primary, .l-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14.5px; text-decoration: none;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap;
}
.l-btn-primary { background: linear-gradient(135deg, var(--brand), var(--navy)); color: #fff; }
.l-btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }

/* ── hero ─────────────────────────────────────────────────────────────── */
.l-hero { padding: 64px 0 56px; background: linear-gradient(180deg, #eef3ff 0%, var(--paper) 55%); overflow: hidden; }
.l-hero .l-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.l-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sky); color: var(--brand); font-weight: 700; font-size: 13.5px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.l-hero h1 { font-size: 46px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--navy); font-weight: 800; }
.l-hero h1 .accent { color: var(--brand); display: block; }
.l-hero h1 span { display: block; }
.l-hero-sub { font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 0 24px; line-height: 1.6; }

.l-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.l-lang-pill { background: var(--sky); color: var(--brand2, var(--navy)); font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.l-lang-pill.active { background: var(--brand); color: #fff; }

.l-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.l-chip-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.l-chip-icon.blue { background: var(--sky); color: var(--brand); }
.l-chip-icon.purple { background: var(--ai-sky); color: var(--ai); }
.l-chip-icon.green { background: var(--good-sky); color: var(--good); }
.l-chip-title { font-weight: 700; font-size: 13.5px; color: var(--navy); margin-bottom: 2px; }
.l-chip-sub { font-size: 12px; color: var(--muted); line-height: 1.4; }

.l-stores { display: flex; gap: 10px; }
.l-store-badge {
  display: flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 9px 16px; border-radius: 10px;
}
.l-store-badge svg { flex-shrink: 0; }
.l-store-badge .t1 { font-size: 10px; color: #c6cedd; line-height: 1.1; }
.l-store-badge .t2 { font-size: 14.5px; font-weight: 700; line-height: 1.2; }

/* phone mockups — real in-app screenshots, pre-rendered with their own phone
   frame/shadow, so these just position and overlap them. */
.l-phones { position: relative; height: 560px; }
.l-phone-shot { position: absolute; width: 340px; border-radius: 42px; filter: drop-shadow(0 25px 40px rgba(11,42,107,0.25)); }
.l-phone-shot.p1 { left: -10px; top: 0; z-index: 2; }
.l-phone-shot.p2 { right: -20px; top: 90px; z-index: 1; }
.l-phone {
  position: absolute; width: 258px; border-radius: 34px; background: #0b1530;
  padding: 10px; box-shadow: 0 30px 60px -15px rgba(11,42,107,0.35), 0 10px 20px -8px rgba(11,42,107,0.25);
}
.l-phone-screen { background: var(--paper); border-radius: 26px; overflow: hidden; height: 540px; display: flex; flex-direction: column; }
.l-phone.p1 { left: 0; top: 0; transform: rotate(-4deg); z-index: 2; }
.l-phone.p2 { right: 0; top: 46px; transform: rotate(4deg); z-index: 1; }

.l-ps-top { background: linear-gradient(135deg, var(--brand), var(--navy)); color: #fff; padding: 14px 16px 18px; }
.l-ps-greet { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.l-ps-avatar { display: flex; align-items: center; gap: 8px; }
.l-ps-avatar-circ { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.l-ps-greet-text { font-size: 10.5px; line-height: 1.3; }
.l-ps-greet-text b { display: block; font-size: 11.5px; }
.l-ps-bell { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.l-ps-health { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.l-ps-health span { font-size: 9.5px; color: rgba(255,255,255,0.75); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.l-ps-health small { font-size: 9px; background: rgba(255,255,255,0.18); padding: 3px 7px; border-radius: 999px; }

.l-gauge-wrap { background: #fff; border-radius: 18px; padding: 14px; text-align: center; box-shadow: 0 8px 20px rgba(11,42,107,0.18); }
.l-gauge-label { font-size: 9.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.l-gauge { width: 118px; height: 66px; margin: 6px auto 2px; position: relative; }
.l-gauge svg { width: 100%; height: 100%; }
.l-gauge-score { position: absolute; bottom: 2px; left: 0; right: 0; text-align: center; font-size: 28px; font-weight: 800; color: var(--navy); }
.l-gauge-range { display: flex; justify-content: space-between; font-size: 9px; color: var(--faint); padding: 0 4px; }
.l-gauge-band { display: inline-block; margin-top: 4px; background: var(--fair); color: #fff; font-size: 9.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }

.l-ps-body { padding: 12px 16px; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.l-mini-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.l-mini-card.warn { background: #fdeaee; border-color: #f8c7d1; }
.l-mini-card .ti { font-size: 10.5px; font-weight: 700; color: var(--poor); margin-bottom: 1px; }
.l-mini-card .tb { font-size: 9px; color: #b23a52; }
.l-mini-card.info { background: var(--sky); border-color: #cfe0ff; }
.l-mini-card.info .ti { color: var(--navy); font-size: 10px; font-weight: 700; }
.l-mini-card.info .tb { color: var(--brand2, var(--brand)); font-size: 9px; margin-top: 4px; }
.l-insights-title { font-size: 10px; font-weight: 700; color: var(--navy); margin: 2px 0 1px; }
.l-insight-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 9.5px; }
.l-insight-row .amt { color: var(--poor); font-weight: 700; }
.l-insight-row .amt2 { color: #c47f10; font-weight: 700; }
.l-insight-row .pts { color: var(--good); font-weight: 800; font-size: 9px; }
.l-tabbar { display: flex; justify-content: space-around; padding: 8px 0 10px; border-top: 1px solid var(--line); background: #fff; }
.l-tabbar div { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 7.5px; color: var(--faint); font-weight: 700; }
.l-tabbar div.on { color: var(--brand); }
.l-tabbar .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; margin-top: -18px; box-shadow: 0 4px 10px rgba(26,99,255,0.4); }
.l-tabbar .dot svg { color: #fff; }

/* phone 2: AI fixes */
.l-ps-top2 { background: linear-gradient(135deg, var(--ai), #4f46e5); color: #fff; padding: 14px 16px; }
.l-ps-top2 .k { font-size: 9px; color: rgba(255,255,255,0.75); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.l-ps-top2 h4 { margin: 4px 0 8px; font-size: 15px; }
.l-ps-top2 .sub { font-size: 9.5px; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.l-ring { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; position: absolute; top: 14px; right: 16px; }
.l-agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.l-agent-ic { background: rgba(255,255,255,0.15); border-radius: 10px; padding: 7px 4px; text-align: center; }
.l-agent-ic svg { margin-bottom: 3px; }
.l-agent-ic span { font-size: 7px; display: block; line-height: 1.2; }
.l-fix-upsell { background: var(--navy); border-radius: 12px; padding: 10px 12px; margin: 10px 0; color: #fff; position: relative; }
.l-fix-upsell .ti { font-size: 10.5px; font-weight: 700; }
.l-journey-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.l-journey-card .k { font-size: 9px; color: var(--muted); font-weight: 700; }
.l-journey-card .v { font-size: 20px; font-weight: 800; color: var(--navy); }
.l-journey-card .d { font-size: 10px; color: var(--good); font-weight: 700; }
.l-checklist div { display: flex; align-items: center; gap: 6px; font-size: 9.5px; padding: 3px 0; color: #33456e; }
.l-checklist svg { flex-shrink: 0; color: var(--good); }
.l-upgrade-btn { background: linear-gradient(135deg, var(--brand), var(--navy)); color: #fff; text-align: center; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 9px; margin-top: 10px; }
.l-maybe { text-align: center; font-size: 9px; color: var(--faint); margin-top: 6px; }

/* ── features section ────────────────────────────────────────────────── */
.l-section { padding: 68px 0; }
.l-section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.l-section-head h2 { font-size: 30px; color: var(--navy); margin: 0 0 10px; letter-spacing: -0.01em; }
.l-section-head p { font-size: 16px; color: var(--muted); margin: 0; line-height: 1.6; }

.l-feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.l-feature-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; }
.l-feature-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.l-feature-icon.blue { background: var(--sky); color: var(--brand); }
.l-feature-icon.purple { background: var(--ai-sky); color: var(--ai); }
.l-feature-icon.green { background: var(--good-sky); color: var(--good); }
.l-feature-card h3 { font-size: 15.5px; margin: 0 0 6px; color: var(--navy); }
.l-feature-card .fdesc { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.l-feature-card .fpremium { font-size: 10px; font-weight: 700; color: var(--ai); background: var(--ai-sky); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.l-feature-visual { margin-top: auto; background: var(--paper); border-radius: 12px; padding: 12px; min-height: 120px; }

/* mini gauge visual (card 1) */
.l-mv-gauge { text-align: center; }
.l-mv-gauge .l-gauge { width: 90px; height: 52px; }
.l-mv-gauge .l-gauge-score { font-size: 22px; }
.l-mv-gauge .l-gauge-band { background: var(--fair); }

/* chat bubble visual (card 2) */
.l-mv-chat { display: flex; gap: 8px; align-items: flex-start; }
.l-mv-chat-av { width: 24px; height: 24px; border-radius: 50%; background: var(--ai); flex-shrink: 0; }
.l-mv-chat-bubble { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font-size: 10.5px; color: #33456e; line-height: 1.4; }
.l-mv-chat-tag { display: inline-flex; align-items: center; gap: 3px; margin-top: 8px; font-size: 10px; font-weight: 700; color: var(--brand); }

/* agent list visual (card 3) */
.l-mv-agent { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; font-size: 10.5px; margin-bottom: 6px; }
.l-mv-agent:last-child { margin-bottom: 0; }
.l-mv-agent .name { font-weight: 700; color: var(--navy); }
.l-mv-agent .status { font-size: 9px; color: var(--muted); }
.l-mv-agent .status.running { color: var(--brand); }
.l-mv-agent .status.done { color: var(--good); }
.l-mv-agent .pts { font-size: 9.5px; font-weight: 800; color: var(--good); }

/* journey chart visual (card 4) */
.l-mv-journey .jtop { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.l-mv-journey .jtop b { font-size: 22px; color: var(--navy); }
.l-mv-journey .jtop span { font-size: 10px; color: var(--good); font-weight: 700; }
.l-mv-journey svg { width: 100%; height: 46px; }
.l-mv-journey .jlabels { display: flex; justify-content: space-between; font-size: 8px; color: var(--faint); margin-top: 4px; }

/* video visual (card 5) */
.l-mv-video { position: relative; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--brand)); height: 96px; display: flex; align-items: center; justify-content: center; }
.l-mv-play { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--brand); box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
.l-mv-video-cap { position: absolute; bottom: 7px; left: 9px; right: 9px; color: #fff; }
.l-mv-video-cap .t1 { font-size: 9.5px; font-weight: 700; }
.l-mv-video-cap .t2 { font-size: 8.5px; color: rgba(255,255,255,0.8); }

/* ── trust / security section ────────────────────────────────────────── */
.l-trust { background: #eef3ff; }
.l-trust .l-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.l-trust-head { max-width: 340px; }
.l-trust-head h2 { font-size: 24px; color: var(--navy); margin: 0 0 8px; }
.l-trust-head p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.l-trust-badges { display: flex; gap: 34px; flex-wrap: wrap; }
.l-trust-badge { text-align: center; max-width: 150px; }
.l-trust-badge .ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1.5px solid #cfe0ff; color: var(--brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.l-trust-badge h4 { font-size: 13px; margin: 0 0 3px; color: var(--navy); }
.l-trust-badge p { font-size: 11px; color: var(--muted); margin: 0; line-height: 1.4; }

/* ── how it works ────────────────────────────────────────────────────── */
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.l-step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: relative; }
.l-step .num { width: 34px; height: 34px; border-radius: 10px; background: var(--sky); color: var(--brand); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.l-step h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy); }
.l-step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.l-faq { max-width: 740px; margin: 0 auto; }
.l-faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.l-faq-item h3 { font-size: 15.5px; margin: 0 0 6px; color: var(--navy); }
.l-faq-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── CTA banner ───────────────────────────────────────────────────────── */
.l-cta { padding: 0 0 68px; }
.l-cta-inner {
  background: linear-gradient(120deg, var(--brand), var(--navy));
  border-radius: 24px; padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.l-cta-text h2 { color: #fff; font-size: 24px; margin: 0 0 8px; }
.l-cta-text p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 0; max-width: 420px; }
.l-cta-stores { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.l-cta-stores .l-store-badge { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); }
.l-cta-note { color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 600; text-align: center; }

/* ── footer ───────────────────────────────────────────────────────────── */
footer.l-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 52px 0 0; }
.l-footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; gap: 28px; padding-bottom: 40px; }
.l-footer-brand .l-brand span { color: #fff; }
.l-footer-brand p { font-size: 13px; margin: 10px 0 0; color: rgba(255,255,255,0.55); }
.l-footer-col h5 { color: #fff; font-size: 13px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.l-footer-col a { display: block; color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.l-footer-col a:hover { color: #fff; }
.l-footer-product p { font-size: 13px; margin: 0 0 4px; color: rgba(255,255,255,0.9); font-weight: 700; }
.l-footer-product span { font-size: 13px; color: rgba(255,255,255,0.6); }
.l-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.55); }

@media (max-width: 980px) {
  .l-hero .l-wrap { grid-template-columns: 1fr; }
  .l-phones { height: 380px; margin-top: 20px; }
  .l-phone { width: 210px; }
  .l-phone-screen { height: 440px; }
  .l-phone-shot { width: 240px; }
  .l-phone-shot.p2 { top: 70px; }
  .l-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .l-steps { grid-template-columns: 1fr; }
  .l-footer-top { grid-template-columns: 1fr 1fr; }
  nav.l-nav { display: none; }
}
@media (max-width: 560px) {
  .l-hero h1 { font-size: 32px; }
  .l-chips { grid-template-columns: repeat(2, 1fr); }
  .l-phones { height: 300px; }
  .l-phone-shot { width: 190px; }
  .l-phone-shot.p2 { top: 55px; }
  .l-feature-grid { grid-template-columns: 1fr; }
  .l-trust .l-wrap { flex-direction: column; align-items: flex-start; }
  .l-footer-top { grid-template-columns: 1fr; }
  .l-cta-inner { flex-direction: column; align-items: flex-start; }
}
