/* ===================== TOKENS ===================== */
:root{
  --navy: #173993;
  --navy-deep: #0F2868;
  --cyan: #1F8FC4;
  --orange: #F5A623;
  --ice: #EAF1FB;
  --paper: #FAFAF9;
  --ink: #14213D;
  --ink-soft: #4A5670;
  --line: #D7E2F0;

  --font-display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-family: var(--font-display); margin:0; line-height:1.08; letter-spacing:-0.01em; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline: 2px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin: 0 0 12px;
}
.eyebrow-light{ color: #8FC4EA; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); }
.btn-orange{ background: var(--orange); color: var(--navy-deep); }
.btn-orange:hover{ box-shadow: 0 10px 24px -8px rgba(245,166,35,.55); }
.btn-ghost{ border-color: rgba(255,255,255,.55); color:#fff; }
.btn-ghost:hover{ background: rgba(255,255,255,.1); }
.btn-small{ padding: 9px 18px; font-size: 13.5px; }

/* ===================== HEADER ===================== */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(250,250,249,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 72px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ width:34px; height:34px; object-fit:contain; }
.brand-name{ font-family: var(--font-display); font-weight:700; font-size:17px; color: var(--navy); }
.brand-name em{ font-style:normal; font-weight:500; color: var(--ink-soft); }
.main-nav{ display:flex; gap:30px; }
.main-nav a{ font-size:14.5px; font-weight:500; color: var(--ink-soft); margin-right:30px; }
.main-nav a:last-child{ margin-right:0; }
.main-nav a:hover{ color: var(--navy); }
.header-right{ display:flex; align-items:center; gap:16px; }

.lang-switch{ display:flex; border:1px solid var(--line); border-radius:999px; padding:3px; gap:2px; }
.lang-btn{
  border:none; background:transparent; cursor:pointer;
  font-family: var(--font-mono); font-size:12px; font-weight:600;
  padding:6px 11px; border-radius:999px; color: var(--ink-soft);
}
.lang-btn.is-active{ background: var(--navy); color:#fff; }

/* ===================== HERO ===================== */
.hero{
  position:relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 62%, #1a4bb8 100%);
  color:#fff;
  overflow:hidden;
  padding-top: 84px;
}
.hero-routes{ position:absolute; inset:0; opacity:.55; }
.hero-routes svg{ width:100%; height:100%; }
.hero-routes .route{
  fill:none; stroke: var(--cyan); stroke-width:1.4; stroke-dasharray: 6 7;
  animation: dash 26s linear infinite;
}
.hero-routes .route:nth-child(4){ stroke: var(--orange); }
.hero-routes .node{ fill:#fff; }
.hero-routes .node-label{ fill:#B9CDEF; font-family: var(--font-mono); font-size:13px; }
@keyframes dash{ to{ stroke-dashoffset: -400; } }

.hero-inner{ position:relative; padding: 64px 28px 96px; max-width: 760px; }
.hero h1{ font-size: clamp(32px, 4.6vw, 52px); font-weight:700; margin-bottom:22px; }
.hero-sub{ font-size:17px; line-height:1.6; color:#CBD9F2; max-width:600px; margin-bottom:34px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }

.stat-bar{ position:relative; border-top:1px solid rgba(255,255,255,.14); background: rgba(15,40,104,.55); }
.stat-bar-inner{
  display:grid; grid-template-columns: repeat(4,1fr); gap:20px;
  padding: 26px 28px;
}
.stat{ display:flex; flex-direction:column; gap:4px; }
.stat-num{ font-family: var(--font-mono); font-weight:600; font-size:20px; color:#fff; }
.stat span:last-child{ font-size:12.5px; color:#AFC3E8; }

/* ===================== SECTIONS (generic) ===================== */
.section{ padding: 92px 0; }
.section-ice{ background: var(--ice); }
.section-navy{ background: linear-gradient(175deg, var(--navy-deep), var(--navy)); color:#fff; }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(26px, 3.2vw, 38px); margin-bottom:14px; color: var(--navy); }
.section-navy .section-head h2, .section-navy h2{ color:#fff; }
.section-sub{ color: var(--ink-soft); font-size:15.5px; line-height:1.6; }

/* ===================== ABOUT ===================== */
.about-grid{ display:grid; grid-template-columns: 1.05fr 1fr; gap:56px; align-items:center; }
.about-copy h2{ font-size: clamp(26px,3.2vw,36px); color: var(--navy); margin-bottom:18px; }
.about-copy p{ color: var(--ink-soft); line-height:1.65; margin-bottom:16px; font-size:15.5px; }
.about-badges{ margin-top:22px; border-radius:14px; overflow:hidden; box-shadow: 0 18px 40px -20px rgba(23,57,147,.35); }
.about-media img{ border-radius:16px; box-shadow: 0 24px 56px -22px rgba(23,57,147,.4); }

/* ===================== FILTERS + PRODUCT GRID ===================== */
.filters{ display:flex; gap:10px; margin-bottom: 30px; }
.filter-btn{
  font-family: var(--font-mono); font-size:13px; font-weight:600;
  padding:9px 18px; border-radius:999px; border:1.5px solid var(--line);
  background:#fff; color: var(--ink-soft); cursor:pointer;
  transition: all .15s ease;
}
.filter-btn:hover{ border-color: var(--cyan); color: var(--navy); }
.filter-btn.is-active{ background: var(--navy); border-color: var(--navy); color:#fff; }

.product-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 22px;
}
.pcard{
  background:#fff; border:1px solid var(--line); border-radius:16px;
  overflow:hidden; display:flex; flex-direction:column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pcard:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(23,57,147,.35); }
.pcard-media{ aspect-ratio: 4/3; background:#fff; display:flex; align-items:center; justify-content:center; padding:14px; border-bottom:1px solid var(--line); }
.pcard-media img{ width:100%; height:100%; object-fit:contain; }
.pcard-body{ padding:16px 18px 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.pcard-code{ font-family: var(--font-mono); font-weight:600; font-size:14.5px; color: var(--navy); }
.pcard-tag{ font-family: var(--font-mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase; color: var(--cyan); }
.pcard-specs{ font-size:12.8px; color: var(--ink-soft); line-height:1.6; margin-top:auto; }
.pcard-specs div{ display:flex; justify-content:space-between; gap:8px; border-top:1px dashed var(--line); padding:5px 0; }
.pcard-specs div:first-child{ border-top:none; }
.pcard-cta{
  margin-top:12px; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-size:12.5px; font-weight:600;
  padding:9px; border-radius:999px; background: var(--ice); color: var(--navy);
}
.pcard:hover .pcard-cta{ background: var(--orange); color: var(--navy-deep); }
.no-results{ font-family: var(--font-mono); color: var(--ink-soft); padding: 40px 0; text-align:center; }

/* ===================== BATTERY ===================== */
.battery-grid{ display:grid; grid-template-columns: 1fr 1.05fr; gap:56px; align-items:center; }
.battery-copy p{ color:#CBD9F2; line-height:1.65; font-size:15.5px; margin-bottom:26px; }
.battery-list{ display:flex; flex-direction:column; gap:18px; }
.battery-list li{ display:flex; align-items:baseline; gap:14px; border-top:1px solid rgba(255,255,255,.16); padding-top:14px; }
.battery-list li:first-child{ border-top:none; padding-top:0; }
.battery-list strong{ font-family: var(--font-mono); font-size:16px; min-width:110px; color:#fff; }
.battery-list span{ color:#AFC3E8; font-size:14px; }
.battery-media img{ border-radius:16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); }

/* ===================== PROCESS ===================== */
.process-list{ display:grid; grid-template-columns: repeat(5,1fr); gap:22px; }
.process-list li{ display:flex; flex-direction:column; gap:12px; padding-top:18px; border-top:2px solid var(--line); }
.pnum{ font-family: var(--font-mono); font-weight:600; color: var(--cyan); font-size:13px; }
.process-list strong{ font-family: var(--font-display); font-size:16.5px; color: var(--navy); }
.process-list p{ font-size:13.6px; color: var(--ink-soft); line-height:1.55; margin-top:6px; }

/* ===================== FOOTER ===================== */
.site-footer{ background: var(--navy-deep); color:#fff; padding-top: 80px; }
.footer-inner{ display:grid; grid-template-columns: 1.2fr 1fr; gap:40px; padding-bottom: 56px; border-bottom:1px solid rgba(255,255,255,.14); }
.footer-logo{ width:46px; height:46px; margin-bottom:22px; }
.footer-left h2{ font-size: clamp(24px,3vw,32px); margin-bottom:14px; }
.footer-left p{ color:#AFC3E8; font-size:14.5px; max-width:420px; line-height:1.6; }
.footer-right{ display:flex; flex-direction:column; justify-content:center; gap:22px; }
.contact-line{ display:flex; flex-direction:column; gap:4px; }
.contact-label{ font-family: var(--font-mono); font-size:12px; color:#8FC4EA; text-transform:uppercase; letter-spacing:.06em; }
.contact-value{ font-size:19px; font-weight:600; }
.contact-line:hover .contact-value{ color: var(--orange); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  padding: 22px 28px 30px; font-size:12.5px; color:#7C93C2; font-family: var(--font-mono);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px){
  .main-nav{ display:none; }
  .about-grid, .battery-grid{ grid-template-columns: 1fr; }
  .about-media{ order:-1; }
  .stat-bar-inner{ grid-template-columns: repeat(2,1fr); }
  .process-list{ grid-template-columns: repeat(2,1fr); }
  .footer-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .hero-inner{ padding: 44px 20px 70px; }
  .process-list{ grid-template-columns: 1fr; }
  .header-right .btn-small{ display:none; }
}
