/* ==========================================================================
   SK PERFORMANCE - Design System
   Chiptuning Friesland
   A dark, high performance "fire meets tech" identity.
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/*  1. Design tokens                                                          */
/* -------------------------------------------------------------------------- */
:root {
  /* Surfaces — white canvas with solid black blocks */
  --bg: #ffffff;
  --bg-2: #f2f3f6;
  --surface: #0c0d11;       /* black block / card */
  --surface-2: #16171e;     /* elevated black */
  --surface-3: #24262f;
  --line: rgba(12, 13, 18, 0.12);
  --line-strong: rgba(12, 13, 18, 0.22);

  /* Brand: black + red (orange and cyan removed) */
  --red: #e30613;
  --red-deep: #b00010;
  --orange: #e30613;        /* legacy alias → red */
  --amber: #ff5a3c;
  --cyan: #e30613;          /* legacy tech accent → red */
  --blue: #ff4d5b;
  --lime: #e30613;

  --heat: linear-gradient(135deg, #ff2233 0%, #c00012 100%);
  --heat-soft: linear-gradient(135deg, rgba(227, 6, 19, 0.12), rgba(192, 0, 18, 0.12));
  --tech: linear-gradient(135deg, #ff4d5b 0%, #c00012 100%);
  --tech-soft: linear-gradient(135deg, rgba(227, 6, 19, 0.10), rgba(192, 0, 18, 0.10));

  /* Text — defaults for the WHITE page context */
  --text: #0c0d12;
  --muted: #555b6a;
  --faint: #868c9b;

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", "JetBrains Mono", monospace;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows — softer on a white canvas */
  --shadow-sm: 0 4px 16px rgba(12, 13, 18, 0.10);
  --shadow-md: 0 18px 40px rgba(12, 13, 18, 0.14);
  --shadow-lg: 0 30px 70px rgba(12, 13, 18, 0.20);
  --glow-red: 0 0 0 1px rgba(227, 6, 19, 0.4), 0 18px 50px rgba(227, 6, 19, 0.25);
  --glow-cyan: 0 0 0 1px rgba(227, 6, 19, 0.4), 0 18px 50px rgba(227, 6, 19, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s;
  --t: 0.4s;
  --t-slow: 0.7s;

  /* Layout */
  --container: 1240px;
  --header-h: 80px;
}

/* --------------------------------------------------------------------------
   Dark-block context. These components are solid BLACK blocks on the white
   page, so they re-declare the text/line custom properties to their light
   variants. Every descendant that uses var(--text)/var(--muted)/var(--line)
   then renders correctly on the dark surface with no extra selectors.
   -------------------------------------------------------------------------- */
.hero,
.card,
.testi,
.plan,
.step,
.news-card,
.stats, .stat,
.cta-band,
.site-footer,
.acc-item,
.price-row,
.marquee,
.dropdown,
.info-tile,
.to-top,
.calc,
.gauge-wrap .float-card {
  --text: #f4f5fa;
  --muted: #a8adba;
  --faint: #868c9c;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

/* -------------------------------------------------------------------------- */
/*  2. Reset                                                                  */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--surface-3) var(--bg);
  /* Clip stray horizontal overflow (off-canvas menu, glow orbs, wide SVGs)
     without creating a scroll container that would break sticky/fixed. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grid/flex children must be allowed to shrink below their content size,
   otherwise wide SVG illustrations and long words force horizontal overflow. */
.split > *, .grid > *, .hero-inner > *, .footer-top > * { min-width: 0; }

/* Any element targeted by an in-page #anchor clears the fixed header,
   including hash links that arrive from another page. */
[id] { scroll-margin-top: calc(var(--header-h) + 1.2rem); }

/* Long words / URLs never push a horizontal scrollbar. */
p, li, h1, h2, h3, h4, h5, a, blockquote { overflow-wrap: break-word; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }

/* Custom scrollbar (webkit) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 999px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #2c3450; }

/* -------------------------------------------------------------------------- */
/*  3. Typography                                                             */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h4 { font-size: 1.2rem; }

p { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--heat);
  border-radius: 2px;
}
.eyebrow.tech { color: var(--cyan); }
.eyebrow.tech::before { background: var(--tech); }
.eyebrow.center { justify-content: center; }

.grad-text {
  background: var(--heat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text.tech { background: var(--tech); -webkit-background-clip: text; background-clip: text; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 60ch;
}

/* -------------------------------------------------------------------------- */
/*  4. Layout                                                                 */
/* -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-wide { width: min(100% - 2.5rem, 1440px); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 720px; margin-bottom: var(--space-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.1rem; }

.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
}

/* Decorative background helpers */
.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
/* Dark grid lines are invisible on the white interior page-heroes — give those
   a subtle dark-on-white variant so the texture actually shows. */
.page-hero.bg-grid::before {
  background-image:
    linear-gradient(rgba(12, 13, 18, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 13, 18, 0.045) 1px, transparent 1px);
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  /* The radial-gradient already provides a soft falloff; a smaller blur keeps
     the glow lush while massively cutting GPU cost (90px blur was janky on mobile). */
  filter: blur(55px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}
.glow-orb.red { background: radial-gradient(circle, rgba(255, 34, 51, 0.6), transparent 70%); }
.glow-orb.orange { background: radial-gradient(circle, rgba(227, 6, 19, 0.5), transparent 70%); }
.glow-orb.cyan { background: radial-gradient(circle, rgba(255, 77, 91, 0.4), transparent 70%); }

.section > .container, .section > .container-wide, .section > .container-narrow { position: relative; z-index: 1; }

/* -------------------------------------------------------------------------- */
/*  5. Buttons                                                                */
/* -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--heat);
  color: #fff;
  box-shadow: 0 10px 30px rgba(227, 6, 19, 0.35);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff7a18, #ff2d3d);
  opacity: 0;
  transition: opacity var(--t);
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(227, 6, 19, 0.5); }
.btn-primary:hover::before { opacity: 1; }

.btn-tech { background: var(--tech); color: #fff; box-shadow: 0 10px 30px rgba(227, 6, 19, 0.3); }
.btn-tech:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(227, 6, 19, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--red); color: var(--red); }

.btn-lg { padding: 1.15rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  transition: gap var(--t-fast) var(--ease), color var(--t-fast);
}
.arrow-link svg { width: 1.05em; transition: transform var(--t-fast) var(--ease); }
.arrow-link:hover { color: var(--orange); gap: 0.8rem; }
.arrow-link:hover svg { transform: translateX(3px); }
.arrow-link.tech:hover { color: var(--cyan); }

/* -------------------------------------------------------------------------- */
/*  6. Chips / badges / pills                                                 */
/* -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.chip .dot.cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.chip .dot.live { animation: pulse 1.8s infinite; }

.price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}
.price-tag small { color: var(--faint); font-weight: 500; font-size: 0.72em; }
.price-tag .num { font-size: 1.5em; background: var(--heat); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* -------------------------------------------------------------------------- */
/*  7. Header / navigation                                                    */
/* -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: height var(--t), background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.site-header .container-wide {
  /* Tighter than the 1440 default so the header doesn't sprawl on wide screens
     and its left edge sits close to the page content below it. */
  width: min(100% - 2.5rem, 1320px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(170%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(12, 13, 18, 0.10);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; z-index: 2; }
.brand .logo-mark { width: 56px; height: 31px; flex-shrink: 0; color: var(--text); }
.brand .logo-text { display: flex; flex-direction: column; line-height: 1; }
.brand .logo-text b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}
.brand .logo-text span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 0.1rem; }
.main-nav > li { position: relative; }
.main-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.72rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.main-nav a.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.main-nav a.nav-link.active { color: var(--text); }
.main-nav a.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--heat);
  border-radius: 2px;
}
.main-nav .caret { width: 14px; transition: transform var(--t-fast); }

/* Dropdown */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: rgba(15, 18, 32, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-fast) var(--ease);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 0.92rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.dropdown a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.dropdown a .ico { width: 30px; height: 30px; color: var(--orange); flex-shrink: 0; }

.header-cta { display: flex; align-items: center; gap: 0.8rem; }

/* The in-menu call-to-action block belongs to the mobile off-canvas menu only;
   it is revealed (display:grid) inside the mobile breakpoint below. */
.nav-mobile-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------------------- */
/*  8. Hero                                                                   */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* avoids the mobile address-bar 100vh jump */
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
  /* A bold black hero block sitting on the white page */
  background: radial-gradient(125% 125% at 50% 0%, #16171f 0%, #0a0a0d 58%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
/* Animated aurora wash behind the hero — pure transform/opacity, GPU-cheap */
.hero-bg .aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(255, 34, 51, 0.28), transparent 60%),
    radial-gradient(35% 45% at 80% 20%, rgba(227, 6, 19, 0.22), transparent 60%),
    radial-gradient(45% 50% at 70% 80%, rgba(192, 0, 18, 0.16), transparent 60%);
  filter: blur(30px);
  opacity: 0.9;
  animation: aurora-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-bg .glow-orb.red { width: 620px; height: 620px; top: -180px; right: -120px; }
.hero-bg .glow-orb.cyan { width: 520px; height: 520px; bottom: -200px; left: -160px; opacity: 0.35; }
.hero-bg .scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255, 255, 255, 0.012) 3px, rgba(255, 255, 255, 0.012) 4px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  /* NOTE: this element also carries .container, which constrains and centers it.
     A previous `width:100%` here overrode that and made the hero full-bleed /
     flush-left (headline jammed against the screen edge) — removed. */
}
.hero h1 { margin: 1.4rem 0; }
.hero h1 .line { display: block; overflow: hidden; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust { margin-top: 2.6rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero-trust .stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }
.hero-trust .trust-text { font-size: 0.88rem; color: var(--muted); }
.hero-trust .trust-text b { color: var(--text); }

/* Hero visual: speedometer */
.hero-visual { position: relative; display: grid; place-items: center; }
.gauge-wrap {
  position: relative;
  width: min(480px, 90%);
  aspect-ratio: 1;
  filter: drop-shadow(0 30px 60px rgba(255, 45, 61, 0.25));
}
.gauge-wrap .float-card {
  position: absolute;
  background: rgba(15, 18, 32, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.gauge-wrap .float-card .k { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--faint); text-transform: uppercase; }
.gauge-wrap .float-card .v { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.gauge-wrap .fc-1 { top: 8%; left: -6%; }
.gauge-wrap .fc-2 { bottom: 12%; right: -8%; }
.gauge-wrap .fc-1 .v { color: var(--orange); }
.gauge-wrap .fc-2 .v { color: var(--cyan); }

/* -------------------------------------------------------------------------- */
/*  9. Marquee                                                                */
/* -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding-block: 1.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-item svg { width: 22px; color: var(--orange); }
.marquee-item .sep { color: var(--red); }

/* -------------------------------------------------------------------------- */
/*  10. Cards                                                                 */
/* -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
  height: 100%;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--heat);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card.tech::after { background: var(--tech); }

.card .card-ico {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--heat-soft);
  border: 1px solid rgba(227, 6, 19, 0.25);
  margin-bottom: 1.4rem;
  color: var(--orange);
}
.card.tech .card-ico { background: var(--tech-soft); border-color: rgba(227, 6, 19, 0.25); color: var(--cyan); }
.card .card-ico svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: 0.7rem; }
.card h3 + p { margin-bottom: 1.3rem; }
.card .card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1.2rem; }

/* Service card with number */
.card .card-num {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

/* Feature list */
.feature-list { display: grid; gap: 0.85rem; margin-top: 0.4rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); font-size: 0.96rem; }
.feature-list li svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.feature-list.tech li svg { color: var(--cyan); }

/* -------------------------------------------------------------------------- */
/*  11. Stats                                                                 */
/* -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 2rem 1.6rem;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  background: var(--heat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .stat-num .suffix { -webkit-text-fill-color: var(--orange); }
.stat .stat-label { margin-top: 0.7rem; color: var(--muted); font-size: 0.92rem; }

/* -------------------------------------------------------------------------- */
/*  12. Steps / process                                                       */
/* -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1.4rem; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--t), transform var(--t);
}
.step:hover { border-color: var(--line-strong); transform: translateX(6px); }
.step .step-num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--heat);
  color: #fff;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.35);
}
.step h4 { margin-bottom: 0.4rem; font-size: 1.25rem; }

/* -------------------------------------------------------------------------- */
/*  13. Testimonials                                                          */
/* -------------------------------------------------------------------------- */
.testi {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform var(--t) var(--ease), border-color var(--t);
}
.testi:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.testi .stars { color: var(--amber); letter-spacing: 2px; }
.testi blockquote { color: var(--text); font-size: 1.05rem; line-height: 1.6; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 0.85rem; }
.testi .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  background: var(--heat);
  flex-shrink: 0;
}
.testi .who b { display: block; font-family: var(--font-display); }
.testi .who span { font-size: 0.82rem; color: var(--faint); }
.testi .g-mark { position: absolute; top: 1.6rem; right: 1.6rem; width: 20px; height: 20px; opacity: 0.9; }
.testi { position: relative; }

/* Google reviews badge */
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.7rem;
  padding: 0.65rem 0.9rem 0.65rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast);
}
.reviews-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.reviews-badge .g-mark { width: 22px; height: 22px; flex-shrink: 0; }
.reviews-badge .stars { color: var(--amber); letter-spacing: 1px; }
.reviews-badge .rb-text { color: var(--muted); font-size: 0.92rem; }
.reviews-badge .rb-text b { color: var(--text); font-family: var(--font-display); }
.reviews-badge .rb-cta { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--red); font-weight: 600; font-family: var(--font-display); font-size: 0.9rem; }
.reviews-badge .rb-cta svg { width: 1em; }

