
/* ═══════════════════════════════════════
   DESIGN SYSTEM
═══════════════════════════════════════ */
:root {
  --g: #0aea80;
  --c: #05b2e6;
  --n: #00385c;
  --n-deep: #001929;
  --n-mid: #00527f;
  --n-light: #0a7aad;
  --white: #ffffff;
  --cream: #f7fbff;
  --surface: #eef7fc;
  --border: rgba(0,56,92,0.11);
  --border-light: rgba(0,56,92,0.06);
  --text: #0d1f2d;
  --text-2: #3a5568;
  --text-3: #6b8fa8;
  --g-glow: rgba(10,234,128,0.2);
  --c-glow: rgba(5,178,230,0.18);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--white); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--sans); }

/* ═══════════════════════════════════════
   PAGE ROUTER
═══════════════════════════════════════ */
/* multi-page architecture — no SPA display toggling */

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.45s cubic-bezier(0.4,0,0.2,1),
              backdrop-filter 0.45s ease,
              border-color 0.45s ease,
              box-shadow 0.45s ease;
}
nav.scrolled {
  background: rgba(0,25,41,0.96);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(5,178,230,0.1);
  box-shadow: 0 4px 40px rgba(0,0,0,0.35);
}
.nav-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo { height: 38px; cursor: pointer; flex-shrink: 0; mix-blend-mode: screen; }
.nav-logo-fallback { font-family: var(--sans); font-weight: 800; font-size: 22px; color: var(--n); cursor: pointer; letter-spacing: -0.03em; }
.nav-center { display: flex; align-items: center; gap: 2px; list-style: none; flex: 1; justify-content: center; }
.nav-center > li { position: relative; }
.nav-center > li > a {
  display: block; padding: 8px 16px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82);
  border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-center > li > a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-center > li > a.has-dropdown::after { content: ' '; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid rgba(255,255,255,0.6); margin-left: 6px; vertical-align: middle; }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 10px;
  padding-top: 18px; /* visual gap — keeps hover zone contiguous with nav item */
  min-width: 240px;
  box-shadow: 0 20px 60px rgba(0,25,41,0.14), 0 0 0 1px rgba(0,56,92,0.04);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  /* Delay hide by 200ms so mouse can travel from nav item into dropdown */
  transition: opacity 0.2s 0.2s, transform 0.2s 0.2s, visibility 0s 0.4s;
  z-index: 100;
}
.nav-center > li:hover .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  /* Show instantly — no delay */
  transition: opacity 0.18s, transform 0.18s, visibility 0s;
}
.nav-dropdown-section { margin-bottom: 4px; }
.nav-dropdown-section:last-child { margin-bottom: 0; }
.nav-dropdown-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding: 6px 12px 4px; }
.nav-dropdown a {
  display: block; padding: 9px 12px;
  font-size: 13.5px; font-weight: 400; color: var(--text);
  border-radius: 8px; cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.nav-dropdown a:hover { background: var(--surface); color: var(--n); }
/* Dropdown label text — dark, inside white panel */
.nav-dropdown-label { color: var(--text-3); }
.nav-dropdown .divider { height: 1px; background: var(--border-light); margin: 6px 0; }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login { padding: 8px 18px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.78); border: 1.5px solid rgba(255,255,255,0.22); border-radius: 9px; transition: all 0.2s; background: transparent; }
.nav-login:hover { border-color: rgba(255,255,255,0.65); color: #fff; }
.nav-demo { padding: 9px 22px; font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--g), var(--c)); color: var(--n-deep); border: none; border-radius: 9px; transition: all 0.2s; }
.nav-demo:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,234,128,0.3); }

/* ═══════════════════════════════════════
   SHARED LAYOUT
═══════════════════════════════════════ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.content { padding-top: 72px; }

/* ═══════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: linear-gradient(90deg, var(--g), var(--c)); border-radius: 2px; }

.serif-heading { font-family: var(--serif); }
.grad-text {
  background: linear-gradient(120deg, var(--g) 0%, var(--c) 50%, #7dd4f8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-2 {
  background: linear-gradient(120deg, #7dffc8 0%, var(--g) 40%, var(--c) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   HERO — HOME
═══════════════════════════════════════ */
.hero-home {
  position: relative; overflow: hidden;
  background: var(--n-deep);
  min-height: 92vh;
  display: flex; align-items: center;
}
/* Animated mesh background */
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(5,178,230,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(10,234,128,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 40% 40%, rgba(0,52,87,0.6) 0%, transparent 80%);
}
/* Animated floating orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.25;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: var(--c); top: -120px; right: 5%; animation-delay: 0s; }
.hero-orb-2 { width: 380px; height: 380px; background: var(--g); bottom: -80px; left: 10%; animation-delay: -5s; }
.hero-orb-3 { width: 280px; height: 280px; background: #0a8fbf; top: 40%; right: 30%; animation-delay: -3s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(0.97); }
}
/* Fine grid overlay */
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(5,178,230,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,178,230,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
}
/* Diagonal accent line */
.hero-diagonal {
  position: absolute; bottom: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(5,178,230,0.04) 100%);
  border-left: 1px solid rgba(5,178,230,0.08);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-home-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 80px 40px;
  display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center;
}
.hero-pretitle {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10,234,128,0.1); border: 1px solid rgba(10,234,128,0.22);
  border-radius: 100px; padding: 6px 16px;
  font-size: 11.5px; font-weight: 600; color: var(--g); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-pretitle-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.8); } }
