/* =========================================================
   ParkEZ — landing page stylesheet
   ---------------------------------------------------------
   Indigo / lavender palette, soft rounded cards, decorative
   location-pin & gradient orbs in the hero, dashed
   connectors in how-it-works. Admin-editable content
   hydrates at runtime via app.js; layout never depends on
   exact copy so it reflows cleanly.
   ========================================================= */

:root {
  --brand: #5D54F2;            /* ParkEZ indigo — matches admin_panel primary4 */
  --brand-dark: #4a42d0;
  --brand-soft: #ECEAFE;
  --brand-softer: #F5F4FE;
  --lavender: #E5E2FD;
  --lavender-2: #D6D2FB;
  --ink: #121217;
  --ink-2: #1b1b1f;
  --ink-muted: #6b6f79;
  --line: #ececf1;
  --bg: #ffffff;
  --bg-alt: #fafafb;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 12px 30px rgba(27, 27, 31, 0.05);
  --shadow-card-hover: 0 18px 40px rgba(93, 84, 242, 0.20);
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-width: 100%;
  overflow-x: hidden; /* kill any sideways scroll that creates phantom gaps */
}
html { height: 100%; }
body { min-height: 100%; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-muted); }

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

.text-brand { color: var(--brand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-pill { border-radius: 999px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(93, 84, 242, .38);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 254, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

/* When the admin uploads a custom logo (likely a wordmark with brand text
   baked in), we hide the separate .brand-text span and let the image use
   its natural width. Sized generously so the brand reads at a glance.
   `!important` prevents the later `.footer-brand .brand-logo { width: 38px }`
   rule (same specificity) from squashing the footer logo back to 38px. */
.brand-logo.brand-logo--custom,
.site-header .brand-logo.brand-logo--custom,
.footer-brand .brand-logo.brand-logo--custom {
  width: auto !important;
  object-fit: contain;
}
.site-header .brand-logo.brand-logo--custom {
  max-width: 180px !important;
  height: 60px !important;
}
.footer-brand .brand-logo.brand-logo--custom {
  max-width: 180px !important;
  height: 60px !important;
}

/* Give the header extra vertical room so the larger logo sits comfortably
   without crowding the nav. */
.site-header:has(.brand-logo--custom) .nav {
  height: 80px;
}
.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0 70px;
  background:
    radial-gradient(900px 500px at 8% -10%, #DDD8FE 0%, transparent 60%),
    radial-gradient(900px 500px at 92% 10%, #E5E2FD 0%, transparent 55%),
    linear-gradient(180deg, #F5F4FE 0%, #FBFAFF 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 30px 0 10px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  margin-bottom: 18px;
}
.hero-copy h1 .text-brand { display: inline-block; margin-right: 8px; }
.hero-copy p {
  font-size: 16px;
  max-width: 46ch;
  margin-bottom: 26px;
  color: #4d4d57;
}
.hero-stores { margin-top: 8px; }

/* ---------- hero benefit chips ---------- */
.hero-benefits {
  list-style: none;
  margin: 4px 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: #FFFFFF;
  border: 1px solid var(--lavender);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: 0 4px 10px rgba(27, 27, 31, 0.04);
}
.hero-benefit-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}
.hero-benefit-ico svg { width: 14px; height: 14px; }

.hero-visual {
  display: grid;
  place-items: center;
}
.hero-visual img,
.hero-visual object.illu-object {
  width: min(360px, 88%);
  max-height: 620px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 30px 50px rgba(93, 84, 242, .25));
}
/* Inner fallback img inside the <object> must not inherit the
   outer wrapper rule, otherwise it would render at full size next
   to (or instead of) the object. Only show it if <object> fails. */
.hero-visual object.illu-object > img {
  display: none;
}

/* =============================================================
   STATIC PHONE FRAME (legacy — no elements use this anymore; kept
   in place so it can be re-enabled by wrapping .phone-frame around
   the image again if needed in the future).
   Pure-CSS device shell (bezel, dynamic island, side buttons) so
   the screen image inside can be swapped — admin upload, default
   SVG mockup, or a real PNG screenshot — without losing the chrome.
   The aspect-ratio is tuned to fit the screen content exactly with
   no top/bottom blank gap.
   ============================================================= */
.phone-frame {
  position: relative;
  width: min(320px, 92%);
  /* Frame aspect chosen so the inner (post-padding) screen aspect
     matches the hero-screen.svg viewBox (314 / 640 ≈ 0.491).
     With 14px padding on each side, screen = 292 × 595 → frame = 320 × 623. */
  aspect-ratio: 320 / 624;
  background: linear-gradient(135deg, #1B1B22 0%, #0D0D12 100%);
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    0 30px 60px rgba(93, 84, 242, 0.25),
    0 18px 36px rgba(13, 13, 18, 0.30),
    0 0 0 2px #2a2a32 inset,
    0 0 0 4px #11111a inset;
  isolation: isolate;
}
/* Outer hairline highlight for metallic edge */
.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0) 18%,
    rgba(255, 255, 255, 0) 80%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

/* Screen image — fills the inner area completely. The `!important` here
   is intentional: it neutralises any legacy `.hero-visual img { width: … }`
   rule from earlier iterations, so the screen never collapses to its
   intrinsic SVG size and leave a phantom gap inside the frame. */
.phone-screen {
  width: 100% !important;
  height: 100% !important;
  border-radius: 36px;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #F7F5FF;
  filter: none !important;
  max-width: none !important;
}

/* (Removed `.phone-screen-logo` overlay — the mini logo is now drawn
   inline inside hero-screen-v2.svg, and admin-uploaded real screenshots
   shouldn't have an unrelated badge slapped on top of them.) */

/* Dynamic Island — single source of top chrome. The SVG screen no
   longer paints its own status bar, so there is no duplicate. */
.phone-frame-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #0a0a10;
  border-radius: 16px;
  z-index: 2;
  box-shadow: 0 0 0 1px #1a1a22;
}
.phone-frame-notch::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1d1d24;
  box-shadow: 0 0 0 1px #0d0d12;
}

/* Side buttons */
.phone-frame-btn {
  position: absolute;
  width: 3px;
  background: #08080d;
  border-radius: 2px;
  z-index: 1;
}
.phone-frame-btn--mute     { top: 16%; left: -1px;  height: 28px; }
.phone-frame-btn--vol-up   { top: 24%; left: -1px;  height: 48px; }
.phone-frame-btn--vol-down { top: 34%; left: -1px;  height: 48px; }
.phone-frame-btn--power    { top: 26%; right: -1px; height: 64px; }

/* decorative gradient orbs + parking pin */
.hero-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
}
.hero-decor--circle-tr {
  top: -40px;
  right: -30px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #C7C0FB 0, #DAD4FD 60%, transparent 65%);
  filter: blur(0.2px);
}
.hero-decor--circle-br {
  bottom: -50px;
  right: 14%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #B8AFFA 0, #D3CCFD 60%, transparent 65%);
}
.hero-decor--pin {
  bottom: -30px;
  left: 36%;
  width: 110px;
  height: 110px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235D54F2' opacity='0.85'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 0 1 9.5 9 2.5 2.5 0 0 1 12 6.5 2.5 2.5 0 0 1 14.5 9a2.5 2.5 0 0 1-2.5 2.5z'/></svg>") center/contain no-repeat;
  filter: drop-shadow(0 10px 20px rgba(93, 84, 242, .35));
  transform: rotate(-8deg);
}

