/* ============================================================
   landing.css — shared stylesheet for all KYCGenie landing pages
   Override :root variables in a page-specific <style> block
   to theme each page.
   ============================================================ */

/* ============================================================
   THEME TOKENS
   ============================================================ */
:root {
  --dark: #07080d;
  --accent: #165bcb;
  --accent-rgb: 22, 91, 203;
  --accent-light: #7baef8;
  --accent-nav-btn-hover: #1250b0;
  --accent-btn-hover: #1a6ae0;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.rd1 {
  transition-delay: 0.08s;
}

.rd2 {
  transition-delay: 0.16s;
}

.rd3 {
  transition-delay: 0.24s;
}

.rd4 {
  transition-delay: 0.32s;
}

/* ============================================================
   NAVIGATION — unified block-hover with mega-dropdowns
   ============================================================ */
nav#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

/* ── Dark phase (over dark hero) ── */
nav#main-nav.dark-phase .nav-logo-text {
  color: #f8fafc;
}

nav#main-nav.dark-phase .nav-links>li>a {
  color: rgba(255, 255, 255, 0.6);
}

nav#main-nav.dark-phase .nav-links>li>a:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

nav#main-nav.dark-phase .btn-nav-ghost {
  color: rgba(255, 255, 255, 0.6);
}

nav#main-nav.dark-phase .btn-nav-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

nav#main-nav.dark-phase .nav-mobile-btn {
  color: rgba(255, 255, 255, 0.8);
}

nav#main-nav.dark-phase .nav-divider {
  background: rgba(255, 255, 255, 0.15);
}

/* ── Scrolled state — frosted glass ── */
nav#main-nav.scrolled {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07), 0 4px 24px rgba(0, 0, 0, 0.04);
}

nav#main-nav.scrolled .nav-logo-text {
  color: #0f172a;
}

nav#main-nav.scrolled .nav-links>li>a {
  color: #64748b;
}

nav#main-nav.scrolled .nav-links>li>a:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}

nav#main-nav.scrolled .btn-nav-ghost {
  color: #64748b;
}

nav#main-nav.scrolled .btn-nav-ghost:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}

nav#main-nav.scrolled .nav-mobile-btn {
  color: #475569;
}

nav#main-nav.scrolled .nav-divider {
  background: rgba(0, 0, 0, 0.1);
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

/* ── Nav links row ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links>li>a::after {
  display: none;
}

/* Dropdown caret */
.nav-caret {
  font-size: 0.68rem;
  transition: transform 0.22s ease;
  display: inline-block;
  opacity: 0.7;
}

.nav-has-drop:hover .nav-caret,
.nav-has-drop:focus-within .nav-caret {
  transform: rotate(-180deg);
  opacity: 1;
}

/* ── Dropdown panel ── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13), 0 4px 20px rgba(0, 0, 0, 0.07);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}

/* Invisible bridge fills the gap between trigger and panel so hover isn't lost */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-has-drop:hover .nav-dropdown,
.nav-has-drop:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Products dropdown — 2-column grid */
.nav-dropdown--products {
  min-width: 640px;
  padding: 18px 16px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

/* Solutions dropdown — 2-column grid (By Goal | By Industry) */
.nav-dropdown--solutions {
  min-width: 580px;
  padding: 18px 16px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

/* Section headings inside dropdown */
.nav-drop-heading {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94a3b8;
  padding: 6px 12px 8px;
  margin-bottom: 2px;
  grid-column: 1 / -1;
  /* span full width in grid */
}

/* Each column needs its own heading, so reset span for individual columns */
.nav-drop-col .nav-drop-heading {
  grid-column: auto;
}

.nav-drop-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Dropdown items */
.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s;
  color: #0f172a;
  cursor: pointer;
}

.nav-drop-item:hover {
  background: #f1f5f9;
}

.nav-drop-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(22, 91, 203, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.nav-drop-item:hover .nav-drop-icon {
  background: rgba(22, 91, 203, 0.15);
}

.nav-drop-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  transition: color 0.15s;
}

.nav-drop-desc {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}

.nav-drop-item:hover .nav-drop-label {
  color: var(--accent);
}

/* Solution items — same style, reuses nav-drop-* */
.nav-sol-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s;
  color: #0f172a;
  cursor: pointer;
}