/* -------------------------------------------------------------------------- */
/*  14. Pricing                                                               */
/* -------------------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.plan {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured {
  border-color: rgba(227, 6, 19, 0.5);
  box-shadow: var(--glow-red);
}
.plan.featured::before {
  content: "Populair";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--heat);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan .plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.plan .plan-desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; min-height: 2.6em; }
.plan .plan-price { margin: 1.4rem 0 0.3rem; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.plan .plan-price small { font-size: 0.9rem; font-weight: 500; color: var(--faint); }
.plan .plan-meta { color: var(--faint); font-size: 0.85rem; margin-bottom: 1.5rem; }
.plan .feature-list { flex: 1; margin-bottom: 1.8rem; }
.plan .btn { margin-top: auto; }

/* Full price list (the complete services menu) */
.price-list { display: grid; gap: 2.5rem; }
.pl-group > h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.pl-group > h3 .pl-ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--heat-soft);
  border: 1px solid rgba(227, 6, 19, 0.25);
  color: var(--orange);
  flex-shrink: 0;
}
.pl-group > h3 .pl-ico svg { width: 22px; height: 22px; }
.pl-group.tech > h3 .pl-ico { background: var(--tech-soft); border-color: rgba(227, 6, 19, 0.25); color: var(--cyan); }
.pl-rows { display: grid; gap: 0.5rem; }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease), background var(--t-fast);
}
.price-row:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateX(5px); }
.price-row .pl-name { min-width: 0; }
.price-row .pl-name b { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1.02rem; }
.price-row .pl-name span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 1px; }
.price-row .pl-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--heat);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pl-group.tech .price-row .pl-price { background: var(--tech); -webkit-background-clip: text; background-clip: text; }
.pl-note { font-size: 0.85rem; color: var(--faint); }

