/* ═══════════════════════════════════════════════════════════
   EBIKE — ems-ebike.com Design Tokens v1.0
   暗夜电能 · Dark Night Energy
   #0B0F14 / #00E5A0 / #FF8A3D
   ═══════════════════════════════════════════════════════════ */

:root {
  /* === COLOR === */
  --c-bg: #0B0F14;
  --c-bg-alt: #131A22;
  --c-bg-deep: #070A0E;
  --c-accent: #00E5A0;
  --c-accent-dim: rgba(0, 229, 160, 0.12);
  --c-accent-line: rgba(0, 229, 160, 0.35);
  --c-warning: #FF8A3D;
  --c-text: #E8EDF2;
  --c-text-2: #8A94A6;
  --c-text-3: #5B6472;
  --c-border: rgba(232, 237, 242, 0.10);
  --c-border-accent: rgba(0, 229, 160, 0.22);
  --c-danger: #FF5C5C;

  /* === TYPOGRAPHY === */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;

  --fs-xs: 0.875rem;   /* 14px */
  --fs-sm: 0.875rem;   /* 14px */
  --fs-base: 0.9375rem;/* 15px */
  --fs-md: 1rem;       /* 16px */
  --fs-lg: 1.125rem;   /* 18px */
  --fs-xl: 1.3125rem;  /* 21px */
  --fs-2xl: 1.625rem;  /* 26px */
  --fs-3xl: 2.125rem;  /* 34px */
  --fs-4xl: 2.75rem;   /* 44px */
  --fs-5xl: 3.5rem;    /* 56px */

  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.1em;

  /* === SPACING === */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* === LAYOUT === */
  --container-max: 1200px;
  --container-pad: 24px;

  /* === RADIUS === */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px; --r-full: 9999px;

  /* === SHADOW === */
  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --sh-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --sh-glow: 0 0 20px rgba(0, 229, 160, 0.25);
  --sh-glow-sm: 0 0 10px rgba(0, 229, 160, 0.18);

  /* === MOTION === */
  --t-fast: 150ms ease;
  --t-med: 300ms ease;

  /* === MODAL === */
  --modal-overlay-gradient: linear-gradient(to top, rgba(7,10,14,0.92) 0%, rgba(7,10,14,0.45) 55%, rgba(7,10,14,0.25) 100%);
}

/* ═══════════════════ RESET ═══════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,229,160,0.05), transparent);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: var(--lh-tight); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
h1 { font-size: clamp(1.8rem, 4vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.4rem, 2.8vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { margin: 0 0 var(--sp-4); }
::selection { background: rgba(0,229,160,0.3); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: var(--fs-base); }

/* ═══════════════════ LAYOUT UTILITIES ═══════════════════ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.section { padding: var(--sp-16) 0; }
.section-tight { padding: var(--sp-10) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ═══════════════════ TYPE UTILITIES ═══════════════════ */
.mono { font-family: var(--font-mono); }
.text-accent { color: var(--c-accent); }
.text-warning { color: var(--c-warning); }
.text-muted { color: var(--c-text-2); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}
.eyebrow::before { content: "// "; color: var(--c-warning); }
.section-title { margin-bottom: var(--sp-4); }
.section-sub { color: var(--c-text-2); max-width: 640px; margin-bottom: var(--sp-10); }
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ═══════════════════ GLOW LINE (signature) ═══════════════════ */
.glow-line {
  height: 2px; width: 64px;
  background: linear-gradient(90deg, var(--c-accent), transparent);
  box-shadow: var(--sh-glow-sm);
  margin-bottom: var(--sp-5);
  border-radius: var(--r-full);
}
.glow-line.center { margin-left: auto; margin-right: auto; }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--sp-6);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--fs-base); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  transition: all var(--t-med);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
}
.btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.btn-primary {
  background-color: var(--c-accent);
  color: #0B0F14 !important;
  box-shadow: var(--sh-glow-sm);
}
.btn-primary:hover {
  background-color: #2CF0B4;
  box-shadow: var(--sh-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  background-color: transparent;
  color: var(--c-accent) !important;
  border-color: var(--c-accent-line);
}
.btn-secondary:hover {
  background-color: var(--c-accent-dim);
  border-color: var(--c-accent);
}
.btn-ghost {
  background-color: transparent;
  color: var(--c-text) !important;
  border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-text-2); background-color: rgba(232,237,242,0.06); }
.btn-lg { min-height: 56px; padding: 0 var(--sp-8); font-size: var(--fs-md); }
.btn-block { width: 100%; }