.nav-sol-item:hover {
  background: #f1f5f9;
}

.nav-sol-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(22, 91, 203, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.nav-sol-item:hover .nav-sol-icon {
  background: rgba(22, 91, 203, 0.15);
}

.nav-sol-item:hover .nav-drop-label {
  color: var(--accent);
}

/* Dropdown separator line between columns in products */
.nav-drop-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(0, 0, 0, 0.05);
  margin: 8px 0;
}

/* Touch/click-open state for dropdown (JS adds .open class) */
.nav-has-drop.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-has-drop.open .nav-caret {
  transform: rotate(-180deg);
  opacity: 1;
}

/* ── Nav right ── */
.nav-divider {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  flex-shrink: 0;
  transition: background 0.4s;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-nav-ghost {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-nav-primary {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  padding: 9px 20px;
  background: var(--accent);
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.4);
}

.btn-nav-primary:hover {
  background: var(--accent-nav-btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.5);
}

/* ── Mobile button ── */
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 6px 8px;
  border-radius: 8px;
  line-height: 1;
  transition: color 0.3s, background 0.2s;
}
.nav-mobile-btn:hover { background: rgba(255,255,255,0.08); }

/* ── Mobile backdrop overlay ── */
.mob-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1001;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mob-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Mobile drawer ── */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: #0b0f1a;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255,255,255,0.07);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.mobile-menu.open { transform: translateX(0); }