/* -------------------------------------------------------------------------- */
/*  Chiptuning winst calculator                                               */
/* -------------------------------------------------------------------------- */
.calc {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  background: radial-gradient(125% 125% at 82% 0%, #1c1218 0%, #0a0a0d 56%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.calc-intro, .calc-panel { position: relative; z-index: 1; }
.calc-points { display: grid; gap: 0.8rem; }
.calc-points li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); font-size: 0.98rem; }
.calc-points li svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* NL number plate input */
.plate {
  display: flex;
  align-items: stretch;
  height: 66px;
  background: #ffd400;
  border: 3px solid #0a0a0d;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: box-shadow var(--t-fast);
}
.plate:focus-within { box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.6), 0 10px 30px rgba(0, 0, 0, 0.45); }
.plate-flag {
  width: 46px;
  flex-shrink: 0;
  background: #2b4ec6;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  position: relative;
}
.plate-flag::before {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  width: 14px; height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px dotted #ffd400;
}
.plate-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #0a0a0d;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 0.6rem;
}
.plate-input::placeholder { color: rgba(10, 10, 13, 0.4); }
.plate-input:focus { outline: none; }

.calc-btn { margin-top: 1rem; background: var(--heat); color: #fff; font-size: 1.05rem; padding: 1.05rem 1.7rem; box-shadow: 0 12px 30px rgba(227, 6, 19, 0.4); }
.calc-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(227, 6, 19, 0.55); }
.calc-btn.loading { opacity: 0.65; pointer-events: none; }
.calc-link {
  display: block;
  width: 100%;
  margin-top: 0.9rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calc-link:hover { color: var(--text); }
.calc-manual { margin-top: 1.2rem; display: grid; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.calc-disclaimer { margin-top: 1.1rem; font-size: 0.78rem; color: var(--faint); }

.calc-result { margin-top: 1.5rem; }
.calc-result[hidden] { display: none; }
.calc-car {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.calc-car span { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--red); letter-spacing: 0.2em; margin-bottom: 5px; }
.calc-metric { margin-bottom: 1.4rem; }
.calc-metric-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.65rem; }
.calc-metric-head .lbl { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.calc-metric-head .gain { font-family: var(--font-display); font-weight: 800; color: var(--red); font-size: 1.15rem; }
.calc-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.calc-tag { font-family: var(--font-mono); font-size: 0.68rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }
.calc-bar-track { height: 12px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; }
.calc-bar { height: 100%; width: 0; border-radius: 999px; transition: width 1.1s var(--ease); }
.calc-bar.stock { background: rgba(255, 255, 255, 0.3); }
.calc-bar.tuned { background: var(--heat); box-shadow: 0 0 14px rgba(227, 6, 19, 0.55); }
.calc-val { font-family: var(--font-display); font-weight: 800; color: var(--text); white-space: nowrap; font-size: 0.95rem; }
.calc-err { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: rgba(227, 6, 19, 0.12); border: 1px solid rgba(227, 6, 19, 0.4); color: #ff8a93; font-size: 0.9rem; }
.calc-note { margin: 0.1rem 0 1.1rem; font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.calc-metric-head .lbl small { font-weight: 500; color: var(--faint); font-size: 0.72rem; }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/*  15. Accordion (FAQ)                                                       */
/* -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 1rem; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t);
}
.acc-item.open { border-color: rgba(227, 6, 19, 0.4); }
.acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}
.acc-q .acc-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.acc-q .acc-icon::before,
.acc-q .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--orange);
  border-radius: 2px;
  transition: transform var(--t) var(--ease);
}
.acc-q .acc-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.acc-q .acc-icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.acc-item.open .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height var(--t) var(--ease); }
.acc-a-inner { padding: 0 1.6rem 1.5rem; color: var(--muted); }

/* -------------------------------------------------------------------------- */
/*  16. Forms                                                                 */
/* -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text); font-family: var(--font-display); }
.field label .req { color: var(--red); }
.input, .textarea, .select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
  background: #fff;
}
.textarea { resize: vertical; min-height: 140px; }
.select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23e30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}
.select option { background: #ffffff; color: #0c0d12; }
.field.error .input, .field.error .textarea, .field.error .select { border-color: var(--red); }
.field .err-msg { font-size: 0.8rem; color: var(--red); display: none; }
.field.error .err-msg { display: block; }

.form-note { font-size: 0.82rem; color: var(--faint); }
.form-success {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.3rem;
  border-radius: var(--r-md);
  background: rgba(40, 200, 120, 0.1);
  border: 1px solid rgba(40, 200, 120, 0.3);
  color: #6ff0a8;
}
.form-success.show { display: flex; }
.form-success svg { width: 24px; flex-shrink: 0; }

/* -------------------------------------------------------------------------- */
/*  17. Info / contact tiles                                                  */
/* -------------------------------------------------------------------------- */
.info-tile {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t), transform var(--t);
}
.info-tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.info-tile > div { min-width: 0; }
.info-tile .it-ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--heat-soft);
  color: var(--orange);
  flex-shrink: 0;
}
.info-tile .it-ico svg { width: 24px; }
.info-tile .k { font-size: 0.8rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.info-tile .v { font-family: var(--font-display); font-weight: 600; color: var(--text); margin-top: 2px; overflow-wrap: anywhere; }
.info-tile .v a:hover { color: var(--orange); }

/* Hours table */
.hours { display: grid; gap: 0.2rem; }
.hours .row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.hours .row:last-child { border-bottom: 0; }
.hours .day { color: var(--muted); }
.hours .time { font-family: var(--font-mono); font-size: 0.9rem; color: var(--text); }
.hours .row.closed .time { color: var(--faint); }
.hours .row.today { color: var(--text); }
.hours .row.today .day { color: var(--orange); font-weight: 600; }

/* -------------------------------------------------------------------------- */
/*  18. News                                                                  */
/* -------------------------------------------------------------------------- */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.news-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.news-card .news-img {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.news-card .news-img svg { width: 100%; height: 100%; transition: transform var(--t-slow) var(--ease); }
.news-card:hover .news-img svg { transform: scale(1.06); }
.news-card .news-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }
.news-card .news-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--faint); font-family: var(--font-mono); }
.news-card h3 { font-size: 1.2rem; }
.news-card .news-body .arrow-link { margin-top: auto; }

