:root {
  --ink: #eefff9;
  --muted: #91aaa8;
  --deep: #06131b;
  --surface: rgba(10, 30, 40, 0.82);
  --surface-2: rgba(15, 43, 54, 0.88);
  --line: rgba(142, 223, 206, 0.16);
  --mint: #75f8c8;
  --cyan: #4ed9ff;
  --pink: #ff6fa5;
  --amber: #ffcc73;
  --danger: #ff7184;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 22px;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(87, 199, 255, 0.11), transparent 28rem),
    radial-gradient(circle at 88% 80%, rgba(255, 79, 144, 0.12), transparent 30rem),
    linear-gradient(145deg, #041018 0%, #071923 46%, #0b2026 100%);
  font-family: var(--font);
  overflow-x: hidden;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.14;
  z-index: -1;
}
.ambient-a { top: -20vw; right: -12vw; background: var(--pink); }
.ambient-b { bottom: -22vw; left: -18vw; background: var(--cyan); }

.topbar {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 16, 24, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(24px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 15px;
  white-space: nowrap;
}
.brand img { width: 34px; height: 34px; }
.brand > span > span { color: var(--mint); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: 160ms ease;
}
.nav-link:hover, .nav-link.active { color: var(--ink); background: rgba(117, 248, 200, 0.08); }

.top-actions { display: flex; align-items: center; gap: 10px; }
.language-select, select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 15px) calc(50% - 2px) / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 10px) calc(50% - 2px) / 5px 5px no-repeat,
    rgba(7, 25, 33, 0.92);
  color: var(--ink);
  padding: 10px 32px 10px 12px;
  outline: none;
}
select option { background: #0a2630; }

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #062019;
  background: linear-gradient(135deg, var(--mint), #a8ffe2);
  box-shadow: 0 10px 34px rgba(117, 248, 200, 0.2);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(117, 248, 200, 0.3); }
.btn-outline { border-color: rgba(117, 248, 200, 0.38); background: rgba(117, 248, 200, 0.05); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,0.035); color: var(--ink); }
.btn-small { padding: 9px 14px; border-radius: 10px; font-size: 13px; }
.btn-wide { width: 100%; }
.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--mint);
  cursor: pointer;
  font-weight: 700;
}

main { max-width: 1420px; margin: 0 auto; padding: 34px clamp(20px, 4vw, 64px) 82px; }
.view { display: none; animation: reveal 350ms ease both; }
.view.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
  position: relative;
  padding: clamp(38px, 6vw, 82px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(105deg, rgba(8, 27, 37, 0.98) 0%, rgba(8, 27, 37, 0.86) 48%, rgba(10, 38, 48, 0.74) 100%);
  box-shadow: var(--shadow);
}
.hero-copy { max-width: 710px; position: relative; z-index: 3; }
.eyebrow, .section-kicker {
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(117,248,200,0.1), 0 0 18px var(--mint);
}

h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238,255,249,0.72);
}
.hero-copy > p {
  max-width: 630px;
  color: #a8c2bf;
  line-height: 1.7;
  font-size: 17px;
}
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row { margin-top: 36px; display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.trust-row b { color: var(--ink); font-size: 18px; margin-right: 3px; }

.hero-visual {
  align-self: stretch;
  min-height: 390px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #112b42 0%, #3a2446 46%, #f05d85 72%, #ffb06e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 25px 70px rgba(0,0,0,0.34);
}
.sun {
  position: absolute;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: linear-gradient(#ffe599, #ff6d95);
  left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 80px rgba(255,136,150,0.65);
}
.horizon {
  position: absolute;
  left: 0; right: 0; top: 53%;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.retro-grid {
  position: absolute;
  inset: 53% -30% -35% -30%;
  background-image:
    linear-gradient(rgba(96,255,215,0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,255,215,0.28) 1px, transparent 1px);
  background-size: 42px 30px;
  transform: perspective(270px) rotateX(58deg);
  transform-origin: top;
}
.route-line {
  position: absolute;
  width: 180px; height: 100px;
  border: 2px solid var(--mint);
  border-color: var(--mint) transparent transparent transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(117,248,200,0.8));
}
.route-a { left: 3%; bottom: 23%; transform: rotate(-22deg); }
.route-b { right: 1%; bottom: 14%; transform: rotate(28deg); width: 230px; }
.map-pin {
  position: absolute;
  width: 38px; height: 38px;
  border-radius: 50% 50% 50% 12%;
  transform: rotate(-45deg);
  background: #081a23;
  border: 2px solid var(--mint);
  color: var(--mint);
  display: grid; place-items: center;
  font-weight: 900; font-size: 10px;
  box-shadow: 0 0 26px rgba(117,248,200,0.55);
}
.map-pin::after { content: ""; }
.map-pin { line-height: 38px; }
.pin-a { left: 16%; top: 25%; }
.pin-b { left: 58%; top: 65%; }
.pin-c { right: 12%; top: 32%; }
.hero-stamp {
  position: absolute;
  right: 20px; bottom: 20px;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  display: grid; place-items: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  font-weight: 900;
  transform: rotate(9deg);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.82fr 1.2fr 1.05fr;
  gap: 16px;
  margin-top: 18px;
}
.panel {
  background: linear-gradient(150deg, rgba(13, 37, 47, 0.9), rgba(9, 27, 37, 0.82));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 50px rgba(0,0,0,0.18);
}
.stat-card { padding: 22px; min-height: 166px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; }
.stat-foot { color: var(--muted); font-size: 12px; }
.big-number { font-size: clamp(32px, 4vw, 52px); font-weight: 900; letter-spacing: -0.05em; color: var(--mint); }
.progress-orbit {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--mint) var(--progress, 0%), rgba(255,255,255,0.08) 0);
  position: relative;
  align-self: center;
}
.progress-orbit::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0a202a; }
.progress-orbit span { position: relative; z-index: 1; font-weight: 900; }
.progress-orbit.small { width: 74px; height: 74px; }
.next-mini { font-size: 18px; font-weight: 800; line-height: 1.35; }
.pro-card { background: linear-gradient(145deg, rgba(21,60,58,0.9), rgba(37,28,52,0.9)); }

