/* ==========================================================================
   Park Wait Times — Marketing Site Stylesheet
   Palette pulled from the live app + drm-productions.com/ParkWaitTimesApp.html
   ========================================================================== */

:root {
  /* Brand palette — purple is primary, teal is secondary.
     Every accent, badge, pill, and gradient on the site draws from these two only. */
  --chrome-950: #060608;
  --chrome-900: #0D0B12;
  --chrome-800: #16121F;
  --purple-900: #3B0764;
  --purple-700: #5B21B6;
  --purple-600: #7C3AED;
  --purple-500: #9B4DFF;
  --purple-100: #F2E9FE;
  --teal-700: #0F766E;
  --teal-600: #0D9488;
  --teal-500: #2DD4BF;
  --teal-100: #DFFBF6;
  --ink-900: #150C22;
  --ink-700: #3D3153;
  --ink-500: #6B5C82;
  --ink-300: #B6A9CC;
  --paper-0: #FFFFFF;
  --paper-50: #FBF9FD;
  --paper-100: #F1EAF9;
  --line-100: #E6DCF2;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(59, 7, 100, 0.08);
  --shadow-md: 0 8px 24px rgba(59, 7, 100, 0.12);
  --shadow-lg: 0 20px 50px rgba(59, 7, 100, 0.18);

  --container: 1160px;
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink-900);
}
p { margin: 0 0 1em; color: var(--ink-700); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper-50); }
.section--navy {
  background: linear-gradient(160deg, var(--chrome-950) 0%, var(--purple-900) 55%, var(--purple-600) 100%, var(--teal-600) 150%);
  color: #fff;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,.72); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--purple-600);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(124,58,237,.35);
}
.section--navy .eyebrow { background: rgba(45,212,191,.18); color: #99F6E8; box-shadow: none; }
.eyebrow--teal { color: #fff; background: var(--teal-600); box-shadow: 0 6px 16px rgba(13,148,136,.35); }
.eyebrow--gold { color: #fff; background: var(--purple-500); box-shadow: 0 6px 16px rgba(155,77,255,.35); }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--purple-600), var(--teal-500)); color: #fff; box-shadow: 0 10px 24px rgba(124,58,237,.32); }
.btn-primary:hover { background: linear-gradient(135deg, var(--purple-700), var(--teal-600)); }
.btn-secondary { background: #fff; color: var(--purple-700); border-color: var(--line-100); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--purple-500); color: var(--purple-600); }
.btn-ghost { background: transparent; color: inherit; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* Nav */
/* `backdrop-filter` directly on .site-header used to break `.nav-links`'
   `position: fixed` mobile dropdown on iOS Safari — a filtered/backdrop-filtered
   ancestor becomes the containing block for its `position: fixed` descendants
   there, so the dropdown's off-screen `translateY(-110%)` was being computed
   against the ~64px-tall header box instead of the real viewport, leaving the
   "hidden" menu barely moved and still visibly overlapping the page. Moved the
   frosted-glass effect onto a `::before` pseudo-element instead — .site-header
   itself no longer carries backdrop-filter, so its fixed-position descendants
   (the mobile nav dropdown) are contained by the viewport again, like normal. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line-100);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-900); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-700); }
.nav-links a:hover, .nav-links a.active { color: var(--purple-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
.nav-mobile-cta { display: none; }

@media (max-width: 860px) {
  /* Brand text + "Download Free" button + hamburger don't all fit on one line at
     phone widths (most real devices are 375-428px, well under what this row needs) —
     once the hamburger takes over, move the CTA into the mobile menu instead of
     leaving it to overflow the header. */
  .nav-links { position: fixed; inset: 64px 0 0 0; background: #fff; flex-direction: column; padding: 28px 24px; gap: 20px; transform: translateY(-110%); transition: transform .25s ease; border-bottom: 1px solid var(--line-100); pointer-events: none; }
  .nav-links.open { transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: inline-flex; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-cta .btn-secondary { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 4px; }
}

/* Hero — purple gradient panel, matching the app's real marketing site */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-600) 60%, var(--teal-500) 130%);
  color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.01em; color: #fff; }
.hero .lede { font-size: 19px; max-width: 520px; color: rgba(255,255,255,.82); }
.hero .eyebrow { background: rgba(255,255,255,.14); color: #F3E6FF; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 20px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img { max-width: 340px; filter: drop-shadow(0 30px 60px rgba(20,4,40,.45)); }
.hero-art img.phone-shot { border-radius: 36px; border: 6px solid var(--purple-500); }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; z-index: -1; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* Stat strip */
.stat-strip { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding: 32px 0; border-top: 1px solid var(--line-100); border-bottom: 1px solid var(--line-100); }
.stat { text-align: center; flex: 1; min-width: 140px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--purple-600); }
.stat span { font-size: 13px; color: var(--ink-500); }
.stat-strip-note { text-align: center; margin: 18px 0 0; font-size: 13.5px; color: var(--ink-500); }
.stat-strip-note a { color: var(--purple-600); font-weight: 600; }
.stat-strip-note a:hover { color: var(--teal-600); }

/* Supported parks */
.parks-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; margin-top: 40px; }
@media (max-width: 700px) { .parks-groups { grid-template-columns: 1fr; } }
.parks-group h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--purple-600); margin-bottom: 14px; }
.parks-group ul { display: flex; flex-wrap: wrap; gap: 10px; }
.parks-group li { background: var(--paper-50); border: 1px solid var(--line-100); padding: 8px 15px; border-radius: var(--radius-pill); font-size: 14px; color: var(--ink-700); }
.parks-note { text-align: center; margin-top: 36px; font-size: 14px; color: var(--ink-500); }

/* Feature grid (3-col "Why PWT") */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  display: block;
  background: #fff; border: 1px solid var(--line-100); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
a.card:hover { border-color: var(--purple-500); }
.card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--purple-600); }
a.card:hover .card-link { color: var(--teal-600); }
.card-shot { position: relative; line-height: 0; background: linear-gradient(160deg, var(--chrome-800) 0%, var(--chrome-900) 100%); padding: 12px; }
.card-shot > img { width: 100%; display: block; border-radius: 18px; border: 3px solid var(--purple-500); }
.widget-chip {
  position: absolute; right: 16px; bottom: 16px; width: 54%;
  border-radius: 14px; overflow: hidden; box-shadow: 0 12px 28px rgba(6,6,8,.5);
  border: 3px solid rgba(255,255,255,.92);
}
.widget-chip img { width: 100%; height: auto; display: block; }
.card-body { padding: 24px 28px 28px; }
.card .icon-badge { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .icon-badge img { width: 28px; height: 28px; }
.badge-blue { background: var(--purple-100); }
.badge-teal { background: var(--teal-100); }
.badge-coral { background: var(--teal-100); }
.badge-gold { background: var(--purple-100); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.tag-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: var(--radius-pill); }
.pill-free { background: var(--purple-100); color: var(--purple-700); }
.pill-pro { background: var(--teal-100); color: var(--teal-700); }
.pill-widget { background: var(--paper-100); color: var(--purple-700); }

/* Hero feature (big alternating rows) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-visual { display: flex; justify-content: center; }
.feature-visual img { max-width: 300px; border-radius: 32px; border: 5px solid var(--purple-500); box-shadow: var(--shadow-md); }
.feature-copy.center { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.feature-copy .checklist { margin-top: 22px; }
.feature-copy .checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; color: var(--ink-700); }
.feature-copy .checklist li svg { flex: none; margin-top: 3px; }
@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy, .feature-row.reverse .feature-visual { order: initial; }
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding: 32px 26px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-100); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--purple-600), var(--teal-500)); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: 18px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: end; }
.gallery figure { margin: 0; text-align: center; }
.gallery img { border-radius: 28px; border: 4px solid var(--purple-500); box-shadow: var(--shadow-md); }
.gallery figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-500); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* Pricing table */
.pricing-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .pricing-wrap { grid-template-columns: 1fr; } }
.price-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-100); padding: 36px; box-shadow: var(--shadow-sm); }
.price-card.is-pro { border-color: var(--teal-500); box-shadow: var(--shadow-md); position: relative; }
.price-card.is-pro::before { content: "Most Popular"; position: absolute; top: -14px; right: 28px; background: var(--teal-600); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); }
.price-card h3 { font-size: 22px; }
.price-amount { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--ink-900); margin: 10px 0 4px; }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--ink-500); }
.price-card .btn { margin: 22px 0 24px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14.5px; color: var(--ink-700); border-top: 1px solid var(--paper-100); }
.price-list li:first-child { border-top: none; }