/* ── Drawer header ── */
.mob-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  height: 66px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.mob-logo-row {
  display: flex; align-items: center; gap: 9px;
}
.mob-logo-row img { width: 26px; height: 26px; }
.mob-logo-row span { font-size: 1rem; font-weight: 700; color: #e2e8f0; letter-spacing: -0.02em; }
.mob-close-btn {
  background: rgba(255,255,255,0.07); border: none; cursor: pointer;
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.mob-close-btn:hover { background: rgba(255,255,255,0.13); color: #f8fafc; }

/* ── Drawer body (scrollable) ── */
.mob-body {
  flex: 1; overflow-y: auto;
  padding: 8px 16px 0;
}
.mob-body::-webkit-scrollbar { width: 4px; }
.mob-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* ── Accordion ── */
.mob-accordion { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mob-acc-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 8px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  color: #cbd5e1; text-align: left;
  transition: color 0.2s;
}
.mob-acc-trigger:hover { color: #fff; }
.mob-acc-icon { color: var(--accent-light); margin-right: 4px; font-size: 0.85rem; }
.mob-acc-caret {
  font-size: 0.72rem; color: #475569; flex-shrink: 0;
  transition: transform 0.25s ease;
}
.mob-accordion.open > .mob-acc-trigger { color: #fff; }
.mob-accordion.open > .mob-acc-trigger .mob-acc-caret { transform: rotate(-180deg); }

/* ── Accordion panel ── */
.mob-acc-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 4px;
}
.mob-accordion.open > .mob-acc-panel { max-height: 900px; }

/* ── Group label inside panel ── */
.mob-group-label {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #334155;
  padding: 12px 8px 4px;
}

/* ── Items inside panel ── */
.mob-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 8px; border-radius: 10px;
  margin-bottom: 2px;
  transition: background 0.15s;
  color: #94a3b8;
}
.mob-item:hover { background: rgba(255,255,255,0.06); color: #f8fafc; }
.mob-item-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: rgba(22,91,203,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); font-size: 0.9rem;
}
.mob-item-label { display: block; font-size: 0.82rem; font-weight: 600; color: #e2e8f0; line-height: 1.3; }
.mob-item-desc { display: block; font-size: 0.7rem; color: #475569; margin-top: 1px; }
.mob-item:hover .mob-item-label { color: #fff; }
.mob-item:hover .mob-item-icon { background: rgba(22,91,203,0.28); }

/* ── Direct nav links ── */
.mob-link {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 8px;
  font-size: 0.9rem; font-weight: 600; color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mob-link i { color: var(--accent-light); font-size: 0.85rem; width: 16px; text-align: center; }
.mob-link:hover { color: #fff; }
.mob-link:last-of-type { border-bottom: none; }

/* ── Drawer footer ── */
.mob-footer {
  flex-shrink: 0;
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: 10px;
}
.mob-signin {
  display: block; text-align: center;
  padding: 12px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; color: #64748b;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mob-signin:hover { background: rgba(255,255,255,0.08); color: #e2e8f0; border-color: rgba(255,255,255,0.18); }
.mob-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.4);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mob-cta-btn:hover { background: var(--accent-btn-hover); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(var(--accent-rgb), 0.5); }

/* ============================================================
   HERO — DARK
   ============================================================ */
section#hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 48px 100px;
  background: #07080d;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

section#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--accent-rgb), 0.18) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 65% 60% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 40%, black 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

section#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 36px;
  letter-spacing: 0.03em;
}

.hero-badge .bp {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px rgba(var(--accent-rgb), 0.8);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.35;
    transform: scale(0.65)
  }
}

.hero-headline {
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #f8fafc;
  max-width: 840px;
  margin: 0 auto 20px;
}

.hero-headline .gw {
  background: linear-gradient(125deg, var(--accent) 0%, var(--accent-light) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-sub {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
  background: var(--accent-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(var(--accent-rgb), 0.55);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Hero pills — solutions pages */
.hero-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.hero-pill i {
  font-size: 0.75rem;
  color: var(--accent-light);
}

/* ============================================================
   SHARED SECTION UTILITIES
   ============================================================ */
section {
  padding: 96px 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--accent);
  display: block;
}

.section-label.center {
  justify-content: center;
}

.section-label.center::before {
  display: none;
}

.section-label.on-dark {
  color: var(--accent-light);
}

.section-label.on-dark::before {
  background: var(--accent-light);
}

.section-h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 16px;
}

.section-h2.light {
  color: #f8fafc;
}

.section-lead {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.72;
  max-width: 540px;
}

/* ============================================================
   PROCESS STEPS — LIGHT
   ============================================================ */
section#process {
  background: #fff;
}

.process-hdr {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.process-hdr .section-lead {
  margin: 0 auto;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: repeating-linear-gradient(90deg, #e2e8f0 0, #e2e8f0 6px, transparent 6px, transparent 14px);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: border-color 0.35s, color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step:hover .step-num {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.08);
}

.step.active .step-num {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.18);
  box-shadow: 0 0 9px rgba(var(--accent-rgb), 0.15);
}

.step.active .step-title {
  color: var(--accent);
}

.step::after {
  content: '';
  display: block;
  margin-top: 16px;
  height: 2px;
  width: 40px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--p, 0%), #e2e8f0 var(--p, 0%), #e2e8f0 100%);
}

.step-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  transition: color 0.35s;
}

.step-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.65;
}

/* ============================================================
   PRODUCT CARDS (alternating Left/Right layout)
   ============================================================ */
section#products {
  background: #f8fafc;
}

.products-hdr {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.products-hdr .section-lead {
  margin: 0 auto;
}

.prod-cards {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.prod-card {
  border-radius: 22px;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: row-reverse;
  min-height: 560px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.prod-card:nth-child(even) {
  flex-direction: row;
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.09);
  border-color: rgba(var(--accent-rgb), 0.18);
}

.prod-card-body {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  flex: 1;
}

.prod-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
}

.prod-card-eyebrow::before {
  content: '';
  width: 12px;
  height: 1.5px;
  background: var(--accent);
  display: block;
}

.prod-card-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.prod-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}

.prod-card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.prod-card-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: #334155;
}

.prod-card-bullets li i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.prod-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}

.prod-card-link:hover {
  gap: 10px;
}

.prod-card-vis {
  background: #0d1117;
  width: 52%;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.prod-card:nth-child(even) .prod-card-vis {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.prod-card-vis::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.5), transparent);
}

/* ============================================================
   FEATURE CARDS — solutions pages (alternating layout)
   ============================================================ */
section#features {
  background: #f8fafc;
}

