/* ==========================================================================
   Anderson Drive Club — Public site
   ========================================================================== */

/* --------------------------------------------------------------- site nav */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--plane) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.site-nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--plane) 94%, transparent); }
.site-nav .inner {
  display: flex; align-items: center; gap: var(--sp-6);
  height: 68px;
  max-width: var(--site-max); margin-inline: auto; padding-inline: var(--sp-6);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 660; font-size: var(--t-lg);
  letter-spacing: -.028em; color: var(--ink);
}
.brand .brand-sub {
  display: block; font-family: var(--font-ui); font-size: 9.5px; font-weight: 620;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-top: -3px;
}
.nav-links { display: flex; align-items: center; gap: var(--sp-1); }
.nav-links a {
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: var(--t-sm); font-weight: 520; color: var(--ink-2);
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-3); }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch;
    padding: var(--sp-4); gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: all var(--dur-2) var(--ease);
  }
  .nav-links.on { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px; font-size: var(--t-md); }
  .nav-toggle { display: inline-grid; }
  .nav-cta-desktop { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; z-index: 0;
  top: -340px; left: 50%; transform: translateX(-50%);
  width: 1180px; height: 740px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 16%, transparent), transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding-inline: 12px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  font-size: var(--t-xs); font-weight: 580; color: var(--brand-strong);
}
.hero h1 { margin-block: var(--sp-5) var(--sp-4); }
.hero h1 .em {
  background: linear-gradient(102deg, var(--brand-strong), var(--brand) 60%, var(--brand-strong));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  margin-top: var(--sp-8); padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
.hero-proof .p-val {
  font-family: var(--font-display); font-size: var(--t-2xl); font-weight: 650; letter-spacing: -.03em;
}
.hero-proof .p-lab { font-size: var(--t-xs); color: var(--ink-3); }

/* -- hero visual: stacked membership card + live vehicle card -- */
.hero-visual { position: relative; min-height: 440px; }

.member-card {
  position: relative;
  aspect-ratio: 1.586;
  width: min(400px, 100%);
  padding: var(--sp-5);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 84% 4%, rgba(59,130,246,.34), transparent 56%),
    linear-gradient(140deg, #1E293B 0%, #101B31 48%, #0A1120 100%);
  color: #EAF0FA;
  box-shadow: 0 26px 60px rgba(8, 14, 28, .44), 0 2px 0 rgba(255,255,255,.06) inset;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(148,180,240,.16);
}
.member-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(96,165,250,.22) 50%, transparent 62%);
  transform: translateX(-40%);
  animation: sheen 6.5s var(--ease-out) infinite;
}
@keyframes sheen { 0%, 62% { transform: translateX(-60%); } 100% { transform: translateX(70%); } }
.member-card .mc-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.member-card .mc-tier {
  font-size: 10px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: #7DB0FF;
}
.member-card .mc-chip {
  width: 40px; height: 30px; border-radius: 6px;
  background: linear-gradient(140deg, #DDE6F5, #96A9C6 52%, #EEF3FB);
  position: relative; z-index: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.member-card .mc-num {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: .12em;
  color: rgba(234,240,250,.9); position: relative; z-index: 1;
}
.member-card .mc-bottom { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 1; }
.member-card .mc-label { font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(234,240,250,.5); }
.member-card .mc-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .01em; }

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: var(--sp-4);
  animation: bob 7s var(--ease-out) infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.fc-pulse { right: 0; top: 4%; width: 232px; animation-delay: .4s; }
.fc-pay   { left: -6%; bottom: 6%; width: 246px; animation-delay: 1.6s; }
.fc-gps   { right: 8%; bottom: -2%; width: 200px; animation-delay: 2.6s; }

@media (max-width: 980px) {
  .hero-visual { min-height: 0; margin-top: var(--sp-8); }
  .member-card { margin-inline: auto; }
  .fc-pulse { right: -8px; top: -14px; width: 190px; }
  .fc-pay { left: -8px; bottom: -22px; width: 200px; }
  .fc-gps { display: none; }
}
@media (max-width: 520px) {
  .fc-pulse, .fc-pay { position: static; width: 100%; margin-top: var(--sp-3); animation: none; }
  .hero-visual { display: flex; flex-direction: column; }
}

/* --------------------------------------------------------------- logo bar */
.logo-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: var(--sp-5) var(--sp-8);
  padding-block: var(--sp-7);
  border-block: 1px solid var(--line);
}
.logo-bar span {
  font-family: var(--font-display); font-size: var(--t-md); font-weight: 620;
  letter-spacing: -.01em; color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 7px;
}