/* The Feature column plus two fixed 190px columns add up to well over any phone's
   viewport width — wrap in a scroll container so the table scrolls horizontally on
   narrow screens instead of overflowing (or squishing) the whole page. */
.table-scroll { margin-top: 56px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
table.compare th, table.compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-100); }
table.compare th { font-family: var(--font-display); color: var(--ink-900); }
table.compare td:nth-child(2), table.compare td:nth-child(3),
table.compare th:nth-child(2), table.compare th:nth-child(3) { text-align: center; width: 190px; }
table.compare tr:hover td { background: var(--paper-50); }
@media (max-width: 700px) { table.compare { min-width: 560px; } }
.check-yes { color: var(--purple-600); font-weight: 700; }
.check-partial { color: var(--teal-600); font-weight: 600; font-size: 13px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-100); padding: 28px; }
.stars { color: var(--teal-600); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p.quote { font-size: 15.5px; color: var(--ink-900); font-style: italic; }
.testimonial-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 15px; }
.testimonial-meta .name { font-weight: 600; font-size: 14px; color: var(--ink-900); }
.testimonial-meta .role { font-size: 12.5px; color: var(--ink-500); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.disclosure-note { font-size: 12.5px; color: var(--ink-300); margin-top: 18px; text-align: center; }

/* FAQ accordion */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-100); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: none; border: none; padding: 22px 4px; text-align: left; font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--ink-900); cursor: pointer; }
.faq-q .chev { flex: none; transition: transform .2s ease; color: var(--ink-500); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 4px 22px; font-size: 15px; }

/* CTA banner */
.cta-banner { border-radius: var(--radius-lg); padding: 64px; text-align: center; background: linear-gradient(135deg, var(--purple-600), var(--teal-500)); color: #fff; }
@media (max-width: 560px) { .cta-banner { padding: 40px 24px; } }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .hero-actions { justify-content: center; }
.cta-banner .btn-secondary { background: #fff; color: var(--purple-700); }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }

/* Footer */
.site-footer { background: var(--chrome-950); color: rgba(255,255,255,.65); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.55); max-width: 280px; margin-top: 14px; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: 14.5px; padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-attribution { font-size: 12.5px; color: rgba(255,255,255,.4); text-align: center; padding-top: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page hero (interior pages) */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero .eyebrow { margin-left: auto; margin-right: auto; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 760px; margin-left: auto; margin-right: auto; }
.page-hero p.lede { max-width: 620px; margin: 0 auto; font-size: 18px; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

.badge-strip { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.badge-strip .pill { background: var(--paper-100); color: var(--ink-700); }