.hero-h1 {
  font-size: clamp(40px, 5.5vw, 66px); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 28px;
}
.hero-h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.58); line-height: 1.7; max-width: 520px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--g), var(--c));
  color: var(--n-deep); border: none; border-radius: 10px;
  transition: all 0.22s;
}
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(10,234,128,0.3); }
.btn-primary-hero svg { transition: transform 0.2s; }
.btn-primary-hero:hover svg { transform: translateX(4px); }
.btn-ghost-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.8); border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px; background: transparent; transition: all 0.2s;
}
.btn-ghost-hero:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-divider { display: flex; align-items: center; gap: 24px; margin-bottom: 0; }
.hero-divider-line { flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.hero-divider-text { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.hero-stats-row { display: flex; gap: 0; margin-top: 48px; }
.hero-stat { flex: 1; padding: 24px 0; border-right: 1px solid rgba(255,255,255,0.07); }
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat-num { font-size: 32px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.hero-stat-num span { font-size: 20px; color: var(--g); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 6px; }

/* Hero right: data flow visualization */
.hero-visual-panel {
  position: relative;
}
.data-flow-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px; padding: 28px;
  backdrop-filter: blur(12px);
}
.dfc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.dfc-title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; }
.dfc-live { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--g); font-weight: 600; }
.dfc-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--g); animation: pulse 1.5s infinite; }
.dfc-stream { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.stream-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 9px;
  background: rgba(255,255,255,0.04);
  font-family: var(--mono); font-size: 11.5px;
  animation: streamIn 0.6s ease forwards;
  opacity: 0;
}
.stream-row:nth-child(1) { animation-delay: 0.2s; }
.stream-row:nth-child(2) { animation-delay: 0.5s; }
.stream-row:nth-child(3) { animation-delay: 0.8s; }
.stream-row:nth-child(4) { animation-delay: 1.1s; }
@keyframes streamIn { to { opacity: 1; } }
.sr-status { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.sr-status.ok { background: var(--g); }
.sr-status.warn { background: #fbbf24; }
.sr-status.info { background: var(--c); }
.sr-addr { color: rgba(255,255,255,0.7); flex: 1; }
.sr-tag { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.sr-tag.verified { background: rgba(10,234,128,0.15); color: var(--g); }
.sr-tag.corrected { background: rgba(251,191,36,0.15); color: #fbbf24; }
.sr-tag.enriched { background: rgba(5,178,230,0.15); color: var(--c); }
.dfc-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.dfc-metric { background: rgba(0,0,0,0.25); border-radius: 9px; padding: 12px; text-align: center; }
.dfc-metric-val { font-size: 18px; font-weight: 800; color: var(--c); line-height: 1; }
.dfc-metric-lbl { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 4px; }

/* Floating badge */
.hero-float-badge {
  position: absolute; top: -20px; right: -20px;
  background: linear-gradient(135deg, var(--n-mid), var(--n));
  border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  padding: 14px 18px; backdrop-filter: blur(8px);
  animation: badgeFloat 6s ease-in-out infinite;
}
@keyframes badgeFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.hfb-val { font-size: 22px; font-weight: 800; color: var(--g); }
.hfb-lbl { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ═══════════════════════════════════════
   TRUST STRIP
═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════ */
.hero-home {
  position: relative; overflow: hidden;
  background: var(--n-deep);
  height: 100vh; min-height: 680px; max-height: 920px;
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(5,178,230,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(10,234,128,0.12) 0%, transparent 55%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(5,178,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,178,230,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-slides-wrap {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1; pointer-events: all; transform: translateX(0);
}
.hero-slide.leaving {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.hero-inner-grid {
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr 480px; gap: 56px; align-items: center;
}
.hero-pretitle {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10,234,128,0.1); border: 1px solid rgba(10,234,128,0.22);
  border-radius: 100px; padding: 6px 16px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-pretitle-dot { width: 7px; height: 7px; border-radius: 50%; animation: hpulse 2s ease-in-out infinite; }
@keyframes hpulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero-h1 {
  font-size: clamp(38px, 5vw, 62px); font-weight: 700; line-height: 1.09;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 24px;
}
.hero-h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.56); line-height: 1.72; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--g), var(--c));
  color: var(--n-deep); border: none; border-radius: 10px; cursor: pointer;
  transition: all 0.22s; white-space: nowrap;
}
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(10,234,128,0.28); }
.btn-ghost-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.78); border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 10px; background: transparent; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-ghost-hero:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-stats-row { display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; }
.hero-stat { flex: 1; padding-right: 24px; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.07); }
.hero-stat-num { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.hero-stat-num span { color: var(--g); font-size: 18px; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.32); margin-top: 5px; line-height: 1.4; }
/* SVG panel */
.hero-svg-panel {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 460px;
}
.hero-svg-panel svg { width: 100%; height: 100%; }
/* Slide controls */
.hero-controls {
  position: absolute; bottom: 32px; left: 0; right: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.slider-dots { display: flex; gap: 8px; align-items: center; }
.sdot {
  height: 3px; border-radius: 2px; background: rgba(255,255,255,0.18);
  border: none; cursor: pointer; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  width: 24px; padding: 0;
}
.sdot.active { width: 44px; background: linear-gradient(90deg, var(--g), var(--c)); }
.hero-progress {
  width: 180px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
}
.hero-progress-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--g), var(--c));
  width: 0%;
}
/* Slide label top-right */
.slide-counter {
  position: absolute; top: 36px; right: 40px; z-index: 10;
  font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.22); letter-spacing: 0.08em;
}
/* Eyebrow colours per slide */
.et-green { color: var(--g); }
.et-cyan { color: var(--c); }
.et-white { color: rgba(255,255,255,0.7); }
/* ——— SVG internal animations ——— */
@keyframes pinRing1 { 0%,100%{r:12;opacity:0.5} 50%{r:22;opacity:0} }
@keyframes pinRing2 { 0%,100%{r:18;opacity:0.25} 50%{r:32;opacity:0} }
@keyframes coreOrbit { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes coreOrbit2 { from{transform:rotate(0deg)} to{transform:rotate(-360deg)} }
@keyframes nodeGlow { 0%,100%{opacity:0.7} 50%{opacity:1} }
@keyframes layerPulse { 0%,100%{opacity:0.5} 50%{opacity:0.9} }
@keyframes floatUp { 0%{transform:translateY(0);opacity:0} 20%{opacity:1} 80%{opacity:1} 100%{transform:translateY(-200px);opacity:0} }
@keyframes connFlow { 0%{stroke-dashoffset:200} 100%{stroke-dashoffset:0} }

.trust-strip {
  background: #fff; padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}
.trust-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 40px; }
.trust-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; flex-shrink: 0; }
.trust-sep { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
.trust-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.trust-logo { height: 100px; width: auto; max-width: 180px; filter: grayscale(1) opacity(0.55); transition: filter 0.2s; object-fit: contain; }
.trust-logo:hover { filter: grayscale(0) opacity(0.85); }
.trust-logo-text { font-size: 15px; font-weight: 700; color: var(--text-3); opacity: 0.6; }

/* ═══════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════ */
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-title {
  font-size: clamp(30px, 3.5vw, 44px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 18px;
}
.section-sub { font-size: 17px; color: var(--text-2); line-height: 1.75; max-width: 560px; margin-bottom: 56px; }

/* ═══════════════════════════════════════
   CAPABILITIES OVERVIEW (3-col)
═══════════════════════════════════════ */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-light); border-radius: 20px; overflow: hidden; }
.cap-card {
  background: #fff; padding: 40px 36px;
  transition: background 0.2s; cursor: pointer;
  position: relative;
}
.cap-card:hover { background: var(--cream); }
.cap-card-accent {
  width: 40px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--g), var(--c));
  margin-bottom: 24px;
}
.cap-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; color: var(--n); }
.cap-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.cap-card-link { font-size: 13px; font-weight: 600; color: var(--c); display: flex; align-items: center; gap: 6px; transition: gap 0.15s; }
.cap-card:hover .cap-card-link { gap: 10px; }
.cap-card-label { position: absolute; top: 28px; right: 28px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.lbl-product { background: rgba(5,178,230,0.1); color: var(--c); }
.lbl-service { background: rgba(0,56,92,0.08); color: var(--n); }
.lbl-new { background: rgba(10,234,128,0.12); color: #00a85a; }

/* ═══════════════════════════════════════
   DARK FEATURE BAND
═══════════════════════════════════════ */
.dark-band {
  background: var(--n-deep); padding: 104px 0;
  position: relative; overflow: hidden;
}
.dark-band-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(5,178,230,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(10,234,128,0.07) 0%, transparent 55%);
}
.dark-band .section-title { color: #fff; }
.dark-band .section-sub { color: rgba(255,255,255,0.5); }
.stats-hero-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden; margin-bottom: 64px;
}
.stats-hero-cell { background: var(--n-deep); padding: 36px 32px; }
.shc-num { font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.shc-num span { font-size: 28px; }
.shc-label { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 8px; line-height: 1.5; }
.features-4col {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden;
}
.f4-cell {
  background: rgba(255,255,255,0.02); padding: 32px 28px;
  transition: background 0.2s;
}
.f4-cell:hover { background: rgba(5,178,230,0.07); }
.f4-num { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.2); margin-bottom: 16px; }
.f4-cell h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.f4-cell p { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.65; }

/* ═══════════════════════════════════════
   CONSULTING PILLARS (new section)
═══════════════════════════════════════ */
.consulting-intro {
  background: var(--cream); padding: 104px 0;
  position: relative; overflow: hidden;
}
.consulting-intro::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--g), var(--c), var(--n-light));
}
.consulting-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 64px;
}
.consulting-desc { font-size: 16px; color: var(--text-2); line-height: 1.8; }
.consulting-desc strong { color: var(--n); font-weight: 600; }
.pillar-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: all 0.25s; cursor: pointer;
}
.pillar-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,234,128,0.04), rgba(5,178,230,0.03));
  opacity: 0; transition: opacity 0.25s;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,56,92,0.12); border-color: rgba(5,178,230,0.3); }
