/* ============================================================
   VECOPLAN PHARMA — GLOBAL DESIGN SYSTEM
   Awwwards-grade. GMP-trusted. Production-ready.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --bg-primary:    #F2F4F7;
  --bg-secondary:  #E8ECF2;
  --bg-surface:    #FFFFFF;
  --bg-dark:       #0D1F35;
  --bg-dark-alt:   #112845;

  --text-primary:  #0D1F35;
  --text-secondary:#4A5568;
  --text-muted:    #8896A8;
  --text-inverse:  #F2F4F7;

  --accent-primary: #0066CC;
  --accent-teal:    #00A693;
  --accent-platinum:#C8D4E0;
  --accent-gold:    #B8963E;
  --accent-alert:   #E8442A;

  --border-light:  #D4DCE8;
  --border-dark:   rgba(200,212,224,0.15);

  --shadow-soft:    rgba(13,31,53,0.08);
  --shadow-medium:  rgba(13,31,53,0.16);
  --shadow-elevated:rgba(13,31,53,0.24);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --nav-height: 72px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill:999px;

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Lenis smooth scroll */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 64px);
  transition: background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out);
}
.navbar.nav-transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar.nav-scrolled {
  background: rgba(242,244,247,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 24px var(--shadow-soft);
}
.navbar.nav-dark-page {
  background: rgba(13,31,53,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.3s;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--accent-primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* SVG logo styles */
.nav-logo-svg {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);          /* white on dark */
  transition: filter 0.4s ease;
}
.navbar.nav-scrolled .nav-logo-svg {
  /* Tints to #0D1F35 — your --text-primary navy */
  filter: brightness(0) saturate(100%)
          invert(10%) sepia(30%)
          saturate(800%) hue-rotate(185deg)
          brightness(85%);
}
.footer-logo-svg {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.navbar.nav-transparent .nav-logo { color: var(--text-inverse); }
.navbar.nav-dark-page .nav-logo { color: var(--text-inverse); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(13,31,53,0.06);
}
.navbar.nav-transparent .nav-links a,
.navbar.nav-dark-page .nav-links a {
  color: rgba(242,244,247,0.75);
}
.navbar.nav-transparent .nav-links a:hover,
.navbar.nav-transparent .nav-links a.active,
.navbar.nav-dark-page .nav-links a:hover,
.navbar.nav-dark-page .nav-links a.active {
  color: var(--text-inverse);
  background: rgba(255,255,255,0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-nav-ghost {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.btn-nav-ghost:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.navbar.nav-transparent .btn-nav-ghost,
.navbar.nav-dark-page .btn-nav-ghost {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}
.navbar.nav-transparent .btn-nav-ghost:hover,
.navbar.nav-dark-page .btn-nav-ghost:hover {
  border-color: white;
  color: white;
}
.btn-nav-primary {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  color: white;
  transition: all 0.25s var(--ease-spring);
  letter-spacing: 0.01em;
}
.btn-nav-primary:hover {
  background: #0052A3;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,102,204,0.35);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar.nav-transparent .nav-hamburger span,
.navbar.nav-dark-page .nav-hamburger span { background: white; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 20px clamp(24px, 5vw, 64px);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-out);
  z-index: 999;
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-height));
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--accent-primary); }
.mobile-menu .mobile-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  color: white;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: #0052A3;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,102,204,0.4);
}
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
  transition: all 0.25s;
}
.btn-ghost-dark:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,0.08);
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  transition: all 0.25s;
}
.btn-ghost-light:hover {
  background: var(--accent-primary);
  color: white;
}
.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--accent-teal);
  color: white;
  transition: all 0.25s var(--ease-spring);
}
.btn-teal:hover { background: #008F7D; transform: translateY(-1px); }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-primary);
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.btn-download:hover { gap: 12px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.body-xl { font-size: 20px; font-weight: 300; line-height: 1.7; }
.body-lg { font-size: 18px; font-weight: 400; line-height: 1.65; }
.body-base { font-size: 16px; font-weight: 400; line-height: 1.6; }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.55; }
.spec-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.label-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── SECTION WRAPPERS ───────────────────────────────────────── */
.section-light   { background: var(--bg-primary); }
.section-alt     { background: var(--bg-secondary); }
.section-dark    { background: var(--bg-dark); }
.section-dark-alt{ background: var(--bg-dark-alt); }

section { padding: clamp(64px, 8vw, 120px) clamp(24px, 5vw, 64px); }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-header.centered { text-align: center; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header .section-sub {
  color: var(--text-secondary);
  max-width: 600px;
}
.section-header.centered .section-sub { margin: 0 auto; }

/* ── BADGES / CHIPS ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.badge-new     { background: rgba(0,102,204,0.1);   color: var(--accent-primary); }
.badge-ai      { background: rgba(99,102,241,0.1);  color: #6366F1; }
.badge-cat     { background: rgba(0,166,147,0.1);   color: var(--accent-teal); }
.badge-cert    { background: rgba(184,150,62,0.1);  color: var(--accent-gold); }
.badge-alert   { background: rgba(232,68,42,0.1);   color: var(--accent-alert); }

/* ── PRODUCT CARDS ──────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 20px 60px var(--shadow-medium);
  transform: translateY(-4px);
}
.product-card-image {
  background: var(--bg-secondary);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-card-image .img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.product-card-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.product-card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}
.product-card-specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
}
.product-card-spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.product-card-spec::before {
  content: '●';
  color: var(--accent-teal);
  font-size: 8px;
  margin-top: 3px;
  flex-shrink: 0;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.product-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.product-card-link:hover { gap: 8px; }

/* ── MACHINE IMAGE PLACEHOLDER ─────────────────────────────── */
.machine-visual {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.machine-visual .visual-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
/* SVG machine icons */
.machine-icon { opacity: 0.55; }

/* ── STAT CARDS ─────────────────────────────────────────────── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--bg-dark);
}
.stat-item {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--border-dark);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--accent-teal);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 12px;
  color: rgba(242,244,247,0.5);
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.stat-context {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(242,244,247,0.3);
  margin-top: 4px;
}

/* ── APPLICATION CARDS ──────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 220px);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) transparent;
}
.app-card {
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
  min-height: 280px;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px var(--shadow-medium);
}
.app-card:hover::before { transform: scaleX(1); }
.app-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
}
.app-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.app-card-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
  margin-top: auto;
}

/* ── CERT CARDS ─────────────────────────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.cert-card:hover { box-shadow: 0 8px 32px var(--shadow-soft); }
.cert-strip {
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
}
.cert-strip.navy  { background: var(--bg-dark); }
.cert-strip.teal  { background: var(--accent-teal); }
.cert-strip.gold  { background: var(--accent-gold); }
.cert-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  flex-shrink: 0;
  text-align: center;
  line-height: 1.2;
}
.cert-icon.navy { background: rgba(13,31,53,0.08); color: var(--bg-dark); }
.cert-icon.teal { background: rgba(0,166,147,0.1); color: var(--accent-teal); }
.cert-icon.gold { background: rgba(184,150,62,0.1); color: var(--accent-gold); }
.cert-body { flex: 1; }
.cert-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.cert-body p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cert-body .cert-scope {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
}
.cert-body .btn-download { margin-top: 12px; }

/* ── COMPLIANCE BLOCK ───────────────────────────────────────── */
.compliance-block {
  background: rgba(0,102,204,0.06);
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  margin-top: 48px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  font-style: italic;
}
.compliance-block.dark {
  background: rgba(255,255,255,0.04);
  border-color: var(--accent-teal);
  color: var(--text-inverse);
}

/* ── NEWS CARDS ─────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-card:hover {
  box-shadow: 0 12px 40px var(--shadow-medium);
  transform: translateY(-3px);
}
.news-card-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-card-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.news-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.news-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.news-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s;
}
.news-card-link:hover { gap: 8px; }

/* ── LOAD MORE ──────────────────────────────────────────────── */
.load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ── EVENT CARDS ────────────────────────────────────────────── */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.event-card:hover {
  box-shadow: 0 8px 32px var(--shadow-soft);
  transform: translateX(4px);
}
.event-date {
  flex-shrink: 0;
  text-align: center;
  min-width: 80px;
}
.event-date .month {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.event-date .day {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  font-family: var(--font-display);
}
.event-date .year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.event-divider {
  width: 1px; height: 60px;
  background: var(--border-light);
  flex-shrink: 0;
}
.event-body { flex: 1; }
.event-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.event-location {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-teal);
  margin-bottom: 8px;
}
.event-body p { font-size: 13px; color: var(--text-secondary); }
.event-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── DOWNLOAD LIST ──────────────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.download-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.2s;
}
.download-item:hover { box-shadow: 0 4px 20px var(--shadow-soft); }
.download-icon {
  width: 48px; height: 48px;
  background: rgba(0,102,204,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-primary);
}
.download-body { flex: 1; }
.download-body h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.download-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ── CASE STUDY CARDS ───────────────────────────────────────── */
.case-study-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 420px;
}
.case-study-image {
  background: linear-gradient(135deg, #0D1F35 0%, #112845 40%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}
.case-study-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-study-body .eyebrow { color: var(--accent-teal); }
.case-study-body blockquote {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--text-inverse);
  line-height: 1.5;
}
.case-study-body .attribution {
  font-size: 13px;
  color: rgba(242,244,247,0.5);
  font-style: italic;
}
.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  color: rgba(242,244,247,0.6);
}
.case-study-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.case-study-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.case-study-secondary:hover {
  box-shadow: 0 12px 40px var(--shadow-medium);
  transform: translateY(-3px);
}
.case-study-secondary .eyebrow { margin-bottom: 12px; }
.case-study-secondary h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.case-study-secondary p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.case-metrics {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.case-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-teal);
  padding: 4px 10px;
  background: rgba(0,166,147,0.08);
  border-radius: var(--radius-pill);
}