/* -------------------------------------------------------------------------- */
/*  19. Page hero (interior pages)                                            */
/* -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 4rem;
  overflow: hidden;
}
.page-hero .glow-orb.red { width: 460px; height: 460px; top: -160px; right: -80px; }
/* Glow orbs are designed for dark blocks; keep the ones that sit directly on
   the white sections faint (orbs nested inside dark blocks stay vivid).
   !important so per-orb inline opacity from the dark theme can't override it. */
.page-hero > .glow-orb, .section > .glow-orb { opacity: 0.1 !important; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--faint); margin-bottom: 1.4rem; font-family: var(--font-mono); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: 0.5; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { margin-top: 1.3rem; }

/* -------------------------------------------------------------------------- */
/*  20. CTA band                                                              */
/* -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, #1a0e10, #120c1c);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  text-align: center;
}
.cta-band .glow-orb.red { width: 400px; height: 400px; top: -150px; left: -80px; opacity: 0.4; }
.cta-band .glow-orb.orange { width: 360px; height: 360px; bottom: -150px; right: -60px; opacity: 0.35; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 1.2rem auto 2rem; }
.cta-band .hero-actions { justify-content: center; }

/* -------------------------------------------------------------------------- */
/*  21. Footer                                                                */
/* -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0c0d11, #050609);
  border-top: 1px solid var(--line);
  padding-top: 4.5rem;
  overflow: hidden;
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1.3rem; }
.footer-brand p { font-size: 0.95rem; max-width: 36ch; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover { color: #fff; background: var(--heat); border-color: transparent; transform: translateY(-3px); }
.footer-social a svg { width: 19px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--faint); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 0.94rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--orange); }
.footer-col .ft-contact { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-col .ft-contact svg { width: 17px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  margin-top: 3.5rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--faint);
}
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* -------------------------------------------------------------------------- */
/*  22. Misc UI: scroll progress, back to top, preloader                      */
/* -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--heat);
  z-index: 200;
  box-shadow: 0 0 12px rgba(255, 80, 40, 0.7);
}
.to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--text);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t) var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--heat); border-color: transparent; transform: translateY(-3px); }
.to-top svg { width: 22px; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pl-inner { display: grid; place-items: center; gap: 1.4rem; }
.preloader .pl-mark { width: 70px; height: 70px; animation: spin 1.4s linear infinite; }
.preloader .pl-bar { width: 180px; height: 3px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.preloader .pl-bar span { display: block; height: 100%; width: 40%; background: var(--heat); border-radius: 3px; animation: load 1.1s var(--ease) infinite; }
.preloader .pl-text { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--faint); text-transform: uppercase; }

/* -------------------------------------------------------------------------- */
/*  23. Reveal animations                                                     */
/* -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].in { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------- */
/*  24. Keyframes                                                             */
/* -------------------------------------------------------------------------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}
@keyframes load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes needle-sweep {
  0% { transform: rotate(-122deg); }
  12% { transform: rotate(28deg); }
  22% { transform: rotate(-44deg); }
  35% { transform: rotate(58deg); }
  50% { transform: rotate(6deg); }
  70% { transform: rotate(74deg); }
  100% { transform: rotate(40deg); }
}
@keyframes turbo-spin { to { transform: rotate(360deg); } }
@keyframes dash {
  to { stroke-dashoffset: 0; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}

.float-y { animation: float-y 5s var(--ease) infinite; }
.float-y.delay { animation-delay: 1.2s; }
.glow-orb { animation: glow-pulse 6s ease-in-out infinite; }

/* SVG illustration hooks */
.spin-slow { transform-origin: center; animation: turbo-spin 6s linear infinite; }
.spin-fast { transform-origin: center; animation: turbo-spin 1.6s linear infinite; }
.gauge-needle { transform-origin: 50% 50%; transform: rotate(-122deg); }
.gauge-needle.run { animation: needle-sweep 3.4s var(--ease) forwards; }
.gauge-arc { stroke-dasharray: 495 943; stroke-dashoffset: 495; animation: gauge-fill 2.6s var(--ease) 0.3s forwards; }
@keyframes gauge-fill { to { stroke-dashoffset: 0; } }
.tick-blink { animation: glow-pulse 2.4s ease-in-out infinite; }