.pillar-card:hover::before { opacity: 1; }
.pillar-idx { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-bottom: 20px; letter-spacing: 0.05em; }
.pillar-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(10,234,128,0.12), rgba(5,178,230,0.08));
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon { font-size: 22px; }
.pillar-card h3 { font-size: 18px; font-weight: 700; color: var(--n); margin-bottom: 12px; }
.pillar-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.pillar-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ptag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--surface); color: var(--n); }
.pillar-arrow { position: absolute; bottom: 28px; right: 28px; opacity: 0; color: var(--c); font-size: 18px; transition: opacity 0.2s, transform 0.2s; }
.pillar-card:hover .pillar-arrow { opacity: 1; transform: translateX(4px); }

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials-section { padding: 104px 0; background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tcard {
  border: 1px solid var(--border); border-radius: 20px; padding: 40px;
  position: relative; overflow: hidden; background: #fff;
  transition: box-shadow 0.2s;
}
.tcard:hover { box-shadow: 0 8px 40px rgba(0,56,92,0.08); }
.tcard-quote {
  font-family: var(--serif); font-style: italic;
  font-size: 56px; line-height: 1; color: var(--g); opacity: 0.25;
  position: absolute; top: 24px; right: 32px;
}
.tcard p { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 28px; }
.tcard-author { display: flex; align-items: center; gap: 16px; }
.tcard-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--g), var(--c));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px; color: var(--n-deep);
}
.tcard-name { font-weight: 700; font-size: 14px; }
.tcard-role { font-size: 13px; color: var(--text-3); }

