/* =====================================================================
   Kameme — Marketing Site Stylesheet
   Design language: Bento grid + soft glassmorphism, matching the app.
   Brand: primary #0E7C66 | primaryDark #0A5A4A | accent #FFB703
   ===================================================================== */

:root {
  --primary: #0E7C66;
  --primary-dark: #0A5A4A;
  --primary-50: #E6F4F0;
  --primary-100: #CDE9E1;
  --accent: #FFB703;
  --accent-dark: #F08A00;
  --bg: #F4F7F9;
  --surface: #FFFFFF;
  --ink: #0E1B2A;
  --muted: #5C6B7A;
  --line: rgba(14, 27, 42, 0.08);
  --danger: #C0392B;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 4px 12px rgba(14, 27, 42, 0.06), 0 12px 24px rgba(14, 27, 42, 0.08);
  --shadow-lift: 0 16px 28px rgba(14, 27, 42, 0.10);
  --maxw: 1160px;
  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; color: var(--muted); }

a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-dark); }

img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.lead { font-size: 18px; max-width: 60ch; }

.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 124, 102, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(14, 124, 102, 0.36); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: rgba(14, 124, 102, 0.4);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 249, 0.75);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14, 27, 42, 0.05); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  color: #fff;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}
.hero::before { width: 460px; height: 460px; background: rgba(255, 183, 3, 0.22); top: -160px; right: -80px; }
.hero::after { width: 380px; height: 380px; background: rgba(255, 255, 255, 0.12); bottom: -160px; left: -100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 96px;
}
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); margin-bottom: 20px; }
.hero .lead { color: rgba(255, 255, 255, 0.86); font-size: 19px; max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust .stat strong { display: block; font-family: var(--font-head); font-size: 26px; color: #fff; font-weight: 800; }
.hero-trust .stat span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

/* Phone mockup */
.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  width: 290px;
  height: 580px;
  background: #fff;
  border-radius: 42px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(10, 90, 74, 0.45), inset 0 0 0 2px rgba(255,255,255,0.6);
  position: relative;
}
.phone-screen {
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 48%, #0c6453 100%);
  overflow: hidden;
  position: relative;
  color: #fff;
  padding: 22px 18px;
}
.phone-screen .ph-logo { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.15); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.phone-screen .ph-greet { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin: 16px 0 4px; }
.phone-screen .ph-sub { font-size: 12px; color: rgba(255,255,255,0.8); margin-bottom: 18px; }
.ph-card { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.ph-card .row { display: flex; justify-content: space-between; align-items: center; }
.ph-card .label { font-size: 11px; color: rgba(255,255,255,0.78); }
.ph-card .val { font-weight: 700; font-size: 13px; }
.ph-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; background: rgba(255,183,3,0.18); color: #FFD56b; padding: 4px 10px; border-radius: 999px; margin: 4px 4px 0 0; }
.ph-btn { background: var(--accent); color: #1a1205; font-weight: 800; text-align: center; border-radius: 12px; padding: 12px; margin-top: 6px; font-size: 13px; }
.ph-btn.alt { background: rgba(255,255,255,0.16); color: #fff; }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.float-card.c1 { top: 40px; left: -26px; }
.float-card.c2 { bottom: 70px; right: -30px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Logos / trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 48px; padding: 28px 24px; }
.strip-inner span { font-family: var(--font-head); font-weight: 700; color: var(--muted); opacity: 0.7; font-size: 15px; }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 42px); }
.section-head p { font-size: 18px; }

/* ---------- Bento feature grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--primary-50);
  color: var(--primary);
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; margin: 0; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.card.feature-wide { background: var(--gradient-brand); color: #fff; }
.card.feature-wide h3, .card.feature-wide p { color: #fff; }
.card.feature-wide .icon { background: rgba(255,255,255,0.16); color: #fff; }
.card.accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: #2a1c00; }
.card.accent h3, .card.accent p { color: #2a1c00; }
.card.accent .icon { background: rgba(255,255,255,0.4); color: #2a1c00; }

/* ---------- Split feature (passengers / drivers) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split h2 { font-size: clamp(26px, 3vw, 36px); }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; margin-top: 2px; }
.feature-list strong { display: block; color: var(--ink); font-weight: 700; }
.feature-list span { font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.step .num { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #fff; background: var(--gradient-brand); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; margin: 0; }

/* ---------- Stats band ---------- */
.band { background: var(--gradient-brand); color: #fff; border-radius: var(--radius-xl); padding: 56px 40px; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.band .stat strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; }
.band .stat span { color: rgba(255,255,255,0.82); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform 0.25s ease; color: var(--primary); flex: 0 0 auto; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a div { padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: 15px; }

/* ---------- CTA ---------- */
.cta-final { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 64px 40px; text-align: center; box-shadow: var(--shadow-soft); }
.cta-final h2 { font-size: clamp(28px, 3.5vw, 40px); }
.cta-final .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0B141E; color: rgba(255,255,255,0.72); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-family: var(--font-head); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--gradient-brand); color: #fff; padding: 72px 0 56px; }
.legal-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.legal-hero p { color: rgba(255,255,255,0.85); margin: 0; }
.legal-wrap { padding: 56px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.legal-toc a:hover, .legal-toc a.active { background: var(--primary-50); color: var(--primary); }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 24px; margin-top: 40px; scroll-margin-top: 96px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 18px; margin-top: 28px; }
.legal-content p, .legal-content li { font-size: 15.5px; color: #36434f; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { font-weight: 600; }
.legal-content .updated { font-size: 14px; color: var(--muted); margin-bottom: 28px; display: inline-block; background: var(--primary-50); padding: 6px 14px; border-radius: 999px; }
.legal-content strong { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .hero-art { order: -1; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-3, .span-4, .span-2 { grid-column: span 1; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface); padding: 12px 24px 20px;
    box-shadow: var(--shadow-soft); border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta .btn-outline { display: none; }
  .bento { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-trust { gap: 20px; }
  .phone { width: 250px; height: 500px; }
}