.features-hdr {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.features-hdr .section-lead {
  margin: 0 auto;
}

.feat-cards {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feat-card {
  border-radius: 22px;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: row-reverse;
  min-height: 420px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.feat-card:nth-child(even) {
  flex-direction: row;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.09);
  border-color: rgba(var(--accent-rgb), 0.18);
}

.feat-card-body {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  flex: 1;
}

.feat-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
}

.feat-card-eyebrow::before {
  content: '';
  width: 12px;
  height: 1.5px;
  background: var(--accent);
  display: block;
}

.feat-card-title {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.feat-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}

.feat-card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.feat-card-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: #334155;
}

.feat-card-bullets li i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feat-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}

.feat-card-link:hover {
  gap: 10px;
}

.feat-card-vis {
  background: #0d1117;
  width: 46%;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.feat-card:nth-child(even) .feat-card-vis {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.feat-card-vis::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.5), transparent);
}

/* ============================================================
   REGULATION CARDS — solutions pages
   ============================================================ */
section#regulations {
  background: #fff;
}

.reg-hdr {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.reg-hdr .section-lead {
  margin: 0 auto;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reg-card {
  border-radius: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  background: #f8fafc;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.reg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.reg-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.reg-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.reg-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.reg-card-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.65;
}

.reg-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.reg-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}

/* ============================================================
   STATS — DARK
   ============================================================ */
section#stats {
  background: #07080d;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f1f5f9;
  line-height: 1;
}

.stat-num .suf {
  color: var(--accent-light);
}

.stat-desc-txt {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #475569;
}

/* ============================================================
   CTA — DARK
   ============================================================ */
section#cta {
  background: #07080d;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

section#cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.2), transparent 65%);
  pointer-events: none;
}

section#cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.13);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.cta-h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #f8fafc;
  margin-bottom: 18px;
}

.cta-sub {
  font-size: 1.05rem;
  color: #475569;
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.72;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-cta-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 24px rgba(var(--accent-rgb), 0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-cta-p:hover {
  background: var(--accent-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(var(--accent-rgb), 0.55);
}

.btn-cta-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-cta-s:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER — DARK
   ============================================================ */
footer {
  background: #0c1222;
  padding: 64px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand-desc {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.65;
  max-width: 240px;
}

.footer-col-hdr {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #334155;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: #475569;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #94a3b8;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-logo-row img {
  width: 26px;
  height: 26px;
}

.footer-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: -0.02em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  font-size: 0.78rem;
  color: #334155;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #64748b;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: rgba(22, 91, 203, 0.15);
  color: #7baef8;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.78rem;
  color: #334155;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #475569;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 2000;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 600px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: opacity 0.3s, transform 0.3s;
}

#cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

#cookie-banner p {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.55;
  flex: 1;
  min-width: 200px;
}

#cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 8px;
}

.cookie-btns button {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  border: none;
}

#ck-yes {
  background: var(--accent);
  color: #fff;
}

#ck-no {
  background: #f1f5f9;
  color: #475569;
}

/* ============================================================
   COMMON MOCK KEYFRAMES
   (shared across page-specific mock UIs — no need to redefine)
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fadeIn {
  to {
    opacity: 1
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes expandDown {
  from {
    height: 0;
    opacity: 0
  }

  to {
    height: auto;
    opacity: 1
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  nav#main-nav {
    padding: 0 20px;
  }

  nav#main-nav .nav-links,
  nav#main-nav .nav-right {
    display: none;
  }

  .nav-mobile-btn {
    display: flex;
    align-items: center;
  }

  .container {
    padding: 0 24px;
  }

  section {
    padding: 72px 0;
  }

  section#hero {
    padding: 120px 24px 80px;
  }

  .prod-card {
    flex-direction: column !important;
    min-height: unset;
  }

  .prod-card-vis {
    width: 100%;
    min-height: 340px;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .prod-card-body {
    padding: 36px 32px;
  }

  .feat-card {
    flex-direction: column !important;
    min-height: unset;
  }

  .feat-card-vis {
    width: 100%;
    min-height: 300px;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .feat-card-body {
    padding: 36px 32px;
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .steps-row::before {
    display: none;
  }

  .reg-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .hero-headline {
    font-size: 2.2rem;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .reg-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}