/* ═══════════════════════════════════════
   CTA BAND
═══════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--n-deep) 0%, var(--n) 100%);
  padding: 96px 0; position: relative; overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(10,234,128,0.1) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; padding: 0 40px; }
.cta-inner h2 { font-size: clamp(28px,4vw,44px); font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: -0.02em; }
.cta-inner p { font-size: 17px; color: rgba(255,255,255,0.55); margin-bottom: 40px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary { padding: 15px 36px; background: linear-gradient(135deg, var(--g), var(--c)); border: none; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--n-deep); cursor: pointer; transition: all 0.2s; }
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(10,234,128,0.3); }
.btn-cta-ghost { padding: 15px 28px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 10px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.8); background: transparent; cursor: pointer; transition: all 0.2s; }
.btn-cta-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ═══════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════ */
.page-hero {
  background: var(--n-deep); padding: 100px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 110% 50%, rgba(5,178,230,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at -10% 60%, rgba(10,234,128,0.1) 0%, transparent 50%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(5,178,230,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(5,178,230,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
/* Decorative large number watermark */
.page-hero-wm {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 220px; font-weight: 800; font-family: var(--sans);
  color: rgba(255,255,255,0.03); line-height: 1; pointer-events: none;
  letter-spacing: -0.05em;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: rgba(255,255,255,0.3); }
.breadcrumb span { cursor: pointer; transition: color 0.15s; }
.breadcrumb span:hover { color: var(--g); }
.breadcrumb-sep { opacity: 0.4; }
.page-hero h1 { font-size: clamp(32px,4.5vw,56px); font-weight: 700; color: #fff; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 20px; }
.page-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.page-hero-sub { font-size: 18px; color: rgba(255,255,255,0.52); line-height: 1.75; max-width: 600px; }
.page-hero-meta { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.phm-item { display: flex; flex-direction: column; gap: 4px; }
.phm-val { font-size: 24px; font-weight: 800; color: #fff; }
.phm-val span { color: var(--g); }
.phm-lbl { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════
   PRODUCT LAYOUT
═══════════════════════════════════════ */
.product-body { padding: 80px 0; }
.pb-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.metric-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--n-deep); border-radius: 18px; overflow: hidden; margin-bottom: 64px;
}
.ms-cell { padding: 36px 32px; border-right: 1px solid rgba(255,255,255,0.06); }
.ms-cell:last-child { border-right: none; }
.ms-val { font-size: 36px; font-weight: 800; color: var(--c); letter-spacing: -0.02em; line-height: 1; }
.ms-lbl { font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 8px; }

.feature-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 64px; }
.fc-item {
  display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border);
  border-radius: 14px; background: var(--cream); align-items: flex-start;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fc-item:hover { border-color: rgba(5,178,230,0.3); box-shadow: 0 4px 20px var(--c-glow); }
.fc-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(10,234,128,0.15), rgba(5,178,230,0.1));
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.fc-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 5px; color: var(--n); }
.fc-item p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ═══════════════════════════════════════
   CODE BLOCK
═══════════════════════════════════════ */
.code-wrap {
  background: #0d1b27; border-radius: 16px; overflow: hidden; margin-bottom: 48px;
  box-shadow: 0 24px 80px rgba(0,25,41,0.3);
}
.code-bar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06); }
.cdot { width: 11px; height: 11px; border-radius: 50%; }
.cdot-r { background: #ff5f57; } .cdot-y { background: #febc2e; } .cdot-g { background: #28c840; }
.code-tab { margin-left: 12px; font-size: 12px; color: rgba(255,255,255,0.3); font-family: var(--mono); }
pre { padding: 28px 32px; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.75); overflow-x: auto; }
.kw { color: #7dd4f8; }
.str { color: var(--g); }
.cmt { color: rgba(255,255,255,0.22); }
.val { color: #fbbf24; }
.num { color: #fb923c; }

/* ═══════════════════════════════════════
   SERVICES LAYOUT
═══════════════════════════════════════ */
.svc-header-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 64px; }
.svc-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-card {
  border: 1px solid var(--border); border-radius: 18px; padding: 36px;
  background: #fff; transition: all 0.22s; position: relative; overflow: hidden;
}
.svc-card:hover { box-shadow: 0 16px 56px rgba(0,56,92,0.1); transform: translateY(-4px); border-color: rgba(5,178,230,0.25); }
.svc-card::after {
  content: '→'; position: absolute; bottom: 28px; right: 28px;
  color: var(--c); font-size: 20px; opacity: 0; transition: all 0.2s;
}
.svc-card:hover::after { opacity: 1; transform: translateX(4px); }
.svc-icon-box {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(10,234,128,0.12), rgba(5,178,230,0.08));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.svc-card h3 { font-size: 19px; font-weight: 700; color: var(--n); margin-bottom: 12px; }
.svc-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.svc-tag { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: rgba(10,234,128,0.1); color: #00a85a; letter-spacing: 0.05em; }

/* ═══════════════════════════════════════
   PROCESS STEPS (horizontal)
═══════════════════════════════════════ */
.process-h {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-bottom: 64px;
}
.ph-step { padding: 36px 28px; border-right: 1px solid var(--border); background: #fff; }
.ph-step:last-child { border-right: none; }
.ph-num { font-family: var(--mono); font-size: 11px; color: var(--c); margin-bottom: 16px; font-weight: 500; }
.ph-step-icon { font-size: 26px; margin-bottom: 14px; }
.ph-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--n); }
.ph-step p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ═══════════════════════════════════════
   CONSULTING PAGE HERO (special)
═══════════════════════════════════════ */
.cons-hero {
  background: var(--n-deep); padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.cons-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 100% 30%, rgba(5,178,230,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 0% 80%, rgba(10,234,128,0.1) 0%, transparent 50%);
}
.cons-hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
}
.cons-hero-right {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 36px;
}
.cons-capability-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cons-capability-row:last-child { border-bottom: none; }
.ccr-name { font-size: 14px; color: rgba(255,255,255,0.7); }
.ccr-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.08); border-radius: 4px; margin: 0 20px; overflow: hidden; }
.ccr-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--g), var(--c)); }
.ccr-pct { font-size: 12px; font-weight: 700; color: var(--c); width: 36px; text-align: right; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--n-deep); padding: 72px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr; gap: 28px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 36px;
}
.footer-brand-text { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-logo-img { height: 28px; mix-blend-mode: screen; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.32); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 9px; line-height: 1.45; cursor: pointer; transition: color 0.15s; }
.footer-col a:hover { color: var(--g); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.22); flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { cursor: pointer; transition: color 0.15s; font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-links a:hover { color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner-grid { grid-template-columns: 1fr; }
  .hero-svg-panel { display: none; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .consulting-header { grid-template-columns: 1fr; gap: 24px; }
  .pillar-cards { grid-template-columns: 1fr 1fr; }
  .features-4col { grid-template-columns: 1fr 1fr; }
  .stats-hero-grid { grid-template-columns: 1fr 1fr; }
  .cons-hero-inner { grid-template-columns: 1fr; }
  .cons-hero-right { display: none; }
}
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 32px 28px; }
  .footer-top > div:first-child { grid-column: 1 / -1; margin-bottom: 8px; }
  .footer-brand-text { max-width: 540px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav-wrap { padding: 0 20px; }
  .nav-center { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .pillar-cards { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .svc-card-grid { grid-template-columns: 1fr; }
  .feature-2col { grid-template-columns: 1fr; }
  .process-h { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trust-inner { flex-wrap: wrap; }
  .trust-sep { display: none; }
  .metric-strip { grid-template-columns: 1fr; }
  .svc-header-2col { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .process-h { grid-template-columns: 1fr; }
  .ph-step { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   DATA PRODUCTS CATALOG
═══════════════════════════════════════ */
.dp-hero-search {
  display: flex; gap: 0; margin-top: 32px; max-width: 560px;
}
.dp-search-input {
  flex: 1; padding: 14px 20px; font-size: 15px; font-family: var(--sans);
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.18);
  border-right: none; border-radius: 10px 0 0 10px; color: #fff; outline: none;
  transition: border-color 0.2s;
}
.dp-search-input::placeholder { color: rgba(255,255,255,0.35); }
.dp-search-input:focus { border-color: var(--g); }
.dp-search-btn {
  padding: 14px 24px; background: linear-gradient(135deg, var(--g), var(--c));
  border: none; border-radius: 0 10px 10px 0; font-size: 14px; font-weight: 700;
  color: var(--n-deep); cursor: pointer; white-space: nowrap; transition: opacity 0.15s;
}
.dp-search-btn:hover { opacity: 0.88; }
.dp-catalog { padding: 56px 0 96px; background: var(--cream); }
.dp-catalog-wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 268px 1fr; gap: 36px; align-items: start; }
/* Sidebar */
.dp-sidebar {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; position: sticky; top: 88px;
}
.dp-sidebar-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 20px; }
.dp-filter-group { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.dp-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.dp-filter-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 12px; }
.dp-filter-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 8px; cursor: pointer;
  transition: background 0.12s; margin-bottom: 2px; user-select: none;
}
.dp-filter-item:hover { background: var(--surface); }
.dp-filter-item.active { background: rgba(5,178,230,0.08); }
.dp-filter-item input { width: 15px; height: 15px; accent-color: var(--c); cursor: pointer; flex-shrink: 0; }
.dp-filter-item span { font-size: 13.5px; color: var(--text); }
.dp-filter-item .dp-count { margin-left: auto; font-size: 11px; color: var(--text-3); background: var(--surface); padding: 1px 7px; border-radius: 10px; }
.dp-clear-btn {
  width: 100%; padding: 10px; margin-top: 20px;
  background: transparent; border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: all 0.15s;
}
.dp-clear-btn:hover { border-color: var(--n); color: var(--n); }
/* Main area */
.dp-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.dp-result-count { font-size: 14px; color: var(--text-2); }
.dp-result-count strong { color: var(--text); font-weight: 700; }
.dp-sort-select {
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 14px; font-family: var(--sans); color: var(--text); background: #fff;
  cursor: pointer; outline: none;
}
.dp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dp-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column;
  transition: all 0.22s; position: relative; overflow: hidden;
}
.dp-card:hover { box-shadow: 0 12px 40px rgba(0,56,92,0.1); transform: translateY(-3px); border-color: rgba(5,178,230,0.3); }
.dp-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; opacity:0; transition:opacity 0.2s; }
.dp-card:hover::before { opacity:1; }
.dp-card.cat-state::before { background:linear-gradient(90deg, var(--g), var(--c)); }
.dp-card.cat-metro::before { background:linear-gradient(90deg, var(--c), #7dd4f8); }
.dp-card.cat-national::before { background:linear-gradient(90deg, #fbbf24, var(--g)); }
.dp-card.cat-business::before { background:linear-gradient(90deg, var(--n-mid), var(--c)); }
.dp-card.cat-premium::before { background:linear-gradient(90deg, #c084fc, #7dd4f8); }
.dp-card.cat-nz::before { background:linear-gradient(90deg, #34d399, #06b6d4); }
.dp-card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.dp-cat-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 6px;
}
.badge-state { background: rgba(10,234,128,0.12); color: #00a85a; }
.badge-metro { background: rgba(5,178,230,0.12); color: var(--n-mid); }
.badge-national { background: rgba(251,191,36,0.15); color: #b45309; }
.badge-business { background: rgba(0,56,92,0.08); color: var(--n); }
.badge-premium { background: rgba(192,132,252,0.15); color: #7c3aed; }
.badge-nz { background: rgba(52,211,153,0.12); color: #059669; }
.dp-state-chip {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 5px;
  background: var(--surface); color: var(--n); letter-spacing: 0.05em;
}
.dp-card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--n); margin-bottom: 16px; }
.dp-record-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.dp-record-num { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.dp-record-label { font-size: 11px; color: var(--text-3); }
.dp-updated { font-size: 11px; color: var(--text-3); margin-bottom: 14px; }
.dp-updated span { color: var(--text-2); }
.dp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.dp-tag {
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 5px;
  background: var(--surface); color: var(--text-2);
}
.dp-tag.t-dpid { background: rgba(10,234,128,0.1); color: #00a85a; }
.dp-tag.t-geo { background: rgba(5,178,230,0.1); color: var(--n-mid); }
.dp-tag.t-sa1 { background: rgba(251,191,36,0.1); color: #92400e; }
.dp-tag.t-biz { background: rgba(0,56,92,0.08); color: var(--n); }
.dp-formats { display: flex; gap: 5px; margin-bottom: 20px; }
.dp-fmt { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 5px; background: var(--n-deep); color: rgba(255,255,255,0.75); letter-spacing: 0.05em; }
.dp-price-row { margin-top: auto; }
.dp-price { font-size: 26px; font-weight: 800; color: var(--n); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.dp-price span { font-size: 14px; font-weight: 500; color: var(--text-3); }
.dp-gst { font-size: 11px; color: var(--text-3); margin-bottom: 14px; }
.dp-card-btns { display: flex; gap: 8px; }
.dp-btn-buy {
  flex: 1; padding: 10px 0; background: var(--n); color: #fff;
  border: none; border-radius: 9px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.18s; font-family: var(--sans);
}
.dp-btn-buy:hover { background: var(--n-mid); transform: translateY(-1px); }
.dp-btn-preview {
  padding: 10px 14px; background: transparent; color: var(--text-2);
  border: 1.5px solid var(--border); border-radius: 9px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.15s; white-space: nowrap; font-family: var(--sans);
}
.dp-btn-preview:hover { border-color: var(--c); color: var(--n); }
/* Empty state */
.dp-empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; }
.dp-empty h4 { font-size: 20px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.dp-empty p { font-size: 15px; color: var(--text-3); }
/* Purchase modal */
.dp-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.dp-modal-overlay.open { opacity: 1; pointer-events: all; }
.dp-modal-box {
  background: #fff; border-radius: 20px; width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform 0.3s;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}
.dp-modal-overlay.open .dp-modal-box { transform: translateY(0); }
.dp-modal-header {
  padding: 28px 32px 20px; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.dp-modal-title { font-size: 19px; font-weight: 700; color: var(--n); line-height: 1.3; }
.dp-modal-close {
  width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--border);
  background: transparent; font-size: 18px; color: var(--text-3); cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.15s;
}
.dp-modal-close:hover { background: var(--surface); color: var(--text); }
.dp-modal-body { padding: 24px 32px 32px; }
.dp-modal-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.dp-modal-meta-item { }
.dp-modal-meta-val { font-size: 20px; font-weight: 800; color: var(--n); }
.dp-modal-meta-lbl { font-size: 11px; color: var(--text-3); }
.dp-license-section h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.dp-license-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.dp-lic-card {
  border: 2px solid var(--border); border-radius: 12px; padding: 16px 18px;
  cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 16px;
}
.dp-lic-card:hover { border-color: var(--c); }
.dp-lic-card.selected { border-color: var(--c); background: rgba(5,178,230,0.04); }
.dp-lic-card input[type=radio] { accent-color: var(--c); width: 16px; height: 16px; flex-shrink: 0; }
.dp-lic-info { flex: 1; }
.dp-lic-name { font-size: 14px; font-weight: 700; color: var(--n); }
.dp-lic-desc { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.dp-lic-price { font-size: 18px; font-weight: 800; color: var(--n); }
.dp-modal-actions { display: flex; gap: 10px; }
.dp-btn-proceed {
  flex: 1; padding: 14px; background: linear-gradient(135deg, var(--g), var(--c));
  border: none; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--n-deep);
  cursor: pointer; transition: all 0.2s; font-family: var(--sans);
}
.dp-btn-proceed:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(10,234,128,0.25); }
.dp-btn-cancel {
  padding: 14px 20px; background: transparent; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text-2);
  cursor: pointer; transition: all 0.15s; font-family: var(--sans);
}
.dp-btn-cancel:hover { border-color: var(--n); color: var(--n); }
/* Preview table */
.dp-preview-table { width: 100%; border-collapse: collapse; font-size: 11.5px; margin-top: 16px; border-radius: 8px; overflow: hidden; }
.dp-preview-table th { background: var(--n-deep); color: rgba(255,255,255,0.7); padding: 8px 12px; text-align: left; font-weight: 600; font-family: var(--mono); }
.dp-preview-table td { padding: 8px 12px; border-bottom: 1px solid var(--border-light); font-family: var(--mono); color: var(--text-2); }
.dp-preview-table tr:last-child td { border-bottom: none; }
.dp-preview-table tr:nth-child(even) td { background: var(--cream); }
@media (max-width: 1100px) { .dp-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) {
  .dp-catalog-wrap { grid-template-columns: 1fr; }
  .dp-sidebar { position: static; }
}
@media (max-width: 600px) { .dp-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════
   LEGAL / POLICY PAGES
═══════════════════════════════════════ */
.legal-body { padding: 64px 0 104px; background: #fff; }
.legal-wrap {
  max-width: 860px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 220px; gap: 64px; align-items: start;
}
.legal-content { min-width: 0; }
.legal-meta {
  font-size: 12px; color: var(--text-3); margin-bottom: 32px;
  display: flex; gap: 20px; flex-wrap: wrap;
}
.legal-meta span { display: flex; align-items: center; gap: 6px; }
.legal-content h2 {
  font-size: 20px; font-weight: 700; color: var(--n);
  margin: 40px 0 14px; padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 24px 0 10px;
}
.legal-content p {
  font-size: 15px; color: var(--text-2); line-height: 1.82;
  margin-bottom: 16px;
}
.legal-content ul {
  padding-left: 20px; margin-bottom: 16px;
}
.legal-content ul li {
  font-size: 15px; color: var(--text-2); line-height: 1.8;
  margin-bottom: 6px;
}
.legal-content a { color: var(--c); text-decoration: underline; cursor: pointer; }
.legal-highlight {
  background: rgba(5,178,230,0.06); border-left: 3px solid var(--c);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0;
  font-size: 14px; color: var(--text-2); line-height: 1.75;
}
/* Table of contents sidebar */
.legal-toc {
  position: sticky; top: 88px; background: var(--cream);
  border: 1px solid var(--border); border-radius: 14px; padding: 20px;
}
.legal-toc-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 14px; }
.legal-toc a {
  display: block; font-size: 13px; color: var(--text-2);
  padding: 5px 0; border-bottom: 1px solid var(--border-light);
  cursor: pointer; transition: color 0.15s; text-decoration: none;
}
.legal-toc a:last-child { border-bottom: none; }
.legal-toc a:hover { color: var(--n); }

/* Security page icons */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.sec-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  background: var(--cream);
}
.sec-card-icon { font-size: 22px; margin-bottom: 10px; }
.sec-card h4 { font-size: 14px; font-weight: 700; color: var(--n); margin-bottom: 6px; }
.sec-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin: 0; }
.sec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 6px;
  margin: 4px 4px 4px 0;
}
.sb-green { background: rgba(10,234,128,0.1); color: #00a85a; }
.sb-cyan { background: rgba(5,178,230,0.1); color: var(--n-mid); }
.sb-navy { background: rgba(0,56,92,0.08); color: var(--n); }

/* Cookie Banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner.hiding { transform: translateY(100%); transition: transform 0.35s ease-in; }
.cb-inner {
  background: var(--n-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 100%; padding: 18px 40px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cb-icon { font-size: 28px; flex-shrink: 0; }
.cb-content { flex: 1; min-width: 260px; }
.cb-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.cb-text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.55; }
.cb-text a { color: var(--c); text-decoration: underline; cursor: pointer; }
.cb-details { margin-top: 8px; }
.cb-detail-row {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12px; color: rgba(255,255,255,0.38); line-height: 1.5; margin-bottom: 3px;
}
.cb-detail-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.cb-detail-dot.necessary { background: var(--g); }
.cb-detail-dot.analytics { background: var(--c); }
.cb-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cb-btn-all {
  padding: 11px 22px; background: linear-gradient(135deg, var(--g), var(--c));
  border: none; border-radius: 9px; font-size: 13.5px; font-weight: 700;
  color: var(--n-deep); cursor: pointer; white-space: nowrap;
  transition: all 0.2s; font-family: var(--sans);
}
.cb-btn-all:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,234,128,0.3); }
.cb-btn-necessary {
  padding: 11px 18px; background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 9px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.7);
  cursor: pointer; white-space: nowrap; transition: all 0.2s; font-family: var(--sans);
}
.cb-btn-necessary:hover { border-color: rgba(255,255,255,0.55); color: #fff; }
.cb-manage-link {
  font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: underline;
  cursor: pointer; align-self: center; white-space: nowrap; flex-shrink: 0;
  transition: color 0.15s;
}
.cb-manage-link:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .cb-inner { padding: 16px 20px; gap: 14px; }
  .cb-icon { display: none; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .sec-grid { grid-template-columns: 1fr; }
}



/* Multi-page entry animation */
main, .page-hero, .hero-home, .dp-catalog { animation: pageEntry 0.45s cubic-bezier(0.16,1,0.3,1); }
@keyframes pageEntry { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }

/* Active nav link */
/* Active: top-level nav link — white on dark nav */
.nav-center > li > a[aria-current="page"] {
  color: #fff !important;
  font-weight: 700 !important;
  background: rgba(255,255,255,0.1) !important;
}
/* Active: dropdown link — dark on white dropdown */
.nav-dropdown a[aria-current="page"] {
  color: var(--n) !important;
  font-weight: 700 !important;
  background: var(--surface) !important;
}

/* ── Inline FontAwesome SVG icons (sized to 1em like FA originally does) ── */
/* Legacy docs pages embed raw <svg class="svg-inline--fa" viewBox="0 0 512 512">
   without explicit width/height; without this rule the icon balloons to its
   intrinsic 512x512px. Replicates FontAwesome's default sizing. */
svg.svg-inline--fa,
.svg-inline--fa {
  display: inline-block;
  height: 1em;
  width: auto;
  max-width: 1.25em;
  vertical-align: -0.125em;
  overflow: visible;
  box-sizing: content-box;
}
svg.svg-inline--fa + *,
.svg-inline--fa + * {
  margin-left: 0.2em;
}
