/* ==========================================================================
   EVPedia — design system (Material-inspired, electric navy + green/cyan)
   ========================================================================== */
:root {
  --green: #00e39a;
  --cyan: #00b4ff;
  --navy: #0a1f3c;
  --navy-2: #06122a;
  --navy-3: #0c3560;
  --ink: #0f1b2d;
  --ink-2: #44546a;
  --ink-3: #7487a0;
  --line: #e3e9f1;
  --bg: #f5f8fc;
  --card: #ffffff;
  --danger: #ef4565;
  --warn: #ffb020;
  --grad: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  --grad-dark: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(10, 31, 60, .06), 0 2px 8px rgba(10, 31, 60, .06);
  --shadow-2: 0 4px 14px rgba(10, 31, 60, .08), 0 12px 32px rgba(10, 31, 60, .08);
  --shadow-3: 0 20px 50px rgba(6, 18, 42, .18);
  --glow: 0 10px 30px rgba(0, 180, 255, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Outfit', var(--font);
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: #0077c8; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; vertical-align: -0.2em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons (with Material ripple) ---------- */
.btn { --b: var(--navy); position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 0; font: 600 .95rem/1 var(--font); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none !important; white-space: nowrap; user-select: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #04223a; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(0, 227, 154, .45); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, .08); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-1); }
.btn-light:hover { box-shadow: var(--shadow-2); }
.btn-sm { padding: .55em 1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.loading { opacity: .6; pointer-events: none; }
.btn.loading::after { content: ''; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .5); animation: ripple .6s var(--ease); pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; background: transparent; color: inherit; cursor: pointer; transition: background .2s; position: relative; overflow: hidden; }
.icon-btn:hover { background: rgba(127, 127, 127, .12); }

/* ---------- Chips & badges ---------- */
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .4em .9em; border-radius: 999px; background: #eef4fb; color: var(--ink-2); font-size: .85rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all .2s var(--ease); text-decoration: none !important; }
.chip:hover { border-color: var(--cyan); color: var(--navy); }
.chip.active, .chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .3em .75em; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.badge-ai { background: linear-gradient(135deg, rgba(0, 227, 154, .16), rgba(0, 180, 255, .16)); color: #00845a; border: 1px solid rgba(0, 227, 154, .4); }
.on-dark .badge-ai { color: #7dffd1; }
.badge-ai .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0, 227, 154, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 227, 154, .7); } 70% { box-shadow: 0 0 0 8px rgba(0, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 227, 154, 0); } }
.badge-premium { background: linear-gradient(135deg, #ffd56b, #ffb020); color: #4a2f00; }
.badge-muted { background: #eef2f7; color: var(--ink-2); }
.badge-warn { background: #fff4e0; color: #8a5a00; }
.badge-ok { background: #dcfbef; color: #00744f; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--grad); color: #04223a; text-align: center; font-weight: 600; font-size: .9rem; padding: .5em 1em; }
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.on-hero { background: transparent; }
.site-header, .site-header.scrolled { background: rgba(6, 18, 42, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav { display: flex; align-items: center; gap: 18px; height: 68px; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.45rem var(--font-head); color: #fff; text-decoration: none !important; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-20deg) scale(1.06); }
.brand .ev { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 2px; margin-left: 12px; flex: 1; }
.nav-links a { white-space: nowrap; color: rgba(255, 255, 255, .82); padding: .55em .85em; border-radius: 10px; font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a.active::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px; }
.lang-switch a { color: rgba(255, 255, 255, .7); font-size: .78rem; font-weight: 700; padding: .35em .7em; border-radius: 999px; text-decoration: none; }
.lang-switch a.on { background: #fff; color: var(--navy); }
.menu-toggle { display: none; color: #fff; }
.user-menu { position: relative; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #04223a; display: grid; place-items: center; font-weight: 800; cursor: pointer; border: 2px solid rgba(255, 255, 255, .2); }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; color: var(--ink); min-width: 220px; border-radius: 14px; box-shadow: var(--shadow-3); padding: 8px; opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: all .2s var(--ease); }
.dropdown.open { opacity: 1; transform: none; pointer-events: auto; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: .65em .8em; border-radius: 10px; color: var(--ink); font: 500 .92rem var(--font); background: none; border: 0; cursor: pointer; text-align: left; text-decoration: none; }
.dropdown a:hover, .dropdown button:hover { background: #f0f5fb; }
.dropdown .who { padding: .6em .8em .8em; border-bottom: 1px solid var(--line); margin-bottom: 6px; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-grid; }
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: var(--navy-2); padding: 12px 16px 20px; margin: 0; transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: var(--shadow-3); max-height: calc(100vh - 68px); overflow: auto; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .9em 1em; font-size: 1rem; }
  .nav-right .btn-login { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; padding: 72px 0 110px; margin-top: -68px; padding-top: 140px; }
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: #c9d8ea; font-size: 1.15rem; max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 480px; height: 480px; background: #00b4ff; top: -140px; right: -80px; }
.blob.b2 { width: 380px; height: 380px; background: #00e39a; bottom: -160px; left: 10%; animation-delay: -5s; opacity: .35; }
.blob.b3 { width: 260px; height: 260px; background: #6c5cff; top: 30%; left: 45%; animation-delay: -9s; opacity: .22; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.06); } 66% { transform: translate(-20px, 20px) scale(.96); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); z-index: 1; }
.hero .badge-ai { margin-bottom: 18px; }
.greet { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); padding: .5em 1em .5em .5em; border-radius: 999px; margin-bottom: 18px; font-size: .92rem; color: #dff; }
.greet .eva-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #04223a; }
.ask-box { display: flex; gap: 8px; background: rgba(255, 255, 255, .96); padding: 8px; border-radius: 999px; margin: 26px 0 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3), 0 0 0 6px rgba(0, 180, 255, .12); max-width: 620px; transition: box-shadow .3s; }
.ask-box:focus-within { box-shadow: 0 20px 60px rgba(0, 0, 0, .3), 0 0 0 6px rgba(0, 227, 154, .35); }
.ask-box input { flex: 1; border: 0; outline: 0; background: transparent; padding: 0 16px; font: 500 1rem var(--font); color: var(--ink); min-width: 0; }
.typed-cursor { display: inline-block; width: 2px; background: var(--green); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-suggest { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.hero-suggest .chip { background: rgba(255, 255, 255, .08); color: #dfeaf7; border-color: rgba(255, 255, 255, .12); }
.hero-suggest .chip:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hero-visual { position: relative; }
.orbit { position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .15); animation: rot 40s linear infinite; }
.orbit .ring.r2 { inset: 12%; animation-duration: 28s; animation-direction: reverse; }
.orbit .ring.r3 { inset: 26%; border-style: solid; border-color: rgba(0, 227, 154, .25); }
@keyframes rot { to { transform: rotate(360deg); } }
.orbit .core { position: absolute; inset: 32%; display: grid; place-items: center; filter: drop-shadow(0 0 40px rgba(0, 180, 255, .55)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.orbit .sat { position: absolute; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-3); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 8px; animation: bob 6s ease-in-out infinite; }
.orbit .sat .ms { color: #00a3e6; }
.orbit .s1 { top: 6%; left: -4%; } .orbit .s2 { top: 42%; right: -8%; animation-delay: -2s; } .orbit .s3 { bottom: 4%; left: 8%; animation-delay: -4s; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; color: var(--bg); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -64px; position: relative; z-index: 5; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-2); text-align: center; }
.stat b { display: block; font: 700 2.2rem var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-2); font-size: .9rem; font-weight: 600; }

/* ---------- Sections ---------- */
section.sec { padding: 84px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head p { color: var(--ink-2); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #00a3e6; margin-bottom: 10px; }
.sec-dark { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark p { color: #c9d8ea; }
.page-head { background: var(--grad-dark); color: #fff; padding: 140px 0 70px; margin-top: -68px; position: relative; overflow: hidden; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-head p { color: #c9d8ea; max-width: 720px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .85rem; color: #9fb3cc; margin-bottom: 14px; }
.crumbs a { color: #cfe6ff; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; overflow: hidden; color: inherit; text-decoration: none !important; display: block; }
.feature::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; z-index: 0; }
.feature > * { position: relative; z-index: 1; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.feature .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0, 227, 154, .15), rgba(0, 180, 255, .18)); color: #0090cc; font-size: 1.6rem; margin-bottom: 18px; transition: transform .4s var(--ease); }
.feature:hover .ico { transform: rotate(-8deg) scale(1.08); }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--ink-2); margin: 0; }
.feature .go { margin-top: 14px; font-weight: 700; color: #0090cc; display: inline-flex; gap: 4px; align-items: center; }
.feature:hover .go .ms { transform: translateX(4px); }
.feature .go .ms { transition: transform .25s; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px; position: relative; transition: background .3s, transform .3s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #04223a; font-weight: 800; display: grid; place-items: center; box-shadow: var(--glow); }
.step .ms { font-size: 2rem; color: var(--green); margin: 8px 0 12px; }

/* ---------- Car cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }
.car-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; }
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.car-card .media { position: relative; aspect-ratio: 16/10; background: radial-gradient(120% 90% at 50% 100%, #e6f4ff 0%, #f6fbff 60%, #fff 100%); display: grid; place-items: center; overflow: hidden; }
.car-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car-card .media .car-art { width: 88%; transition: transform .6s var(--ease); }
.car-card:hover .media img, .car-card:hover .media .car-art { transform: scale(1.06); }
.car-card .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.car-card .fav { position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, .9); }
.car-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.car-card .brandname { font-size: .8rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.car-card h3 { font-size: 1.2rem; margin: 2px 0 6px; }
.car-card h3 a { color: var(--ink); }
.car-card .price { font: 700 1.05rem var(--font-head); color: #00845a; margin-bottom: 12px; }
.car-card .specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.car-card .specs div { background: #f4f8fc; border-radius: 10px; padding: 8px 6px; text-align: center; }
.car-card .specs b { display: block; font-size: .95rem; }
.car-card .specs small { color: var(--ink-3); font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.car-card .actions { display: flex; gap: 8px; margin-top: auto; }
.car-card .actions .btn { flex: 1; }
.car-card.mini .specs { display: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; padding: .85em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 500 .98rem var(--font); color: var(--ink); transition: border .2s, box-shadow .2s; outline: none; }
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 180, 255, .15); }
textarea.input { min-height: 140px; resize: vertical; }
.field .err { color: var(--danger); font-size: .82rem; font-weight: 600; }
.field.has-err .input { border-color: var(--danger); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: #00b4ff; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #dcfbef; color: #00664a; }
.alert-error { background: #ffe5ea; color: #a1132f; }
.alert-info { background: #e3f4ff; color: #00557f; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 26px; }
.card-tight { padding: 18px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--grad-dark); color: #fff; padding: 140px 56px 60px; position: relative; overflow: hidden; margin-top: -68px; }
.auth-side h2 { color: #fff; }
.auth-side ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: center; color: #dbe8f5; }
.auth-side li .ms { color: var(--green); }
.auth-main { padding: 60px 24px; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 440px; }

/* ---------- Toolbar / filters ---------- */
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-2); padding: 18px; display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 10px; margin-top: -44px; position: relative; z-index: 4; }
.filters .input { padding: .75em .9em; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 16px; flex-wrap: wrap; gap: 10px; }
.brand-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.brand-pill { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: .55em 1em; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none !important; transition: transform .2s; }
.brand-pill:hover { transform: translateY(-2px); }
.brand-pill i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: var(--shadow-1); font-weight: 700; color: var(--ink); text-decoration: none; padding: 0 12px; }
.pager .on { background: var(--navy); color: #fff; }

/* ---------- Car detail ---------- */
.car-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.car-stage { background: radial-gradient(100% 80% at 50% 90%, rgba(0, 180, 255, .25), transparent 70%); border-radius: 24px; padding: 20px; position: relative; }
.car-stage img { border-radius: 18px; width: 100%; aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow-3); }
.car-stage .car-art { filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); animation: drive-in 1s var(--ease) both; }
@keyframes drive-in { from { transform: translateX(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
.price-big { font: 700 clamp(1.6rem, 3vw, 2.2rem) var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quick-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.qs { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px; }
.qs .ms { color: var(--green); font-size: 1.5rem; }
.qs b { display: block; font: 700 1.25rem var(--font-head); color: #fff; margin-top: 4px; }
.qs small { color: #9fb3cc; font-size: .78rem; font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.sticky { position: sticky; top: 88px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-table th { color: var(--ink-2); font-weight: 600; width: 50%; }
.spec-table td { font-weight: 700; }
.spec-group { margin-bottom: 26px; }
.spec-group h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; color: #0090cc; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; background: #f4f8fc; border-radius: 12px; padding: 10px 12px; font-weight: 500; }
.feature-list .ms { color: #00b37a; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 1em 1.3em; border-left: 4px solid var(--green); background: #f0fbf6; border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.prose th { background: #f4f8fc; }
.prose .lead { font-size: 1.15rem; color: var(--ink-2); }
.prose img { border-radius: 14px; }
.disclaimer { font-size: .85rem; color: var(--ink-3); display: flex; gap: 8px; align-items: flex-start; }

/* ---------- Compare ---------- */
.cmp-pickers { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 16px; margin-bottom: 22px; }
.cmp-slot { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 16px; min-height: 250px; display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease); }
.cmp-slot.empty { border: 2px dashed #c9d7e8; box-shadow: none; background: transparent; align-items: center; justify-content: center; text-align: center; color: var(--ink-3); }
.cmp-slot .x { position: absolute; top: 8px; right: 8px; }
.cmp-slot h3 { font-size: 1.05rem; margin: 10px 0 2px; }
.cmp-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: .94rem; }
.cmp-table th { color: var(--ink-2); font-weight: 600; width: 220px; background: #fafcfe; position: sticky; left: 0; }
.cmp-table td.best { color: #00845a; font-weight: 800; position: relative; }
.cmp-table td.best::after { content: '★'; margin-left: 6px; color: var(--green); }
.cmp-table tr.grp td { background: #f2f7fc; font-weight: 800; color: #0090cc; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.ai-panel { background: linear-gradient(135deg, #04223a, #0c3560); color: #fff; border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; margin-top: 24px; }
.ai-panel h3, .ai-panel h4 { color: #fff; }
.ai-panel p, .ai-panel li { color: #d6e4f2; }
.ai-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.ai-col { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 16px; }
.ai-col ul { padding-left: 1.1em; margin: .3em 0; }
.compare-bar { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-3); z-index: 60; transition: transform .4s var(--ease); max-width: calc(100% - 32px); }
.compare-bar.show { transform: translate(-50%, 0); }
.compare-bar .cnt { background: var(--grad); color: #04223a; border-radius: 999px; padding: .1em .6em; font-weight: 800; }

/* ---------- Map ---------- */
.map-layout { display: grid; grid-template-columns: 380px 1fr; height: calc(100vh - 68px); }
.map-side { background: #fff; display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; }
.map-side .top { padding: 18px; border-bottom: 1px solid var(--line); }
.map-list { overflow-y: auto; flex: 1; padding: 10px; }
.sp-item { padding: 14px; border-radius: 14px; cursor: pointer; transition: background .2s; display: flex; gap: 12px; }
.sp-item:hover, .sp-item.on { background: #f0f6fd; }
.sp-item .pin { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #04223a; flex: 0 0 auto; }
.sp-item h4 { margin: 0 0 2px; font-size: .98rem; }
.sp-item .meta { color: var(--ink-3); font-size: .82rem; }
.sp-item .dist { margin-left: auto; font-weight: 800; color: #0090cc; font-size: .85rem; white-space: nowrap; }
#map { width: 100%; height: 100%; background: #dfe8f1; }
.map-teaser { height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-3); }
.leaflet-popup-content-wrapper { border-radius: 14px !important; }
.leaflet-popup-content { font-family: var(--font); margin: 14px 16px !important; }
.ev-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); display: grid; place-items: center; border: 2px solid #fff; }
.ev-pin span { transform: rotate(45deg); color: #04223a; font-family: 'Material Symbols Rounded'; font-size: 18px; }
.ev-pin.fast { background: linear-gradient(135deg, #ffd56b, #ff8a3d); }
.me-pin { width: 18px; height: 18px; border-radius: 50%; background: #1e88ff; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(30, 136, 255, .25); }
@media (max-width: 860px) { .map-layout { grid-template-columns: 1fr; grid-template-rows: 55vh auto; height: auto; } .map-side { order: 2; } .map-list { max-height: none; } }

/* ---------- Finder ---------- */
.wizard { max-width: 760px; margin: -50px auto 0; position: relative; z-index: 4; }
.progress { height: 8px; border-radius: 999px; background: #e6eef7; overflow: hidden; margin-bottom: 20px; }
.progress i { display: block; height: 100%; background: var(--grad); border-radius: 999px; transition: width .5s var(--ease); }
.wstep { display: none; animation: stepIn .45s var(--ease); }
.wstep.on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.opt { border: 2px solid var(--line); border-radius: 16px; padding: 18px 14px; text-align: center; cursor: pointer; transition: all .2s var(--ease); background: #fff; font-weight: 700; position: relative; }
.opt:hover { border-color: var(--cyan); transform: translateY(-2px); }
.opt.on { border-color: var(--green); background: #effdf7; box-shadow: 0 0 0 4px rgba(0, 227, 154, .15); }
.opt .ms { font-size: 2rem; display: block; margin: 0 auto 8px; color: #0090cc; }
.opt small { display: block; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.range-out { font: 700 2rem var(--font-head); text-align: center; margin: 10px 0; }
input[type=range] { width: 100%; accent-color: #00b4ff; height: 6px; }
.w-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.result-card { display: grid; grid-template-columns: 200px 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-1); margin-bottom: 14px; animation: stepIn .5s var(--ease) both; }
.result-card .rank { font: 800 1rem var(--font-head); color: #0090cc; }
.score-ring { --p: 70; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--p) * 1%), #e6eef7 0); display: grid; place-items: center; }
.score-ring b { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 800 1.05rem var(--font-head); }
.ai-thinking { text-align: center; padding: 60px 20px; }
.ai-orb { width: 90px; height: 90px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad); animation: orb 1.6s ease-in-out infinite; box-shadow: 0 0 60px rgba(0, 180, 255, .6); }
@keyframes orb { 50% { transform: scale(1.12); box-shadow: 0 0 90px rgba(0, 227, 154, .7); } }

/* ---------- EVA chat ---------- */
.eva-page { display: grid; grid-template-columns: 280px 1fr; height: calc(100vh - 68px); }
.eva-side { background: var(--navy-2); color: #fff; padding: 20px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.eva-side .hist a { display: block; color: #cfe0f2; padding: .6em .8em; border-radius: 10px; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.eva-side .hist a:hover, .eva-side .hist a.on { background: rgba(255, 255, 255, .08); color: #fff; }
.chat { display: flex; flex-direction: column; min-height: 0; background: linear-gradient(180deg, #f5f8fc, #eef4fa); }
.chat-head { padding: 14px 22px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.eva-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-dark); display: grid; place-items: center; position: relative; flex: 0 0 auto; }
.eva-avatar img { width: 32px; height: 32px; }
.eva-avatar::after { content: ''; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.msg { max-width: 78%; padding: 12px 16px; border-radius: 18px; animation: msgIn .35s var(--ease) both; line-height: 1.55; word-wrap: break-word; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: #fff; box-shadow: var(--shadow-1); border-bottom-left-radius: 6px; }
.msg.bot p:last-child, .msg.bot ul:last-child { margin-bottom: 0; }
.msg.bot ul, .msg.bot ol { padding-left: 1.2em; margin: .4em 0; }
.msg.bot a { font-weight: 700; }
.msg.err { background: #ffe9ed; color: #a1132f; }
.typing { display: inline-flex; gap: 5px; padding: 14px 18px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: #9ab0c8; animation: tdot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } }
.chat-foot { padding: 14px 22px 18px; background: #fff; border-top: 1px solid var(--line); }
.chat-form { display: flex; gap: 8px; background: #f2f6fb; border-radius: 999px; padding: 6px; border: 1.5px solid transparent; transition: border .2s; }
.chat-form:focus-within { border-color: var(--cyan); }
.chat-form textarea { flex: 1; border: 0; outline: 0; background: transparent; resize: none; font: 500 1rem var(--font); padding: 10px 14px; max-height: 140px; }
.suggests { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.quota { font-size: .8rem; color: var(--ink-3); margin-top: 8px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .eva-page { grid-template-columns: 1fr; } .eva-side { display: none; } .msg { max-width: 90%; } }

/* EVA floating widget */
.eva-fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-dark); box-shadow: 0 12px 34px rgba(0, 80, 160, .45); display: grid; place-items: center; transition: transform .3s var(--ease); }
.eva-fab:hover { transform: scale(1.08) rotate(-6deg); }
.eva-fab img { width: 40px; height: 40px; }
.eva-fab::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(0, 227, 154, .55); animation: halo 2.4s infinite; }
@keyframes halo { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.eva-fab .tip { position: absolute; right: 76px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-2); white-space: nowrap; font-weight: 600; font-size: .88rem; animation: tipIn .5s 1.5s var(--ease) both; }
@keyframes tipIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.eva-panel { position: fixed; right: 22px; bottom: 98px; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 130px)); background: #fff; border-radius: 22px; box-shadow: var(--shadow-3); z-index: 71; display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(.6) translateY(30px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
.eva-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.eva-panel .chat-head { background: var(--grad-dark); color: #fff; border: 0; }
.eva-panel .chat-head .muted { color: #9fb3cc; }
.eva-panel .chat-body { padding: 16px; }
.eva-panel .chat-foot { padding: 12px; }
.page-eva .eva-fab, .page-eva .eva-panel { display: none; }

/* ---------- Articles ---------- */
.a-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.a-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; color: inherit; text-decoration: none !important; }
.a-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.a-card .img { aspect-ratio: 16/9; background: var(--grad-dark); overflow: hidden; position: relative; }
.a-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.a-card:hover .img img { transform: scale(1.07); }
.a-card .img .badge { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); }
.a-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.a-card h3 { font-size: 1.15rem; margin-bottom: .4em; color: var(--ink); }
.a-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 14px; }
.a-card .meta { margin-top: auto; font-size: .82rem; color: var(--ink-3); display: flex; gap: 12px; }
.article-hero { aspect-ratio: 21/9; border-radius: 22px; overflow: hidden; margin: -60px 0 30px; box-shadow: var(--shadow-3); position: relative; z-index: 3; background: var(--grad-dark); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { max-width: 780px; margin: 0 auto; }
.credit { font-size: .78rem; color: var(--ink-3); margin-top: -20px; margin-bottom: 24px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -50px; position: relative; z-index: 3; }
.plan { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow-2); position: relative; display: flex; flex-direction: column; transition: transform .35s var(--ease); cursor: pointer; border: 2px solid transparent; }
.plan:hover { transform: translateY(-6px); }
.plan.on { border-color: var(--green); box-shadow: 0 0 0 5px rgba(0, 227, 154, .15), var(--shadow-3); }
.plan.popular { background: var(--grad-dark); color: #fff; }
.plan.popular h3 { color: #fff; }
.plan.popular .muted, .plan.popular li { color: #c9d8ea; }
.plan .ribbon { position: absolute; top: -13px; right: 22px; }
.plan .price { font: 800 2.2rem var(--font-head); margin: 10px 0 2px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 8px; font-size: .94rem; }
.plan li .ms { color: var(--green); }
.channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.channel { border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: all .2s; background: #fff; }
.channel:hover { border-color: var(--cyan); }
.channel input { accent-color: #00b4ff; }
.channel.on { border-color: var(--green); background: #effdf7; }
.pay-box { max-width: 560px; margin: -50px auto 0; position: relative; z-index: 3; text-align: center; }
.va-number { font: 800 clamp(1.5rem, 5vw, 2.2rem) var(--font-head); letter-spacing: .08em; background: #f2f7fc; border-radius: 16px; padding: 16px; margin: 10px 0; word-break: break-all; }
.qr-wrap { background: #fff; padding: 16px; border-radius: 18px; display: inline-block; box-shadow: var(--shadow-2); }
.countdown { font: 700 1.3rem var(--font-head); color: #c2410c; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--warn); animation: pulse 1.6s infinite; }
.success-burst { font-size: 4rem; color: var(--green); animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc-out { background: var(--grad-dark); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; }
.calc-out .row2 { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #c9d8ea; }
.calc-out .row2 b { color: #fff; font: 700 1.25rem var(--font-head); }
.calc-out .big { font: 800 2.6rem var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bars { display: grid; gap: 10px; margin-top: 8px; }
.bar { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; transition: width .7s var(--ease); }

/* ---------- Account ---------- */
.acc { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-top: -50px; position: relative; z-index: 3; }
.acc-nav { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 10px; align-self: start; }
.acc-nav a { display: flex; gap: 10px; align-items: center; padding: .8em 1em; border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.acc-nav a.on, .acc-nav a:hover { background: #eef5fc; color: #0077c8; }
.tabpane { display: none; } .tabpane.on { display: block; animation: stepIn .35s var(--ease); }
.trx { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 10px; }

/* Guide */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--green), var(--cyan)); border-radius: 3px; }
.tl { display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin-bottom: 26px; }
.tl .num { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 800 1.3rem var(--font-head); color: #04223a; box-shadow: var(--glow); position: relative; z-index: 1; }
.tl .card h3 { display: flex; gap: 8px; align-items: center; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 16px; box-shadow: var(--shadow-1); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: 'add'; font-family: 'Material Symbols Rounded'; font-size: 1.4rem; color: #0090cc; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

/* App CTA */
.app-cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--grad); border-radius: 28px; padding: 44px; color: #04223a; position: relative; overflow: hidden; }
.app-cta h2 { color: #04223a; }
.app-cta::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .15); right: -120px; top: -160px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #9fb3cc; padding: 64px 0 28px; margin-top: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #c9d8ea; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .94rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .07); display: grid; place-items: center; }
.ai-strip { background: rgba(0, 227, 154, .08); border: 1px solid rgba(0, 227, 154, .25); border-radius: 14px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; color: #bff5df; font-size: .9rem; margin-bottom: 36px; }

/* Toast */
.toasts { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-3); display: flex; gap: 10px; align-items: center; animation: toastIn .4s var(--ease); font-weight: 600; }
.toast.success .ms { color: var(--green); } .toast.error { background: #a1132f; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* Tour */
.tour-mask { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.tour-hole { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(4, 12, 28, .72); transition: all .45s var(--ease); pointer-events: none; z-index: 200; }
.tour-pop { position: fixed; z-index: 201; background: #fff; border-radius: 18px; padding: 20px; width: min(340px, calc(100vw - 32px)); box-shadow: var(--shadow-3); transition: all .45s var(--ease); }
.tour-pop .h { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; font-weight: 800; }
.tour-pop .h img { width: 34px; height: 34px; }
.tour-pop .acts { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d6e1ee; } .tour-dots i.on { background: var(--cyan); width: 18px; border-radius: 4px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: all .8s var(--ease); } .reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(36px); transition: all .8s var(--ease); } .reveal-r.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; } .d4 { transition-delay: .32s !important; } .d5 { transition-delay: .4s !important; }
.skeleton { background: linear-gradient(90deg, #eef3f8 25%, #f8fbfe 50%, #eef3f8 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.page-loader { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad); z-index: 300; width: 0; transition: width .3s; box-shadow: 0 0 10px var(--cyan); }

/* Error pages */
.err-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 60px; }
.err-page .code { font: 800 clamp(5rem, 15vw, 9rem) var(--font-head); line-height: 1; }
.battery { width: 120px; height: 56px; border: 5px solid var(--navy); border-radius: 12px; margin: 0 auto 24px; position: relative; padding: 5px; }
.battery::after { content: ''; position: absolute; right: -14px; top: 14px; width: 8px; height: 18px; background: var(--navy); border-radius: 0 4px 4px 0; }
.battery i { display: block; height: 100%; width: 12%; background: var(--danger); border-radius: 5px; animation: low 1.2s infinite; }
@keyframes low { 50% { opacity: .2; } }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .car-hero, .detail-grid, .calc, .auth-wrap, .acc { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .q { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .auth-side { display: none; }
  .sticky { position: static; }
  .quick-specs { grid-template-columns: 1fr 1fr; }
  .app-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section.sec { padding: 60px 0; }
  .features, .steps, .feature-list { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; text-align: center; }
  .result-card .score-ring { margin: 0 auto; }
  .cmp-pickers { grid-template-columns: 1fr; }
  .ask-box { border-radius: 20px; flex-direction: column; }
  .ask-box input { padding: 12px; }
  .eva-fab .tip { display: none; }
  .hero { padding-bottom: 90px; }
  .app-cta { padding: 30px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; } }