/* ---------- store badges ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #1b1b1f;
  color: #fff;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small {
  font-size: 10.5px;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.store-badge strong { font-size: 14.5px; }

/* ---------- eyebrow / section heading ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.eyebrow h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
  white-space: normal;
  text-align: center;
}
.eyebrow .rule {
  flex: 0 1 110px;
  height: 1px;
  background: linear-gradient(to right, transparent, #cfcfd4 40%, #cfcfd4 60%, transparent);
}
.eyebrow-sub {
  text-align: center;
  margin: 0 auto 40px;
  color: var(--ink-muted);
  max-width: 620px;
  font-size: 15px;
}

/* ---------- hero secondary link ---------- */
.hero-secondary {
  margin: -6px 0 18px;
  font-size: 14.5px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-secondary a {
  color: var(--brand);
  font-weight: 700;
  border-bottom: 1px dashed rgba(93, 84, 242, .5);
  padding-bottom: 2px;
}
.hero-secondary a:hover { border-bottom-style: solid; }
.hero-secondary span { color: var(--brand); font-weight: 700; }

/* ---------- ABOUT ---------- */
.about-section {
  padding: 60px 0 20px;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.about-visual img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  aspect-ratio: 5 / 4;
  margin: 0 auto;
  display: block;
}
.about-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.01em;
}
.about-copy p {
  font-size: 16px;
  max-width: 54ch;
  color: var(--ink-muted);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .about-copy p { margin-left: auto; margin-right: auto; }
}