/* ═══════════════════ HEADER / NAV ═══════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background-color: rgba(7, 10, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6); padding: var(--sp-3) 0; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; min-height: 44px; }
.brand img { height: 34px; width: auto; }
.brand-text {
  font-weight: 800; letter-spacing: var(--tracking-wider);
  text-transform: uppercase; color: var(--c-text);
  font-size: var(--fs-md);
}
.brand-text span { color: var(--c-accent); }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); }
.nav-links a {
  color: var(--c-text-2); font-size: var(--fs-sm);
  font-weight: 600; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; padding: var(--sp-2) 0;
  position: relative; transition: color var(--t-fast);
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-links a:hover { color: var(--c-accent); text-decoration: none; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--c-accent);
  transition: width var(--t-med);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--c-border);
  border-radius: var(--r-md); width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--c-text);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-dropdown { position: relative; }
.nav-dropdown > button {
  background: none; border: none; color: var(--c-text-2);
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  padding: var(--sp-2) 0; display: flex; align-items: center; gap: 4px;
  min-height: 44px; cursor: pointer;
}
.nav-dropdown > button:hover { color: var(--c-accent); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 240px; background: var(--c-bg-alt);
  border: 1px solid var(--c-border-accent); border-radius: var(--r-lg);
  padding: var(--sp-3); box-shadow: var(--sh-md);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md); font-size: var(--fs-sm);
  text-transform: none; letter-spacing: normal;
}
.nav-dropdown-menu a:hover { background: var(--c-accent-dim); color: var(--c-accent); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 10, 14, 0.98); border-bottom: 1px solid var(--c-border);
    padding: var(--sp-3) var(--container-pad) var(--sp-5);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-base); }
  .nav-links a::after { display: none; }
  .nav-dropdown-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 var(--sp-4); min-width: 0; }
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(7,10,14,0.55) 0%, rgba(7,10,14,0.72) 60%, var(--c-bg) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; padding: var(--sp-16) var(--container-pad) var(--sp-20); }
.hero h1 { margin: var(--sp-4) 0; }
.hero h1 .accent-word { color: var(--c-accent); }
.hero-sub { font-size: var(--fs-lg); color: var(--c-text-2); max-width: 640px; margin: 0 auto var(--sp-8); }
.hero-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* Sub-hero */
.sub-hero {
  position: relative; padding: var(--sp-20) 0 var(--sp-16);
  text-align: center; overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}
.sub-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
}
.sub-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(7,10,14,0.62) 0%, rgba(7,10,14,0.78) 100%);
}
.sub-hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 var(--container-pad); }
.sub-hero h1 { margin: var(--sp-4) 0 var(--sp-4); }
.sub-hero p { color: var(--c-text-2); font-size: var(--fs-md); }

/* ═══════════════════ TRUST BAR ═══════════════════ */
.trust-bar {
  border-bottom: 1px solid var(--c-border);
  background-color: var(--c-bg-deep);
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-4); padding: var(--sp-5) 0;
}
.trust-item { display: flex; align-items: center; gap: var(--sp-3); }
.trust-item .mono { color: var(--c-accent); font-weight: 700; font-size: var(--fs-md); white-space: nowrap; }
.trust-item span:not(.mono) { color: var(--c-text-2); font-size: var(--fs-sm); }

/* ═══════════════════ PARAM MATRIX (signature) ═══════════════════ */
.param-matrix {
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,229,160,0.06), transparent),
    var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.param-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-8); }
