:root {
  --navy: #1a2344;
  --navy-light: #2d3a6b;
  --gold: #ca993b;
  --gold-light: #e8b84b;
  --ink: #1f2430;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --bg: #fafafa;
  --card: #ffffff;
  --border: #e9ebf1;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(26, 35, 68, 0.07);
  --shadow-lg: 0 20px 60px rgba(26, 35, 68, 0.14);
  --max: 1180px;
}

/* min-width:0 is a no-op outside flex/grid contexts, but it stops flex/grid
   children (mock tiles, hero columns, table cells) from refusing to shrink
   below their content's intrinsic width and blowing out the layout on narrow
   screens — the default min-width:auto is the culprit. */
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(202, 153, 59, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: 38px; line-height: 1.15; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 35, 68, 0.25);
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(202, 153, 59, 0.35);
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; transition: transform 0.2s ease; }
.brand:hover img { transform: scale(1.04); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(var(--float-rot, 0deg)); }
  50%      { transform: translateY(-10px) rotate(var(--float-rot, 0deg)); }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
@keyframes softPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-float, .hero-copy, .hero-visual { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, #3a4a86 100%);
  overflow: hidden;
  padding: 110px 0 130px;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(202, 153, 59, 0.18);
}
.hero::before { width: 420px; height: 420px; right: -140px; top: -160px; }
.hero::after { width: 260px; height: 260px; left: -80px; bottom: -100px; background: rgba(255,255,255,0.06); }
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}
.hero-visual {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  font-size: 50px;
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--gold-light); }
.hero p.lead {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 26px; color: #fff; font-family: 'Poppins', sans-serif; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.6); }

/* Hero dashboard screenshot carousel */
.hero-visual { position: relative; }
.browser-frame {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.2deg);
  position: relative;
}
.mock-titlebar {
  background: var(--navy);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); }

.browser-slides {
  position: relative;
  aspect-ratio: 1400 / 795;
  background: #f4f6fb;
  overflow: hidden;
}
.browser-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.browser-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.browser-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.browser-slide-label {
  position: absolute;
  left: 14px; top: 14px;
  background: rgba(26,35,68,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  border: none;
  font-size: 20px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 10;
  transition: transform 0.15s ease, background 0.15s ease;
}
.hero-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-nav-prev { left: 10px; }
.hero-nav-next { right: 10px; }

.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}
.hero-dot.active { background: var(--gold-light); width: 22px; border-radius: 4px; }

.mock-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.mock-float.f1 { top: -18px; left: -28px; --float-rot: -4deg; animation: floatBob 5s ease-in-out infinite; }
.mock-float.f2 { bottom: -20px; right: -20px; --float-rot: 3deg; animation: floatBob 5.6s ease-in-out infinite 0.4s; }
.mock-float.f3 { top: 68%; right: -30px; --float-rot: -2deg; animation: floatBob 4.6s ease-in-out infinite 0.8s; }
.mock-float .ico {
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(202,153,59,0.15); color: var(--gold);
  flex-shrink: 0;
}
.mock-float.f3 .ico {
  background: rgba(220,38,38,0.14); color: #dc2626;
  animation: pulseRing 2s ease-out infinite;
}
@media (max-width: 640px) {
  .mock-float { display: none; }
}

