:root {
  --navy: #24375a;
  --navy-deep: #17243d;
  --orange: #ee7c28;
  --orange-soft: #fdeee2;
  --bg: #f2f1f6;
  --surface: #ffffff;
  --ink: #182741;
  --muted: #5b6b88;
  --line: #e3e6ee;
  --green: #2e9e6c;
  --green-soft: #e3f4ec;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(23, 36, 61, 0.06), 0 12px 32px -12px rgba(23, 36, 61, 0.18);
  --max: 1160px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(238, 124, 40, 0.8); }
.btn-primary:hover { background: #e06d18; }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-dark { background: var(--navy-deep); color: #fff; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 241, 246, 0.85); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; mix-blend-mode: multiply; }
.brand-name { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--navy); }
.brand-name span { color: var(--orange); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--navy); }
.nav .btn { padding: 10px 18px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: -200px -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 124, 40, 0.16), transparent 65%); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -1.8px; font-weight: 850; margin: 20px 0 20px; color: var(--navy-deep); }
h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; font-size: 15px; font-weight: 600; color: var(--navy); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--green); flex: none; }

.hero-visual { position: relative; height: 640px; }
.hero-visual .phone { position: absolute; }
.hero-visual .phone.front { width: 290px; right: 22%; top: 0; z-index: 2; }
.hero-visual .phone.back { width: 260px; right: -2%; top: 70px; transform: rotate(6deg); opacity: 0.97; }
.float-card {
  position: absolute; z-index: 3; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; border: 1px solid var(--line);
}
.float-card b { display: block; font-size: 18px; color: var(--navy-deep); line-height: 1.2; }
.float-card span { color: var(--muted); }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card.a { left: 0; top: 120px; }
.float-card.b { left: 6%; bottom: 70px; }