.param-item { text-align: center; padding: var(--sp-6) var(--sp-4); }
.param-value {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, var(--fs-2xl));
  letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(135deg, var(--c-accent) 30%, #7DF0CE 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.param-value.orange {
  background: linear-gradient(135deg, var(--c-warning), #FFB27A);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.param-unit { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--c-text-2); display: block; margin-top: var(--sp-2); }
.param-label { color: var(--c-text-2); font-size: var(--fs-sm); margin-top: var(--sp-2); display: block; text-transform: uppercase; letter-spacing: var(--tracking-wide); }

/* ═══════════════════ CARDS ═══════════════════ */
.card {
  background-color: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: var(--c-border-accent);
  box-shadow: var(--sh-glow-sm);
  transform: translateY(-3px);
}
.card h3 { margin: var(--sp-4) 0 var(--sp-3); font-size: var(--fs-md); }
.card h3 a { color: var(--c-text); }
.card h3 a:hover { color: var(--c-accent); text-decoration: none; }
.card p { color: var(--c-text-2); font-size: var(--fs-sm); margin-bottom: 0; }
.card-link {
  display: inline-block; margin-top: var(--sp-4);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  color: var(--c-accent); text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}
.card-link::after { content: " →"; }

/* Category card with image top */
.card-img { aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden; margin: calc(-1 * var(--sp-6)) calc(-1 * var(--sp-6)) var(--sp-5); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med); }
.card:hover .card-img img { transform: scale(1.04); }

/* ═══════════════════ FEATURE ICONS ═══════════════════ */
.icon-feature {
  width: 56px; height: 56px;
  object-fit: contain;
  border-radius: var(--r-md);
  background: var(--c-bg-deep);
  padding: 6px;
}

/* ═══════════════════ INDUSTRY / CATEGORY GRID ═══════════════════ */
.industry-card {
  background: linear-gradient(160deg, var(--c-bg-alt) 0%, var(--c-bg-deep) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--t-med);
  display: block; color: var(--c-text); text-decoration: none;
}
.industry-card:hover { border-color: var(--c-border-accent); box-shadow: var(--sh-glow-sm); text-decoration: none; transform: translateY(-3px); }
.industry-card .icon-feature { margin-bottom: var(--sp-4); }
.industry-card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.industry-card p { color: var(--c-text-2); font-size: var(--fs-sm); margin: 0; }
.industry-card .card-link { margin-top: var(--sp-4); display: block; }

/* ═══════════════════ CERT BADGE ═══════════════════ */
.cert-wall { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.cert-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  border: 1px solid var(--c-border-accent);
  background: var(--c-accent-dim);
  color: var(--c-accent);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 600;
}

/* ═══════════════════ PROCESS FLOW ═══════════════════ */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-6); position: relative; }
.process-step { position: relative; padding-top: var(--sp-5); }
.process-step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 44px; height: 2px; background: var(--c-accent);
  box-shadow: var(--sh-glow-sm); border-radius: var(--r-full);
}
.step-num { font-family: var(--font-mono); color: var(--c-warning); font-weight: 700; font-size: var(--fs-sm); letter-spacing: var(--tracking-wider); }
.process-step h3 { font-size: var(--fs-md); margin: var(--sp-2) 0 var(--sp-2); }
.process-step p { color: var(--c-text-2); font-size: var(--fs-sm); margin: 0; }

/* ═══════════════════ CTA CARD ═══════════════════ */
.cta-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border-accent);
  background-color: var(--c-bg-alt);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url('/generated/cta-bg.webp?v=4');
  background-size: cover; background-position: center;
  opacity: 0.3;
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(7,10,14,0.88) 0%, rgba(7,10,14,0.72) 100%);
}
.cta-card > * { position: relative; z-index: 2; }
.cta-card h2 { margin-bottom: var(--sp-4); }
.cta-card p { color: var(--c-text-2); max-width: 560px; margin: 0 auto var(--sp-8); }
.cta-card .btn { box-shadow: var(--sh-glow); }

/* ═══════════════════ FOOTER ═══════════════════ */
.site-footer {
  background-color: var(--c-bg-deep);
  border-top: 1px solid var(--c-border);
  padding: var(--sp-16) 0 var(--sp-8);
  margin-top: var(--sp-16);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-8); margin-bottom: var(--sp-12); }
.footer-col h3 { font-size: var(--fs-sm); color: var(--c-text); margin-bottom: var(--sp-4); }
.footer-col a { display: flex; align-items: center; min-height: 40px; color: var(--c-text-2); font-size: var(--fs-sm); padding: var(--sp-1) 0; }
.footer-col a:hover { color: var(--c-accent); text-decoration: none; }
.footer-brand p { color: var(--c-text-2); font-size: var(--fs-sm); max-width: 300px; margin-top: var(--sp-3); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-6);
  display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
  color: var(--c-text-3); font-size: var(--fs-xs);
}
.footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--sp-2); }
a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--sp-1); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════ STICKY MOBILE CTA ═══════════════════ */
.mobile-cta {
  display: none; position: sticky; bottom: 0; z-index: 90;
  background: rgba(7,10,14,0.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-border-accent);
  padding: var(--sp-2) var(--container-pad);
}
.mobile-cta .btn { width: 100%; min-height: 48px; }
@media (max-width: 768px) { .mobile-cta { display: block; } }