/* ── CONTACT FORM ───────────────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.contact-left {
  background: var(--bg-dark);
  padding: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-right {
  background: var(--bg-primary);
  padding: clamp(48px, 6vw, 80px);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-info-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.contact-info-text {
  font-size: 14px;
  color: rgba(242,244,247,0.6);
  line-height: 1.5;
}
.contact-info-text strong { color: var(--text-inverse); font-weight: 600; }
.office-flags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.office-flag {
  font-size: 18px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

/* Form styles */
.enquiry-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; position: relative; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(0,102,204,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Checkbox group */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.checkbox-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-secondary);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent-primary); }

/* File drop zone */
.drop-zone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--bg-surface);
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--accent-primary);
  background: rgba(0,102,204,0.03);
}
.drop-zone .drop-icon { font-size: 28px; margin-bottom: 8px; opacity: 0.5; }
.drop-zone p { font-size: 13px; color: var(--text-muted); }
.drop-zone .drop-hint { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.drop-zone .file-name {
  display: none;
  font-size: 13px;
  color: var(--accent-teal);
  font-weight: 500;
  margin-top: 8px;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent-primary);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover { background: #0052A3; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,102,204,0.35); }
.btn-submit .submit-spinner { display: none; }
.btn-submit .submit-check { display: none; }
.btn-submit.loading .submit-text { display: none; }
.btn-submit.loading .submit-spinner { display: block; }
.btn-submit.success { background: var(--accent-teal); }
.btn-submit.success .submit-text { display: none; }
.btn-submit.success .submit-check { display: block; }

/* ── TABS ───────────────────────────────────────────────────── */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}
.tab-btn {
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  font-family: var(--font-body);
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── SMART CONNECT DASHBOARD ────────────────────────────────── */
.dashboard-mock {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  font-family: var(--font-mono);
}
.dashboard-header {
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-header h5 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-inverse);
}
.live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent-teal);
}
.live-dot::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent-teal);
  border-radius: 50%;
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.dashboard-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dashboard-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dashboard-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.dashboard-kpi .kpi-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.dashboard-kpi .kpi-value { font-size: 22px; font-weight: 500; color: var(--accent-teal); }
.dashboard-kpi .kpi-sub { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 4px; }
.dashboard-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.dashboard-bar-fill {
  height: 100%;
  background: var(--accent-teal);
  border-radius: 2px;
  transition: width 2s var(--ease-out);
}
.dashboard-footer {
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-footer span { font-size: 11px; color: rgba(255,255,255,0.35); }
.dashboard-footer strong { color: rgba(255,255,255,0.6); }

/* ── HOW IT WORKS / THREE.JS ────────────────────────────────── */
.how-it-works-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 80vh;
  gap: 0;
}
.hiw-left {
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hiw-canvas {
  position: relative;
  background: var(--bg-dark);
}
#three-canvas { width: 100%; height: 100%; display: block; }
.hotspot-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: all;
  cursor: pointer;
}
.hotspot-dot {
  width: 16px; height: 16px;
  background: var(--accent-teal);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 0 rgba(0,166,147,0.4);
  animation: hotspot-pulse 2s ease-in-out infinite;
  transition: transform 0.2s var(--ease-spring);
}
.hotspot:hover .hotspot-dot { transform: scale(1.3); }
@keyframes hotspot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,166,147,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(0,166,147,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,166,147,0); }
}
.hotspot-info {
  background: rgba(13,31,53,0.94);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 280px;
}
.hotspot-info h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hotspot-info p { font-size: 13px; color: rgba(242,244,247,0.7); line-height: 1.55; }
.hotspot-info .cert-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-gold);
  margin-top: 10px;
  display: block;
}
.hiw-hotspot-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 160px;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.hiw-hotspot-panel.visible { opacity: 1; transform: translateX(0); }
.hiw-hotspot-panel h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.hiw-hotspot-panel p { font-size: 14px; color: rgba(242,244,247,0.7); line-height: 1.6; }
.hiw-hotspot-panel .std { font-family: var(--font-mono); font-size: 11px; color: var(--accent-gold); margin-top: 12px; }
.hiw-hotspot-panel .panel-link { font-family: var(--font-mono); font-size: 12px; color: var(--accent-primary); margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }
.hotspot-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hotspot-legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(255,255,255,0.02);
}
.hotspot-legend-item:hover, .hotspot-legend-item.active {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent-teal);
}
.hotspot-legend-num {
  width: 24px; height: 24px;
  background: var(--accent-teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: white;
  font-weight: 500;
  flex-shrink: 0;
}
.hotspot-legend-label { font-size: 13px; color: rgba(242,244,247,0.7); }

/* ── WORLD MAP ──────────────────────────────────────────────── */
.world-map-section {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.world-map-title { margin-bottom: 8px; }
.world-map-stat { font-family: var(--font-mono); font-size: 12px; color: rgba(242,244,247,0.4); margin-bottom: 32px; }
.world-svg-wrap { position: relative; width: 100%; max-width: 800px; margin: 0 auto; }
.world-svg-wrap svg { width: 100%; height: auto; }
.map-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--accent-teal);
  border-radius: 50%;
  border: 2px solid rgba(0,166,147,0.3);
  cursor: pointer;
  animation: map-pulse 3s ease-in-out infinite;
  transform: translate(-50%, -50%);
}
.map-dot:hover::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark-alt);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: white;
  white-space: nowrap;
  pointer-events: none;
}
@keyframes map-pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-inverse);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 13px; color: rgba(242,244,247,0.45); line-height: 1.6; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: all 0.2s;
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
}
.social-btn:hover { background: rgba(255,255,255,0.12); color: white; }
.footer-col h6 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242,244,247,0.3);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(242,244,247,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-inverse); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(242,244,247,0.3); font-family: var(--font-mono); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(242,244,247,0.3); font-family: var(--font-mono); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(242,244,247,0.6); }
.footer-certs { display: flex; gap: 10px; align-items: center; }
.footer-cert-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  color: rgba(242,244,247,0.3);
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}
.fade-in.visible { opacity: 1; }

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.30s; }