/* ---------- footer tagline ---------- */
.footer-tagline {
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  margin: 8px 0 4px;
}

/* ---------- WHY CHOOSE ---------- */
.why {
  padding: 80px 0 40px;
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.why-grid .why-card:nth-child(4),
.why-grid .why-card:nth-child(5) {
  grid-column: span 1;
}
/* Second row — remaining cards centered regardless of count. */
.why-row2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 24px auto 0;
  max-width: 820px;
}
.why-row2 .why-card {
  flex: 1 1 240px;
  max-width: 260px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin: 4px auto 16px;
}
.why-icon svg { width: 30px; height: 30px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; margin: 0; color: var(--ink-muted); }

/* ---------- FEATURES ---------- */
.features {
  padding: 80px 0;
  background: #fff;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: flex-start;
}
.feature-tile {
  text-align: center;
  padding: 10px;
}
.feature-tile h3 {
  font-size: 15px;
  margin: 14px 0 6px;
}
.feature-tile p {
  font-size: 13px;
  margin: 0;
  color: var(--ink-muted);
}
.feature-illu {
  width: 86px;
  height: 86px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.feature-illu--pin      { background-image: url("assets/illu-pin.svg"); }
.feature-illu--card     { background-image: url("assets/illu-card.svg"); }
.feature-illu--discount { background-image: url("assets/illu-discount.svg"); }
.feature-illu--folder   { background-image: url("assets/illu-folder.svg"); }
.feature-illu--lang     { background-image: url("assets/illu-lang.svg"); }

/* ---------- HOW IT WORKS ---------- */
.how {
  padding: 80px 0;
  background: #fff;
}
.steps-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  padding-top: 20px;
}
.step {
  position: relative;
  text-align: center;
}
.step:nth-child(1) { transform: translateY(40px); }
.step:nth-child(2) { transform: translateY(0); }
.step:nth-child(3) { transform: translateY(40px); }

.step-art {
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
  background: var(--brand-softer);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(93, 84, 242, .14);
  overflow: hidden;
}
.step-art img, .step-art svg { width: 80%; height: 80%; object-fit: contain; }

.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p  { font-size: 14px; margin: 0 auto; max-width: 22ch; color: var(--ink-muted); }

/* dashed connectors between steps (drawn with SVG backgrounds) */
.step::after {
  content: "";
  position: absolute;
  top: 80px;
  right: -40%;
  width: 80%;
  height: 60px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}
