/* ===== Design tokens ===== */
:root {
  --bg: #0a0d12;
  --bg-alt: #10141b;
  --surface: #151b23;
  --surface-2: #1b222c;
  --border: #262f3b;
  --text: #eef2f6;
  --text-dim: #97a3b3;
  --text-faint: #5c6b7d;
  --accent: #39ffb0;
  --accent-dim: #1f8f66;
  --accent-soft: rgba(57, 255, 176, 0.12);
  --warn: #ffb547;
  --danger: #ff5c5c;
  --radius: 14px;
  --font: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.scanline-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.012) 0px,
    rgba(255,255,255,0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(57,255,176,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(57,255,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(57,255,176,0); }
}

.accent { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: #06120c;
  box-shadow: 0 0 0 0 rgba(57,255,176,0.4);
}
.btn-primary:hover { box-shadow: 0 0 24px rgba(57,255,176,0.35); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: transparent;
  border-color: var(--accent-dim);
  color: var(--accent);
  width: 100%;
}
.btn-outline:hover { background: var(--accent-soft); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 18, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: #06120c;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.logo-text { font-size: 15px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 600; font-size: 14.5px; transition: color .15s ease; }
.phone-link:hover { color: var(--accent); }
.phone-icon { display: none; flex: 0 0 auto; color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 20px; height: 2px; background: var(--text); display: block; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0.22;
  filter: saturate(0.7) contrast(1.05);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(57,255,176,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(57,255,176,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, black, transparent);
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 24px;
}
.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
}
.hero-checks li {
  font-size: 14.5px;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.hero-checks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-card {
  background: var(--surface);
  padding: 26px 16px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 6px;
}

/* ===== Section shared ===== */
main section { padding: 84px 0; }
.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 14px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 15.5px;
}

/* ===== Problems ===== */
.problems { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.problem-card:hover { border-color: var(--danger); transform: translateY(-3px); }
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255, 92, 92, 0.1);
  color: var(--danger);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 17px; margin-bottom: 8px; }
.problem-card p { color: var(--text-dim); font-size: 14.5px; }

/* ===== Scanner ===== */
.scanner-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.scanner-stage {
  position: relative;
  background: radial-gradient(ellipse at 50% 40%, rgba(57,255,176,0.08), transparent 65%), var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 10px;
  overflow: hidden;
}
.scan-sweep {
  position: absolute;
  top: 0; bottom: 0; left: -20%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(57,255,176,0.18), transparent);
  animation: sweep 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0% { left: -30%; }
  50% { left: 100%; }
  100% { left: -30%; }
}
.car-svg { width: 100%; height: auto; position: relative; z-index: 1; }
.car-body { transition: filter .3s ease; }
.car-glass { }
.hotspot { cursor: pointer; }
.hs-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .2s ease, stroke-width .2s ease;
}
.hs-ping {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.hotspot:nth-child(2) .hs-ping, .hotspot:nth-child(5) .hs-ping { animation-delay: .8s; }
.hotspot:nth-child(3) .hs-ping, .hotspot:nth-child(6) .hs-ping { animation-delay: 1.6s; }
.hs-dot { fill: var(--accent); transform-box: fill-box; transform-origin: center; transition: transform .2s ease; }
.hotspot:hover .hs-ring, .hotspot.active .hs-ring { opacity: 1; stroke-width: 2.5; }
.hotspot:hover .hs-dot, .hotspot.active .hs-dot { transform: scale(1.2); }
.hotspot.active .hs-dot { fill: #fff; }
@keyframes ring-pulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

.scanner-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.panel-default {
  color: var(--text-faint);
  text-align: center;
  width: 100%;
  font-size: 14.5px;
}
.panel-glyph { font-size: 30px; color: var(--accent-dim); margin-bottom: 12px; }
.panel-content { width: 100%; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.panel-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.panel-content h3 { font-size: 19px; margin: 10px 0 16px; }
.panel-content ul { display: flex; flex-direction: column; gap: 10px; }
.panel-content li {
  font-size: 14.5px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.panel-content li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--accent);
}

/* ===== Report ===== */
.report-card {
  max-width: 720px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.report-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.report-tag { font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); letter-spacing: .05em; }
.report-head h3 { font-size: 18px; margin-top: 4px; }
.report-verdict {
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.report-verdict.ok { background: rgba(57,255,176,0.12); color: var(--accent); }
.report-terminal {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background:
    linear-gradient(rgba(57,255,176,0.02), rgba(57,255,176,0.02));
}
.terminal-line {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .4s ease, transform .4s ease;
}
.terminal-line.show { opacity: 1; transform: translateX(0); }
.cursor-blink {
  display: inline-block;
  width: 8px; height: 15px;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: -2px;
  animation: cursor-blink 1s steps(1) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }
.terminal-line .prompt { color: var(--accent-dim); flex: 0 0 auto; }
.terminal-line .term-label { flex: 1 1 auto; min-width: 0; }
.terminal-line .dots { flex: 1 1 40px; border-bottom: 1px dotted var(--border); min-width: 20px; height: 8px; }
.terminal-line .status { flex: 0 0 auto; }
.status { font-weight: 700; font-size: 12.5px; padding: 2px 9px; border-radius: 4px; white-space: nowrap; }
.status.ok { color: var(--accent); background: rgba(57,255,176,0.1); }
.status.warn { color: var(--warn); background: rgba(255,181,71,0.1); }
.terminal-line.final { color: var(--text); border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; }

/* ===== Gallery ===== */
.gallery-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: grayscale(0.15);
}
.gallery-item:hover img { transform: scale(1.06); filter: grayscale(0); }

/* ===== Expert ===== */
.expert-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.expert-photo {
  width: 180px; height: 180px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.expert-photo img { width: 100%; height: 100%; object-fit: cover; }
.expert-copy h2 { font-size: 26px; margin: 8px 0 14px; }
.expert-copy p { color: var(--text-dim); font-size: 15px; max-width: 560px; }

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.review-card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.review-photo {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.review-card p { font-size: 14px; color: var(--text-dim); margin-bottom: 14px; }
.review-save {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ===== Prices ===== */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(57,255,176,0.25);
}
.price-badge {
  position: absolute;
  top: -12px; left: 30px;
  background: var(--accent);
  color: #06120c;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.price-card h3 { font-size: 17px; margin-bottom: 12px; }
.price-value { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.price-value span { font-size: 16px; color: var(--text-faint); }
.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.price-card ul li {
  font-size: 14px; color: var(--text-dim);
  padding-left: 20px; position: relative;
}
.price-card ul li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-size: 11px; top: 2px; }
.addon-list li { display: flex; justify-content: space-between; align-items: center; padding-left: 0; font-size: 14px; color: var(--text-dim); border-bottom: 1px dashed var(--border); padding-bottom: 10px; }
.addon-list li::before { display: none; }
.addon-list strong { color: var(--text); font-family: var(--mono); font-size: 13.5px; }

.prices-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin: 30px auto 0;
  padding: 12px 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 13.5px;
  text-align: center;
}
.prices-note svg { flex: 0 0 auto; color: var(--accent); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%;
  background: none; border: none; color: var(--text);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  text-align: left; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.faq-q span { color: var(--accent); font-size: 18px; transition: transform .2s ease; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--text-dim); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
}
.final-cta h2 { font-size: clamp(22px, 3vw, 30px); max-width: 640px; margin: 0 auto 12px; }
.final-cta p { color: var(--text-dim); margin-bottom: 30px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 50px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { color: var(--text-faint); font-size: 13.5px; margin-top: 6px; }
.footer-col h4 { font-size: 14px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: var(--text-dim); font-size: 14.5px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 20px; color: var(--text-faint); font-size: 12.5px; }

/* ===== Floating WhatsApp ===== */
.floating-wa {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #06120c;
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .burger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .problems-grid, .reviews-grid, .prices-grid { grid-template-columns: 1fr; }
  .scanner-wrap { grid-template-columns: 1fr; }
  .expert-inner { grid-template-columns: 1fr; text-align: center; }
  .expert-photo { margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  main section { padding: 60px 0; }
  .header-actions { gap: 12px; }
  .phone-link {
    width: 40px; height: 40px;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0;
  }
  .phone-icon { display: flex; }
  .phone-text { display: none; }
  .report-head { padding: 18px 20px; }
  .report-terminal { padding: 20px 18px; gap: 15px; }
  .terminal-line { row-gap: 4px; align-items: flex-start; }
  .terminal-line .dots { display: none; }
  .terminal-line .status { margin-top: 2px; }
}
