/* ==============================
   Прошивка ВАЗ ГАЗ — styles
   Dark / neon / automotive
   ============================== */
:root {
  --bg: #05070d;
  --bg-2: #0a0e1a;
  --panel: rgba(16, 22, 40, 0.55);
  --panel-2: rgba(10, 14, 26, 0.75);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-2: rgba(255, 255, 255, 0.14);
  --text: #eaf2ff;
  --muted: #8aa0c7;
  --muted-2: #61708f;

  --accent: #00e0ff;       /* electric blue */
  --accent-2: #7c3cff;     /* purple */
  --accent-3: #ff3df0;     /* pink */
  --ok: #45f0a0;

  --grad: linear-gradient(135deg, #00e0ff 0%, #7c3cff 55%, #ff3df0 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,224,255,.18), rgba(124,60,255,.18), rgba(255,61,240,.18));
  --shadow-neon: 0 0 24px rgba(0, 224, 255, .25), 0 0 48px rgba(124, 60, 255, .18);
  --radius: 18px;
  --radius-lg: 24px;

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============== Backgrounds ============== */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-grid {
  background:
    radial-gradient(1200px 700px at 70% -20%, rgba(124,60,255,.25), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(0,224,255,.18), transparent 60%),
    radial-gradient(800px 600px at 120% 80%, rgba(255,61,240,.18), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #05070d 40%, #080b18 100%);
}
.bg-grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
  animation: grid-pan 40s linear infinite;
}
@keyframes grid-pan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 460px 460px, 460px 460px; }
}

