/* Homepage polish v2 - a finishing layer over the existing homepage styles.
   One palette end to end: deep ink backgrounds, the logo cyan into electric
   blue as the signature gradient, indigo as the quiet secondary, silver-grey
   neutrals. Styling only; no markup, copy or checkout changes. */
:root {
  --hp-ink: #05080e; --hp-ink-2: #08101a; --hp-panel: #0c131d; --hp-panel-2: #101a26;
  --hp-line: rgba(150, 185, 215, .12); --hp-line-2: rgba(150, 185, 215, .2);
  --hp-text: #eef3f8; --hp-muted: #9eb0c3;
  --hp-cyan: #00d8f1; --hp-blue: #2f8cff; --hp-indigo: #6d6bff;
  --hp-grad: linear-gradient(100deg, #00d8f1 0%, #22a8ff 55%, #4f86ff 100%);
  --hp-grad-text: linear-gradient(95deg, #3ee6f7 0%, #3aa9ff 60%, #7d8bff 100%);
}
html, body { background: var(--hp-ink); }
body { color: var(--hp-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(0, 216, 241, .3); color: #fff; }

/* --- header: frosted glass bar ---------------------------------------- */
header.header {
  background: rgba(5, 8, 14, .72) !important;
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--hp-line) !important;
}
header.header nav a { color: #b3c2d2; transition: color .2s ease; }
header.header nav a:hover { color: #fff; }
header.header .hub-link {
  border: 1px solid transparent !important; border-radius: 999px !important;
  background: linear-gradient(var(--hp-ink-2), var(--hp-ink-2)) padding-box, var(--hp-grad) border-box !important;
  color: #fff !important; transition: box-shadow .2s ease, transform .2s ease;
}
header.header .hub-link:hover { box-shadow: 0 0 24px rgba(0, 190, 255, .28); transform: translateY(-1px); }

/* --- type -------------------------------------------------------------- */
h1, h2 { letter-spacing: -.035em; }
.eyebrow { color: #4fe1f2 !important; letter-spacing: .16em; }
.hero h1 span, .hero h1 em, .story-copy h3 span, .final-cta h2 em, #pricing .center-heading h2 span {
  background: var(--hp-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
#compare h2 { font-weight: 650; letter-spacing: -.035em; }
p { text-wrap: pretty; }

/* --- buttons ------------------------------------------------------------ */
.button.primary:not(#pricing .button), .drive-button, .payg-hero-offer .button, .comparison-cta {
  background: var(--hp-grad) !important; color: #03131c !important; border: 0 !important;
  box-shadow: 0 10px 30px rgba(0, 170, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
  transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
}
.button.primary:not(#pricing .button):hover, .payg-hero-offer .button:hover, .comparison-cta:hover {
  transform: translateY(-1px); box-shadow: 0 14px 38px rgba(0, 170, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .4) !important;
}
.text-link { color: #e6f4fb !important; }
.text-link:hover { color: var(--hp-cyan) !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--hp-cyan); outline-offset: 3px; }

/* --- hero ---------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(45% 60% at 78% 35%, rgba(47, 140, 255, .10), transparent 70%),
    radial-gradient(35% 45% at 12% 30%, rgba(0, 216, 241, .07), transparent 70%) !important;
}
.payg-hero-offer {
  border: 1px solid transparent !important;
  background: linear-gradient(135deg, #0d1c27, #0a131c) padding-box,
              linear-gradient(135deg, rgba(0, 216, 241, .55), rgba(79, 134, 255, .18) 60%, rgba(79, 134, 255, .05)) border-box !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 40px rgba(0, 200, 255, .06);
}

/* --- feature strip: a clean spec bar ------------------------------------- */
.feature-strip {
  border-top: 1px solid var(--hp-line) !important; border-bottom: 1px solid var(--hp-line) !important;
  background: linear-gradient(90deg, transparent, rgba(0, 216, 241, .035), transparent);
}
.feature-strip span { color: #c9d6e3; }
.feature-strip svg { color: var(--hp-cyan); stroke: var(--hp-cyan); }

/* --- section atmospheres and hairlines ----------------------------------- */
section.section, .comparison-section { border-color: var(--hp-line) !important; }
#vehicles { background: radial-gradient(40% 55% at 85% 60%, rgba(0, 216, 241, .06), transparent 70%); }
#experience { background: radial-gradient(45% 40% at 15% 30%, rgba(109, 107, 255, .07), transparent 70%), radial-gradient(40% 40% at 85% 85%, rgba(0, 216, 241, .05), transparent 70%); }
#setup { background: linear-gradient(180deg, transparent, rgba(8, 16, 26, .7) 40%, transparent); }
#compare { background: radial-gradient(50% 45% at 25% 40%, rgba(0, 216, 241, .06), transparent 70%); }

/* --- vehicle chips and the compatibility card ----------------------------- */
#vehicles form, #vehicles [class*=check-card], #vehicles [class*=compat] {
  border-radius: 22px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 216, 241, .05) !important;
}

/* --- story panels -------------------------------------------------------- */
.story-panel {
  border: 1px solid var(--hp-line) !important; border-radius: 26px !important; overflow: hidden;
  background: linear-gradient(160deg, var(--hp-panel-2), var(--hp-panel) 60%) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.story-copy .story-note { color: #8ea0b3; }

/* --- setup ----------------------------------------------------------------- */
#setup ol li > span {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 10px;
  background: rgba(0, 216, 241, .1); color: #5fe6f5 !important; font-weight: 700;
  border: 1px solid rgba(0, 216, 241, .25);
}
#setup ol li { border-color: var(--hp-line) !important; }
#setup .setup-brand-logo {
  border-radius: 24px; border: 1px solid var(--hp-line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 60px rgba(0, 170, 255, .12);
}
#setup .setup-url, #setup a:not(.button) { color: #5fe6f5; }

/* --- comparison -------------------------------------------------------------- */
.comparison-card {
  border: 1px solid var(--hp-line) !important; border-radius: 22px !important;
  background: linear-gradient(170deg, var(--hp-panel-2), var(--hp-panel) 70%) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.comparison-featured {
  border: 1px solid transparent !important;
  background: radial-gradient(120% 60% at 50% 0%, rgba(0, 216, 241, .12), transparent 60%) padding-box,
              linear-gradient(170deg, #0f1b27, #0b121b 70%) padding-box,
              linear-gradient(160deg, rgba(0, 216, 241, .8), rgba(47, 140, 255, .3) 50%, rgba(47, 140, 255, .08)) border-box !important;
  box-shadow: 0 30px 80px rgba(0, 170, 255, .14), 0 20px 50px rgba(0, 0, 0, .35);
}
.comparison-badge { color: #5fe6f5 !important; }
.comparison-card h3 { font-weight: 650 !important; letter-spacing: -.02em; }
.comparison-card dt { color: #5fe6f5 !important; }
.comparison-card a:not(.comparison-cta) { color: #8fc8ff !important; }

/* --- FAQ: quiet cards ----------------------------------------------------- */
#faq details {
  border: 1px solid var(--hp-line) !important; border-radius: 14px; margin: 0 0 10px;
  padding: 6px 22px; background: rgba(255, 255, 255, .018);
  transition: border-color .2s ease, background .2s ease;
}
#faq details:hover { border-color: var(--hp-line-2) !important; background: rgba(255, 255, 255, .03); }
#faq details[open] { border-color: rgba(0, 216, 241, .35) !important; background: rgba(0, 216, 241, .035); }
#faq summary { border: 0 !important; padding-block: 14px !important; }
#faq details p { padding-bottom: 14px; color: #b6c4d3; }
#faq details[open] summary { color: #fff; }
#faq summary svg { color: var(--hp-cyan); }

/* --- final call to action --------------------------------------------------- */
.final-cta {
  background:
    radial-gradient(50% 70% at 50% 100%, rgba(0, 216, 241, .16), transparent 70%),
    radial-gradient(40% 60% at 70% 90%, rgba(109, 107, 255, .12), transparent 70%) !important;
  border-top: 1px solid var(--hp-line) !important;
}
.final-cta .button.primary { padding-inline: 30px !important; min-height: 52px; font-size: 16px; }

/* --- footer ------------------------------------------------------------------ */
footer { border-top: 1px solid var(--hp-line) !important; background: #04070c !important; }
footer p, footer a { color: #8797a9 !important; }
footer a:hover { color: #fff !important; }

@media (prefers-reduced-motion: reduce) {
  .button.primary, .comparison-cta, header.header .hub-link, #faq details { transition: none; }
}