/* ── HERO SPECIFIC ──────────────────────────────────────────── */
.hero-section {
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: 10%; right: 5%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(0,102,204,0.18) 0%,
    rgba(0,166,147,0.06) 45%,
    transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 80px clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0,166,147,0.1);
  border: 1px solid rgba(0,166,147,0.25);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-teal);
  border-radius: 50%;
}
.hero-badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-teal);
  letter-spacing: 0.12em;
}
.hero-h1 {
  color: var(--text-inverse);
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: italic;
  /* color: rgba(242,244,247,0.75); */
  color: var(--accent-teal);
  /* color: rgba(242,244,247,0.75); */
}
/* .hero-h1 em { font-style: italic; color: var(--accent-teal); } */
.hero-sub {
  color: rgba(242,244,247,0.6);
  max-width: 480px;
  margin-bottom: 36px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(242,244,247,0.35);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.trust-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.hero-right { position: relative; }
.hero-machine-visual {
  width: 100%;
  aspect-ratio: 1 / 0.85;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-machine-svg {
  width: 80%;
  height: 80%;
  position: absolute;
}
.hero-data-card {
  position: absolute;
  bottom: 24px; right: 24px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  min-width: 220px;
}
.hero-data-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.hero-data-title::before {
  content:'';
  width:6px; height:6px;
  background: var(--accent-teal);
  border-radius:50%;
  animation: pulse-live 2s infinite;
}
.hero-data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.hero-data-row .key { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.35); }
.hero-data-row .val { font-family: var(--font-mono); font-size: 13px; color: var(--accent-teal); font-weight: 500; }
.hero-data-row .val.white { color: rgba(255,255,255,0.8); }
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.scroll-indicator span { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; width: 100%; height: 100%;
  background: rgba(255,255,255,0.5);
  animation: scroll-dot 1.5s ease-in-out infinite;
}
@keyframes scroll-dot { 0%{top:-100%} 100%{top:200%} }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--bg-dark);
  padding: calc(var(--nav-height) + 60px) clamp(24px, 5vw, 64px) 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(0,102,204,0.2), transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { color: var(--text-inverse); margin-bottom: 20px; }