/* ═══════════════════ MODAL INQUIRY ═══════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(7, 10, 14, 0.8);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: var(--sp-4);
}
.modal-overlay.open { display: flex; }
.modal-dialog {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 760px; width: 100%;
  max-height: 92vh; overflow: hidden;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border-accent);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md), var(--sh-glow-sm);
  position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: rgba(7,10,14,0.6); border: 1px solid var(--c-border);
  color: var(--c-text); font-size: var(--fs-xl); line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { border-color: var(--c-accent); color: var(--c-accent); }
.modal-image-panel { position: relative; overflow: hidden; min-height: 100%; }
.modal-image-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-image-overlay { position: absolute; inset: 0; background: var(--modal-overlay-gradient); }
.modal-image-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: var(--sp-8) var(--sp-6);
}
.mi-label { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--tracking-wider); color: var(--c-accent); text-transform: uppercase; margin-bottom: var(--sp-2); }
.mi-value { font-size: var(--fs-md); font-weight: 600; color: var(--c-text); line-height: var(--lh-snug); }
.mi-value strong { color: var(--c-warning); }
.modal-form-panel { padding: var(--sp-8) var(--sp-6); display: flex; flex-direction: column; justify-content: center; }
.modal-form-panel h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }
.mf-subtitle { color: var(--c-text-2); font-size: var(--fs-sm); margin-bottom: var(--sp-6); }
@media (max-width: 640px) {
  .modal-dialog { grid-template-columns: 1fr; max-width: 420px; max-height: 94vh; overflow-y: auto; }
  .modal-image-panel { min-height: 170px; max-height: 200px; }
}

/* ═══════════════════ FORMS ═══════════════════ */
.form-group { margin-bottom: var(--sp-5); }
.form-group label {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--c-text-2); margin-bottom: var(--sp-2);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
}
.form-control {
  width: 100%; min-height: 48px;
  background: var(--c-bg-deep);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color var(--t-fast);
}
.form-control:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-dim); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-note { color: var(--c-text-3); font-size: var(--fs-xs); margin-top: var(--sp-3); }

/* ═══════════════════ FAQ ═══════════════════ */
.faq-item { border: 1px solid var(--c-border); border-radius: var(--r-lg); margin-bottom: var(--sp-3); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left;
  background: var(--c-bg-alt); border: none;
  padding: var(--sp-5) var(--sp-6);
  color: var(--c-text); font-size: var(--fs-md); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  min-height: 48px;
}
.faq-q:hover { color: var(--c-accent); }
.faq-q::after {
  content: "+"; font-family: var(--font-mono); color: var(--c-accent);
  font-size: var(--fs-xl); flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 var(--sp-6) var(--sp-5); color: var(--c-text-2); font-size: var(--fs-sm); }
.faq-item.open .faq-a { display: block; }

/* ═══════════════════ TABLE (specs) ═══════════════════ */
.spec-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
@media (max-width: 560px) {
  .spec-table { min-width: 540px; }
}
.spec-table th, .spec-table td { text-align: left; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--c-border); }
.spec-table th { font-family: var(--font-mono); color: var(--c-accent); font-weight: 600; letter-spacing: var(--tracking-wide); text-transform: uppercase; font-size: var(--fs-xs); }
.spec-table td:first-child { color: var(--c-text-2); white-space: nowrap; }
.spec-table tr:hover td { background: rgba(0,229,160,0.03); }
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-lg); }

/* ═══════════════════ BREADCRUMB ═══════════════════ */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-3); padding: var(--sp-4) 0 0; }
.breadcrumb a { color: var(--c-text-2); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { color: var(--c-text-3); }

/* ═══════════════════ SPLIT SECTION ═══════════════════ */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-10); align-items: stretch;
}
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-border); min-height: 420px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(7,10,14,0.55) 100%);
  pointer-events: none;
}
.split-body .btn { margin-top: var(--sp-4); }
.split-body ul { margin: var(--sp-4) 0; }
.split-body li { color: var(--c-text-2); padding-left: var(--sp-5); position: relative; margin-bottom: var(--sp-2); font-size: var(--fs-sm); }
.split-body li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 2px; background: var(--c-accent); box-shadow: var(--sh-glow-sm); }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: var(--sp-6); } }
@media (max-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════ STATS / DATA BAR ═══════════════════ */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-6); }
.stat-item { text-align: center; padding: var(--sp-5); border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg-alt); }
.stat-value { font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-3xl); color: var(--c-accent); display: block; }
.stat-value.orange { color: var(--c-warning); }
.stat-label { color: var(--c-text-2); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-top: var(--sp-2); display: block; }

/* ═══════════════════ BLOG CARDS ═══════════════════ */
.blog-card { background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; display: block; color: var(--c-text); transition: all var(--t-med); }
.blog-card:hover { border-color: var(--c-border-accent); box-shadow: var(--sh-glow-sm); text-decoration: none; transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: var(--sp-5); }
.blog-card-body h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.blog-card-meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--c-text-3); margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: var(--tracking-wide); }

/* ═══════════════════ IMAGE GALLERY ═══════════════════ */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-4); }
.gallery-item { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); }
.gallery-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform var(--t-med); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(7,10,14,0.9), transparent);
  color: var(--c-text); font-size: var(--fs-xs); padding: var(--sp-6) var(--sp-4) var(--sp-3);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
}

/* ═══════════════════ RESPONSIVE GRID ═══════════════════ */
@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-10) 0; }
  .hero { min-height: 72vh; }
  .hero-actions .btn { width: 100%; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════ SCROLL REVEAL ═══════════════════ */
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.reveal-ready [data-reveal].revealed { opacity: 1; transform: none; }

/* ═══════════════════ REDUCED MOTION ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