/* ---------- Logos / trust strip ---------- */
.trust {
  padding: 46px 0;
  border-bottom: 1px solid var(--border);
}
.trust p {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 26px;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.trust-item .ico { color: var(--gold); flex-shrink: 0; }

/* ---------- Problem / Solution ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-card {
  border-radius: var(--radius);
  padding: 34px;
  height: 100%;
}
.split-card.problem {
  background: #fff5f5;
  border: 1px solid #fde0e0;
}
.split-card.solution {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
}
.split-card h3 { font-size: 22px; margin-bottom: 18px; }
.split-card.solution h3 { color: #fff; }
.split-card.problem h3 { color: #b91c1c; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
}
.check-list.problem li { color: #7f1d1d; }
.check-list.solution li { color: rgba(255,255,255,0.9); }
.check-list .mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}
.check-list.problem .mark { background: #fee2e2; color: #dc2626; }
.check-list.solution .mark { background: rgba(202,153,59,0.25); color: var(--gold-light); }

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h4 { font-size: 17px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.feature-card .badge-new {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: rgba(202,153,59,0.12);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- Why us / stats ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.why-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(202,153,59,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.why-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card .plan-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.price-card.featured .plan-tag { color: var(--gold-light); }
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card.featured h3 { color: #fff; }
.price-card .price { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.price-card.featured .price { color: rgba(255,255,255,0.75); }
.price-card .price strong { font-size: 30px; color: var(--navy); font-family: 'Poppins', sans-serif; }
.price-card.featured .price strong { color: #fff; }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.price-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; margin-bottom: 12px; color: var(--muted);
}
.price-card.featured .price-list li { color: rgba(255,255,255,0.85); }
.price-list .mark { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.most-popular {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price-card { position: relative; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--card);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
}
.faq-q .plus {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--gold);
  font-size: 16px;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---------- App Download ---------- */
.app-download {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 28px;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}
.app-download::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(202,153,59,0.12);
  top: -140px; left: -100px;
}
.app-copy { position: relative; }
.app-copy .eyebrow { background: rgba(202,153,59,0.18); }
.app-copy h2 { color: #fff; font-size: 32px; margin: 14px 0; }
.app-copy p { color: rgba(255,255,255,0.72); font-size: 15.5px; margin-bottom: 30px; max-width: 440px; }

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0d1226;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 10px 18px 10px 14px;
  transition: all 0.2s ease;
}
.store-badge:hover { background: #171e3d; border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.store-badge svg { flex-shrink: 0; color: #fff; }
.store-badge small { display: block; font-size: 10px; color: rgba(255,255,255,0.6); line-height: 1.2; }
.store-badge strong { display: block; font-size: 15px; color: #fff; font-family: 'Poppins', sans-serif; line-height: 1.3; }

.app-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phone-frame {
  width: 230px;
  border-radius: 36px;
  background: #0d1226;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.phone-notch {
  width: 64px; height: 6px; background: rgba(255,255,255,0.2);
  border-radius: 4px; margin: 0 auto 10px;
}
.phone-screen {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  padding: 16px 14px 20px;
}
.phone-screen .p-eyebrow {
  font-size: 10px; font-weight: 700; color: var(--muted-light); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px;
}
.phone-sos {
  background: linear-gradient(135deg, #dc2626 0%, #f14545 100%);
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.phone-sos strong { display: block; font-size: 15px; font-family: 'Poppins', sans-serif; }
.phone-sos span { font-size: 10.5px; opacity: 0.85; }
.phone-sos .sos-ring {
  position: absolute; inset: 0; border-radius: 16px;
  animation: pulseRing 2s ease-out infinite;
}
.phone-tile {
  background: #f7f7fb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
}
.phone-tile span.tag {
  font-size: 10px; font-weight: 700; color: #15803d; background: #f0fdf4; padding: 2px 8px; border-radius: 999px;
}
.phone-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(202,153,59,0.25);
  border-radius: 50%;
  filter: blur(40px);
  top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}

.phone-frame-photo { padding: 12px; position: relative; }
.phone-screen-photo {
  padding: 0;
  aspect-ratio: 9 / 19.5;
  background: #000;
  position: relative;
  overflow: hidden;
}
.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.phone-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.phone-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.phone-slide-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.phone-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  border: none;
  font-size: 20px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 3;
  transition: transform 0.15s ease, background 0.15s ease;
}
.phone-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.phone-nav-prev { left: -4px; }
.phone-nav-next { right: -4px; }

.phone-dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.phone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}
.phone-dot.active { background: var(--gold-light); width: 22px; border-radius: 4px; }

@media (max-width: 980px) {
  .app-download { grid-template-columns: 1fr; text-align: center; padding: 48px 32px; }
  .app-copy p { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
}
@media (max-width: 420px) {
  .phone-nav { width: 28px; height: 28px; font-size: 16px; }
  .phone-nav-prev { left: -2px; }
  .phone-nav-next { right: -2px; }
}

.app-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  z-index: 5;
  white-space: nowrap;
}
.app-float .ico {
  width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(202,153,59,0.15); color: var(--gold);
  flex-shrink: 0; font-size: 14px;
}
.app-float.a1 { top: 8%; left: -20px; --float-rot: -3deg; animation: floatBob 5.2s ease-in-out infinite; }
.app-float.a2 { bottom: 78px; right: -18px; --float-rot: 3deg; animation: floatBob 4.8s ease-in-out infinite 0.6s; }
@media (max-width: 720px) {
  .app-float { display: none; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2d3a6b 60%, var(--gold) 145%);
  border-radius: 28px;
  padding: 64px 56px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -100px; right: -80px;
}
.cta-banner h2 { color: #fff; font-size: 34px; margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 32px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; max-width: 260px; color: rgba(255,255,255,0.55); }
.footer-col h5 {
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 12px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer-socials a:hover { background: var(--gold); }

/* ---------- Request Demo Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 18, 38, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.demo-modal {
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.open .demo-modal { transform: translateY(0) scale(1); }
.demo-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.demo-modal-close:hover { background: #f5f5f7; color: var(--navy); }
.demo-modal-head h3 { font-size: 24px; margin: 10px 0 8px; }
.demo-modal-head p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.demo-form { display: flex; flex-direction: column; gap: 16px; }
.demo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.demo-form label .label-text { display: block; }
.demo-form label .req { color: #dc2626; }
.demo-form input,
.demo-form select,
.demo-form textarea {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafafa;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.demo-form label.invalid input,
.demo-form label.invalid select,
.demo-form label.invalid textarea {
  border-color: #dc2626;
  background: #fff5f5;
}
.field-error {
  display: none;
  font-size: 12px;
  font-weight: 500;
  color: #dc2626;
}
.demo-form label.invalid .field-error { display: block; }
.demo-submit { width: 100%; margin-top: 4px; }
.demo-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.demo-form-status {
  display: none;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 0;
}
.demo-form-status.success { display: block; color: #15803d; background: #f0fdf4; }
.demo-form-status.error { display: block; color: #dc2626; background: #fef2f2; }

@media (max-width: 560px) {
  .demo-modal { padding: 28px 22px 24px; }
  .demo-form-row { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .split { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Full desktop nav (logo + links + two CTAs) needs ~950px+ to fit without
     wrapping, so the hamburger switch has to happen here, at the same
     breakpoint everything else stacks — not at the narrower 720px mobile
     breakpoint below, which left tablets/landscape phones with a broken nav. */
  .nav-links {
    display: none;
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .navbar .wrap { height: 72px; }
  .brand img { height: 40px; }
  .nav-links { top: 72px; }
  .hero { padding: 64px 0 80px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .section-head h2 { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 22px; }
  .cta-banner h2 { font-size: 24px; }
  .app-download { padding: 40px 22px; }
  .phone-frame { width: 200px; }
  .phone-glow { width: 160px; height: 160px; }
}
@media (max-width: 380px) {
  .hero-stats { gap: 22px; }
  .app-download { padding: 32px 16px; }
  .phone-frame { width: 180px; }
  .store-badge { padding: 9px 14px 9px 12px; }
  .store-badge strong { font-size: 13px; }
}