.step:nth-child(1)::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 60' fill='none'><path d='M0 50 C 70 50, 90 10, 220 10' stroke='%235D54F2' stroke-width='2' stroke-dasharray='4 6' stroke-linecap='round' opacity='0.6'/></svg>");
}
.step:nth-child(2)::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 60' fill='none'><path d='M0 10 C 130 10, 150 50, 220 50' stroke='%235D54F2' stroke-width='2' stroke-dasharray='4 6' stroke-linecap='round' opacity='0.6'/></svg>");
}
.step:nth-child(3)::after { display: none; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 40px 0 90px;
  background: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(27, 27, 31, .08);
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lavender-2);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 800; font-size: 15px; }
.testimonial-role { font-size: 12.5px; color: var(--ink-muted); margin-top: 1px; }
.stars { display: flex; gap: 2px; margin-top: 4px; }
.stars svg { width: 14px; height: 14px; fill: #F7B500; }
.stars .star-off { fill: #E3E3E7; }
.testimonial-quote { font-size: 14.5px; color: #3f3f47; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  padding: 50px 0;
}
.cta-grid {
  background:
    radial-gradient(600px 300px at 0% 0%, #DDD8FE, transparent 70%),
    linear-gradient(135deg, #EAE6FE 0%, #F5F4FE 100%);
  border-radius: 26px;
  padding: 40px 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(93, 84, 242, .12);
}
.cta-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}
.cta-copy p { max-width: 50ch; font-size: 15px; color: #4d4d57; }
.cta-visual img,
.cta-visual object.illu-object {
  width: min(320px, 100%);
  max-height: 600px;
  height: auto;
  margin-left: auto;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 20px 30px rgba(93, 84, 242, .22));
}
.cta-visual object.illu-object > img {
  display: none;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #f3f4f6;
  color: #3f3f47;
  padding: 56px 0 0;
  margin-top: 20px;
}
.site-footer h4 {
  color: #1b1b1f;
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 32px;
}
.footer-brand .brand-logo { height: 38px; width: 38px; }
.footer-brand .brand-text { font-size: 18px; }
.footer-brand p {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14px;
  color: #5b5b64;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #4a4a52; transition: color .2s ease; font-size: 14px; }
.footer-col a:hover { color: var(--brand); }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.contact-list .ico {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}
.ico-pin   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D54F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 7-8 12-8 12s-8-5-8-12a8 8 0 0 1 16 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }
.ico-mail  { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D54F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>"); }
.ico-phone { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D54F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.7a16 16 0 0 0 6 6l1.1-1.1a2 2 0 0 1 2.1-.5c.9.4 1.9.6 2.8.7a2 2 0 0 1 1.7 2z'/></svg>"); }

.social-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.social-list a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #5b5b64;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.social-list a:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.social-list svg { width: 15px; height: 15px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid #e4e5ea;
  padding: 18px 0;
  background: #f3f4f6;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #6b6b73;
  font-size: 12.5px;
}
.footer-bottom-inner .legal a { color: #6b6b73; }
.footer-bottom-inner .legal a:hover { color: var(--brand); }
.footer-bottom-inner .legal span { margin: 0 8px; color: #bdbdc3; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .features-row { grid-template-columns: repeat(3, 1fr); }
  .features-row .feature-tile:nth-child(4),
  .features-row .feature-tile:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 82px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px 28px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }

  .hero { padding-bottom: 40px; }
  .hero-grid,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero-visual { order: -1; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .store-badges, .hero-stores { justify-content: center; }

  .why-grid,
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-flow {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .step { transform: none !important; }
  .step::after { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .cta-grid { padding: 30px 24px; }
  .cta-visual img { margin: 0 auto; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .why-grid, .features-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; }
  .eyebrow .rule { flex-basis: 40px; }
  .hero-copy h1 { font-size: 30px; }
  .store-badges { gap: 10px; }
  .store-badge { padding: 8px 14px; }
}

/* =========================================================
   LEGAL PAGES (privacy-policy.html, terms.html)
   ---------------------------------------------------------
   A stripped-down article layout that shares the main
   header + footer with index.html. Content is injected as
   HTML (from `settings/constant.privacyPolicy` /
   `settings/constant.termsAndConditions`) so the admin can
   format with headings, lists, bold, links, etc. via the
   rich-text editor in Policy Settings.
   ========================================================= */

/* Legal hero + body span the full viewport edge-to-edge so there are
   never phantom white gaps on the left/right of the page. */
.legal-hero,
.legal-body {
  width: 100%;
  margin: 0;
}
.legal-hero {
  padding: 40px 0 28px; /* tighter top padding so the page sits flush under the header */
  background:
    radial-gradient(900px 400px at 10% 0%, #DDD8FE 0%, transparent 55%),
    linear-gradient(180deg, #F5F4FE 0%, #FBFAFF 100%);
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 10px;
}
.legal-hero p {
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0;
}
.legal-crumbs {
  display: inline-flex;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.legal-crumbs a {
  color: var(--brand);
  font-weight: 600;
}
.legal-crumbs span { color: #bdbdc3; }

.legal-body {
  padding: 32px 0 60px;
  background: #fff;
}
.legal-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.75;
}
.legal-article h2 {
  font-size: 22px;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 {
  font-size: 17px;
  margin: 22px 0 8px;
}
.legal-article p  { margin: 0 0 14px; color: #3b3b42; }
.legal-article ul,
.legal-article ol {
  padding-left: 22px;
  margin: 0 0 16px;
  color: #3b3b42;
}
.legal-article li { margin-bottom: 6px; }
.legal-article a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-article a:hover { color: var(--brand-dark); }
.legal-article hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.legal-article blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  background: var(--brand-softer);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  color: #3b3b42;
}
.legal-article code {
  background: #f3f3f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13.5px;
}

/* placeholder shown while the document is being fetched */
.legal-skeleton {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-skeleton div {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f2f2f5 0%, #e8e8ec 50%, #f2f2f5 100%);
  background-size: 200% 100%;
  animation: legal-shimmer 1.4s infinite linear;
}
.legal-skeleton div:nth-child(1) { width: 40%; height: 22px; }
.legal-skeleton div:nth-child(2) { width: 95%; }
.legal-skeleton div:nth-child(3) { width: 92%; }
.legal-skeleton div:nth-child(4) { width: 60%; }
.legal-skeleton div:nth-child(5) { width: 98%; margin-top: 14px; }
.legal-skeleton div:nth-child(6) { width: 85%; }
@keyframes legal-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* empty-state if the admin hasn't filled the policy yet */
.legal-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--ink-muted);
}
.legal-empty h2 { color: var(--ink); margin-bottom: 8px; font-size: 20px; }

/* =============================================================
   PARKING-NATIVE LAYOUT — additions for the restructured page
   ============================================================= */

/* ---------- hero eyebrow ---------- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid #DDD8FE;
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(93, 84, 242, 0.18);
}

/* ---------- inline booking widget ---------- */
.booking-widget {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto;
  align-items: stretch;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--lavender);
  border-radius: 18px;
  padding: 8px;
  box-shadow:
    0 1px 0 #FFFFFF inset,
    0 18px 40px rgba(93, 84, 242, 0.12),
    0 4px 10px rgba(27, 27, 31, 0.04);
  margin: 6px 0 22px;
  max-width: 560px;
}
.bw-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background-color .18s ease;
  min-width: 0;
}
.bw-field:hover { background: var(--brand-softer); }
.bw-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-softer);
  color: var(--brand);
}
.bw-icon svg { width: 18px; height: 18px; }
.bw-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bw-stack label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bw-stack input {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  margin-top: 2px;
  width: 100%;
  min-width: 0;
}
.bw-stack input::placeholder { color: #b3b4be; font-weight: 600; }
.bw-sep {
  width: 1px;
  background: var(--lavender);
  margin: 10px 0;
}
.bw-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7B73F5, #5D54F2);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(93, 84, 242, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bw-go svg { width: 18px; height: 18px; }
.bw-go:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(93, 84, 242, 0.45);
}

/* ---------- hero trust row ---------- */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 13px;
  color: #4d4d57;
}
.hero-trust-avatars {
  display: inline-flex;
}
.hero-trust-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12px;
  border: 2px solid #FFFFFF;
  margin-left: -8px;
  box-shadow: 0 4px 10px rgba(27, 27, 31, 0.10);
}
.hero-trust-avatars span:first-child { margin-left: 0; }
.hero-trust-text strong { color: var(--ink); font-weight: 800; }

/* ---------- stats strip ---------- */
.stats-strip {
  margin-top: -20px;
  position: relative;
  z-index: 2;
  padding: 0 0 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--lavender);
  border-radius: 22px;
  padding: 26px 10px;
  box-shadow: 0 20px 50px rgba(93, 84, 242, 0.10);
}
.stat-cell {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px dashed var(--lavender);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.stat-num span {
  color: var(--brand);
  font-size: 0.7em;
  margin-left: 2px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- audience tiles ---------- */
.audience {
  padding: 70px 0 80px;
  background: var(--bg);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.audience-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--lavender);
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #7B73F5, #5D54F2);
}
.audience-card--owner::before     { background: linear-gradient(90deg, #22C55E, #16A34A); }
.audience-card--watchman::before  { background: linear-gradient(90deg, #F59E0B, #D97706); }
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.audience-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.audience-card--owner    .audience-tag { color: #15803D; background: #DCFCE7; }
.audience-card--watchman .audience-tag { color: #B45309; background: #FEF3C7; }
.audience-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.audience-card > p {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.audience-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.audience-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #3D3E48;
  font-weight: 500;
}
.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235D54F2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8.5 7 11.5 12.5 5.5'/></svg>") center/12px 12px no-repeat;
}
.audience-card--owner    .audience-list li::before { background-color: #DCFCE7; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316A34A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8.5 7 11.5 12.5 5.5'/></svg>"); }
.audience-card--watchman .audience-list li::before { background-color: #FEF3C7; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23D97706' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8.5 7 11.5 12.5 5.5'/></svg>"); }
.audience-cta {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  color: var(--brand);
  border-bottom: 2px dashed var(--brand);
  padding-bottom: 2px;
}
.audience-card--owner    .audience-cta { color: #16A34A; border-bottom-color: #16A34A; }
.audience-card--watchman .audience-cta { color: #D97706; border-bottom-color: #D97706; }

/* ---------- featured parking spots ---------- */
.featured-spots {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #FFFFFF 100%);
}
.spot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.spot-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.spot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.spot-art {
  position: relative;
  height: 130px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.spot-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 14px, transparent 14px 28px);
}
.spot-art--green   { background: linear-gradient(135deg, #16A34A, #15803D); }
.spot-art--blue    { background: linear-gradient(135deg, #6D63F4, #4A41D9); }
.spot-art--amber   { background: linear-gradient(135deg, #F59E0B, #D97706); }
.spot-art--pink    { background: linear-gradient(135deg, #EC4899, #BE185D); }
.spot-art--teal    { background: linear-gradient(135deg, #14B8A6, #0F766E); }
.spot-art--violet  { background: linear-gradient(135deg, #7B73F5, #5D54F2); }
.spot-pin {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 28px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}
.spot-art--blue   .spot-pin,
.spot-art--violet .spot-pin { color: var(--brand); }
.spot-art--green  .spot-pin { color: #15803D; }
.spot-art--amber  .spot-pin { color: #B45309; }
.spot-art--pink   .spot-pin { color: #BE185D; }
.spot-art--teal   .spot-pin { color: #0F766E; }
.spot-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}
.spot-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.spot-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.spot-row-top h3 {
  font-size: 17px;
  margin: 0;
}
.spot-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}
.spot-price small {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 700;
  margin-left: 2px;
}
.spot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 600;
}
.spot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.spot-tags span {
  font-size: 11px;
  font-weight: 700;
  color: #3D3E48;
  background: var(--brand-softer);
  border: 1px solid var(--lavender);
  padding: 4px 9px;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 70px 0 80px;
  background: var(--bg);
}
.faq-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.eyebrow--left {
  justify-content: flex-start;
  text-align: left;
}
.eyebrow--left .rule { display: none; }
.eyebrow--left h2 { text-align: left; }
.faq-intro h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 14px;
}
.faq-intro p {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.faq-help {
  display: inline-block;
  font-weight: 800;
  color: var(--brand);
  border-bottom: 2px dashed var(--brand);
  padding-bottom: 2px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--lavender);
  border-radius: 14px;
  padding: 0 20px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] {
  border-color: #C9C2FB;
  box-shadow: 0 14px 30px rgba(93, 84, 242, 0.12);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  padding: 18px 36px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #FFFFFF;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- responsive — collapse the new grids on smaller screens ---------- */
@media (max-width: 980px) {
  .booking-widget {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .bw-sep { display: none; }
  .bw-go { padding: 12px 18px; justify-content: center; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 10px;
  }
  .stat-cell { padding: 14px 12px; border-right: none; }
  .stat-cell:nth-child(odd) { border-right: 1px dashed var(--lavender); }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px dashed var(--lavender); }
  .audience-grid { grid-template-columns: 1fr; }
  .spot-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .spot-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; }
}