/* -------------------------------------------------------------------------- */
/*  25. Utilities                                                             */
/* -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }
.mb-2 { margin-bottom: var(--space-2); } .mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); } .mb-5 { margin-bottom: var(--space-5); }
.maxw-prose { max-width: 65ch; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: var(--space-1); } .gap-2 { gap: var(--space-2); } .gap-3 { gap: var(--space-3); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.relative { position: relative; }
.hide { display: none !important; }

/* -------------------------------------------------------------------------- */
/*  25b. Next-level motion & micro-interactions                               */
/* -------------------------------------------------------------------------- */

/* Living sheen across gradient text */
.grad-text {
  background-size: 220% 100%;
  animation: grad-shimmer 7s ease-in-out infinite;
}
@keyframes grad-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  100% { transform: translate3d(3%, 2.5%, 0) scale(1.1); }
}

/* Light sweep across buttons on hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}
.btn:hover::after { opacity: 1; animation: btn-sheen 0.85s var(--ease); }
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent); }
@keyframes btn-sheen { from { left: -75%; } to { left: 130%; } }

/* Cursor spotlight inside cards & plans (--mx/--my set by JS, hover devices) */
.card, .plan { --mx: 50%; --my: 50%; }
.card::before, .plan::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(227, 6, 19, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  pointer-events: none;
}
.card:hover::before, .plan:hover::before { opacity: 1; }
.card.tech::before, .plan.tech::before {
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(227, 6, 19, 0.12), transparent 60%);
}
.card > *, .plan > * { position: relative; z-index: 1; }