.page-hero p { color: rgba(242,244,247,0.55); max-width: 600px; font-size: 18px; font-weight: 300; line-height: 1.7; }

/* ── TWO-COL ALTERNATING ────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.service-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: all 0.2s;
}
.feature-chip:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.service-quote {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-top: 20px;
}
.service-quote p { font-size: 14px; color: var(--text-secondary); font-style: italic; line-height: 1.6; }
.service-quote cite { font-size: 12px; color: var(--text-muted); margin-top: 8px; display: block; font-style: normal; font-family: var(--font-mono); }

/* ── TIMELINE ───────────────────────────────────────────────── */
.timeline-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 16px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) transparent;
}
.timeline-strip::before {
  content: '';
  position: absolute;
  top: 24px; left: 0; right: 0;
  height: 1px;
  background: var(--border-dark);
}
.timeline-item {
  flex-shrink: 0;
  min-width: 180px;
  padding-top: 48px;
  padding-right: 24px;
  position: relative;
}
.timeline-dot {
  position: absolute;
  top: 18px; left: 0;
  width: 12px; height: 12px;
  background: var(--accent-teal);
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
  margin-bottom: 6px;
}
.timeline-event { font-size: 13px; color: rgba(242,244,247,0.6); line-height: 1.4; }

/* ── LEADERSHIP ─────────────────────────────────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.leader-card {
  text-align: center;
}
.leader-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--bg-dark-alt), #1a3a5c);
  border: 2px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: rgba(255,255,255,0.3);
}
.leader-name { font-size: 15px; font-weight: 600; color: var(--text-inverse); margin-bottom: 4px; }
.leader-role { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; }

/* ── SPINNER ─────────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── HERO MACHINE SVG ANIMATION ─────────────────────────────── */
.schematic-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-path 2.5s var(--ease-out) forwards;
  animation-delay: 1s;
}
@keyframes draw-path { to { stroke-dashoffset: 0; } }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-bar { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .how-it-works-layout { grid-template-columns: 1fr; }
  .hiw-canvas { min-height: 400px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .case-study-featured { grid-template-columns: 1fr; }
  .case-study-image { min-height: 200px; }
  .contact-section { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 220px); }
  .download-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .case-study-secondary-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .event-card { flex-direction: column; gap: 16px; }
  .event-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .leadership-grid { grid-template-columns: 1fr 1fr; }
}

/* ── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .fade-in { opacity: 1 !important; transform: none !important; }
}

/* ── PRODUCT FILTER (products page) ────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  font-size: 13px;
}
.filter-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.filter-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}
.product-card[data-cat] { transition: opacity 0.3s, transform 0.3s; }
.product-card.hidden { opacity: 0; pointer-events: none; transform: scale(0.96); height: 0; margin: 0; overflow: hidden; padding: 0; border: none; }