/* ---------------------------------------------------------- section head */
.sec-head { max-width: 660px; margin-bottom: var(--sp-8); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-block: var(--sp-3) var(--sp-4); }

/* ------------------------------------------------------------- steps */
.step {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.step .s-num {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--brand-soft); color: var(--brand-strong);
  font-family: var(--font-display); font-weight: 680; font-size: var(--t-md);
}
.step h3 { font-size: var(--t-lg); margin-bottom: 6px; }

/* --------------------------------------------------------------- tiers */
.tier-card {
  display: flex; flex-direction: column;
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease);
}
.tier-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.tier-card.featured {
  border-color: var(--brand-line);
  box-shadow: 0 0 0 1px var(--brand-line), var(--sh-3);
}
.tier-card.dark {
  background:
    radial-gradient(90% 80% at 88% 2%, rgba(37,99,235,.30), transparent 62%),
    linear-gradient(150deg, #1B2842, #0A1120);
  border-color: rgba(148,180,240,.18);
  color: #DCE5F2;
}
.tier-card.dark .t-name, .tier-card.dark .t-price { color: #F3F7FD; }
.tier-card.dark .t-feat li { color: rgba(220,229,242,.8); }
.tier-card.dark .t-feat li svg { color: #7DB0FF; }
.tier-card.dark .divider { background: rgba(148,180,240,.18); }
.t-name { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 640; letter-spacing: -.02em; }
.t-price { font-family: var(--font-display); font-size: var(--t-4xl); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.t-feat { display: flex; flex-direction: column; gap: 11px; margin-block: var(--sp-5); }
.t-feat li { display: flex; gap: 10px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
.t-feat li svg { flex-shrink: 0; margin-top: 2px; color: var(--brand); }

/* --------------------------------------------------------------- fleet */
.fleet-card {
  overflow: hidden; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.fleet-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.fleet-img { position: relative; border-bottom: 1px solid var(--line-soft); }
.fleet-img .veh-photo { border-radius: 0 !important; box-shadow: none; }
.fleet-img .cls-tag { position: absolute; z-index: 2; top: 10px; left: 10px; }
.fleet-img .rate-tag {
  position: absolute; z-index: 2; right: 10px; bottom: 10px;
  display: inline-flex; align-items: baseline; gap: 3px;
  padding: 5px 10px; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  font-size: var(--t-xs); font-weight: 620;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.fleet-meta { display: flex; gap: var(--sp-4); font-size: var(--t-xs); color: var(--ink-3); }
.fleet-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ------------------------------------------------------- dark feature bg */
.dark-band {
  background: linear-gradient(165deg, #16233D 0%, #0B1120 62%, #070C16 100%);
  color: #DCE5F2;
  position: relative; overflow: hidden;
}
.dark-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(62% 58% at 80% 4%, rgba(37,99,235,.30), transparent 66%),
    radial-gradient(48% 46% at 6% 96%, rgba(59,130,246,.14), transparent 70%);
  pointer-events: none;
}
.dark-band .container { position: relative; z-index: 1; }
.dark-band h2, .dark-band h3, .dark-band .h3, .dark-band .h4, .dark-band .h5 { color: #F3F7FD; }
.dark-band .lede, .dark-band .body-sm, .dark-band p { color: rgba(220,229,242,.74); }
.dark-band .eyebrow { color: #7DB0FF; }
.dark-band .divider { background: rgba(148,180,240,.16); }

.pulse-panel {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: rgba(148,180,240,.06);
  border: 1px solid rgba(148,180,240,.15);
  backdrop-filter: blur(8px);
}
.pulse-metric {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(148,180,240,.12);
}
.pulse-metric:last-child { border-bottom: 0; }
.pulse-metric .pm-icon {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: var(--r-sm); background: rgba(59,130,246,.16); color: #7DB0FF;
  flex-shrink: 0;
}
.pulse-metric .pm-name { font-size: var(--t-sm); color: rgba(220,229,242,.92); font-weight: 520; }
.pulse-metric .pm-val { margin-left: auto; font-size: var(--t-sm); font-weight: 620; font-variant-numeric: tabular-nums; color: #F3F7FD; }

/* ------------------------------------------------------- module matrix */
.mod-card {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all var(--dur-2) var(--ease-out);
}
.mod-card:hover { border-color: var(--brand-line); transform: translateY(-3px); box-shadow: var(--sh-2); }
.mod-card .m-icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--sp-4);
  border-radius: var(--r-sm); background: var(--surface-3); color: var(--ink-2);
  transition: all var(--dur-2) var(--ease);
}
.mod-card:hover .m-icon { background: var(--brand-soft); color: var(--brand-strong); }
.mod-card h3 { font-size: var(--t-md); margin-bottom: 5px; }
.mod-card ul { display: flex; flex-wrap: wrap; gap: 5px; margin-top: var(--sp-3); }
.mod-card ul li {
  font-size: 10.5px; padding: 2px 7px; border-radius: var(--r-xs);
  background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--ink-3);
}

/* --------------------------------------------------------------- phones */
.phone {
  width: 268px; flex-shrink: 0;
  border-radius: 36px;
  padding: 9px;
  background: linear-gradient(160deg, #2B3852, #0D1424);
  box-shadow: 0 30px 70px rgba(6, 11, 22, .50), 0 0 0 1px rgba(148,180,240,.14) inset;
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 20px; border-radius: var(--r-pill);
  background: #060A12; z-index: 3;
}
.phone-screen {
  border-radius: 28px; overflow: hidden;
  background: var(--surface);
  aspect-ratio: 9 / 19.2;
  position: relative;
  display: flex; flex-direction: column;
}

/* ------------------------------------------------------------------ FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  width: 100%; padding: var(--sp-5) 0;
  text-align: left; font-size: var(--t-lg); font-weight: 580; color: var(--ink);
  font-family: var(--font-display); letter-spacing: -.012em;
  cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q svg { flex-shrink: 0; color: var(--ink-3); transition: transform var(--dur-2) var(--ease); }
.faq-item[open] .faq-q svg { transform: rotate(180deg); color: var(--brand-strong); }
.faq-a { padding-bottom: var(--sp-5); color: var(--ink-2); max-width: 76ch; }

/* ------------------------------------------------------------------ CTA */
.cta-band {
  border-radius: var(--r-2xl);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(37,99,235,.42), transparent 60%),
    radial-gradient(70% 100% at 92% 100%, rgba(59,130,246,.22), transparent 64%),
    linear-gradient(150deg, #17233C, #0A1120);
  color: #E8EFFA;
  text-align: center;
  border: 1px solid rgba(148,180,240,.18);
}

/* --------------------------------------------------------------- footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: var(--sp-9) var(--sp-6);
  margin-top: var(--sp-11);
}
.foot-grid {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1.6fr repeat(4, 1fr);
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-family: var(--font-ui); font-size: var(--t-xs); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--sp-4); }
.foot-grid a { display: block; padding: 5px 0; font-size: var(--t-sm); color: var(--ink-2); transition: color var(--dur-1) var(--ease); }
.foot-grid a:hover { color: var(--brand-strong); }

/* --------------------------------------------------------- demo switcher */
.demo-bar {
  position: fixed; z-index: 90; left: 50%; bottom: var(--sp-5);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-3);
}
.demo-bar a {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding-inline: 13px;
  border-radius: var(--r-pill);
  font-size: var(--t-sm); font-weight: 540; color: var(--ink-2);
  white-space: nowrap;
  transition: all var(--dur-1) var(--ease);
}
.demo-bar a:hover { background: var(--surface-3); color: var(--ink); }
.demo-bar a.active { background: var(--brand); color: var(--brand-ink); font-weight: 600; }
@media (max-width: 620px) {
  .demo-bar { left: var(--sp-3); right: var(--sp-3); transform: none; justify-content: space-between; overflow-x: auto; }
  .demo-bar a span.lbl { display: none; }
  .demo-bar a { padding-inline: 11px; }
}