/* Animated brand mark in the header on hover */
.brand:hover .logo-mark { animation: logo-pop 0.6s var(--ease); }
@keyframes logo-pop {
  0% { transform: rotate(0) scale(1); }
  40% { transform: rotate(-8deg) scale(1.08); }
  100% { transform: rotate(0) scale(1); }
}

/* Reveal: optional soft blur-in for hero-class elements */
[data-reveal].blur-in { filter: blur(10px); }
[data-reveal].blur-in.in { filter: blur(0); }

/* Scroll progress gets a brighter leading edge */
.scroll-progress { background: linear-gradient(90deg, var(--red), var(--orange), var(--amber)); }

/* Floating "scroll" hint in hero */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
}
.scroll-cue .mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::before {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--orange);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* -------------------------------------------------------------------------- */
/*  26. Responsive                                                            */
/* -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .gauge-wrap { width: min(380px, 80%); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile navigation kicks in early enough that the 9-item bar never crowds or
   gets clipped. Below 1240px the off-canvas menu takes over. */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .header-cta .btn:not(.nav-toggle) { display: none; }
  .nav-wrap {
    position: fixed;
    inset: 0;
    width: 100%;
    /* Off-canvas overlay is a black block, so flip the text context to light
       (on desktop the nav sits on the white header and must stay dark). */
    --text: #f4f5fa;
    --muted: #c2c7d2;
    --faint: #868c9c;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);
    color: var(--text);
    background: rgba(7, 8, 13, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    visibility: hidden; /* keep links out of the tab order while closed */
    transition: transform var(--t) var(--ease), visibility var(--t) var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: calc(var(--header-h) + 1.25rem) 1.5rem 2rem;
    z-index: 1;
  }
  /* Flexible spacers center the menu when it fits, yet let it scroll when it
     doesn't (e.g. landscape) instead of clipping items off the top. */
  .nav-wrap::before, .nav-wrap::after { content: ""; flex: 1 0 0.5rem; }
  body.nav-open .nav-wrap { transform: translateX(0); visibility: visible; }
  body.nav-open { overflow: hidden; }
  /* CRITICAL: a scrolled header has backdrop-filter, which makes it the
     containing block for its fixed child .nav-wrap — trapping the off-canvas
     menu inside the 70px header bar so it never fills the screen. Drop it
     while the menu is open (it's covered by the overlay anyway). */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0.3rem; width: 100%; max-width: 460px; margin-inline: auto; }
  .main-nav a.nav-link { font-size: 1.3rem; padding: 0.8rem 1rem; justify-content: space-between; }
  .main-nav a.nav-link.active::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 0 0 0 1rem;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .caret { transform: rotate(180deg); }
  .nav-mobile-cta { margin-top: 1.6rem; display: grid; gap: 0.8rem; max-width: 460px; margin-inline: auto; width: 100%; }
}