.content-grid { margin-top: 18px; display: grid; grid-template-columns: 1.65fr 0.75fr; gap: 18px; }
.next-actions, .divider-panel { padding: 28px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.panel-heading h2, .divider-panel h2 { margin: 9px 0 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.035em; }
.spoiler-badge { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(117,248,200,0.25); background: rgba(117,248,200,0.08); border-radius: 999px; padding: 8px 11px; color: var(--mint); font-size: 12px; font-weight: 800; white-space: nowrap; }
.shield-icon { font-size: 14px; }
.task-stack { margin-top: 22px; display: grid; gap: 9px; }
.task-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  border-radius: 14px;
}
.check-button {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.check-button.checked { color: #062019; background: var(--mint); border-color: var(--mint); }
.task-copy strong { display: block; font-size: 14px; }
.task-copy small { color: var(--muted); }
.task-xp { color: var(--amber); font-size: 12px; font-weight: 800; }

.future-blur { margin: 24px 0; display: grid; gap: 9px; filter: blur(5px); opacity: 0.55; }
.future-blur div { height: 24px; border-radius: 7px; background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(117,248,200,0.2)); }
.divider-panel > p { margin: 22px 0; color: var(--muted); line-height: 1.65; font-size: 14px; }

.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 22px 0 28px; }
.page-heading h1 { margin: 12px 0 8px; font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.055em; line-height: 1; }
.page-heading p { margin-bottom: 0; color: var(--muted); max-width: 720px; line-height: 1.65; }
.heading-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tracker-toolbar {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.1fr;
  gap: 22px;
  align-items: center;
  padding: 20px 22px;
}
.chapter-control label, .challenge-controls > label > span { display: block; font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.09em; }
.chapter-control select { width: 100%; }
.toggle-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; }
.toggle-row strong { display: block; font-size: 14px; }
.toggle-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { width: 42px; height: 24px; flex: 0 0 42px; border-radius: 999px; background: rgba(255,255,255,0.12); position: relative; transition: 160ms ease; }
.toggle-ui::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 3px; left: 3px; background: #dfeee9; transition: 160ms ease; }
.toggle-row input:checked + .toggle-ui { background: var(--mint); }
.toggle-row input:checked + .toggle-ui::after { transform: translateX(18px); background: #073027; }
.free-meter-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.meter { height: 7px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.meter span { height: 100%; display: block; width: 0; background: linear-gradient(90deg, var(--mint), var(--cyan)); transition: width 250ms ease; }

.tracker-grid { margin-top: 18px; display: grid; grid-template-columns: 1.6fr 0.7fr; gap: 18px; align-items: start; }
.category-column { display: grid; gap: 15px; }
.tracker-side { display: grid; gap: 15px; position: sticky; top: 94px; }
.category-card { padding: 22px; }
.category-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.category-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(117,248,200,0.08); color: var(--mint); font-size: 19px; }
.category-head h3 { margin: 0; font-size: 18px; }
.category-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.category-progress { margin-left: auto; color: var(--mint); font-weight: 900; }
.tracker-item { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 12px; align-items: center; border-top: 1px solid rgba(255,255,255,0.06); padding: 12px 0; }
.tracker-item:first-of-type { border-top: 0; }
.tracker-item.locked { opacity: 0.42; }
.tracker-item .check-button { width: 23px; height: 23px; border-radius: 7px; }
.tracker-item > div > span { display: block; font-size: 13px; }
.tracker-item > div > small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.chapter-chip { border-radius: 99px; background: rgba(255,255,255,0.06); padding: 4px 7px; color: var(--muted); }
.mini-panel { padding: 20px; }
.ring-row { margin-top: 18px; display: flex; align-items: center; gap: 18px; }
.snapshot-number { font-size: 31px; font-weight: 900; }
.muted { color: var(--muted); font-size: 12px; }
.mini-divider { height: 1px; background: var(--line); margin: 18px 0; }
.snapshot-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 7px 0; }
.snapshot-line b { color: var(--ink); }
.ad-label { color: var(--amber); font-size: 10px; font-weight: 900; letter-spacing: 0.15em; }
.mini-panel h3 { margin: 12px 0 8px; font-size: 20px; }
.mini-panel p { color: var(--muted); line-height: 1.55; font-size: 13px; }
.stack-form { display: grid; gap: 10px; margin-top: 14px; }
input[type="text"], .stack-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0,0,0,0.18);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
input:focus { border-color: rgba(117,248,200,0.55); box-shadow: 0 0 0 3px rgba(117,248,200,0.07); }

