/* ============================================================
   VoltCheck EV Diagnostics — Shared Stylesheet
   Modern / techy dark theme with electric accents
   ============================================================ */

:root {
  --bg:        #0a0e14;
  --bg-2:      #111823;
  --bg-3:      #18212e;
  --card:      #141c28;
  --border:    #26303e;
  --text:      #e6edf5;
  --muted:     #93a1b3;
  --accent:    #17e6a1;   /* electric green */
  --accent-2:  #2ea8ff;   /* electric blue */
  --accent-3:  #7a5cff;   /* violet */
  --danger:    #ff5c72;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 18px 50px rgba(0,0,0,.45);
  --maxw:      1140px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section  { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }

a { color: var(--accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

.gradient-text {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #04121a;
  box-shadow: 0 10px 30px rgba(23,230,161,.28);
}
.btn-primary:hover { color: #04121a; box-shadow: 0 14px 38px rgba(23,230,161,.42); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,20,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.06rem; color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.brand:hover { color: var(--text); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.08; }
.brand-txt small { font-size: .62rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.brand .logo {
  width: 36px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #04121a; font-weight: 900; font-size: .92rem; letter-spacing: -.03em;
  box-shadow: 0 6px 18px rgba(23,230,161,.35);
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .97rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---- Hero ---- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, rgba(46,168,255,.18), transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(23,230,161,.16), transparent 45%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: var(--text); }
.hero-stats .lbl { font-size: .82rem; color: var(--muted); }

/* Hero visual card */
.hero-card {
  background: linear-gradient(160deg, var(--bg-3), var(--card));
  border: 1px solid var(--border);
  border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow); position: relative;
}
.hero-card h4 { font-size: .95rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; display:flex; align-items:center; gap:8px;}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.gauge-row { display: flex; flex-direction: column; gap: 16px; }
.gauge { }
.gauge .g-top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 7px; }
.gauge .g-top b { color: var(--text); }
.bar { height: 8px; border-radius: 100px; background: var(--bg); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.bar.warn span { background: linear-gradient(90deg, #ffb020, #ff7a45); }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(23,230,161,.5); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(23,230,161,.12); border: 1px solid rgba(23,230,161,.25);
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: .96rem; }

/* price */
.price-tag { display:inline-block; margin-top: 14px; font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.price-tag small { color: var(--muted); font-weight: 500; font-size: .8rem; }

/* ---- Section heading ---- */
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 12px; }

/* ---- Feature / list ---- */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li::before {
  content: "✓"; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(23,230,161,.14); color: var(--accent);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
  margin-top: 2px;
}

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 66px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121a; font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(120deg, rgba(23,230,161,.12), rgba(46,168,255,.12));
  border: 1px solid var(--border); border-radius: 20px;
  padding: 48px; text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .btn { margin-top: 22px; }

/* ---- Forms ---- */
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: .97rem;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---- Contact info blocks ---- */
.info-item { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 26px; }
.info-item .ic {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: rgba(46,168,255,.12); border: 1px solid rgba(46,168,255,.28);
  display: grid; place-items: center; font-size: 1.25rem;
}
.info-item h4 { font-size: 1rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: .95rem; color: var(--muted); }

/* ---- Badges ---- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  font-size: .82rem; font-weight: 600; color: var(--muted);
  padding: 8px 15px; border-radius: 100px;
  background: var(--bg-2); border: 1px solid var(--border);
}
.badge b { color: var(--accent); }

/* ---- Footer ---- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 54px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer-grid h5 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 15px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); font-size: .94rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { font-size: .94rem; margin: 12px 0 16px; max-width: 320px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text); font-size: .95rem;
}
.social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); }

/* ---- Utility spacing ---- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .section { padding: 62px 0; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 10px 22px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links .nav-cta { padding-top: 16px; border: 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2, .two-col { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
  .hero-stats { gap: 22px; }
}