@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  /* When the featured plan jumps to the top of the stack, give its overhanging
     "Populair" badge room to breathe below the section heading. */
  .plan.featured { order: -1; margin-top: 13px; }
}

@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .stat .stat-num { font-size: 2.4rem; }
  .hero-trust { gap: 1rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gauge-wrap .float-card { padding: 0.6rem 0.85rem; }
  .gauge-wrap .fc-1 { left: 0; }
  .gauge-wrap .fc-2 { right: 0; }
  .card { padding: 1.6rem; }
  .to-top { right: 1rem; bottom: 1rem; }
  /* The hero is taller than the viewport on phones, so a bottom scroll hint
     sits far below the fold — hide it to avoid awkward overlap. */
  .scroll-cue { display: none; }
}

/* -------------------------------------------------------------------------- */
/*  27. Accessibility                                                         */
/* -------------------------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--heat);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm);
  z-index: 999;
  transition: top var(--t);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  /* JS skips the needle sweep under reduced motion; show its resting end state
     instead of the backwards start position. */
  .gauge-needle { transform: rotate(40deg); }
}

/* -------------------------------------------------------------------------- */
/*  28. Performance & touch tuning                                            */
/* -------------------------------------------------------------------------- */
/* Smaller blur radius on phones keeps the GPU happy without losing the glow. */
@media (max-width: 680px) {
  .glow-orb { filter: blur(38px); }
  .hero-bg .aurora { filter: blur(22px); }
}
/* On touch devices, stop continuously re-compositing blurred layers (battery). */
@media (hover: none), (pointer: coarse) {
  .glow-orb { animation: none; }
  .hero-bg .aurora { animation: none; opacity: 0.7; }
}
/* Short / landscape viewports: the bottom scroll cue would overlap the
   vertically-centered hero content, so hide it there too. */
@media (max-height: 640px) {
  .scroll-cue { display: none; }
}
