/*
Theme Name: Battery Doctor Theme
Theme URI: https://example.com/battery-doctor-theme
Author: OpenAI
Description: Maatwerk WordPress thema voor Battery Doctor met dynamische homepage, visueel rapport en contactformulier.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: battery-doctor
*/

:root {
  --bg: #08111d;
  --bg-soft: #101a2a;
  --surface: #132033;
  --card: #ffffff;
  --text: #0f1728;
  --muted: #667085;
  --line: rgba(15, 23, 40, 0.08);
  --accent: #6da83d;
  --accent-dark: #527f2d;
  --navy: #0c1f39;
  --glow: rgba(109, 168, 61, 0.18);
  --shadow: 0 20px 50px rgba(12, 31, 57, 0.14);
  --shadow-strong: 0 25px 70px rgba(10, 20, 40, 0.22);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: linear-gradient(180deg, #f3f6f9 0%, #eef3f6 100%);
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { opacity: .92; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.card {
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.glass {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
}
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,23,40,.06);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 86px;
}
.brand-logo { height: 54px; width: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; }
.main-nav a { color: var(--navy); font-weight: 700; position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--accent);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; }
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(109,168,61,.18) 0, transparent 34%),
    radial-gradient(circle at 90% 25%, rgba(12,31,57,.12) 0, transparent 25%),
    linear-gradient(135deg, #eef4f6 0%, #ffffff 45%, #edf7e7 100%);
  padding: 86px 0 64px;
}
.hero-bg-shape {
  position: absolute; border-radius: 999px; filter: blur(20px); pointer-events: none;
}
.hero-bg-1 { width: 260px; height: 260px; background: rgba(109,168,61,.16); top: -60px; right: 8%; animation: floatY 7s ease-in-out infinite; }
.hero-bg-2 { width: 180px; height: 180px; background: rgba(12,31,57,.10); bottom: 40px; left: -30px; animation: floatY 9s ease-in-out infinite reverse; }
.hero-grid, .report-grid, .contact-grid, .footer-grid, .grid-2, .grid-3 {
  display: grid; gap: 28px;
}
.hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; }
.report-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.eyebrow {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: rgba(109,168,61,.12); color: var(--accent-dark); font-size: .84rem; font-weight: 800; letter-spacing: .02em;
}
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 15ch; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 16px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 65ch; }
.hero-actions, .pricing-strip { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px;
  border-radius: 14px; font-weight: 800; transition: .25s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(12,31,57,.12); }