.vehicle-toolbar { padding: 16px; display: grid; grid-template-columns: 1fr 210px 210px; gap: 10px; }
.search-box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,0.18); padding: 0 13px; }
.search-box span { color: var(--mint); font-size: 22px; }
.search-box input { background: transparent; border: 0; box-shadow: none; padding-left: 0; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; margin-top: 16px; }
.vehicle-card { padding: 20px; position: relative; overflow: hidden; }
.vehicle-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -55px; top: -60px; background: radial-gradient(circle, rgba(78,217,255,0.18), transparent 70%); }
.vehicle-card-top { display: flex; justify-content: space-between; gap: 12px; }
.vehicle-maker { color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; }
.vehicle-class { border-radius: 99px; padding: 5px 8px; background: rgba(117,248,200,0.09); color: var(--mint); font-size: 10px; align-self: flex-start; }
.vehicle-card h3 { margin: 18px 0 6px; font-size: 24px; letter-spacing: -0.03em; }
.vehicle-specs { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.vehicle-spec { background: rgba(255,255,255,0.035); border-radius: 9px; padding: 9px 7px; text-align: center; }
.vehicle-spec b { display: block; font-size: 16px; }
.vehicle-spec small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.vehicle-footer { margin-top: 17px; display: flex; justify-content: space-between; align-items: center; }
.add-compare { border: 0; background: transparent; color: var(--cyan); cursor: pointer; font-weight: 800; font-size: 12px; }
.data-note { margin-top: 16px; padding: 16px 20px; display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.data-note strong { color: var(--amber); white-space: nowrap; }

.challenge-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; }
.challenge-controls { padding: 23px; align-self: start; position: sticky; top: 94px; }
.challenge-controls > label { display: block; margin-top: 18px; }
.challenge-controls select { width: 100%; }
.challenge-controls .toggle-row { margin: 18px 0; }
.challenge-controls .btn { margin-top: 10px; }
.generation-counter { text-align: center; color: var(--muted); font-size: 11px; margin-top: 12px; }
.challenge-stage { display: grid; gap: 15px; }
.challenge-card {
  border-radius: 24px;
  padding: 28px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,111,165,0.28), transparent 18rem),
    linear-gradient(145deg, #102c3c, #081620 58%, #151c32);
  border: 1px solid rgba(117,248,200,0.24);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  overflow: hidden;
  position: relative;
}
.challenge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(117,248,200,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(117,248,200,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 50%, transparent);
}
.challenge-card > * { position: relative; }
.challenge-card-top, .challenge-card-bottom { display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: 0.11em; font-weight: 800; }
.challenge-card-top img { width: 30px; }
.challenge-card-content { margin: auto 0; padding: 35px 0; }
.challenge-tag { color: var(--mint); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; }
.challenge-card h2 { margin: 12px 0; font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.055em; line-height: 1; }
.challenge-card p { color: #b4cac6; max-width: 660px; line-height: 1.65; font-size: 16px; }
.challenge-rules { display: flex; gap: 8px; flex-wrap: wrap; }
.challenge-rules span { border: 1px solid var(--line); background: rgba(255,255,255,0.03); border-radius: 99px; padding: 7px 10px; color: var(--muted); font-size: 11px; }
.challenge-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.saved-challenges { padding: 19px; }
.compact-heading { align-items: center; }
.compact-heading h3 { margin: 0; }
.recent-list { display: grid; gap: 7px; margin-top: 12px; }
.recent-item { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 9px; font-size: 12px; }
.recent-item small { color: var(--muted); }

.pricing-hero { text-align: center; max-width: 860px; margin: 50px auto 34px; }
.pricing-hero .eyebrow { justify-content: center; }
.pricing-hero h1 { margin: 16px 0; font-size: clamp(44px, 7vw, 78px); letter-spacing: -0.06em; line-height: 0.95; }
.pricing-hero p { color: var(--muted); line-height: 1.7; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 430px); justify-content: center; gap: 18px; align-items: stretch; }
.price-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(11,32,42,0.78); position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(117,248,200,0.48); box-shadow: 0 25px 75px rgba(117,248,200,0.08); transform: translateY(-8px); background: linear-gradient(155deg, rgba(16,53,57,0.96), rgba(15,29,49,0.94)); }
.popular-tag { position: absolute; top: 18px; right: 18px; border-radius: 999px; padding: 6px 9px; background: var(--mint); color: #062019; font-size: 9px; font-weight: 900; letter-spacing: 0.08em; }
.price-plan { color: var(--mint); font-weight: 900; letter-spacing: 0.15em; font-size: 12px; }
.price { margin-top: 20px; font-size: 54px; letter-spacing: -0.05em; font-weight: 900; display: flex; align-items: baseline; }
.price > span { font-size: 24px; vertical-align: top; }
.price b { font: inherit; }
.price small { font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 5px; }
.price-note { margin-top: 5px; color: var(--muted); font-size: 12px; }
.price-card p { color: var(--muted); min-height: 44px; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 25px; display: grid; gap: 11px; color: #c0d1ce; font-size: 13px; flex: 1; }
.price-card li::before { content: "✓"; color: var(--mint); margin-right: 8px; }
.purchase-link { margin: 13px auto 0; border: 0; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.purchase-link:hover { color: var(--mint); }
.purchase-link[hidden] { display: none; }
.pricing-trust { margin-top: 18px; padding: 15px 20px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.pricing-trust b { color: var(--ink); }
.pricing-trust .text-link { border: 0; background: transparent; font: inherit; }
.payment-note { margin-top: 22px; padding: 16px 19px; font-size: 12px; color: var(--muted); display: flex; gap: 10px; }
.payment-note strong { color: var(--amber); white-space: nowrap; }

.footer { max-width: 1420px; margin: 0 auto; padding: 22px clamp(20px,4vw,64px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 11px; }
.footer > div:first-child { display: grid; gap: 5px; max-width: 770px; }
.footer strong { color: var(--ink); letter-spacing: 0.12em; }
.footer-links { display: flex; gap: 18px; }

.guide-shell { max-width: 1040px; margin: 0 auto; padding: 32px clamp(18px, 4vw, 48px) 70px; }
.guide-shell > .brand { display: inline-flex; margin-bottom: 34px; }
.guide-article { padding: clamp(24px, 5vw, 58px); }
.guide-article > h1, .guide-hub-head h1 { margin: 17px 0 20px; font-size: clamp(42px, 7vw, 78px); line-height: 0.98; letter-spacing: -0.055em; }
.guide-lede { max-width: 790px; color: #c4d4d1; font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.guide-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 24px 0 35px; padding-bottom: 23px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.guide-article section { max-width: 790px; margin: 32px 0; }
.guide-article section h2, .guide-related h2 { margin-bottom: 13px; font-size: clamp(25px, 3.3vw, 36px); letter-spacing: -0.035em; }
.guide-article section p { color: var(--muted); line-height: 1.82; }
.guide-cta { margin: 38px 0; padding: 23px; border: 1px solid rgba(117,248,200,0.28); border-radius: 16px; background: rgba(117,248,200,0.055); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.guide-related { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.guide-related a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 9px; background: rgba(255,255,255,0.035); }
.guide-related a:hover { color: var(--mint); }
.guide-disclaimer { margin-top: 36px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.guide-hub-head { max-width: 900px; margin: 36px 0 34px; }
.guide-hub-head p { color: var(--muted); max-width: 700px; line-height: 1.7; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-card { padding: 24px; color: var(--ink); text-decoration: none; display: grid; gap: 12px; }
.guide-card > span { color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.guide-card strong { font-size: 21px; line-height: 1.2; }
.guide-card p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.mobile-nav { display: none; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0,8,12,0.72); backdrop-filter: blur(10px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(500px, 100%); padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: #0a202a; box-shadow: var(--shadow); position: relative; }
.modal h2 { font-size: 30px; letter-spacing: -0.04em; margin-bottom: 10px; }
.modal p { color: var(--muted); line-height: 1.65; }
.modal-close { position: absolute; right: 15px; top: 13px; width: 35px; height: 35px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 20px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.modal-actions > .paypal-checkout, .modal-actions > .access-form { width: 100%; }
.paypal-checkout { display: grid; gap: 12px; }
.paypal-checkout-status { min-height: 22px; margin: 0 !important; font-size: 12px; }
.paypal-button-mount { min-height: 48px; width: 100%; }
.paypal-button-mount:empty::before { content: "Loading secure checkout…"; display: grid; place-items: center; min-height: 48px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 12px; }
.access-form { display: grid; gap: 10px; }
.access-form input { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: rgba(4,20,27,0.7); color: var(--ink); padding: 13px 14px; font: inherit; font-size: 12px; outline: none; }
.access-form input:focus { border-color: rgba(117,248,200,0.65); box-shadow: 0 0 0 3px rgba(117,248,200,0.08); }
.access-result { word-break: break-all; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,0.18); color: var(--mint); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; line-height: 1.5; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100; border: 1px solid rgba(117,248,200,0.3); border-radius: 12px; background: rgba(6,24,31,0.96); padding: 12px 16px; color: var(--ink); box-shadow: var(--shadow); transition: 180ms ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

.compare-drawer { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 12px; margin-top: 18px; }
.compare-box { border: 1px solid var(--line); border-radius: 14px; padding: 15px; background: rgba(255,255,255,0.03); position: relative; }
.compare-box h4 { margin: 0 0 10px; }
.compare-box .remove-compare { position: absolute; top: 9px; right: 9px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.compare-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; margin-top: 8px; color: var(--muted); }
.compare-line b { color: var(--ink); }

@media (max-width: 1080px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 9px 10px; font-size: 13px; }
  .hero { grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .vehicle-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  body { padding-bottom: 74px; }
  .topbar { height: 66px; padding: 0 17px; }
  .brand { font-size: 12px; }
  .brand img { width: 29px; height: 29px; }
  .main-nav, #topTrialButton { display: none; }
  .language-select { padding: 8px 27px 8px 9px; font-size: 12px; }
  main { padding: 18px 15px 42px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; border: 1px solid var(--line); border-radius: 17px; background: rgba(5,22,30,0.94); backdrop-filter: blur(20px); padding: 6px; box-shadow: var(--shadow); }
  .mobile-nav button { border: 0; background: transparent; color: var(--muted); border-radius: 11px; padding: 7px 4px; display: grid; gap: 3px; place-items: center; cursor: pointer; }
  .mobile-nav button span { font-size: 17px; }
  .mobile-nav button small { font-size: 9px; }
  .mobile-nav button.active { color: var(--mint); background: rgba(117,248,200,0.08); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 31px 23px 24px; }
  .hero h1 { font-size: clamp(49px, 16vw, 72px); }
  .hero-copy > p { font-size: 15px; }
  .hero-visual { min-height: 235px; }
  .trust-row { gap: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 17px; min-height: 148px; }
  .content-grid, .tracker-grid, .challenge-layout { grid-template-columns: 1fr; }
  .tracker-side { position: static; }
  .tracker-toolbar { grid-template-columns: 1fr; gap: 16px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-cta { align-items: flex-start; flex-direction: column; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 44px; }
  .page-heading p { font-size: 14px; }
  .vehicle-toolbar { grid-template-columns: 1fr; }
  .vehicle-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .challenge-controls { position: static; }
  .challenge-card { min-height: 340px; padding: 21px; }
  .challenge-actions .btn { flex: 1; min-width: 130px; }
  .footer { display: grid; padding-bottom: 28px; }
}

@media (max-width: 480px) {
  .stats-grid { gap: 10px; }
  .stat-card { min-height: 138px; }
  .progress-orbit { width: 72px; height: 72px; }
  .big-number { font-size: 32px; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .page-heading { display: grid; }
  .panel-heading { display: grid; }
  .spoiler-badge { justify-self: start; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
