/* ══════════════════════════════════════════════════════════════════
   v2-homepage.css — Homepage sections
   Hero · Trust strip · Before/After · Workflow · Features ·
   Dashboard showcase · Mobile/WhatsApp/PDF showcase · Pricing ·
   FAQ + CTA · Footer
   ══════════════════════════════════════════════════════════════════ */

/* Sticky banner + nav flow naturally at the top — no body padding needed. */

/* ════════════════════════════════════
   1. HERO
   ════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 5% 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 720px;
  background: var(--v2-hero-gradient);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.22);
  font-size: 12.5px; color: var(--accent); font-weight: 500;
  margin-bottom: 22px;
}
.hero-chip::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--text);
  margin: 0 auto 18px;
  max-width: 920px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent2) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.hero-actions {
  display: inline-flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 18px;
}

/* Product Hunt badge — sits above the headline as a kicker */
.ph-badge {
  display: inline-flex; align-items: center;
  margin: 0 0 18px;
  transition: transform var(--dur) var(--ease);
}
.ph-badge:hover { transform: translateY(-1px); }
.ph-badge img { height: 54px; width: auto; }

/* Hero inline trust strip — sits between PH badge and headline */
.hero-trust {
  display: inline-flex; align-items: center; gap: 18px;
  flex-wrap: wrap; justify-content: center;
  font-size: 13px; color: var(--muted);
  margin: 0 0 28px;
}
.hero-trust .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--line-2);
}
.hero-trust .stars { color: var(--accent); letter-spacing: 1px; }

/* Hero dashboard preview */
.hero-preview-wrap {
  margin: 56px auto 0;
  width: 100%;
  max-width: 1120px;
  padding: 0 0 120px;
  position: relative;
}
.hero-preview-wrap::after {
  content: '';
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  width: 80%; height: 260px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.32) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero-preview-wrap .browser { position: relative; z-index: 1; }

/* Dashboard illustration — scalable vector so we don't ship placeholder png */
.dash-illus {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 420px;
  background: #0c0c10;
  color: var(--muted);
}
.dash-illus-side {
  background: #0a0a0c;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.dash-illus-side-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; color: var(--text);
  padding: 6px 8px 16px;
}
.dash-illus-side-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Prevent global .browser-body img { width:100% } from enlarging the brand logo */
.browser-body .dash-illus-side-logo {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  display: block;
}

.dash-illus-side-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.dash-illus-side-brand-copy .brand-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f3f4f6;
  text-align: left;
}

