/* =============================================================================
   AquaFlow — brand layer for the shared design system in style.css.
   Loads second, so its :root wins. Re-skinning is --accent / --accent-deep /
   --accent-wash.
   Extracted verbatim from the Claude Design prototype, then fixed — see the
   RESPONSIVE FIXES block at the bottom.
   ============================================================================= */

:root{--accent:#1C74D4;--accent-deep:#12579F;--accent-wash:#E7F0FC;}

/* ====================== HOME PAGE ====================== */

/* ---------- HERO ---------- */
.hero { padding: 60px 0 70px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--accent-wash), transparent 60%),
    radial-gradient(760px 460px at 4% 8%, #F3FBF8, transparent 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 1.15fr; gap: 54px; align-items: center;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.035em; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent-deep), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: 20px; color: var(--ink-soft); max-width: 520px; }
.hero-cta { margin-top: 32px; display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--grow); }

/* award chips */
.awards { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.award { display: flex; align-items: center; gap: 11px; }
.award-star { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-wash); display:grid; place-items:center; color: var(--accent-deep); flex:none; }
.award-star svg { width: 19px; height: 19px; }
.award b { font-family: var(--font-head); font-size: 15px; display:block; letter-spacing: -0.01em; }
.award span { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- DASHBOARD MOCKUP ---------- */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.mock-top { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2ECF0; }
.mock-url { margin-left: 8px; font-family: var(--font-head); font-size: 12.5px; color: var(--ink-faint); background: var(--bg-tint); padding: 5px 12px; border-radius: 7px; }
.mock-app { display: grid; grid-template-columns: 62px 1fr; height: 430px; }
.mock-rail { background: #071A29; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mock-rail .logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(150deg, var(--accent), var(--accent-deep)); margin-bottom: 10px; flex:none; }
.mock-rail i { width: 34px; height: 34px; border-radius: 9px; display:grid; place-items:center; color:#5E7B90; }
.mock-rail i svg { width: 18px; height: 18px; }
.mock-rail i.on { background: rgba(14,165,196,.18); color: #63D3E6; }
.mock-main { padding: 18px 20px; display: grid; grid-template-rows: auto 1fr; gap: 14px; overflow: hidden; }
.mock-h { display: flex; align-items: center; justify-content: space-between; }
.mock-h h5 { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin:0; }
.mock-h .tag { font-family: var(--font-head); font-size: 11.5px; font-weight:500; color: var(--grow); background: var(--grow-wash); padding: 4px 10px; border-radius: 999px; }
.mock-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; min-height: 0; }

/* map card */
.mock-map { border-radius: 14px; border: 1px solid var(--line); position: relative; overflow: hidden; background:
  linear-gradient(#EAF3F5,#EAF3F5) ; }
.mock-map .grid-bg { position:absolute; inset:0; background-image: linear-gradient(rgba(10,30,48,.05) 1px,transparent 1px), linear-gradient(90deg, rgba(10,30,48,.05) 1px,transparent 1px); background-size: 26px 26px; }
.mock-map .roadv { position:absolute; top:0; bottom:0; left:46%; width:8px; background:#DCE8EB; }
.mock-map .roadh { position:absolute; left:0; right:0; top:38%; height:8px; background:#DCE8EB; }
.mock-route { position:absolute; inset:0; }
.mock-pin { position:absolute; width:22px; height:22px; transform: translate(-50%,-50%); border-radius: 50% 50% 50% 2px; background: var(--accent); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(10,30,48,.25); transform-origin: bottom; }
.mock-pin.done { background: var(--grow); }
.mock-pin.now { background: #F5A623; width:26px; height:26px; box-shadow: 0 0 0 6px rgba(245,166,35,.22), 0 3px 8px rgba(10,30,48,.25); }
.map-badge { position:absolute; left:12px; bottom:12px; background:#fff; border:1px solid var(--line); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow-sm); }
.map-badge b { font-family: var(--font-head); font-size: 15px; display:flex; align-items:center; gap:6px; }
.map-badge b svg { width:14px; height:14px; color: var(--grow); }
.map-badge span { font-size: 11px; color: var(--ink-faint); }

/* stops list */
.mock-stops { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.stop { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line-soft); background:#fff; }
.stop .n { width: 24px; height: 24px; border-radius: 7px; background: var(--bg-tint); color: var(--ink-soft); font-family: var(--font-head); font-size: 12px; font-weight: 600; display:grid; place-items:center; flex:none; }
.stop.done .n { background: var(--grow-wash); color: var(--grow); }
.stop.now { border-color: color-mix(in srgb,#F5A623 45%,transparent); background: #FFF9EF; }
.stop.now .n { background:#FDECCB; color:#B7770A; }
.stop .info { flex: 1; min-width: 0; }
.stop .info b { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stop .info span { font-size: 11px; color: var(--ink-faint); }
.stop .chk { color: var(--grow); width:16px; height:16px; flex:none; }
.stop .chk svg { width:16px;height:16px; }

/* floating chem chip */
.mock-float {
  position: absolute; right: -14px; bottom: 26px; background:#fff; border:1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; width: 186px;
}
.mock-float h6 { font-family: var(--font-head); font-size: 11px; letter-spacing:.08em; text-transform:uppercase; color: var(--ink-faint); margin:0 0 9px; }
.chem-row { display:flex; align-items:center; justify-content:space-between; margin-bottom: 7px; font-size: 12.5px; }
.chem-row:last-child { margin-bottom: 0; }
.chem-row .lab { color: var(--ink-soft); }
.chem-row .val { font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.chem-row .val.ok { color: var(--grow); }
.chem-row .val.warn { color: #C8891A; }
.hero-mock-frame { position: relative; }

/* ---------- TRUST BAR ---------- */
.trust { padding: 30px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-inner { display:flex; align-items:center; gap: 34px; flex-wrap: wrap; justify-content: center; }
.trust p { font-family: var(--font-head); font-size: 13.5px; font-weight:500; color: var(--ink-faint); }
.trust-logos { display:flex; gap: 38px; flex-wrap: wrap; align-items:center; }
.trust-logo { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink-faint); opacity:.62; letter-spacing:-.02em; display:flex; align-items:center; gap:7px; }
.trust-logo svg { width: 18px; height:18px; }

/* ---------- STATS ---------- */
.stats-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat-card { padding: 30px 26px; border-radius: var(--r); border:1px solid var(--line); background:#fff; }
.stat-card .num { font-family: var(--font-head); font-weight: 700; font-size: 46px; letter-spacing:-.03em; line-height:1; background: linear-gradient(120deg,var(--accent-deep),var(--accent)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-card .lab { margin-top: 10px; font-family: var(--font-head); font-weight:600; font-size: 15.5px; }
.stat-card .sub { margin-top: 4px; font-size: 13.5px; color: var(--ink-faint); }

/* ---------- FEATURE ROWS ---------- */
.frow { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.frow + .frow { margin-top: 104px; }
.frow.flip .fcopy { order: 2; }
.fcopy h3 { font-size: clamp(26px,3vw,36px); margin-top:14px; }
.fcopy p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.fchecks { margin-top: 22px; display:flex; flex-direction:column; gap: 12px; }
.fcheck { display:flex; gap: 11px; align-items:flex-start; font-size: 15.5px; }
.fcheck .ic { width: 22px; height:22px; border-radius:7px; background:var(--accent-wash); color:var(--accent-deep); display:grid; place-items:center; flex:none; margin-top:1px; }
.fcheck .ic svg { width:13px; height:13px; }
.fcheck b { font-family:var(--font-head); font-weight:600; }
.flink { margin-top: 24px; display:inline-flex; align-items:center; gap:7px; font-family:var(--font-head); font-weight:600; font-size:15.5px; }
.flink svg { width:16px; height:16px; transition: transform .18s ease; }
.flink:hover svg { transform: translateX(3px); }

/* feature visual panels */
.fvis { border-radius: var(--r-lg); border:1px solid var(--line); box-shadow: var(--shadow); overflow:hidden; position:relative; }
.fvis-head { padding: 15px 18px; border-bottom:1px solid var(--line-soft); display:flex; align-items:center; justify-content:space-between; }
.fvis-head b { font-family:var(--font-head); font-size:14.5px; font-weight:600; }
.fvis-head .dots { display:flex; gap:5px; }
.fvis-head .dots i { width:9px;height:9px;border-radius:50%;background:#E2ECF0; }
.fvis-body { padding: 20px; }

/* billing visual */
.inv { background: var(--bg-tint); border-radius:14px; padding: 16px; }
.inv-line { display:flex; justify-content:space-between; padding: 9px 0; border-bottom:1px dashed var(--line); font-size:14px; }
.inv-line:last-child { border-bottom:none; }
.inv-line.total { font-family:var(--font-head); font-weight:700; font-size:16px; padding-top:12px; }
.inv-line .mono-num { font-family:var(--font-head); }
.pay-row { margin-top:14px; display:flex; gap:9px; }
.pay-chip { flex:1; text-align:center; padding:11px; border-radius:10px; border:1px solid var(--line); background:#fff; font-family:var(--font-head); font-size:12.5px; font-weight:600; color:var(--ink-soft); }
.pay-chip.on { border-color:var(--accent); background:var(--accent-wash); color:var(--accent-deep); }
.paid-stamp { margin-top:14px; display:flex; align-items:center; gap:9px; padding:12px 14px; border-radius:11px; background:var(--grow-wash); color:var(--grow); font-family:var(--font-head); font-weight:600; font-size:14.5px; }
.paid-stamp svg { width:18px; height:18px; }

/* phone mock */
.phone-wrap { display:flex; justify-content:center; }
.phone {
  width: 268px; background:#071A29; border-radius: 38px; padding: 11px; box-shadow: var(--shadow-lg);
}
.phone-screen { background:#fff; border-radius: 29px; overflow:hidden; height: 520px; display:flex; flex-direction:column; }
.ph-top { background: linear-gradient(150deg,var(--accent),var(--accent-deep)); color:#fff; padding: 22px 18px 18px; }
.ph-top .t { font-family:var(--font-head); font-size:12px; opacity:.85; letter-spacing:.04em; }
.ph-top h6 { font-family:var(--font-head); font-size:19px; font-weight:600; margin:5px 0 0; }
.ph-top .row { display:flex; gap:8px; margin-top:14px; }
.ph-top .kpi { flex:1; background:rgba(255,255,255,.16); border-radius:11px; padding:9px 11px; }
.ph-top .kpi b { font-family:var(--font-head); font-size:16px; display:block; }
.ph-top .kpi span { font-size:10.5px; opacity:.85; }
.ph-body { padding: 16px; flex:1; overflow:hidden; }
.ph-body .cap { font-family:var(--font-head); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:11px; }
.ph-task { display:flex; align-items:center; gap:11px; padding:11px 0; border-bottom:1px solid var(--line-soft); }
.ph-task .box { width:22px;height:22px;border-radius:7px;border:2px solid var(--line); flex:none; display:grid; place-items:center; }
.ph-task.done .box { background:var(--grow); border-color:var(--grow); color:#fff; }
.ph-task.done .box svg { width:12px;height:12px; }
.ph-task .lab { font-size:14px; font-family:var(--font-head); font-weight:500; }
.ph-task.done .lab { color:var(--ink-faint); text-decoration:line-through; }
.ph-cta { margin:14px 16px 18px; text-align:center; padding:13px; border-radius:13px; background:var(--accent); color:#fff; font-family:var(--font-head); font-weight:600; font-size:14.5px; }

/* ---------- FEATURE GRID ---------- */
.fgrid { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.fcard { padding: 26px 24px; border-radius: var(--r); border:1px solid var(--line); background:#fff; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb,var(--accent) 35%,var(--line)); }
.fcard .ic { width: 44px; height:44px; border-radius: 12px; background: var(--accent-wash); color: var(--accent-deep); display:grid; place-items:center; margin-bottom: 16px; }
.fcard .ic svg { width: 22px; height:22px; }
.fcard h4 { font-size: 18px; }
.fcard p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- HOW IT WORKS ---------- */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; position: relative; }
.step { padding: 30px 26px; border-radius: var(--r); background:#fff; border:1px solid var(--line); }
.step .no { font-family:var(--font-head); font-weight:700; font-size: 15px; width: 40px; height:40px; border-radius:12px; background: var(--ink); color:#fff; display:grid; place-items:center; margin-bottom:18px; }
.step h4 { font-size: 19px; }
.step p { margin-top: 9px; font-size: 15px; color: var(--ink-soft); }

/* ---------- TESTIMONIALS ---------- */
.tgrid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard { padding: 30px 28px; border-radius: var(--r); background:#fff; border:1px solid var(--line); display:flex; flex-direction:column; }
.tstars { display:flex; gap:3px; color:#F5A623; margin-bottom: 16px; }
.tstars svg { width:16px;height:16px; }
.tcard blockquote { margin:0; font-size: 16.5px; line-height:1.55; flex:1; }
.twho { margin-top: 22px; display:flex; align-items:center; gap: 12px; }
.tavatar { width: 44px; height:44px; border-radius: 50%; overflow:hidden; flex:none; background: var(--accent-wash); }
.tavatar image-slot { width:44px; height:44px; }
.twho b { font-family:var(--font-head); font-size:15px; display:block; }
.twho span { font-size: 13px; color: var(--ink-faint); }

/* ---------- PRICING TEASER ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.pcard { padding: 32px 28px; border-radius: var(--r-lg); border:1px solid var(--line); background:#fff; display:flex; flex-direction:column; }
.pcard.feat { border-color: var(--accent); box-shadow: 0 20px 50px -20px color-mix(in srgb,var(--accent) 45%,transparent); position:relative; }
.pcard.feat::after { content:"Most popular"; position:absolute; top:-12px; left:28px; background:var(--accent); color:#fff; font-family:var(--font-head); font-size:11.5px; font-weight:600; padding:5px 12px; border-radius:999px; letter-spacing:.03em; }
.pcard .plan { font-family:var(--font-head); font-weight:600; font-size: 17px; }
.pcard .price { margin: 14px 0 4px; font-family:var(--font-head); font-weight:700; font-size: 42px; letter-spacing:-.03em; }
.pcard .price span { font-size: 16px; font-weight:500; color: var(--ink-faint); }
.pcard .pdesc { font-size: 14px; color: var(--ink-soft); min-height: 40px; }
.pcard ul { list-style:none; padding:0; margin: 18px 0 24px; display:flex; flex-direction:column; gap:11px; }
.pcard li { display:flex; gap:10px; align-items:flex-start; font-size:14.5px; }
.pcard li svg { width:17px;height:17px;color:var(--grow); flex:none; margin-top:1px; }
.pcard .btn { width:100%; justify-content:center; margin-top: auto; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--bg-deep); color:#fff; border-radius: var(--r-xl); padding: 68px 60px; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 380px at 85% 10%, color-mix(in srgb,var(--accent) 55%,transparent), transparent 60%); }
.cta-band::after { content:""; position:absolute; left:-40px; bottom:-80px; width:320px;height:320px;border-radius:50%; background: radial-gradient(circle, color-mix(in srgb,var(--accent) 30%,transparent), transparent 62%); }
.cta-band .inner { position:relative; z-index:1; max-width: 640px; }
.cta-band h2 { color:#fff; font-size: clamp(30px,4vw,46px); }
.cta-band p { margin-top:16px; font-size: 19px; color:#B7CDD9; }
.cta-band .hero-cta { margin-top: 30px; }
.cta-band .btn-ghost { background: transparent; color:#fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); color:#fff; border-color:#fff; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .frow, .frow.flip .fcopy { grid-template-columns: 1fr; order: 0; }
  .frow + .frow { margin-top: 70px; }
  .fgrid, .steps, .tgrid, .price-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .mock-float { display:none; }
  .cta-band { padding: 48px 30px; }
}
@media (max-width: 620px) {
  .fgrid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1; justify-content:center; }
}