.bg-glow .blob {
  position: absolute;
  width: 640px; height: 640px; border-radius: 50%;
  filter: blur(100px);
  opacity: .55;
}
.blob-a { background: radial-gradient(circle, #00e0ff, transparent 60%); top: -200px; left: -160px; animation: float 18s ease-in-out infinite; }
.blob-b { background: radial-gradient(circle, #7c3cff, transparent 60%); top: 30%; right: -220px; animation: float 22s ease-in-out infinite reverse; }
.blob-c { background: radial-gradient(circle, #ff3df0, transparent 60%); bottom: -260px; left: 30%; animation: float 26s ease-in-out infinite; opacity: .4; }
@keyframes float {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(40px,-30px,0) scale(1.08); }
}

/* Light streaks */
.bg-streaks { overflow: hidden; mix-blend-mode: screen; opacity: .75; }
.bg-streaks span {
  position: absolute; left: -20%; height: 2px; width: 40%;
  background: linear-gradient(90deg, transparent, #00e0ff, transparent);
  filter: blur(1px);
  animation: streak 6s linear infinite;
}
.bg-streaks span:nth-child(1){ top: 18%; animation-duration: 7s; animation-delay: 0s; }
.bg-streaks span:nth-child(2){ top: 32%; animation-duration: 9s; animation-delay: 2s; background: linear-gradient(90deg, transparent, #7c3cff, transparent); }
.bg-streaks span:nth-child(3){ top: 52%; animation-duration: 11s; animation-delay: 1s; background: linear-gradient(90deg, transparent, #ff3df0, transparent); }
.bg-streaks span:nth-child(4){ top: 68%; animation-duration: 8s; animation-delay: 3s; }
.bg-streaks span:nth-child(5){ top: 80%; animation-duration: 10s; animation-delay: .5s; background: linear-gradient(90deg, transparent, #7c3cff, transparent); }
.bg-streaks span:nth-child(6){ top: 8%;  animation-duration: 13s; animation-delay: 4s; }
.bg-streaks span:nth-child(7){ top: 44%; animation-duration: 12s; animation-delay: 6s; background: linear-gradient(90deg, transparent, #ff3df0, transparent); }
.bg-streaks span:nth-child(8){ top: 90%; animation-duration: 9s;  animation-delay: 2.5s; }
@keyframes streak {
  from { transform: translateX(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  to   { transform: translateX(260%); opacity: 0; }
}

#particles { position: fixed; inset: 0; z-index: 0; }

.bg-scan::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,224,255,.05) 50%, transparent 100%);
  mix-blend-mode: screen;
  animation: scan 6s linear infinite;
}
@keyframes scan {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}

/* ============== Text utils ============== */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--stroke-2);
  background: rgba(255,255,255,.02);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 18px var(--accent-2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.3); opacity: .65; }
}

h1, h2, h3 { font-family: 'Russo One', 'Manrope', sans-serif; font-weight: 400; letter-spacing: .5px; }
h2 { font-size: clamp(28px, 4vw, 48px); margin: 10px 0 10px; }
h3 { font-size: 20px; margin: 10px 0 6px; }
p  { color: var(--muted); margin: 0 0 10px; }
.lead { font-size: 17px; color: #cbd6ea; }

/* ============== Nav ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5,7,13,.85), rgba(5,7,13,.55));
  border-bottom: 1px solid var(--stroke);
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.nav.scrolled { background: rgba(5,7,13,.92); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 10px rgba(0,224,255,.35));
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1; font-family: 'Russo One', sans-serif;
}
.brand-text b { font-size: 14px; letter-spacing: 2.5px; }
.brand-text i { font-size: 10px; color: var(--muted); letter-spacing: 3px; font-style: normal; margin-top: 3px;}
.nav-links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  padding: 10px 14px; border-radius: 10px; font-size: 14px; color: #d3dcef;
  position: relative; transition: color .25s, background .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--stroke-2);
  background: rgba(255,255,255,.03);
  transition: all .25s ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.tg { color: #00e0ff; }
.icon-btn.wa { color: #45f0a0; }
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-neon); border-color: var(--accent); }

.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--stroke-2); }
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform .3s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--stroke);
}
.nav-mobile a { padding: 12px; border-radius: 10px; color: #d3dcef; }
.nav-mobile a:hover { background: rgba(255,255,255,.03); color: #fff; }
.nav-mobile.open { display: flex; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; letter-spacing: .5px;
  font-size: 14px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn.big { padding: 18px 28px; font-size: 15px; border-radius: 16px; }
.btn i { font-style: normal; transition: transform .25s ease; }
.btn:hover i { transform: translateX(4px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,224,255,.25), 0 10px 30px rgba(124,60,255,.25);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4), transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,224,255,.35), 0 16px 40px rgba(124,60,255,.35); }
.btn-primary:hover::before { transform: translateX(120%); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--stroke-2);
  color: #e6eeff;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

.btn-outline {
  border-color: var(--accent);
  color: #dff7ff;
  background: rgba(0,224,255,.05);
}
.btn-outline:hover { background: rgba(0,224,255,.12); box-shadow: 0 0 24px rgba(0,224,255,.25); transform: translateY(-2px); }

/* ============== Hero ============== */
.hero { position: relative; padding: 56px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  min-height: calc(100vh - 80px);
}
.hero-title {
  font-size: clamp(40px, 7vw, 96px); line-height: .95; margin: 14px 0 16px;
}
.t-top { display: block; font-size: 0.35em; letter-spacing: 6px; color: var(--muted); font-family: 'Manrope', sans-serif; font-weight: 500; text-transform: uppercase; }
.t-main { display: block; }
.t-sub  { display: block; font-size: 0.35em; letter-spacing: 3px; color: #cbd6ea; font-family: 'Manrope', sans-serif; font-weight: 600; margin-top: 6px; }

.hero-slogan { font-size: 20px; color: #dde6fb; margin: 6px 0 12px; }
.hero-slogan em { font-style: normal; color: var(--accent); }
.hero-desc { max-width: 560px; font-size: 16px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }

.hero-mini {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 14px;
  background: var(--panel); border: 1px solid var(--stroke);
  border-radius: var(--radius); backdrop-filter: blur(10px);
}
.hero-mini li {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd6ea;
  padding: 6px 4px;
}
.hero-mini svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.visual-wrap { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; }

.hero-photo {
  position: absolute; inset: 6%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(0,224,255,.25), inset 0 0 60px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.65) saturate(1.1) contrast(1.05);
  transition: transform 8s ease;
  animation: hero-zoom 16s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,224,255,.25), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(255,61,240,.18), transparent 55%),
    linear-gradient(180deg, transparent 40%, rgba(5,7,13,.6) 100%);
}
.hero-photo-glow {
  position: absolute; inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,224,255,.35) 0%, transparent 55%);
  filter: blur(30px);
  z-index: -1;
  opacity: .6;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { opacity: .4; transform: scale(1); }
  50%     { opacity: .8; transform: scale(1.05); }
}

.speedo {
  position: absolute; inset: 0; display: grid; place-items: center;
  animation: float-y 6s ease-in-out infinite;
}
.speedo-svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 40px rgba(0,224,255,.35)); }
.arc-fg { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: arc-draw 3s ease-out forwards, arc-pulse 4s ease-in-out 3s infinite; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes arc-pulse {
  0%,100% { opacity: 1; }
  50%     { opacity: .7; }
}
.ticks line { stroke: rgba(255,255,255,.3); }
.speedo-ring {
  position: absolute; inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(0,224,255,.15);
  box-shadow: inset 0 0 40px rgba(124,60,255,.15), 0 0 60px rgba(0,224,255,.1);
  pointer-events: none;
}
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.needle { transform-origin: 160px 160px; animation: needle-sweep 5s ease-in-out infinite; }
@keyframes needle-sweep {
  0%   { transform: rotate(-120deg); }
  50%  { transform: rotate(85deg); }
  100% { transform: rotate(-120deg); }
}

.streaks {
  position: absolute; inset: -10%; pointer-events: none;
}
.streaks i {
  position: absolute; left: -10%; height: 2px; width: 50%;
  background: linear-gradient(90deg, transparent, #00e0ff, transparent);
  filter: blur(1px); opacity: .7;
  animation: streak 4s linear infinite;
}
.streaks i:nth-child(1){ top: 20%; animation-delay: 0s; }
.streaks i:nth-child(2){ top: 40%; animation-delay: 1s; background: linear-gradient(90deg, transparent, #7c3cff, transparent); }
.streaks i:nth-child(3){ top: 60%; animation-delay: 2s; background: linear-gradient(90deg, transparent, #ff3df0, transparent); }
.streaks i:nth-child(4){ top: 30%; animation-delay: .5s; }
.streaks i:nth-child(5){ top: 70%; animation-delay: 1.5s; background: linear-gradient(90deg, transparent, #7c3cff, transparent); }
.streaks i:nth-child(6){ top: 85%; animation-delay: 2.5s; }

.chip-card {
  position: absolute; bottom: -10px; left: -10px;
  width: 230px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--panel-2); border: 1px solid var(--stroke-2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-neon);
  transform: rotate(-2deg);
}
.chip-head {
  display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2px;
  color: var(--muted); text-transform: uppercase; margin-bottom: 10px;
}
.chip-head .led { width: 8px; height: 8px; border-radius: 50%; background: #30ff9c; box-shadow: 0 0 10px #30ff9c; }
.chip-head .led.blink { background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.chip-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 12px; }
.chip-rows div { display: flex; justify-content: space-between; color: #cbd6ea; }
.chip-rows span { color: var(--muted-2); }
.chip-rows b { font-family: 'Russo One', sans-serif; color: #fff; }
.chip-bar { margin-top: 10px; height: 6px; background: rgba(255,255,255,.06); border-radius: 6px; overflow: hidden; }
.chip-bar span { display: block; height: 100%; width: 68%; background: var(--grad); animation: bar-pulse 3s ease-in-out infinite; }
@keyframes bar-pulse { 0%,100%{ width: 40% } 50% { width: 85% } }

.hero-badge {
  position: absolute; top: 10px; right: -10px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--panel-2); border: 1px solid var(--stroke-2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-neon);
  transform: rotate(3deg);
  text-align: center;
}
.hero-badge b { display: block; font-family: 'Russo One', sans-serif; font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badge span { font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 3;
}
.scroll-hint span {
  width: 2px; height: 32px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-ind 1.6s ease-in-out infinite;
}
@keyframes scroll-ind { 0%{transform:scaleY(.4); transform-origin:top} 50%{transform:scaleY(1)} 100%{transform:scaleY(.4); transform-origin:bottom} }

/* ============== Features bar ============== */
.features { padding: 20px 0 40px; }
.features-bar {
  display: grid; grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(10px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.features-bar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(0,224,255,.08), transparent 60%);
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
.f-item {
  position: relative; padding: 14px 16px; border-radius: 14px;
  transition: transform .25s ease, background .25s ease, box-shadow .3s ease;
}
.f-item:hover { background: rgba(255,255,255,.03); transform: translateY(-4px); box-shadow: var(--shadow-neon); }
.f-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0,224,255,.08); color: var(--accent);
  border: 1px solid rgba(0,224,255,.2);
  margin-bottom: 10px;
  transition: transform .3s ease, color .3s ease, background .3s;
}
.f-icon svg { width: 22px; height: 22px; }
.f-item:hover .f-icon { transform: rotate(-8deg) scale(1.08); color: var(--accent-3); background: rgba(255,61,240,.08); border-color: rgba(255,61,240,.25); }
.f-item h3 { font-size: 16px; }
.f-item p { font-size: 13px; color: var(--muted); margin: 0; }

.mascot-inline { display: none; }

/* ============== Mascot piston ============== */
.mascot { pointer-events: none; }
.piston {
  position: relative; width: 84px; height: 120px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
  animation: bob 3.5s ease-in-out infinite;
}
.piston.big { width: 140px; height: 200px; }
.piston.small { width: 60px; height: 84px; }
@keyframes bob {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%     { transform: translateY(-8px) rotate(2deg); }
}
.piston .head {
  position: absolute; top: 0; left: 10%; right: 10%; height: 45%;
  background: linear-gradient(180deg, #c9d2e2 0%, #8892a8 100%);
  border-radius: 12px 12px 6px 6px;
  box-shadow: inset -6px -4px 10px rgba(0,0,0,.25), inset 6px 4px 10px rgba(255,255,255,.3);
}
.piston .body {
  position: absolute; top: 38%; left: 4%; right: 4%; height: 35%;
  background: linear-gradient(180deg, #aab4c8 0%, #5e687c 100%);
  border-radius: 6px;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.35);
}
.piston .body::before, .piston .body::after {
  content: ""; position: absolute; left: 0; right: 0; height: 5px;
  background: linear-gradient(180deg, #2d3242, #101420);
}
.piston .body::before { top: 25%; }
.piston .body::after  { top: 55%; }
.piston .rod {
  position: absolute; bottom: 0; left: 40%; width: 20%; height: 30%;
  background: linear-gradient(180deg, #66707f, #2b3040);
  border-radius: 4px 4px 8px 8px;
}
.piston .glasses {
  position: absolute; top: 35%; left: 12%; right: 12%; display: flex; gap: 6px; justify-content: space-between;
}
.piston .glasses span {
  flex: 1; height: 14px;
  background: linear-gradient(180deg, #0a0d16 0%, #141a2c 60%, #0a0d16 100%);
  border: 2px solid #111523;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.piston .glasses span::before {
  content: ""; position: absolute; top: 2px; left: 2px; width: 40%; height: 35%;
  background: rgba(255,255,255,.45); border-radius: 2px;
}
.piston .mouth {
  position: absolute; bottom: 12%; left: 30%; width: 40%; height: 6px;
  background: #0a0d16; border-radius: 0 0 8px 8px;
  box-shadow: inset 0 -2px 0 #ff3df0;
}
.piston.big .head { height: 48%; border-radius: 18px 18px 8px 8px; }
.piston.big .glasses span { height: 20px; }
.piston.big .mouth { height: 8px; width: 40%; }

/* ============== Services ============== */
.sec-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.services { padding: 60px 0 40px; }

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.glass {
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: ""; position: absolute; inset: -1px;
  background: var(--grad-soft);
  filter: blur(20px);
  opacity: 0; transition: opacity .4s ease;
  z-index: -1;
}
.card {
  padding: 22px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,224,255,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 30px rgba(0,224,255,.25), 0 0 60px rgba(124,60,255,.2);
}
.card:hover::before { opacity: .8; }

.card-img {
  background: rgba(0,0,0,.3);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px; margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.card-img::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(0,224,255,.25), transparent 60%);
  pointer-events: none;
}
.card.popular .card-img::after { background: radial-gradient(circle at 50% 110%, rgba(255,61,240,.3), transparent 60%); }
.car-svg { width: 100%; height: auto; }

/* Photo variant */
.card-img.photo {
  padding: 0; height: 160px;
}
.card-img.photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: brightness(.85) saturate(1.05);
}
.card:hover .card-img.photo img { transform: scale(1.08); filter: brightness(1) saturate(1.15); }
.card-img.photo.blue::after   { background: linear-gradient(0deg, rgba(5,7,13,.85) 0%, transparent 50%), radial-gradient(circle at 50% 100%, rgba(0,224,255,.4), transparent 60%); }
.card-img.photo.purple::after { background: linear-gradient(0deg, rgba(5,7,13,.85) 0%, transparent 50%), radial-gradient(circle at 50% 100%, rgba(124,60,255,.4), transparent 60%); }
.card-img.photo.pink::after   { background: linear-gradient(0deg, rgba(5,7,13,.85) 0%, transparent 50%), radial-gradient(circle at 50% 100%, rgba(255,61,240,.4), transparent 60%); }
.card-img.photo .ecu-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 12px;
  z-index: 2;
  pointer-events: none;
}
.card-img.photo .ecu-overlay .ecu-label {
  font-family: 'Russo One', sans-serif; font-size: 28px; letter-spacing: 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(255,61,240,.4));
}
.card-img.photo .ecu-overlay .ecu-top { display: flex; gap: 6px; }
.card-img.photo .ecu-overlay .ecu-top span { width: 8px; height: 8px; border-radius: 50%; }
.card-img.photo .ecu-overlay .ecu-top span:nth-child(1){ background: #ff3df0; box-shadow: 0 0 8px #ff3df0; }
.card-img.photo .ecu-overlay .ecu-top span:nth-child(2){ background: #00e0ff; box-shadow: 0 0 8px #00e0ff; animation: blink 1.2s infinite;}
.card-img.photo .ecu-overlay .ecu-top span:nth-child(3){ background: #45f0a0; box-shadow: 0 0 8px #45f0a0; }

/* Speed streaks overlay for dynamic card */
.speed-streaks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.speed-streaks i {
  position: absolute; left: -20%; height: 2px; width: 40%;
  background: linear-gradient(90deg, transparent, #00e0ff, transparent);
  filter: blur(1px);
  animation: streak 3s linear infinite;
}
.speed-streaks i:nth-child(1){ top: 30%; animation-delay: 0s; }
.speed-streaks i:nth-child(2){ top: 55%; animation-delay: 1s; background: linear-gradient(90deg, transparent, #ff3df0, transparent); }
.speed-streaks i:nth-child(3){ top: 75%; animation-delay: 1.5s; background: linear-gradient(90deg, transparent, #7c3cff, transparent); }

.card.popular { border-color: rgba(255,61,240,.3); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: 0 0 16px rgba(255,61,240,.4);
}

.bullets { margin: 10px 0 16px; }
.bullets li {
  position: relative; padding-left: 20px; font-size: 14px; color: #cbd6ea; margin-bottom: 8px;
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 10px rgba(0,224,255,.45);
}
.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 700; font-size: 14px;
  transition: gap .25s;
}
.link:hover { gap: 12px; color: var(--accent-3); }

/* ECU card visual */
.ecu {
  height: 100px; border-radius: 10px; background: linear-gradient(180deg, #111829, #070a14);
  border: 1px solid #223; position: relative; overflow: hidden;
}
.ecu-top { position: absolute; top: 8px; left: 10px; display: flex; gap: 6px; }
.ecu-top span { width: 8px; height: 8px; background: #2e3754; border-radius: 50%; }
.ecu-top span:nth-child(1){ background: #ff3df0; box-shadow: 0 0 8px #ff3df0;}
.ecu-top span:nth-child(2){ background: #00e0ff; box-shadow: 0 0 8px #00e0ff;}
.ecu-top span:nth-child(3){ background: #45f0a0; box-shadow: 0 0 8px #45f0a0;}
.ecu-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'Russo One', sans-serif; font-size: 24px; letter-spacing: 4px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ecu-traces {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28px;
  background-image:
    linear-gradient(90deg, #00e0ff 1px, transparent 1px),
    linear-gradient(90deg, transparent 50%, #7c3cff 51%, transparent 52%);
  background-size: 12px 100%, 20px 100%;
  opacity: .4;
}

/* ============== Details ============== */
.details { padding: 60px 0; }
.details-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 18px 0; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.02); border: 1px solid var(--stroke); border-radius: 12px;
  transition: transform .25s ease, border-color .25s, background .25s;
}
.check-list li:hover { transform: translateX(4px); border-color: rgba(0,224,255,.35); background: rgba(0,224,255,.04); }
.check-list li i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  display: inline-grid; place-items: center; position: relative; flex: 0 0 22px;
  box-shadow: 0 0 12px rgba(0,224,255,.4);
}
.check-list li i::before {
  content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.tag-line {
  margin-top: 14px;
  font-family: 'Russo One', sans-serif;
  font-size: 16px; color: var(--accent); letter-spacing: 1px;
}

.panel { padding: 22px; }
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase;
  padding-bottom: 12px; border-bottom: 1px solid var(--stroke);
}
.panel-head .led { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3); animation: blink 1.2s ease-in-out infinite; }

.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0; }
.gauge {
  text-align: center;
  padding: 10px 6px;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--stroke);
  border-radius: 12px;
}
.gauge svg { width: 100%; height: auto; }
.g-arc { stroke-dasharray: 160; animation: gauge-anim 4s ease-in-out infinite alternate; }
@keyframes gauge-anim {
  from { stroke-dashoffset: 140; }
  to   { stroke-dashoffset: 20; }
}
.gauge b { display: inline-block; font-family: 'Russo One', sans-serif; font-size: 24px; color: #fff; }
.gauge span { display: block; font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

.terminal {
  margin-top: 14px; padding: 14px;
  background: #05070f; border: 1px solid var(--stroke);
  border-radius: 12px; font-family: 'Courier New', monospace;
  font-size: 12px; color: #b7c5df; line-height: 1.8;
}
.terminal .ok { color: var(--ok); text-shadow: 0 0 8px rgba(69,240,160,.5); }

/* ============== Equipment ============== */
.equipment { padding: 60px 0; }
.equip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.equip { padding: 24px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.equip:hover { transform: translateY(-6px); border-color: rgba(124,60,255,.35); box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 40px rgba(124,60,255,.2); }
.equip-img {
  height: 220px; border-radius: 14px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(0,224,255,.15), transparent 60%), #0a0d16;
  border: 1px solid var(--stroke);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.equip-img .equip-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.45) saturate(.9) contrast(1.05);
  transition: transform 1s ease, filter .6s ease;
}
.equip:hover .equip-img .equip-bg { transform: scale(1.06); filter: brightness(.55) saturate(1) contrast(1.05); }
.equip-img::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,224,255,.25), transparent 60%),
    linear-gradient(180deg, rgba(5,7,13,.4), rgba(5,7,13,.85));
  z-index: 1;
}
.equip-img.ob3::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,61,240,.25), transparent 60%),
    linear-gradient(180deg, rgba(5,7,13,.4), rgba(5,7,13,.85));
}
.equip-img .box { z-index: 2; }
.box {
  position: relative; width: 74%; height: 68%;
  background: linear-gradient(180deg, #1a1f2d 0%, #0a0d16 100%);
  border: 1px solid #262c3c;
  border-radius: 16px;
  box-shadow: inset 0 4px 12px rgba(255,255,255,.04), inset 0 -10px 20px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.5);
  display: grid; place-items: center;
}
.box .lbl { font-family: 'Russo One', sans-serif; font-size: 14px; letter-spacing: 4px; color: #c9d2e2; text-shadow: 0 0 10px rgba(0,224,255,.35); }
.box .num { position: absolute; right: 10%; bottom: 10%; font-family: 'Russo One', sans-serif; font-size: 64px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); }
.equip-img.sm3 .box .num { color: rgba(0,224,255,.65); -webkit-text-stroke: 0; text-shadow: 0 0 20px rgba(0,224,255,.5); }
.equip-img.ob3 .box .num { color: rgba(255,61,240,.65); text-shadow: 0 0 20px rgba(255,61,240,.5); }
.box .led { position: absolute; top: 12px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #45f0a0; box-shadow: 0 0 10px #45f0a0; }
.box .led.blink { background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); animation: blink 1.2s ease-in-out infinite; }
.box .port { position: absolute; top: 10%; right: 10%; width: 36px; height: 14px; background: #0a0d16; border: 1px solid #2a3042; border-radius: 3px; }
.box .cable { position: absolute; left: -20%; top: 50%; width: 30%; height: 6px; background: linear-gradient(90deg, #0a0d16, #2a3042); border-radius: 3px; }

/* ============== Strip (mascot CTA) ============== */
.strip { padding: 30px 0; }
.strip-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(0,224,255,.08), rgba(124,60,255,.08));
  border: 1px solid var(--stroke-2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.strip-inner::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px);
  pointer-events: none;
}
.strip .mascot { flex: 0 0 auto; }
.strip-copy { flex: 1; min-width: 240px; }
.strip-copy h3 { font-size: 22px; margin: 0 0 4px; }
.strip-copy p { margin: 0; color: #cbd6ea; font-style: italic; }

/* ============== Cruise control ============== */
.cruise { padding: 70px 0; }
.cruise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cruise-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

.cruise-panel { padding: 24px; position: relative; }
.cluster {
  background: linear-gradient(180deg, #0a0e1a 0%, #04060c 100%);
  border: 1px solid var(--stroke-2);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.cluster::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(0,224,255,.25), transparent 50%);
}
.cluster-screen { position: relative; }
.cc-label {
  font-size: 12px; letter-spacing: 4px; color: var(--accent); text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0,224,255,.6);
}
.cc-speed { margin: 8px 0 14px; display: flex; align-items: baseline; gap: 8px; }
.cc-speed b {
  font-family: 'Russo One', sans-serif; font-size: 64px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(0,224,255,.3));
}
.cc-speed span { color: var(--muted); letter-spacing: 2px; }
.cc-bar { height: 8px; background: rgba(255,255,255,.05); border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.cc-bar span { display: block; width: 70%; height: 100%; background: var(--grad); animation: bar-pulse 3s ease-in-out infinite; }
.cc-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cc-rows div { padding: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--stroke); border-radius: 10px; }
.cc-rows span { display: block; font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.cc-rows b { font-family: 'Russo One', sans-serif; }

.stalk {
  margin-top: 18px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--stroke);
  border-radius: 14px;
}
.stalk-stick {
  width: 20px; height: 80px;
  background: linear-gradient(180deg, #8892a8, #2a3042);
  border-radius: 10px;
  box-shadow: inset -4px 0 8px rgba(0,0,0,.4);
}
.stalk-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex: 1; }
.stalk-btns span {
  text-align: center; padding: 8px 0;
  font-size: 12px; color: #dfe7f2; letter-spacing: 2px; font-weight: 700;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--stroke-2); border-radius: 8px;
}

/* ============== CTA ============== */
.cta { padding: 60px 0; }
.cta-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px;
  padding: 40px; align-items: center;
}
.cta-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.cta-speedo svg { width: 220px; height: 220px; margin-left: auto; }
.cta-arc { stroke-dasharray: 600; animation: cta-arc-anim 6s ease-in-out infinite alternate; }
@keyframes cta-arc-anim { from { stroke-dashoffset: 500; } to { stroke-dashoffset: 100; } }

/* ============== Contacts ============== */
.contacts { padding: 70px 0 30px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { margin: 16px 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px dashed var(--stroke-2); color: #cbd6ea; }
.contact-list b { color: var(--accent); margin-right: 10px; letter-spacing: 1px; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--accent); }

.form { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.form h3 { margin-top: 0; }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label span { font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.form input, .form select {
  padding: 14px; border-radius: 12px; border: 1px solid var(--stroke-2);
  background: rgba(255,255,255,.03); color: #fff;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit; font-size: 14px;
}
.form input:focus, .form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,224,255,.12);
}
.form small { color: var(--muted); font-size: 11px; text-align: center; }
.form-sent {
  display: none; text-align: center; color: var(--ok); background: rgba(69,240,160,.08);
  border: 1px solid rgba(69,240,160,.3); padding: 10px; border-radius: 10px;
}
.form-sent.show { display: block; animation: fade-in .4s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ============== Footer ============== */
.footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  position: relative; z-index: 2;
}
.footer-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
}
.f-brand { display: flex; gap: 12px; align-items: center; }
.f-brand b { display: block; font-family: 'Russo One', sans-serif; font-size: 14px; letter-spacing: 2px; }
.f-brand small { color: var(--muted); font-size: 12px; }
.f-nav { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.f-nav a { font-size: 13px; color: var(--muted); }
.f-nav a:hover { color: var(--accent); }
.f-copy { color: var(--muted-2); font-size: 12px; }

/* ============== Corner mascot ============== */
.corner-mascot {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: flex; align-items: end; gap: 10px;
  pointer-events: none;
}
.corner-mascot .bubble {
  background: var(--panel-2); border: 1px solid var(--stroke-2);
  color: #eaf2ff; font-size: 12px; padding: 8px 12px; border-radius: 12px;
  backdrop-filter: blur(8px); white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transform: translateX(10px); opacity: 0; transition: transform .3s, opacity .3s;
}
.corner-mascot:hover .bubble { transform: translateX(0); opacity: 1; }

/* ============== Reveal ============== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============== Responsive ============== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: grid; place-items: center; }
  .nav-cta .icon-btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { order: -1; min-height: 360px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features-bar { grid-template-columns: repeat(2, 1fr); }
  .features-bar .mascot-inline { grid-column: span 2; justify-self: center; display: block; }
  .details-grid, .cruise-grid, .contacts-grid, .cta-inner { grid-template-columns: 1fr; }
  .cta-speedo { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .f-nav { justify-content: center; }
  .hero-mini { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .features-bar { grid-template-columns: 1fr; }
  .features-bar .mascot-inline { grid-column: span 1; }
  .check-list { grid-template-columns: 1fr; }
  .gauges { grid-template-columns: repeat(3, 1fr); }
  .gauge b { font-size: 18px; }
  .hero { padding: 30px 0 50px; }
  .hero-title { font-size: clamp(40px, 12vw, 64px); }
  .btn { padding: 12px 18px; font-size: 13px; }
  .btn.big { padding: 16px 22px; font-size: 14px; }
  .chip-card { width: 200px; left: -4px; bottom: -4px; }
  .hero-badge { right: -4px; top: 0; }
  .corner-mascot { right: 8px; bottom: 8px; }
  .corner-mascot .bubble { display: none; }
  .container { padding: 0 16px; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