.btn-primary { background: linear-gradient(135deg, #7bb74d 0%, #5c9830 100%); color: white; }
.btn-secondary { background: white; color: var(--navy); border-color: rgba(12,31,57,.12); }
.btn-full { width: 100%; }
.price-box, .price-panel, .feature-card { padding: 24px; }
.price-box {
  border-radius: 18px; border: 1px solid rgba(255,255,255,.75); min-width: 180px;
  box-shadow: 0 12px 30px rgba(12,31,57,.08);
}
.price-box span, .small, .report-small { color: var(--muted); font-size: .92rem; }
.price-box strong, .big-price { display: block; font-size: 2rem; color: var(--navy); font-weight: 900; }
.hero-visual { position: relative; }
.hero-panel {
  position: relative;
  padding: 30px;
  background: linear-gradient(180deg, #0d1320 0%, #172338 100%);
  color: white;
  box-shadow: var(--shadow-strong);
}
.panel-stack::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(109,168,61,.18), rgba(255,255,255,.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.hero-logo { width: min(100%, 430px); margin: 0 auto 20px; background: rgba(255,255,255,.92); border-radius: 18px; padding: 14px; }
.floating-chip {
  position: absolute; top: -12px; right: 18px;
  background: white; color: var(--navy); border-radius: 999px; padding: 10px 14px; font-weight: 800;
  box-shadow: 0 12px 28px rgba(12,31,57,.18);
}
.hero-point { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.hero-point strong { display: block; font-size: 1rem; }
.hero-point span { color: rgba(255,255,255,.76); }
.mini-stat-card {
  position: absolute; left: -28px; bottom: 24px;
  padding: 18px 20px; width: 170px;
}
.mini-stat-card strong { display: block; font-size: 2.3rem; color: var(--navy); }
.mini-bars { height: 8px; background: #edf1f4; border-radius: 999px; overflow: hidden; }
.mini-bars b { display: block; height: 100%; background: linear-gradient(90deg, #6da83d 0%, #9ad268 100%); }
.section { padding: 78px 0; }
.section-soft { background: #eef3f6; }
.feature-card { transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover, .price-panel:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.bullet-list { padding-left: 18px; color: var(--muted); }
.report-card { padding: 26px; }
.report-card-premium {
  background: linear-gradient(180deg, #0d1421 0%, #101a2a 100%);
  color: white;
  border: none;
  box-shadow: var(--shadow-strong);
}
.report-topline, .report-brandline {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.report-topline { margin-bottom: 18px; }
.report-label {
  display: inline-flex; padding: 8px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800;
  background: rgba(109,168,61,.14); color: #b8e28e; letter-spacing: .04em; text-transform: uppercase;
}
.report-brandline {
  justify-content: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.report-logo-premium { width: 110px; background: rgba(255,255,255,.94); border-radius: 14px; padding: 8px; }
.report-orb-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: center; padding: 22px 0;
}
.report-orb {
  width: 220px; height: 220px; margin: 0 auto;
  border-radius: 50%; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at center, rgba(14,26,42,1) 58%, transparent 59%),
    conic-gradient(from 190deg, #6da83d 0 93%, rgba(255,255,255,.08) 93% 100%);
  box-shadow: inset 0 0 40px rgba(109,168,61,.08), 0 0 50px var(--glow);
}
.report-orb span { display: block; color: rgba(255,255,255,.72); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.report-orb strong { display: block; font-size: 3.6rem; line-height: 1; }
.report-orb small { display: block; color: #b8e28e; font-weight: 700; }
.report-score-meta { display: grid; gap: 14px; }
.metric-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 16px;
}
.metric-card span { display: block; font-size: .84rem; color: rgba(255,255,255,.68); }
.metric-card strong { font-size: 1.2rem; }
.report-table { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; padding: 8px 0 20px; }
.report-table-premium div {
  background: rgba(255,255,255,.05); border-radius: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.06);
}
.report-table span { display: block; color: rgba(255,255,255,.64); font-size: .82rem; }
.report-bars-premium div { margin-bottom: 14px; }
.report-bars-premium span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.72); }
.report-bars-premium b {
  display: block; height: 10px; background: linear-gradient(90deg, var(--accent) 0%, #9dd76b 100%); border-radius: 999px;
  box-shadow: 0 0 18px rgba(109,168,61,.28);
}
.report-note {
  margin-top: 10px; font-size: .85rem; color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px;
}
.bd-form { display: grid; gap: 14px; }
.bd-form label { font-weight: 700; color: var(--navy); display: grid; gap: 8px; }
.bd-form input {
  padding: 14px 16px; border: 1px solid rgba(12,31,57,.12); border-radius: 14px; font: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
.bd-form input:focus { outline: none; border-color: rgba(109,168,61,.72); box-shadow: 0 0 0 4px rgba(109,168,61,.12); }
.notice { padding: 14px 16px; border-radius: 14px; margin-top: 18px; font-weight: 700; }
.notice.success { background: #eaf8df; color: #2d5a0d; }
.notice.error { background: #fdecec; color: #8b1e1e; }
.content-wrap { padding: 56px 0 72px; }
.entry-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); }
.entry-content { color: var(--text); }
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 42px 0 92px; }
.site-footer strong, .site-footer a { color: white; }
.footer-logo { width: 180px; margin-bottom: 14px; background: rgba(255,255,255,.96); border-radius: 14px; padding: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 12px 0 0; }
.site-footer li { margin-bottom: 8px; }
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 999px;
  background: #25d366; color: white; font-weight: 800;
  box-shadow: 0 18px 36px rgba(37,211,102,.3);
}
.whatsapp-float:hover { transform: translateY(-2px); color: white; }
.whatsapp-dot {
  width: 12px; height: 12px; border-radius: 50%; background: white; box-shadow: 0 0 0 6px rgba(255,255,255,.16);
}
.reveal {
  opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease;
}
.reveal-delay { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 900px) {
  .hero-grid, .report-grid, .contact-grid, .footer-grid, .grid-2, .grid-3, .report-orb-wrap { grid-template-columns: 1fr; }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 16px 0 8px; }
  .header-row { flex-wrap: wrap; padding: 12px 0; }
  .menu-toggle {
    display: inline-flex; border: 1px solid rgba(12,31,57,.12); background: white; border-radius: 12px;
    padding: 10px 14px; font-weight: 800;
  }
  h1, h2 { max-width: none; }
  .mini-stat-card { position: static; width: auto; margin-top: 16px; }
  .report-orb { width: 200px; height: 200px; }
  .whatsapp-float { bottom: 14px; right: 14px; padding: 12px 16px; }
}