/* ---------- phone frame ---------- */
.phone {
  background: #0f1729; border-radius: 44px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(23, 36, 61, 0.55), inset 0 0 0 2px #2b3650;
}
.phone .screen { border-radius: 35px; overflow: hidden; background: var(--bg); position: relative; }
.phone .statusbar {
  height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 26px;
  font-size: 13px; font-weight: 700; color: var(--ink); background: var(--bg);
}
.phone .statusbar .icons { display: flex; gap: 5px; align-items: center; }
.phone .statusbar svg { height: 12px; width: auto; }
.phone .screen img { width: 100%; }
.phone .screen::after { /* camera punch-hole */
  content: ''; position: absolute; top: 11px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #0f1729;
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--orange); }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.12; letter-spacing: -1px; font-weight: 820; color: var(--navy-deep); margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* problem */
.problem { background: var(--navy-deep); color: #dfe5f1; border-radius: 32px; margin: 0 16px; padding: 72px 0; }
.problem h2 { color: #fff; }
.problem .section-head p { color: #aab6cc; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--radius); padding: 24px; }
.pain .q { font-size: 15px; color: #ffb27a; font-weight: 700; margin-bottom: 8px; }
.pain h3 { color: #fff; font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.pain p { font-size: 15px; color: #aab6cc; }
.pain .fix { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.15); font-size: 14px; color: #8fe0b8; font-weight: 600; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.feature.flip .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; align-items: flex-start; gap: 20px; position: relative; }
.feature-media::before {
  content: ''; position: absolute; inset: 8% 6%; border-radius: 40px; background: linear-gradient(160deg, #fff, rgba(255, 255, 255, 0)); z-index: 0;
}
.feature-media .phone { width: 280px; position: relative; z-index: 1; }
.feature-media .phone.sm { width: 240px; margin-top: 60px; }
.feature-copy .num { font-size: 14px; font-weight: 800; color: var(--orange); letter-spacing: 1.4px; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.8px; color: var(--navy-deep); margin: 8px 0 14px; font-weight: 800; }
.feature-copy > p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 2px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--navy); }
.pill.green { background: var(--green-soft); border-color: transparent; color: var(--green); }
.pill.orange { background: var(--orange-soft); border-color: transparent; color: #c45d12; }

/* analytics trio */
.trio { display: flex; justify-content: center; gap: 28px; margin-top: 8px; }
.trio .phone { width: 270px; }
.trio .phone:nth-child(2) { transform: translateY(-28px); }
.trio-caps { display: flex; justify-content: center; gap: 28px; margin-top: 18px; }
.trio-caps div { width: 270px; text-align: center; font-weight: 700; color: var(--navy); font-size: 15px; }
.trio-caps div span { display: block; color: var(--muted); font-weight: 500; font-size: 14px; }

/* whatsapp invoice mock */
.wa {
  width: 300px; border-radius: 44px; padding: 10px; background: #0f1729; box-shadow: 0 40px 80px -30px rgba(23, 36, 61, 0.55);
  position: relative; z-index: 1;
}
.wa-screen { border-radius: 35px; overflow: hidden; background: #efe7de; height: 600px; display: flex; flex-direction: column; }
.wa-top { background: #075e54; color: #fff; padding: 40px 16px 12px; display: flex; align-items: center; gap: 10px; }
.wa-top .av { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.wa-top b { display: block; font-size: 15px; line-height: 1.2; }
.wa-top span { font-size: 12px; opacity: 0.8; }
.wa-body { padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; flex: 1; }
.bubble.in { align-self: flex-start; background: #fff; border-radius: 0 12px 12px 12px; }
.wa-day { align-self: center; background: #fff; color: #54656f; font-size: 11px; padding: 3px 10px; border-radius: 6px; margin-bottom: auto; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble { align-self: flex-end; background: #d9fdd3; border-radius: 12px 0 12px 12px; padding: 6px; max-width: 88%; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
.bubble .time { text-align: right; font-size: 11px; color: #667781; padding: 2px 4px 0; }
.bubble .msg { font-size: 13.5px; padding: 2px 6px; color: #111b21; line-height: 1.4; }
.pdf { background: #fff; border-radius: 8px; overflow: hidden; }
.pdf-page { padding: 12px 12px 10px; font-size: 8.5px; line-height: 1.4; color: var(--ink); border-top: 4px solid var(--orange); }
.pdf-page .h { display: flex; justify-content: space-between; border-bottom: 1.5px solid var(--navy); padding-bottom: 6px; margin-bottom: 6px; }
.pdf-page .cn { font-weight: 800; font-size: 11px; color: var(--navy); }
.pdf-page .inv { color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-align: right; }
.pdf-page .row { display: flex; justify-content: space-between; padding: 3px 0; }
.pdf-page .th { background: var(--navy); color: #fff; font-weight: 700; padding: 3px 5px; margin-top: 4px; }
.pdf-page .stamp { display: inline-block; margin-top: 6px; color: var(--green); border: 1.5px solid var(--green); border-radius: 4px; padding: 1px 8px; font-weight: 800; letter-spacing: 2px; transform: rotate(-4deg); }
.pdf-meta { display: flex; align-items: center; gap: 8px; padding: 8px; background: #f5f6f6; font-size: 12px; }
.pdf-meta .ic { background: #e5483c; color: #fff; font-weight: 800; font-size: 10px; border-radius: 4px; padding: 3px 4px; }
.pdf-meta span { color: #667781; font-size: 11px; }

/* more features grid */
.grid-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; color: var(--navy-deep); margin-bottom: 6px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 20px; color: var(--navy-deep); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }
.step .time { position: absolute; top: 28px; right: 28px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; }
.flow {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 15px;
}
.flow span { background: var(--bg); padding: 8px 14px; border-radius: 10px; }
.flow i { color: var(--orange); font-style: normal; font-weight: 800; }

/* specialties */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.chips span { background: var(--surface); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--navy); }

/* pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; max-width: 940px; margin: 0 auto; }
.price-card { background: var(--navy-deep); color: #dfe5f1; border-radius: 28px; padding: 40px; position: relative; overflow: hidden; }
.price-card::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; top: -120px; background: radial-gradient(circle, rgba(238, 124, 40, 0.45), transparent 70%); }
.price-card .tag { display: inline-block; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.5px; }
.price-card .amt { font-size: 64px; font-weight: 850; color: #fff; letter-spacing: -2px; line-height: 1; margin: 22px 0 6px; }
.price-card .amt small { font-size: 20px; font-weight: 600; color: #aab6cc; letter-spacing: 0; }
.price-card .per-day { color: #ffb27a; font-weight: 700; }
.price-card .checks { margin: 26px 0 30px; }
.price-card .checks li { color: #dfe5f1; }
.price-card .checks svg { color: #6fd6a4; }
.price-card .btn { width: 100%; position: relative; z-index: 1; }
.price-card .amt s { font-size: 28px; font-weight: 600; color: #8c99b3; letter-spacing: 0; margin-right: 12px; vertical-align: middle; }
.price-card.light { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.price-card.light::after { display: none; }
.price-card.light .tag { background: var(--navy); }
.price-card.light .amt { color: var(--navy-deep); }
.price-card.light .amt small { color: var(--muted); }
.price-card.light .per-day { color: var(--muted); }
.price-card.light .checks li { color: var(--ink); }
.price-card.light .checks svg { color: var(--green); }
.price-card .checks + .btn { margin-top: auto; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; }
.price-card .checks { flex: 1; align-content: start; }
.pricing-compare { max-width: 940px; margin: 24px auto 0; }
.compare { background: var(--surface); border-radius: 28px; padding: 36px; border: 1px solid var(--line); }
.compare h3 { font-size: 22px; color: var(--navy-deep); margin-bottom: 18px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; }
.compare .y { color: var(--green); font-weight: 800; }
.compare .n { color: #c9473c; font-weight: 800; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--navy-deep); padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--orange); font-weight: 600; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* final cta */
.final { text-align: center; background: linear-gradient(135deg, var(--orange), #f39a53); color: #fff; border-radius: 32px; margin: 0 16px; padding: 72px 24px; }
.final h2 { color: #fff; }
.final p { font-size: 19px; opacity: 0.95; max-width: 600px; margin: 0 auto; }
.final .cta-row { justify-content: center; }
.final .btn-ghost { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.final .btn-dark:hover, .final .btn-ghost:hover { border-color: #fff; }

footer { padding: 48px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer a { text-decoration: none; font-weight: 600; color: var(--navy); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin: 0 auto; }
  .cta-row, .trust { justify-content: center; }
  .hero-visual { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-visual .phone.front { right: 30%; width: 260px; }
  .hero-visual .phone.back { right: 2%; width: 230px; }
  .pain-grid, .grid-features { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 36px; text-align: left; }
  .feature.flip .feature-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .trio .phone, .trio-caps div { width: 220px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav .btn { display: none; }
  .hero { padding-top: 36px; }
  .hero-visual { height: 470px; }
  .hero-visual .phone.front { width: 215px; right: auto; left: 4%; }
  .hero-visual .phone.back { width: 190px; right: 0; top: 60px; }
  .float-card { display: none; }
  .cta-row .btn { width: 100%; }
  section { padding: 64px 0; }
  .problem, .final { margin: 0 8px; border-radius: 24px; }
  .pain-grid, .grid-features { grid-template-columns: 1fr; }
  .feature-media .phone { width: 240px; }
  .feature-media .phone.sm { display: none; }
  .trio { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding: 36px 16px 8px; margin: 0 -16px; }
  .trio .phone { flex: none; scroll-snap-align: center; transform: none !important; }
  .trio-caps { display: none; }
  .price-card, .compare { padding: 28px 22px; }
  .price-card .amt { font-size: 52px; }
  .wa { width: 270px; }
}