.dash-illus-side-brand-copy .brand-sub {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #6b7280;
  text-align: left;
}
.dash-illus-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px; color: var(--muted);
}
.dash-illus-side a.active {
  background: rgba(245,158,11,0.1);
  color: var(--accent);
}
.dash-illus-side a .ico { width: 14px; height: 14px; }
.dash-illus-main { padding: 20px 24px; }
.dash-illus-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.dash-illus-top h3 { font-size: 17px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; }
.dash-illus-top .btn-hero { height: 34px; padding: 0 14px; font-size: 12.5px; }
.dash-illus-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 18px;
}
.dash-illus-stat {
  background: #0a0a0c; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
}
.dash-illus-stat .lbl { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-illus-stat .val { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-top: 4px; }
.dash-illus-stat .trend { font-size: 11px; color: #22c55e; margin-top: 2px; }
.dash-illus-table {
  background: #0a0a0c; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.dash-illus-table .row {
  display: grid; grid-template-columns: 1fr 1fr 90px 80px 80px;
  gap: 12px; padding: 10px 14px; font-size: 12px; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.dash-illus-table .row:last-child { border-bottom: none; }
.dash-illus-table .row.head { color: var(--muted-2); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.dash-illus-table .row .pill { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; }
.dash-illus-table .row .pill.paid { background: rgba(34,197,94,0.12); color: #22c55e; }
.dash-illus-table .row .pill.pending { background: rgba(245,158,11,0.12); color: var(--accent); }
.dash-illus-table .row .pill.new { background: rgba(59,130,246,0.12); color: #60a5fa; }
.dash-illus-table .row .name { color: var(--text); font-weight: 500; }

/* ── Dashboard mockup — CabHero product-faithful extensions ──
   Adds the 9-item sidebar (incl. Logout), topbar with title + PRO/lang
   pills, dark "Your plan — PRO" strip, amber VAT Calculator CTA card,
   and the "Recent bookings" section label. Matches the real product:
   DARK sidebar + LIGHT main area (flipped from the old all-dark
   mockup). Uses existing light tokens (--bg-light, --bg-light-2,
   --text-light, --muted-light, --line-light) from v2-base.css. */

/* Main area: light canvas (was dark) */
.dash-illus                { background: var(--bg-light); }
.dash-illus-main           { background: var(--bg-light); color: var(--muted-light); }

/* Stat cards: white on light (was dark card on dark) */
.dash-illus-stat           { background: #ffffff; border-color: var(--line-light); box-shadow: 0 1px 2px rgba(15,23,42,0.04); }
.dash-illus-stat .lbl      { color: var(--muted-light); }
.dash-illus-stat .val      { color: var(--text-light); }
.dash-illus-stat .trend    { color: #16a34a; } /* darker green for white card */

/* Trend chips — shared by hero + showcase (hero tightens sizes later) */
.dash-illus-stat .trend {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  background: rgba(15,23,42,0.04);
  color: var(--muted-light);
  width: fit-content;
}
.dash-illus-stat .trend.up   { background: rgba(22,163,74,0.12);  color: #15803d; }
.dash-illus-stat .trend.warn { background: rgba(245,158,11,0.14); color: #b45309; }
.dash-illus-stat .trend .trend-note {
  font-weight: 500; opacity: 0.75; letter-spacing: 0;
}

/* Recent-bookings table: white card, dark ink */
.dash-illus-table          { background: #ffffff; border-color: var(--line-light); }
.dash-illus-table .row     { border-bottom-color: var(--line-light); color: var(--muted-light); }
.dash-illus-table .row.head{ color: var(--muted-light); }
.dash-illus-table .row .name { color: var(--text-light); }

/* Status pills: keep color scheme but bump contrast for white bg */
.dash-illus-table .row .pill.paid    { background: rgba(22,163,74,0.12); color: #15803d; }
.dash-illus-table .row .pill.pending { background: rgba(245,158,11,0.14); color: #b45309; }
.dash-illus-table .row .pill.new     { background: rgba(37,99,235,0.12);  color: #1d4ed8; }

/* Sidebar tightening (8 nav + Logout + brand all fit in ~420px) */
.dash-illus-side                { gap: 2px; padding: 16px 10px; }
.dash-illus-side a              { padding: 7px 10px; font-size: 11.5px; }
.dash-illus-side .brand-sub {
  margin-left: 0;
  opacity: 1;
}
.dash-illus-side a.logout {
  margin-top: auto;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 10px;
  padding-bottom: 2px;
}
.dash-illus-side a.logout:hover { color: var(--text); }

/* Topbar — title on left, PRO + lang pills on right */
.dash-illus-topbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 18px;
  text-align: left;
}
.dash-illus-topbar > div { text-align: left; }
.dash-illus-topbar h3 {
  font-size: 18px; font-weight: 700;
  color: var(--text-light); letter-spacing: -0.02em;
  text-align: left;
}
.dash-illus-topbar .sub {
  font-size: 12px; color: var(--muted-light);
  margin-top: 2px; line-height: 1.4;
  text-align: left;
}
.dash-illus-topbar .topbar-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.pro-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--accent);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pro-pill .ico { width: 10px; height: 10px; }
.lang-pill {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-light);
  background: #ffffff;
  color: var(--muted-light);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em;
}

/* "Your plan — PRO" dark strip */
.dash-illus-pro-strip {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 14px;
  background: #0a0a0c; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12px; color: var(--muted);
}
.dash-illus-pro-strip .lbl { color: var(--text); font-weight: 600; }
.dash-illus-pro-strip .bullets { font-size: 11.5px; }

/* Amber gradient VTC VAT Calculator CTA card */
.dash-illus-vat-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 18px; margin-bottom: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: var(--radius-lg);
  color: #1a1208;
  box-shadow: 0 10px 30px -8px rgba(245,158,11,0.35);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dash-illus-vat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -8px rgba(245,158,11,0.45);
}
.dash-illus-vat-card h4 {
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em; color: #0f0a02;
}
.dash-illus-vat-card p  {
  font-size: 11.5px; line-height: 1.45;
  margin-top: 3px; color: rgba(15,10,2,0.72);
}
.dash-illus-vat-card .tile {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.25);
  display: grid; place-items: center; flex-shrink: 0;
  color: #0f0a02;
}
.dash-illus-vat-card .tile .ico { width: 18px; height: 18px; }

/* Recent bookings section label above the table */
.dash-illus-table .section-label {
  display: block;
  font-size: 10.5px; font-weight: 600;
  color: var(--muted-light);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 10px 14px 6px;
  border-bottom: 1px solid var(--line-light);
}

/* Mobile (<=520px) — stack VAT card, hide PRO strip bullets */
@media (max-width: 520px) {
  .dash-illus-vat-card           { flex-direction: column; align-items: flex-start; }
  .dash-illus-pro-strip .bullets { display: none; }
  .dash-illus-topbar             { flex-direction: column; align-items: flex-start; }
}

/* ── Hero-only premium preview ──
   The full mockup renders in the Dashboard Showcase section below;
   in the hero we strip back to just sidebar + topbar + stats + table
   for a quieter, more confident preview. PRO strip and VAT CTA are
   hidden because they duplicate signals already shown in the topbar
   and nav. Less content, more air, deeper shadow. */

/* 1. Hide surfaces that belong in the Showcase, not the hero. */
.hero-preview-wrap .dash-illus-pro-strip,
.hero-preview-wrap .dash-illus-vat-card { display: none; }

/* 2. Browser chrome — premium float */
.hero-preview-wrap .browser {
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 80px -20px rgba(0,0,0,0.55),
    0 10px 30px -10px rgba(245,158,11,0.18);
}

/* 3. Mockup body — tighter scale, more air between sections */
.hero-preview-wrap .dash-illus           { min-height: 0; }
.hero-preview-wrap .dash-illus-main      { padding: 22px 24px; }

/* 4. Topbar — clean hierarchy */
.hero-preview-wrap .dash-illus-topbar    { margin-bottom: 18px; }
.hero-preview-wrap .dash-illus-topbar h3 { font-size: 17px; letter-spacing: -0.02em; }
.hero-preview-wrap .dash-illus-topbar .sub { font-size: 12px; }

/* 5. Stats — bolder numbers, colored delta chips */
.hero-preview-wrap .dash-illus-stats     { gap: 12px; margin-bottom: 18px; }
.hero-preview-wrap .dash-illus-stat      {
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 4px 16px -8px rgba(15,23,42,0.08);
}
.hero-preview-wrap .dash-illus-stat .lbl  { font-size: 10.5px; letter-spacing: 0.08em; }
.hero-preview-wrap .dash-illus-stat .val  { font-size: 24px; letter-spacing: -0.03em; margin-top: 6px; }
.hero-preview-wrap .dash-illus-stat .trend {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 600;
  background: rgba(15,23,42,0.04);
  color: var(--muted-light);
}
.hero-preview-wrap .dash-illus-stat .trend.up   { background: rgba(22,163,74,0.12);  color: #15803d; }
.hero-preview-wrap .dash-illus-stat .trend.warn { background: rgba(245,158,11,0.14); color: #b45309; }
.hero-preview-wrap .dash-illus-stat .trend .trend-note {
  font-weight: 500; opacity: 0.75; letter-spacing: 0;
}

/* 6. Table — 3 rows, premium rhythm */
.hero-preview-wrap .dash-illus-table {
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 4px 16px -8px rgba(15,23,42,0.08);
}
.hero-preview-wrap .dash-illus-table .section-label { padding: 12px 16px 8px; font-size: 10.5px; }
.hero-preview-wrap .dash-illus-table .row           { padding: 10px 16px; }
/* Keep section-label + header + 3 data rows; hide 6th child (Anna). */
.hero-preview-wrap .dash-illus-table > *:nth-child(n+6) { display: none; }

/* 7. Sidebar — slightly lighter typography to match the premium main */
.hero-preview-wrap .dash-illus-side      { padding: 18px 12px; }
.hero-preview-wrap .dash-illus-side a    { padding: 7px 10px; font-size: 11.5px; }
.hero-preview-wrap .dash-illus-side-brand { padding: 4px 8px 14px; font-size: 12.5px; }

/* ════════════════════════════════════
   2. TRUST STRIP  (light)
   ════════════════════════════════════ */
.trust-strip {
  background: var(--bg-light);
  padding: 44px 5%;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.trust-strip-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.trust-strip-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-light);
}
.trust-strip-items {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap; justify-content: center; flex: 1;
}
.trust-strip-item {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-light); font-size: 15px; font-weight: 600;
}
.trust-strip-item .num { color: var(--accent); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.trust-strip-item .stars { color: var(--accent); font-size: 14px; letter-spacing: 1px; }
.trust-strip-item .ico { color: var(--accent); }
.trust-strip .ph-badge img { height: 44px; }

/* ════════════════════════════════════
   3. BEFORE / AFTER  (dark)
   ════════════════════════════════════ */
.ba-section { background: var(--bg); padding: var(--v2-section-padding); position: relative; overflow: hidden; }
.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; max-width: 1120px;
  margin: 56px auto 0;
  align-items: stretch;
}
.ba-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.ba-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.ba-card-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.ba-list { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.ba-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text-dim); line-height: 1.55;
}
.ba-item .ico-tile { width: 28px; height: 28px; border-radius: 8px; }
.ba-item .ico-tile .ico { width: 14px; height: 14px; }

/* Before card — muted, flat */
.ba-before .ba-card-title { color: var(--muted); }
.ba-before .ico-tile {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: var(--muted-2);
}
.ba-before .ba-item { color: var(--muted); }

/* After card — amber edge + glow */
.ba-after {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #1a160e 0%, var(--bg-card) 70%);
  border-color: rgba(245,158,11,0.35);
  box-shadow:
    0 30px 80px -20px rgba(245,158,11,0.25),
    0 0 0 1px rgba(245,158,11,0.08);
}
/* ════════════════════════════════════
   4. WORKFLOW  (light)
   ════════════════════════════════════ */
.workflow-section { background: var(--bg-light); padding: var(--v2-section-padding); }
.workflow-section .v2-section-title { color: var(--text-light); }
.workflow-section .v2-section-desc  { color: var(--muted-light); }
.workflow-flow {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 1200px; margin: 60px auto 0;
  align-items: stretch;
  position: relative;
}
.workflow-step {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: box-shadow var(--dur), transform var(--dur);
  position: relative;
}
.workflow-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.workflow-step-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.workflow-step .ico-tile {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
}
.workflow-step h3 {
  font-size: 16px; font-weight: 700; color: var(--text-light);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.workflow-step p {
  font-size: 13.5px; color: var(--muted-light); line-height: 1.55;
}
.workflow-arrow {
  position: absolute;
  right: 0; top: 50%;
  /* Center the arrow in the 20px grid gap between cards and align it
     vertically on the card midline. right:0 anchors the arrow's right
     edge to the step's right edge; translate shifts it by half its own
     width (to center on that edge) plus 10px (half the gap) so the icon
     center lands exactly on the gap midline. */
  transform: translate(calc(50% + 10px), -50%);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.workflow-step:last-child .workflow-arrow { display: none; }
.workflow-arrow .ico { width: 22px; height: 22px; stroke-width: 2; }

/* ════════════════════════════════════
   5. FEATURES  (dark, bento)
   ════════════════════════════════════ */
.features-section { background: var(--bg2); padding: var(--v2-section-padding); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 22px;
  max-width: 1160px;
  margin: 56px auto 0;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur);
  display: flex; flex-direction: column;
  min-height: 240px;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.feature::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.35), transparent);
  opacity: 0; transition: opacity var(--dur);
}
.feature:hover::after { opacity: 1; }
.feature .ico-tile { margin-bottom: 20px; }
.feature h3 {
  font-size: 17px; font-weight: 700; color: var(--text);
  letter-spacing: -0.015em; margin-bottom: 8px;
}
.feature p {
  font-size: 14px; color: var(--muted); line-height: 1.6;
}

/* ════════════════════════════════════
   6. DASHBOARD SHOWCASE  (dark)
   ════════════════════════════════════ */
.dash-section { background: var(--bg); padding: var(--v2-section-padding); position: relative; overflow: hidden; }
.dash-section .v2-center { margin-bottom: 56px; }
.dash-section-preview { max-width: 1120px; margin: 0 auto; position: relative; padding-bottom: 40px; }
.dash-section-preview::after {
  content: '';
  position: absolute; left: 10%; right: 10%; bottom: -20px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.22) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.dash-section-preview .browser { position: relative; z-index: 1; }

.dash-callouts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1120px; margin: 48px auto 0;
}
.dash-callout {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.dash-callout .ico-tile { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.dash-callout h4 {
  font-size: 15px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.dash-callout p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ════════════════════════════════════
   7. MOBILE / WHATSAPP / PDF SHOWCASE  (dark)
   ════════════════════════════════════ */
.mwpdf-section { background: var(--bg2); padding: var(--v2-section-padding); overflow: hidden; }
.mwpdf-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 24px; max-width: 1200px; margin: 64px auto 0;
  align-items: stretch;
}
.mwpdf-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
}
.mwpdf-card h3 {
  font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: -0.015em; margin-bottom: 6px;
}
.mwpdf-card p {
  font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 24px;
}
.mwpdf-card .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.mwpdf-visual {
  flex: 1; min-height: 340px;
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  margin-top: auto;
}
.mwpdf-visual::before {
  content: '';
  position: absolute; inset: auto -10% -10% -10%;
  height: 240px;
  background: radial-gradient(ellipse at center bottom, rgba(245,158,11,0.22) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

/* iPhone frame (reused from existing .iphone-shell but clean build) */
.iphone-shell {
  width: 240px;
  aspect-ratio: 240 / 480;
  border-radius: 36px;
  background: linear-gradient(145deg, #141419, #05050a);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  margin-bottom: -20px;
  z-index: 1;
}
.iphone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; border-radius: 0 0 14px 14px;
  background: #04040a; z-index: 2;
}
.iphone-screen {
  width: 100%; height: 100%; border-radius: 28px;
  background: linear-gradient(180deg, #0b0b10 0%, #101018 100%);
  overflow: hidden; padding: 40px 12px 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.iphone-header {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 10px;
}
.iphone-header .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #0b0b10 url('/cabhero-logo.png') center/78% 78% no-repeat;
  border: 1px solid rgba(255,255,255,0.14);
  flex-shrink: 0;
}
.iphone-header .title { font-size: 11px; color: var(--text); font-weight: 700; }
.iphone-header .sub { font-size: 9.5px; color: var(--muted-2); }
.iphone-stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-bottom: 4px;
}
.iphone-stat {
  padding: 8px 10px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.iphone-stat .lbl { font-size: 9px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; }
.iphone-stat .val { font-size: 14px; font-weight: 700; color: var(--text); }
.iphone-row {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 10px; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
}
.iphone-row .name { color: var(--text); font-weight: 500; }
.iphone-row .pill { background: rgba(245,158,11,0.14); color: var(--accent); padding: 2px 6px; border-radius: 99px; font-size: 9px; }

/* WhatsApp bubble mockup */
.wa-phone {
  width: 260px; aspect-ratio: 260 / 480;
  border-radius: 36px;
  background: linear-gradient(145deg, #141419, #05050a);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  margin-bottom: -20px;
  z-index: 1;
}
.wa-phone .iphone-notch { top: 8px; }
.wa-screen {
  width: 100%; height: 100%; border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,26,23,0.9), rgba(10,26,23,0.9)),
    radial-gradient(circle at 20% 10%, rgba(34,197,94,0.05) 0%, transparent 50%);
  display: flex; flex-direction: column;
}
.wa-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 44px 12px 10px;
  background: #0b1e1b;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wa-topbar .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #0b0b10 url('/cabhero-logo.png') center/78% 78% no-repeat;
  border: 1px solid rgba(255,255,255,0.16);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: transparent; font-weight: 700; font-size: 0;
}
.wa-topbar .title { font-size: 11.5px; color: #fff; font-weight: 600; }
.wa-topbar .sub { font-size: 9.5px; color: rgba(255,255,255,0.55); }
.wa-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.wa-bubble {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 10.5px; line-height: 1.45;
  max-width: 88%;
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.wa-bubble.them {
  background: #1f2c2b;
  border-top-left-radius: 2px;
  align-self: flex-start;
}
.wa-bubble.me {
  background: #075e54;
  border-top-right-radius: 2px;
  align-self: flex-end;
}
.wa-bubble b { color: #fff; font-weight: 700; }
.wa-bubble .time { font-size: 8.5px; color: rgba(255,255,255,0.55); margin-top: 3px; display: block; text-align: right; }

/* ── Link-preview bubble ──
   Mimics how WhatsApp renders a shared URL: a rich card (thumbnail +
   title + description + domain) sitting inside the bubble, with the
   URL text below it. Scale/sizes tuned for the 242px-wide phone body
   so the whole card fits a ~215px bubble. */
.wa-link-msg {
  padding: 4px;            /* tight so the preview card extends near the bubble edges */
  max-width: 92%;
}
.wa-link-msg > .time {
  padding: 0 4px 2px;
}
.wa-link-preview {
  background: rgba(0,0,0,0.22);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 5px;
}
.wa-link-thumb {
  position: relative;
  height: 68px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f1310 0%, #182623 55%, #0a1411 100%);
}
.wa-link-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 72% 28%, rgba(245,158,11,0.22), transparent 62%);
  pointer-events: none;
}
.wa-link-thumb-word {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.wa-link-thumb-word em {
  font-style: normal;
  color: var(--accent);
}
.wa-link-info {
  padding: 7px 9px 8px;
}
.wa-link-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 3px;
}
.wa-link-desc {
  font-size: 9.2px;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
  margin-bottom: 5px;
}
.wa-link-desc .wa-link-meta {
  display: inline-block;
  margin-top: 2px;
  color: rgba(255,255,255,0.72);
}
.wa-link-domain {
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.wa-link-url {
  display: block;
  padding: 0 6px;
  font-size: 9.5px;
  color: var(--accent);        /* amber to match the design system */
  word-break: break-all;
  line-height: 1.4;
}

/* PDF invoice mockup */
.pdf-paper {
  width: 230px;
  aspect-ratio: 230 / 310;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
  padding: 22px 20px;
  display: flex; flex-direction: column;
  gap: 10px;
  color: #111;
  position: relative;
  transform: rotate(-3deg);
  z-index: 1;
  margin-bottom: -10px;
}
.pdf-paper::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.pdf-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 10px; color: #666;
}
.pdf-head .logo {
  font-size: 13px; font-weight: 800; color: #111; letter-spacing: -0.02em;
}
.pdf-head .logo span { color: var(--accent); }
.pdf-num { font-size: 9px; color: #999; }
.pdf-row {
  display: flex; justify-content: space-between;
  font-size: 9.5px; padding: 5px 0;
  border-bottom: 1px dashed #e5e5e5;
}
.pdf-row .k { color: #999; }
.pdf-row .v { color: #111; font-weight: 500; }
.pdf-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: auto; padding-top: 8px;
  border-top: 2px solid #111;
  font-size: 14px; font-weight: 800; color: #111;
}
.pdf-total .amt { color: var(--accent); }

/* ════════════════════════════════════
   8. PRICING  (light)
   ════════════════════════════════════ */
.pricing-section {
  background: var(--bg-light);
  padding: var(--v2-section-padding);
  position: relative;
}
.pricing-section .v2-section-label { color: var(--accent); }
.pricing-section .v2-section-title { color: var(--text-light); }
.pricing-section .v2-section-desc  { color: var(--muted-light); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1120px; margin: 56px auto 0;
  align-items: stretch;
}
.plan {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--dur), box-shadow var(--dur);
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-name {
  font-size: 12px; font-weight: 700; color: var(--muted-light);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.plan-price {
  font-size: 46px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-light); line-height: 1;
}
.plan-price span { font-size: 15px; font-weight: 500; color: var(--muted-light); letter-spacing: 0; }
.plan-desc {
  font-size: 14px; color: var(--muted-light); line-height: 1.55;
  margin: 12px 0 24px;
}
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; list-style: none; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-light); line-height: 1.5;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f59e0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 7 12 13 5'/></svg>") center/10px 10px no-repeat;
}
.plan .btn-plan-primary,
.plan .btn-plan-ghost { margin-top: auto; }

/* PRO — premium */
.plan-pro {
  background: linear-gradient(180deg, #141418 0%, #0c0c10 100%);
  color: var(--text);
  border-color: rgba(245,158,11,0.35);
  box-shadow: 0 20px 60px rgba(245,158,11,0.15), 0 30px 80px rgba(0,0,0,0.35);
  position: relative;
}
.plan-pro::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(245,158,11,0.55), rgba(245,158,11,0.05));
  z-index: -1;
  pointer-events: none;
}
.plan-pro .plan-name { color: var(--accent); }
.plan-pro .plan-price { color: var(--text); }
.plan-pro .plan-price span { color: var(--muted); }
.plan-pro .plan-desc { color: var(--muted); }
.plan-pro .plan-features li { color: var(--text-dim); }
.plan-pro .plan-features li::before {
  background-color: rgba(245,158,11,0.18);
}
.plan-badge {
  position: absolute; top: -12px; right: 28px;
  background: var(--accent); color: #111;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px;
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}
.pricing-note {
  text-align: center; font-size: 13px; color: var(--muted-light);
  max-width: 640px; margin: 28px auto 0;
}

/* ════════════════════════════════════
   9. FAQ + CTA  (dark, merged)
   ════════════════════════════════════ */
/* .faq-cta-section / .faq-cta-inner are defined in v2-components.css (shared). */

.faq-grid {
  display: flex; flex-direction: column;
  gap: 10px;
  margin: 40px 0 64px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur), background var(--dur);
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open {
  border-color: rgba(245,158,11,0.4);
  background: linear-gradient(180deg, rgba(245,158,11,0.03) 0%, var(--bg-card) 50%);
}
.faq-question {
  width: 100%; padding: 18px 22px;
  background: transparent; border: none; outline: none;
  color: var(--text); font-size: 15px; font-weight: 600;
  text-align: left; cursor: pointer; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  letter-spacing: -0.01em;
  transition: background var(--dur), color var(--dur);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question:focus-visible {
  outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius);
}
/* CSS-drawn chevron (no SVG needed in markup) */
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur-slow) var(--ease), border-color var(--dur);
}
.faq-item.open .faq-question::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--accent);
}
.faq-chevron {
  flex-shrink: 0; width: 18px; height: 18px;
  color: var(--muted);
  transition: transform var(--dur-slow) var(--ease), color var(--dur);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease);
}
.faq-answer-inner {
  padding: 0 22px 20px; font-size: 14.5px;
  color: var(--muted); line-height: 1.65;
}

/* .faq-cta-card is defined in v2-components.css (shared). */

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 960px) {
  .workflow-flow { grid-template-columns: repeat(2, 1fr); }
  .workflow-arrow { display: none !important; }
  .features-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .dash-callouts { grid-template-columns: 1fr; }
  .mwpdf-grid { grid-template-columns: 1fr; gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .plan-pro { order: -1; }
  .trust-strip-inner { flex-direction: column; align-items: flex-start; }
  .trust-strip-items { justify-content: flex-start; gap: 18px; }
}

@media (max-width: 760px) {
  .ba-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .workflow-flow { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .feature { min-height: 0; }
  .hero { padding-top: 60px; }
  .hero-preview-wrap { margin-top: 40px; padding-bottom: 60px; }
  .dash-illus { grid-template-columns: 1fr; min-height: 340px; }
  .dash-illus-side { display: none; }
  .dash-illus-main { padding: 16px 14px; }
  .hero-preview-wrap .dash-illus-main { padding: 16px 14px; }
  .dash-illus-topbar .topbar-actions { gap: 6px; }
  .dash-illus-topbar h3 { font-size: 15px; }
  .dash-illus-topbar .sub { font-size: 11px; }
  /* Stack stat cards vertically — 3-in-a-row is too cramped at 375px */
  .dash-illus-stats { grid-template-columns: 1fr; gap: 8px; }
  .hero-preview-wrap .dash-illus-stats { gap: 8px; }
  .dash-illus-stat { padding: 12px 14px; }
  .hero-preview-wrap .dash-illus-stat { padding: 12px 14px; }
  .hero-preview-wrap .dash-illus-stat .val { font-size: 22px; }
  .dash-illus-table .row { grid-template-columns: 1fr 70px 60px; font-size: 11px; padding: 10px 14px; }
  .dash-illus-table .row > :nth-child(2),
  .dash-illus-table .row > :nth-child(3) { display: none; }
  .dash-illus-pro-strip { padding: 10px 14px; font-size: 11px; }
  .dash-illus-vat-card { padding: 14px; }
  .dash-illus-vat-card h4 { font-size: 13px; }
  .dash-illus-vat-card p { font-size: 11px; }
  .ba-card { padding: 28px 22px; }
  .mwpdf-card { padding: 28px 22px 0; }
  .mwpdf-visual { min-height: 280px; }
  .iphone-shell, .wa-phone { width: 210px; }
  .pdf-paper { width: 210px; }
  .hero-trust { gap: 12px; font-size: 12.5px; }
}
