/* MotoMount marketing site — same design language as the app redesign:
   navy -> primary gradients, bordered 16–20px cards, tinted icon chips. */

:root {
  --primary: #08489D;
  --primary-bright: #1E5FD0;
  --primary-light: #E7EAF5;
  --icon-fill: #E8EFFC;
  --navy: #0F172A;
  --navy-2: #162A5A;
  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --subtle: #94A3B8;
  --border: #E5E7EB;
  --hairline: #F1F5F9;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --green: #10B981;
  --orange: #F97316;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary-bright);
}
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-top: 10px; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }
.accent { color: var(--primary-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--primary-bright); color: #fff; box-shadow: 0 10px 24px rgba(30, 95, 208, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(30, 95, 208, 0.45); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline { color: var(--primary); border-color: var(--primary); background: #fff; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 14px;
  border-radius: 10px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none !important; transition: transform .15s;
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 10px; letter-spacing: 0.04em; opacity: .85; line-height: 1.1; }
.store-badge strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.15; }
.store-badge.is-soon { opacity: .6; cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 58px; height: auto; }
.brand span {
  font-family: 'Roboto', sans-serif; font-weight: 900; font-style: italic; font-size: 27px;
  color: var(--primary); letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-bright); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2.5px; border-radius: 2px; background: var(--primary-bright);
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) url('../img/hero.jpg') center 42% / cover no-repeat;
  min-height: 600px; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 48, 0.94) 0%, rgba(10, 34, 82, 0.82) 38%, rgba(10, 34, 82, 0.25) 70%, rgba(10, 34, 82, 0.1) 100%);
}
.hero .container { position: relative; min-width: 0; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { max-width: 600px; }
.hero .kicker { color: rgba(255, 255, 255, 0.85); }
.hero h1 { color: #fff; font-size: clamp(42px, 6.2vw, 72px); font-weight: 800; margin-top: 18px; letter-spacing: -0.035em; }
.hero h1 .accent { color: #3B8BFF; display: block; }
.hero-lead { margin-top: 22px; font-size: 19px; color: rgba(255, 255, 255, 0.88); max-width: 520px; overflow-wrap: break-word; }
.hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .store-badges { margin-top: 22px; }
.hero-script {
  position: absolute; right: 6%; top: 38%; transform: rotate(-12deg);
  font-family: 'Kaushan Script', cursive; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1;
  color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35); text-align: center;
}
.hero-script::after {
  content: ''; display: block; height: 4px; width: 70%; margin: 10px 0 0 auto; border-radius: 4px;
  background: linear-gradient(90deg, transparent, #3B8BFF);
}

/* ---------- Feature strip ---------- */
.feature-strip { padding: 56px 0; border-bottom: 1px solid var(--hairline); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { max-width: 250px; }
.icon-chip {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--icon-fill); color: var(--primary-bright);
}
.icon-chip svg { width: 28px; height: 28px; }
.icon-chip.teal { background: #E6F6F2; color: #0F8A70; }
.icon-chip.green { background: #E8F7EE; color: #16935B; }
.feature h3 { font-size: 19px; font-weight: 700; margin-top: 20px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- App showcase ---------- */
.showcase { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.showcase > *, .split > *, .cta > *, .feature-grid > *, .footer-grid > * { min-width: 0; }
.showcase-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.showcase-visual .blob {
  position: absolute; inset: 8% 6%; border-radius: 40px;
  background: radial-gradient(circle at 30% 30%, #DDE8FF, transparent 60%), radial-gradient(circle at 80% 70%, #E6F0FF, transparent 55%);
}
.showcase h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-top: 12px; }
.showcase p.lead { margin-top: 16px; font-size: 17px; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.checklist svg { width: 22px; height: 22px; color: var(--primary-bright); flex: none; }

/* Phone mockup (pure CSS — mirrors the app's redesigned Home) */
.phone {
  position: relative; z-index: 1; width: 280px; border-radius: 42px; padding: 10px; background: #0B1220;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #1F2937;
}
.phone-screen { border-radius: 33px; overflow: hidden; background: #F8FAFC; height: 560px; position: relative; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #0B1220; border-radius: 0 0 16px 16px; z-index: 3; }
.ph-header {
  background: linear-gradient(135deg, #0F172A, #162A5A 55%, var(--primary)); color: #fff;
  padding: 44px 18px 58px; border-radius: 0 0 24px 24px;
}
.ph-greet { font-size: 9px; letter-spacing: .18em; font-weight: 700; color: #93C5FD; text-transform: uppercase; }
.ph-name { font-size: 20px; font-weight: 800; margin-top: 2px; }
.ph-stats {
  margin: -40px 12px 0; background: #fff; border-radius: 16px; box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; padding: 12px 6px; position: relative;
}
.ph-stat { padding: 0 8px; border-left: 1px solid var(--hairline); }
.ph-stat:first-child { border-left: 0; }
.ph-stat small { display: block; font-size: 8px; font-weight: 700; letter-spacing: .12em; color: var(--subtle); text-transform: uppercase; }
.ph-stat b { font-size: 16px; font-weight: 800; color: var(--ink); }
.ph-stat .pill { display: inline-block; margin-top: 2px; font-size: 8px; font-weight: 700; color: #065F46; background: #ECFDF5; border: 1px solid #D1FAE5; padding: 1px 6px; border-radius: 8px; }
.ph-search { margin: 14px 12px 0; height: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--border); font-size: 10px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.ph-chips { display: flex; gap: 6px; margin: 10px 12px 0; }
.ph-chip { font-size: 9px; font-weight: 600; padding: 5px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--border); color: var(--text); }
.ph-chip.on { background: var(--primary-bright); border-color: var(--primary-bright); color: #fff; }
.ph-card { margin: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.ph-card-img { height: 100px; background: url('../img/community.jpg') center/cover; position: relative; }
.ph-card-img span { position: absolute; top: 8px; left: 8px; font-size: 8px; font-weight: 800; color: #fff; background: var(--orange); padding: 3px 7px; border-radius: 6px; letter-spacing: .04em; }
.ph-card-body { padding: 10px 12px 12px; }
.ph-card-body b { font-size: 12px; color: var(--ink); }
.ph-card-body small { display: block; font-size: 9px; color: var(--primary-bright); margin-top: 2px; }
.ph-card-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ph-avatars { display: flex; }
.ph-avatars i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; background: var(--primary); }
.ph-avatars i:first-child { margin-left: 0; background: #F97316; }
.ph-avatars i:nth-child(2) { background: #10B981; }
.ph-join { font-size: 9px; font-weight: 700; color: #fff; background: var(--primary-bright); padding: 5px 12px; border-radius: 8px; }
.ph-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: #fff; border-top: 1px solid var(--hairline); border-radius: 18px 18px 0 0; display: flex; align-items: center; justify-content: space-around; }
.ph-tabbar i { width: 16px; height: 16px; border-radius: 5px; background: #CBD5E1; }
.ph-tabbar i.on { background: var(--primary-bright); }
.ph-fab { width: 40px !important; height: 40px !important; border-radius: 50% !important; background: var(--primary-bright) !important; margin-top: -26px; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(30, 95, 208, .4); }
.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  border: 1px solid var(--hairline); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px;
}
.float-card b { display: block; color: var(--ink); font-size: 13px; }
.float-card small { color: var(--muted); font-size: 11px; }
.float-card .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--icon-fill); color: var(--primary-bright); }
.float-card .dot svg { width: 18px; height: 18px; }
.float-a { top: 44%; left: -2%; }
.float-b { bottom: 12%; right: 0; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright)); box-shadow: 0 8px 18px rgba(30, 95, 208, .3);
}
.step h3 { font-size: 20px; font-weight: 700; margin-top: 20px; }
.step p { margin-top: 10px; color: var(--muted); }

/* ---------- Safety ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; background: var(--navy); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-top: 12px; }
.split p.lead { margin-top: 16px; font-size: 17px; color: var(--muted); }
.safety-list { margin-top: 28px; display: grid; gap: 16px; }
.safety-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: #fff; }
.safety-item .icon-chip { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.safety-item .icon-chip svg { width: 22px; height: 22px; }
.safety-item .icon-chip.red { background: #FEF2F2; color: #DC2626; }
.safety-item h4 { font-size: 16px; font-weight: 700; }
.safety-item p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- About band ---------- */
.about-band {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) url('../img/community.jpg') center / cover no-repeat;
}
.about-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 20, 48, .95) 0%, rgba(10, 34, 82, .85) 50%, rgba(10, 34, 82, .45) 100%); }
.about-band .container { position: relative; }
.about-inner { max-width: 640px; }
.about-band .kicker { color: #93C5FD; }
.about-band h2 { color: #fff; font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin-top: 12px; }
.about-band p { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, .86); }
.about-points { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-point { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 18px; }
.about-point b { display: block; color: #fff; font-size: 16px; }
.about-point span { font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: #D6E2F8; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 16px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--primary-bright); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 96px; }
.cta {
  position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: 64px;
  background: var(--navy) url('../img/cta.jpg') center 60% / cover no-repeat;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 48, .95), rgba(8, 48, 120, .72) 60%, rgba(8, 48, 120, .35)); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .85); font-size: 17px; }
.cta .store-badges { justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand span { color: #fff; }
.footer-about { margin-top: 14px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .55);
}

/* ---------- Legal / inner pages ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 55%, var(--primary)); color: #fff; padding: 72px 0 96px;
  position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; top: -140px; right: -100px; width: 360px; height: 360px; border-radius: 50%; background: rgba(59, 130, 246, .18); }
.page-hero .kicker { color: #93C5FD; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; margin-top: 12px; }
.page-hero p { margin-top: 14px; color: rgba(255, 255, 255, .82); max-width: 620px; font-size: 17px; }
.page-body { margin-top: -48px; position: relative; z-index: 1; padding-bottom: 96px; }
.doc {
  background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-md);
  padding: 48px 56px; max-width: 880px; margin: 0 auto;
}
.doc .updated { font-size: 13px; color: var(--subtle); font-weight: 600; letter-spacing: .02em; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.doc h2:first-of-type { margin-top: 20px; }
.doc p, .doc li { font-size: 16px; color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.callout { margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: var(--icon-fill); border: 1px solid #D6E2F8; color: var(--ink); }
.callout.warn { background: #FFF7ED; border-color: #FED7AA; }
.steps-inline { counter-reset: s; list-style: none !important; padding: 0 !important; }
.steps-inline li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; }
.steps-inline li::before {
  content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #fff; background: var(--primary-bright);
}
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 19px; font-weight: 700; margin-top: 18px; }
.contact-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.contact-card .btn { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase, .split { grid-template-columns: 1fr; gap: 48px; }
  .showcase-visual { order: 2; }
  .cta { grid-template-columns: 1fr; padding: 44px; }
  .cta .store-badges { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-script { display: none; }
  .contact-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 860px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 12px 24px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { display: block; padding: 12px 0; }
  .nav.open .nav-links a.active::after { display: none; }
  .steps { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .container { padding: 0 18px; }
  .hero { min-height: 560px; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .feature-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .doc { padding: 32px 22px; }
  .cta { padding: 32px 24px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 23px; }
  .brand img { width: 50px; }
}
