/* Kamu · kamu.pk marketing site (2026-09-27).
   Three brand colours and no more (kamu-flutter/lib/design.dart): Deep Navy #132238,
   Teal #14B8A6, Warm Paper #F6F3ED. Everything else is a tint of those. Montserrat, like the app. */

:root {
  --paper: #F6F3ED;
  --paper-2: #EDE9E0;
  --navy: #132238;
  --navy-2: #0B1420;
  --navy-3: #1B2E47;
  --teal: #14B8A6;
  --teal-ink: #0F8F82;
  --mist: #E2EDE6;
  --ink: #132238;
  --ink-muted: rgba(19, 34, 56, .72);
  --ink-faint: rgba(19, 34, 56, .45);
  --line: rgba(19, 34, 56, .12);
  --white: #FFFFFF;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(19,34,56,.05), 0 18px 48px rgba(19,34,56,.10);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-muted); }
.kicker { display: inline-block; color: var(--teal-ink); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--paper); box-shadow: 0 10px 28px rgba(19,34,56,.22); }
.btn-primary:hover { background: var(--navy-3); }
.btn-teal { background: var(--teal); color: var(--navy-2); box-shadow: 0 10px 28px rgba(20,184,166,.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); }
.btn-light { background: var(--paper); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(246,243,237,.35); }
.btn-outline-light:hover { background: rgba(246,243,237,.08); }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,243,237,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand .mark { width: 36px; height: 36px; border-radius: 11px; background: var(--navy); display: grid; place-items: center; }
.brand .mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; color: var(--ink-muted); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ── hero ── */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto; height: 120%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(20,184,166,.22), transparent 60%),
    radial-gradient(500px 360px at 10% 70%, rgba(19,34,56,.10), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--teal-ink); }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); max-width: 560px; }
.hero .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--ink-muted); font-size: 14px; font-weight: 600; }
.hero .facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* ── phone mockup (pure CSS, no image) ── */
.phone-wrap { display: grid; place-items: center; }
.phone {
  width: 320px; max-width: 100%; aspect-ratio: 9 / 18.6; border-radius: 44px; background: var(--navy-2);
  padding: 12px; box-shadow: 0 30px 80px rgba(19,34,56,.32), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: #000; }
.screen { width: 100%; height: 100%; border-radius: 34px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.screen .top { padding: 46px 18px 10px; font-weight: 700; font-size: 14px; color: var(--ink-muted); display: flex; justify-content: space-between; align-items: center; }
.screen .top b { color: var(--ink); font-size: 15px; }
.chat { flex: 1; padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: pop .5s ease forwards; }
.bubble.me { align-self: flex-end; background: var(--navy); color: var(--paper); border-bottom-right-radius: 6px; }
.bubble.kamu { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(19,34,56,.06); }
.bubble:nth-child(1) { animation-delay: .3s; }
.bubble:nth-child(2) { animation-delay: 1.1s; }
.bubble:nth-child(3) { animation-delay: 1.9s; }
.bubble:nth-child(4) { animation-delay: 2.8s; }
.bubble:nth-child(5) { animation-delay: 3.7s; }
.quote { margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); font-size: 12.5px; }
.quote .row { display: flex; justify-content: space-between; gap: 8px; }
.quote .row + .row { margin-top: 4px; }
.quote .total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-weight: 800; font-size: 14px; }
.quote .btn-mini { margin-top: 10px; display: block; text-align: center; background: var(--teal); color: var(--navy-2); font-weight: 800; border-radius: 999px; padding: 8px; font-size: 12.5px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 12.5px; color: var(--teal-ink); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s infinite; }
.composer { margin: 0 14px 16px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 12px 9px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-faint); }
.composer .mic { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.composer .mic svg { width: 15px; height: 15px; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(20,184,166,.5); } 60% { box-shadow: 0 0 0 8px rgba(20,184,166,0); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; opacity: 1; transform: none; } .status i { animation: none; } }

/* ── sections ── */
section { padding: 84px 0; }
.section-head { max-width: 680px; }
.section-head h2 { margin-top: 12px; font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; color: var(--teal-ink); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-top: 18px; font-size: 20px; font-weight: 800; }
.card p { margin-top: 10px; color: var(--ink-muted); font-size: 15.5px; }
.card .soon { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); background: var(--mist); padding: 4px 10px; border-radius: 999px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--paper); font-weight: 800; }
.step h3 { margin-top: 16px; font-size: 19px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--ink-muted); font-size: 15px; }

/* dark band (providers) */
.band { background: var(--navy); color: var(--paper); }
.band .kicker { color: var(--teal); }
.band .section-head p, .band .muted { color: rgba(246,243,237,.72); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .band .wrap { grid-template-columns: 1fr; } }
.band ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.band li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 16.5px; }
.band li svg { width: 26px; height: 26px; color: var(--teal); margin-top: 2px; }
.band li b { display: block; font-weight: 800; }
.band li span { color: rgba(246,243,237,.72); font-size: 15px; }
.band .ctas { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.switch-card { background: var(--navy-3); border: 1px solid rgba(246,243,237,.12); border-radius: var(--radius); padding: 28px; }
.switch-card h3 { font-size: 20px; font-weight: 800; }
.switch-card p { margin-top: 10px; color: rgba(246,243,237,.72); font-size: 15px; }
.toggle { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; background: rgba(11,20,32,.6); border-radius: 999px; padding: 6px; gap: 6px; }
.toggle span { text-align: center; padding: 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: rgba(246,243,237,.6); }
.toggle span.on { background: var(--teal); color: var(--navy-2); }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }
.trust .card { padding: 24px; }
.trust h3 { font-size: 17px; }

/* get the app */
.get { background: var(--paper-2); }
.get .panel {
  margin-top: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 40px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; box-shadow: var(--shadow);
}
@media (max-width: 860px) { .get .panel { grid-template-columns: 1fr; padding: 28px; } }
.get h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.get p { margin-top: 12px; color: var(--ink-muted); }
.get .ctas { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.stores { display: grid; gap: 12px; }
.store { display: flex; align-items: center; gap: 14px; border: 1px dashed var(--line); border-radius: 16px; padding: 14px 16px; color: var(--ink-muted); font-weight: 600; font-size: 15px; }
.store svg { width: 28px; height: 28px; color: var(--ink); }
.store small { display: block; font-weight: 600; color: var(--ink-faint); font-size: 12px; }

/* footer */
footer { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 600; }
footer nav a:hover { color: var(--ink); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.legal .updated { margin-top: 10px; color: var(--ink-faint); font-size: 14px; font-weight: 600; }
.legal h2 { margin-top: 40px; font-size: 22px; font-weight: 800; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-muted); font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--teal-ink); font-weight: 600; }

/* reveal on scroll (progressive: only a page that has JS hides anything, so without JS or with
   reduced motion every section is simply there) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
