/* ============================================================
   Xray Payment — Design System v2
   Brand: Navy #003a81 · Electric Blue #4196fd · Signal Green #18BD5B
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — extended dark scale for depth */
  --navy:        #003a81;
  --navy-2:      #002558;
  --navy-3:      #001a3e;
  --navy-deep:   #001229;
  --midnight:    #050d22;
  --midnight-2:  #0a1530;
  --midnight-3:  #0f1d3e;
  --blue:        #4196fd;
  --blue-2:      #2070d6;
  --blue-soft:   #eaf2ff;
  --blue-soft-2: #d6e6ff;
  --green:       #18BD5B;
  --green-2:     #0f8a40;
  --green-soft:  #e8f8ee;
  --green-glow:  #6ef39a;

  /* Neutrals (8-step) */
  --ink:    #0a0f1f;
  --ink-2:  #1a2238;
  --ink-3:  #38465f;
  --muted:  #5b6b80;
  --muted-2:#8a98ad;
  --line:   #e8edf4;
  --line-2: #f1f4f9;
  --bg:        #ffffff;
  --bg-soft:   #f7f9fc;
  --bg-2:      #fbfcfe;
  --bg-tint:   #eef2f8;            /* subtle blue-cool tint */
  --bg-dark:   #040b1c;
  --bg-midnight: #0a1530;          /* between dark and full black */
  --bg-rich:   #060f24;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow stack — softer, more directional */
  --sh-1: 0 1px 2px rgba(8, 16, 40, 0.04);
  --sh-2: 0 1px 3px rgba(8, 16, 40, 0.06), 0 4px 12px rgba(8, 16, 40, 0.05);
  --sh-3: 0 4px 8px rgba(8, 16, 40, 0.06), 0 16px 32px rgba(8, 16, 40, 0.08);
  --sh-4: 0 8px 20px rgba(8, 16, 40, 0.10), 0 32px 64px rgba(8, 16, 40, 0.12);
  --sh-glow-blue:  0 14px 36px -8px rgba(65, 150, 253, 0.45);
  --sh-glow-green: 0 14px 36px -8px rgba(24, 189, 91, 0.45);

  /* Gradients */
  --grad-blue:    linear-gradient(135deg, #003a81 0%, #4196fd 100%);
  --grad-green:   linear-gradient(135deg, #0f8a40 0%, #18BD5B 100%);
  --grad-mix:     linear-gradient(135deg, #003a81 0%, #4196fd 50%, #18BD5B 100%);
  --grad-text:    linear-gradient(90deg, #6ef39a 0%, #4196fd 100%);
  --grad-hero:
    radial-gradient(1400px 700px at 8% -10%, rgba(65, 150, 253, 0.34) 0%, transparent 55%),
    radial-gradient(1100px 600px at 110% 5%, rgba(24, 189, 91, 0.22) 0%, transparent 55%),
    radial-gradient(900px 500px at 50% 110%, rgba(110, 243, 154, 0.10) 0%, transparent 60%),
    linear-gradient(165deg, #020611 0%, #050d22 25%, #001229 55%, #001a3e 80%, #002558 100%);
  --grad-card-soft: linear-gradient(160deg, #ffffff 0%, #f7f9fc 100%);
  --grad-section-fade: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);

  /* Layout */
  --max: 1200px;
  --max-wide: 1320px;
  --gutter: 24px;
  --section-y: clamp(80px, 11vw, 140px);

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

img, svg { max-width: 100%; display: block; }
button { font: inherit; }

a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue); }

::selection { background: var(--blue-soft); color: var(--navy); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
h4 {
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; color: var(--ink-3); }

.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

code {
  font-family: 'SF Mono', 'JetBrains Mono', Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-soft);
  color: var(--navy);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

/* ---------- 4. Layout primitives ---------- */
.container       { max-width: var(--max);       margin: 0 auto; padding: 0 var(--gutter); }
.container-tight { max-width: 920px;            margin: 0 auto; padding: 0 var(--gutter); }
.container-wide  { max-width: var(--max-wide);  margin: 0 auto; padding: 0 var(--gutter); }

.section       { padding: var(--section-y) 0; }
.section-soft  {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(65, 150, 253, 0.06), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(24, 189, 91, 0.05), transparent 55%),
    var(--bg-soft);
}
.section-2     { background: var(--bg-2); }
.section-tint  {
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(0, 58, 129, 0.08), transparent 60%),
    var(--bg-tint);
}
.section-fade  { background: var(--grad-section-fade); }

/* Rich-but-still-light variant: feels deeper without going all dark */
.section-rich {
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(0, 58, 129, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(24, 189, 91, 0.07), transparent 55%),
    linear-gradient(180deg, #f0f4fb 0%, #e6ecf6 100%);
  position: relative;
  isolation: isolate;
}
.section-rich::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0, 31, 71, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 31, 71, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 30%, transparent 80%);
  pointer-events: none;
}
.section-rich > .container { position: relative; z-index: 1; }

/* Midnight variant: dark but lighter than full hero, used between light sections */
.section-midnight {
  background:
    radial-gradient(1200px 700px at 80% 0%, rgba(65, 150, 253, 0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 100%, rgba(24, 189, 91, 0.10), transparent 55%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 50%, var(--midnight-3) 100%);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section-midnight::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 25%, transparent 80%);
  pointer-events: none;
}
.section-midnight > .container { position: relative; z-index: 1; }
.section-midnight h1, .section-midnight h2, .section-midnight h3 { color: #fff; }
.section-midnight p { color: rgba(255, 255, 255, 0.78); }
.section-midnight .kicker {
  background: rgba(110, 243, 154, 0.14);
  color: var(--green-glow);
  border-color: rgba(110, 243, 154, 0.3);
}

.section-dark {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(65, 150, 253, 0.22) 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 100%, rgba(24, 189, 91, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-rich) 0%, var(--midnight-3) 50%, var(--navy-3) 100%);
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.section-dark > * { position: relative; z-index: 1; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.78); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-head .lead { margin-top: 14px; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blue-soft);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
  border: 1px solid color-mix(in oklab, var(--blue) 15%, transparent);
}
.section-dark .kicker {
  color: var(--green-glow);
  background: rgba(110, 243, 154, 0.12);
  border-color: rgba(110, 243, 154, 0.3);
}

/* ---------- 5. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 8px 24px rgba(8,16,40,0.04);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-wide); margin: 0 auto;
  padding: 10px var(--gutter);
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
  line-height: 0;
}
.brand-logo {
  display: block;
  height: 80px; width: auto;
  flex-shrink: 0;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.85; }
.brand-logo-lg { height: 112px; }
.brand.brand-on-dark .brand-logo { filter: invert(1) brightness(2); }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  color: var(--ink-3);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-links a:hover { background: var(--bg-soft); color: var(--navy); }
.nav-links a.active {
  color: var(--navy);
  background: var(--blue-soft);
}

/* Nav dropdown groups */
.nav-group { position: relative; }
.nav-group-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 0; cursor: pointer;
  color: var(--ink-3);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.97rem;
  font-family: inherit;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav-group-trigger .caret { font-size: 0.72rem; opacity: 0.7; transition: transform .15s var(--ease); }
.nav-group:hover .nav-group-trigger,
.nav-group:focus-within .nav-group-trigger { background: var(--bg-soft); color: var(--navy); }
.nav-group:hover .nav-group-trigger .caret,
.nav-group:focus-within .nav-group-trigger .caret { transform: rotate(180deg); }
.nav-group.is-active .nav-group-trigger { color: var(--navy); background: var(--blue-soft); }
.nav-group-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 8px;
  margin-top: 10px;
  z-index: 50;
}
/* Invisible bridge so cursor doesn't lose :hover when crossing the gap */
.nav-group-menu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-group:hover .nav-group-menu,
.nav-group:focus-within .nav-group-menu { display: block; }
.nav-group-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
}
.nav-group-menu a strong { display: block; font-weight: 600; color: var(--navy); font-size: 0.97rem; }
.nav-group-menu a span { display: block; color: var(--ink-3); font-size: 0.85rem; margin-top: 2px; line-height: 1.35; }
.nav-group-menu a:hover { background: var(--bg-soft); }
.nav-group-menu a.active { background: var(--blue-soft); }
.nav-group-menu a.active strong { color: var(--navy); }

.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  align-items: center; justify-content: center;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--sh-glow-blue), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 18px 44px -8px rgba(65, 150, 253, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-green {
  background: var(--grad-green);
  color: #fff;
  box-shadow: var(--sh-glow-green), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
}
.btn-green:hover {
  color: #fff;
  box-shadow: 0 18px 44px -8px rgba(24, 189, 91, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-green::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(24, 189, 91, 0.5);
  animation: cta-pulse 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(24, 189, 91, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(24, 189, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 189, 91, 0); }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); background: var(--blue-soft); }

.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-lg { padding: 18px 30px; font-size: 1.08rem; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  isolation: isolate;
  padding: clamp(96px, 14vw, 180px) 0 clamp(120px, 18vw, 220px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background: var(--grad-hero);
  animation: hero-shift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at center top, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at center top, black 20%, transparent 80%);
  pointer-events: none;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
  mix-blend-mode: screen;
}
.hero > .container { position: relative; z-index: 2; }

@keyframes hero-shift {
  0%   { filter: hue-rotate(0deg); transform: scale(1); }
  100% { filter: hue-rotate(-12deg); transform: scale(1.04); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(110, 243, 154, 0.14);
  color: var(--green-glow);
  border: 1px solid rgba(110, 243, 154, 0.28);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-glow);
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 { color: #fff; }
.hero h1 .accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin-top: 8px;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 44px;
  display: flex; gap: 24px; flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green-glow); flex-shrink: 0; }

/* Hero terminal mockup */
.hero-visual { position: relative; }
.terminal-card {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #e9eef7 100%);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--sh-4), 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(-2deg);
  color: var(--ink);
}
.terminal-screen {
  background: #06122a;
  border-radius: 18px;
  padding: 24px 22px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.terminal-screen::before {
  content: '';
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 6px;
  background: #1d2a3d; border-radius: 3px;
}
.terminal-screen::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(110, 243, 154, 0.18) 50%, transparent 100%);
  height: 40%;
  animation: scan 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0%, 100% { transform: translateY(-100%); }
  50%      { transform: translateY(250%); }
}
.terminal-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.035em; margin-top: 30px; }
.terminal-label  { font-size: 0.78rem; color: #93a4be; text-transform: uppercase; letter-spacing: 0.14em; }
.terminal-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(24, 189, 91, 0.18);
  color: var(--green-glow);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 0.83rem;
  font-weight: 700;
  margin-top: 16px;
  border: 1px solid rgba(110, 243, 154, 0.2);
}
.terminal-status::before { content: '✓'; }
.terminal-card .keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px;
}
.terminal-card .keypad div {
  background: #fff;
  height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--sh-3);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
}
.floating-card.fc-1 {
  top: -16px; left: -32px;
  animation: float-a 6s ease-in-out infinite;
}
.floating-card.fc-2 {
  bottom: 24px; right: -32px;
  animation: float-b 7s ease-in-out infinite;
}
.floating-card .dot {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-green);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
}
.floating-card.fc-2 .dot { background: var(--grad-blue); }
@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* ---------- 8. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease), border-color .25s var(--ease);
  box-shadow: var(--sh-1);
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-card-soft);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card > * { position: relative; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.card:hover::before { opacity: 1; }

.card .icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--navy);
  margin-bottom: 22px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.card:hover .icon { transform: scale(1.06); }
.card .icon svg { width: 26px; height: 26px; }
.card.is-green .icon  { background: var(--green-soft);  color: var(--green-2); }
.card.is-navy  .icon  { background: var(--navy);        color: #fff; }
.card h3 { margin: 0 0 10px; }
.card p  { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }

/* ---------- 9. Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- 10. Industries ---------- */
.industry-hero {
  background: var(--grad-hero);
  color: #fff;
  padding: clamp(72px, 10vw, 130px) 0 80px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.industry-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at center top, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at center top, black 30%, transparent 80%);
}
.industry-hero > * { position: relative; z-index: 1; }

.industry-filter {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 36px auto 0; max-width: 920px;
}
.chip {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
  backdrop-filter: blur(8px);
}
.chip:hover { background: rgba(255,255,255,0.14); color: #fff; transform: translateY(-1px); }
.chip.active { background: #fff; color: var(--navy); border-color: #fff; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.industry-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 30px;
  display: flex; flex-direction: column;
  text-align: left;
  box-shadow: var(--sh-2);
  transition: transform .35s var(--ease), box-shadow .4s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.industry-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.industry-card.green::after { background: var(--grad-green); }
.industry-card.navy::after  { background: var(--navy); }
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-4);
}
.industry-card:hover::after { transform: scaleX(1); }

.industry-card .ic-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.industry-card .ic-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--grad-blue);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--sh-glow-blue);
}
.industry-card .ic-icon svg { width: 28px; height: 28px; }
.industry-card.green .ic-icon { background: var(--grad-green); box-shadow: var(--sh-glow-green); }
.industry-card.navy  .ic-icon { background: var(--navy); box-shadow: 0 14px 36px -8px rgba(0, 58, 129, 0.45); }

.industry-card h3 { margin: 0 0 4px; font-size: 1.25rem; }
.industry-card .ic-tag {
  font-size: 0.76rem;
  color: var(--green-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.industry-card.navy .ic-tag { color: var(--blue-2); }
.industry-card p {
  color: var(--muted);
  font-size: 1rem;
  flex: 1;
  line-height: 1.55;
}
.industry-card .ic-fits {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.industry-card .ic-fits strong {
  color: var(--ink);
  display: block; margin-bottom: 8px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.industry-card .ic-fits .pill {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  margin: 4px 4px 0 0;
}

/* ---------- 11. Hardware brand cards ---------- */
.hw-brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
  box-shadow: var(--sh-1);
}
.hw-brand-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.hw-brand-head {
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
}
.hw-brand-head h3 { font-size: 1.7rem; margin: 0 0 6px; }
.hw-brand-card.clover .hw-brand-head h3   { background: linear-gradient(135deg, #00a651, #18BD5B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw-brand-card.valor  .hw-brand-head h3   { background: linear-gradient(135deg, #003a81, #4196fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw-brand-card.pax    .hw-brand-head h3   { background: linear-gradient(135deg, #c40234, #ff5577); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw-brand-card.dejavoo .hw-brand-head h3  { background: linear-gradient(135deg, #2b1b6a, #6c4ad4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw-brand-head .tag { font-size: 0.92rem; color: var(--muted); }
.hw-brand-body { padding: 24px 32px 32px; }
.hw-brand-body .lineup { font-size: 1rem; color: var(--ink-3); margin: 0; line-height: 1.7; }
.hw-brand-body .lineup strong { color: var(--ink); }
.hw-brand-body ul { padding-left: 20px; margin: 8px 0 0; color: var(--ink-3); font-size: 1rem; }
.hw-brand-body li { margin-bottom: 6px; }

/* Brand card as link */
.hw-brand-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hw-brand-cta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between;
}
.hw-brand-card:hover .hw-brand-cta { color: var(--green); }

/* ---------- Brand detail page (device grid) ---------- */
.brand-banner {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
}
.brand-banner-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.brand-banner h1 { font-size: 2.6rem; margin: 0 0 12px; }
.brand-banner .lead { color: var(--ink-3); margin: 0; }
.brand-banner-art {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--sh-1);
}
.brand-banner-art img { max-width: 100%; max-height: 260px; height: auto; }
.crumbs { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 16px; }
.crumbs a { color: var(--ink-3); text-decoration: none; border-bottom: 1px dotted var(--line); }
.crumbs a:hover { color: var(--navy); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.device-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.device-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: var(--blue-2);
}
.device-card-photo {
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.device-card-photo img { max-height: 160px; max-width: 90%; object-fit: contain; }
.device-card-form {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.device-card h3 { font-size: 1.15rem; margin: 0 0 6px; color: var(--navy); }
.device-card p { font-size: 0.9rem; color: var(--ink-3); margin: 0 0 14px; line-height: 1.5; flex: 1; }
.device-card-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.device-card:hover .device-card-cta { color: var(--green); }

/* Form-factor filter pills */
.ff-filter {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px;
}
.ff-filter button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-3);
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.ff-filter button:hover { border-color: var(--navy); color: var(--navy); }
.ff-filter button.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ---------- Device detail page ---------- */
.device-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
}
.device-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.device-hero-art {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--sh-1);
}
.device-hero-art img { max-width: 100%; max-height: 360px; height: auto; }
.device-hero h1 { font-size: 2.8rem; margin: 8px 0 12px; line-height: 1.05; letter-spacing: -0.02em; }
.device-hero .device-tagline { font-size: 1.18rem; color: var(--ink-3); margin: 0 0 24px; }
.device-hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px;
}
.device-meta-pill {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-3);
}
.device-meta-pill strong { color: var(--navy); }

.device-section { padding: 56px 0; }
.device-section + .device-section { border-top: 1px solid var(--line); }
.device-section h2 { font-size: 1.6rem; margin: 0 0 24px; }
.device-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.device-feature {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-soft);
  padding: 18px;
  border-radius: var(--r-md);
}
.device-feature .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}
.device-feature p { margin: 0; color: var(--ink); line-height: 1.5; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td { padding: 14px 0; text-align: left; vertical-align: top; }
.spec-table th { width: 200px; color: var(--ink-3); font-weight: 500; font-size: 0.95rem; }
.spec-table td { color: var(--ink); font-size: 0.97rem; }

/* Grouped specifications */
.spec-table.grouped th { width: 240px; }
.spec-table.grouped tr.spec-group { border-bottom: 0; }
.spec-table.grouped tr.spec-group th {
  width: auto; color: var(--navy); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 22px 0 8px; border-bottom: 2px solid var(--blue-soft-2);
}
.spec-table.grouped tr.spec-group:first-child th { padding-top: 0; }

/* Section header with inline download link */
.device-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.device-section-head h2 { margin: 0; }
.spec-dl { white-space: nowrap; }

/* Full feature list / universal checklist */
.capability-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px;
}
.capability-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink); line-height: 1.5; font-size: 0.98rem;
}
.cap-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 1px;
}
.device-universal { background: var(--bg-soft); }
.device-universal .capability-list li { font-size: 0.94rem; }

.related-devices {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1024px) {
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .device-hero-grid, .brand-banner-grid { grid-template-columns: 1fr; }
  .related-devices { grid-template-columns: repeat(2, 1fr); }
  .device-feature-grid { grid-template-columns: 1fr; }
  .capability-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .device-grid { grid-template-columns: 1fr; }
  .related-devices { grid-template-columns: 1fr; }
  .brand-banner h1, .device-hero h1 { font-size: 1.9rem; }
}

/* ---------- 12. Solutions / image-text rows ---------- */
.solution-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
  padding: 80px 0;
}
.solution-row.alt { direction: rtl; }
.solution-row.alt > * { direction: ltr; }
.solution-row + .solution-row { border-top: 1px solid var(--line); }
.solution-row h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
.solution-row .visual {
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  aspect-ratio: 5/4;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.solution-row .visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 30% 30%, rgba(65, 150, 253, 0.18), transparent 60%);
}
.solution-row .visual svg { width: 50%; height: 50%; color: var(--navy); opacity: 0.9; position: relative; }
.solution-row.green .visual { background: linear-gradient(135deg, var(--green-soft), #fff); }
.solution-row.green .visual::before { background: radial-gradient(800px 400px at 30% 30%, rgba(24, 189, 91, 0.2), transparent 60%); }
.solution-row.green .visual svg { color: var(--green-2); }
.solution-row ul { padding: 0; list-style: none; margin: 18px 0 28px; }
.solution-row li {
  padding: 9px 0 9px 32px;
  position: relative;
  color: var(--ink-3);
  font-size: 1.05rem;
}
.solution-row li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
  box-shadow: 0 4px 10px -2px rgba(24, 189, 91, 0.4);
}

/* ---------- 13. Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
  box-shadow: var(--sh-1);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.price-card.featured {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, var(--green-soft), #fff 35%);
  box-shadow: var(--sh-glow-green), var(--sh-3);
  transform: scale(1.02);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-green);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--sh-glow-green);
}
.price-card h3 { font-size: 1.35rem; }
.price-card .amt {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 12px 0 4px;
  line-height: 1;
}
.price-card .amt-sub { font-size: 0.94rem; color: var(--muted); }
.price-card ul { padding: 0; margin: 24px 0; list-style: none; }
.price-card li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 1rem;
  color: var(--ink-3);
}
.price-card li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%2318BD5B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- 14. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  backdrop-filter: blur(10px);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.stat-card:hover {
  border-color: rgba(110, 243, 154, 0.3);
  background: rgba(255,255,255,0.06);
}
.stat-card .num {
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #fff 0%, var(--green-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-card .lbl {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 280px;
}

/* ---------- 15. CTA banner ---------- */
.cta-banner {
  background: var(--grad-hero);
  border-radius: var(--r-xl);
  padding: 64px 56px;
  color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-4);
  isolation: isolate;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 70% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 50%, black 20%, transparent 80%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0; }
.cta-banner .actions { display: flex; gap: 12px; }

/* ---------- 16. Footer ---------- */
.footer {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(65, 150, 253, 0.12), transparent 55%),
    radial-gradient(700px 400px at 100% 100%, rgba(24, 189, 91, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-rich) 0%, #020611 100%);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  position: relative;
  isolation: isolate;
}
.footer::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at center, black 30%, transparent 80%);
}
.footer > * { position: relative; z-index: 1; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h5 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 7px 0; font-size: 1.02rem; }
.footer p { font-size: 1.02rem; color: rgba(255,255,255,0.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
}

/* ---------- 17. Trust band / logo grid ---------- */
.trust-band {
  padding: 64px 0;
  position: relative;
  isolation: isolate;
}
.trust-band.dark {
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(65, 150, 253, 0.16), transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
  color: rgba(255,255,255,0.85);
}
.trust-band.dark .lbl { color: rgba(255,255,255,0.55); }
.trust-band.dark .logo-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
}
.trust-band.dark .logo-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(110, 243, 154, 0.4);
}
.trust-band.dark .visa-mark    { color: #ffffff; filter: drop-shadow(0 0 8px rgba(255,255,255,0.3)); }
.trust-band.dark .clover-mark,
.trust-band.dark .valor-mark,
.trust-band.dark .pax-mark,
.trust-band.dark .dejavoo-mark,
.trust-band.dark .nmi-mark,
.trust-band.dark .authnet-mark,
.trust-band.dark .integration-mark,
.trust-band.dark .pci-mark,
.trust-band.dark .soc-mark,
.trust-band.dark .ap-mark,
.trust-band.dark .gp-mark,
.trust-band.dark .ctp-mark { filter: brightness(1.6) saturate(1.2); }
.trust-band.dark .disc-mark { color: #ff8c33; }
.trust-band.dark .amex-mark { background: #2898ff; }

.trust-band .lbl {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 32px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: center;
}
.logo-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.logo-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  height: 92px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  padding: 14px;
  box-shadow: var(--sh-1);
}
.logo-tile:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}

/* Card-network / brand marks */
.logo-tile .visa-mark    { color: #1a1f71; font-style: italic; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.05em; }
.logo-tile .mc-mark      { display: inline-flex; align-items: center; gap: 0; }
.logo-tile .mc-mark::before, .logo-tile .mc-mark::after { content: ''; width: 28px; height: 28px; border-radius: 50%; }
.logo-tile .mc-mark::before { background: #eb001b; margin-right: -10px; }
.logo-tile .mc-mark::after  { background: #f79e1b; }
.logo-tile .amex-mark    { background: #006fcf; color: #fff; font-size: 0.76rem; padding: 7px 12px; border-radius: 6px; letter-spacing: 0.06em; }
.logo-tile .disc-mark    { color: #ff6000; font-size: 1.1rem; font-weight: 900; letter-spacing: -0.02em; }
.logo-tile .ap-mark      { color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.logo-tile .gp-mark      { background: linear-gradient(90deg, #4285f4, #ea4335 35%, #fbbc04 65%, #34a853); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.15rem; font-weight: 800; }
.logo-tile .ctp-mark     { color: #1a73e8; font-weight: 800; font-size: 1rem; }
.logo-tile .pci-mark     { color: var(--navy); font-size: 0.78rem; line-height: 1.2; text-align: center; font-weight: 800; }
.logo-tile .soc-mark     { color: var(--navy); font-size: 1rem; font-weight: 800; }
.logo-tile .clover-mark  { color: #00a651; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-tile .valor-mark   { color: #003a81; font-size: 1.25rem; font-weight: 800; letter-spacing: 0.02em; }
.logo-tile .pax-mark     { color: #c40234; font-size: 1.65rem; font-weight: 900; letter-spacing: -0.04em; }
.logo-tile .dejavoo-mark { color: #6c4ad4; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-tile .nmi-mark     { color: #f37021; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-tile .authnet-mark { color: #1a4187; font-size: 0.95rem; font-weight: 800; line-height: 1.2; text-align: center; }
.logo-tile .integration-mark { color: var(--ink); font-size: 0.95rem; font-weight: 700; text-align: center; line-height: 1.25; }

/* Marquee */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee-slide 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > * { flex-shrink: 0; }
.marquee .logo-tile { min-width: 210px; height: 96px; border-radius: var(--r-md); font-size: 1.18rem; }
.marquee.slow .marquee-track    { animation-duration: 60s; }
.marquee.fast .marquee-track    { animation-duration: 28s; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 18. Live transaction ticker ---------- */
.ticker {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  position: relative;
}
.ticker::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% 50%, rgba(110, 243, 154, 0.04), transparent 70%);
  pointer-events: none;
}
.ticker-track {
  display: flex; gap: 28px;
  width: max-content;
  animation: ticker-slide 55s linear infinite;
  align-items: center;
  position: relative;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.ticker-item .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-glow);
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.ticker-item .amt   { color: #fff; font-weight: 700; }
.ticker-item .where { color: rgba(255,255,255,0.55); font-weight: 500; }
@keyframes ticker-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 19. Audience tabs ---------- */
.audience-tabs {
  display: inline-flex;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 6px;
  margin: 0 auto 48px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.audience-tabs button {
  background: transparent;
  border: 0;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.audience-tabs button.active {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--sh-glow-blue);
}
.audience-panel { display: none; }
.audience-panel.active { display: block; animation: fade-in .4s var(--ease); }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 20. Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
}
.testimonial::before {
  content: '"';
  position: absolute; top: 14px; right: 26px;
  font-size: 5rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--blue);
  opacity: 0.18;
}
.testimonial .quote {
  font-size: 1.08rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 28px;
  font-weight: 500;
}
.testimonial .who {
  margin-top: auto;
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.testimonial .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-blue);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--sh-glow-blue);
}
.testimonial .who-name { font-weight: 700; font-size: 1rem; color: var(--ink); }
.testimonial .who-role { font-size: 0.88rem; color: var(--muted); }

/* ---------- 21. Quiz ---------- */
.quiz {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-3);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.quiz-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  margin-bottom: 28px;
  overflow: hidden;
}
.quiz-progress span {
  display: block; height: 100%;
  background: var(--grad-blue);
  width: 0%;
  transition: width .45s var(--ease);
}
.quiz-step-label {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fade-in .35s var(--ease); }
.quiz-step h3 { font-size: 1.6rem; margin-bottom: 22px; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quiz-options.cols-3 { grid-template-columns: repeat(3, 1fr); }
.quiz-options [data-option] {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
  display: flex; gap: 12px; align-items: center;
}
.quiz-options [data-option] svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; }
.quiz-options [data-option]:hover { border-color: var(--blue); transform: translateY(-2px); }
.quiz-options [data-option].selected {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: var(--sh-glow-green);
}
.quiz-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.quiz-result { display: none; text-align: center; padding: 24px 0; }
.quiz-result.shown { display: block; animation: fade-in .5s var(--ease); }
.quiz-result .badge {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-2);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.quiz-result h3 { font-size: 2.2rem; }
.quiz-result h3 [data-result-device] { color: var(--navy); }
.quiz-result p { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin: 0 auto 22px; line-height: 1.55; }

/* ---------- 22. Calculator ---------- */
.calc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-2);
}
.calc-grid .savings {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.calc-grid .savings::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0, rgba(110, 243, 154, 0.18), transparent 60%);
}
.calc-grid .savings > * { position: relative; }
.calc-grid .savings .lbl {
  color: rgba(255,255,255,0.7);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.calc-grid .savings .num {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #fff, var(--green-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 6px 0 20px;
  line-height: 1;
}
.calc-grid .savings .annual { font-size: 1.7rem; font-weight: 800; color: var(--green-glow); }

/* ---------- 23. Floating CTA / drawer ---------- */
.fab {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--grad-green);
  color: #fff;
  padding: 15px 24px;
  border-radius: var(--r-pill);
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.97rem;
  box-shadow: var(--sh-glow-green), var(--sh-3);
  cursor: pointer;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -8px rgba(24, 189, 91, 0.55), var(--sh-3); }
.fab svg { width: 18px; height: 18px; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 480px;
  background: #fff;
  z-index: 70; padding: 32px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
  box-shadow: -24px 0 64px rgba(8,16,40,0.18);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer::after {
  content: ''; position: fixed; inset: 0;
  background: rgba(8, 16, 40, 0.55); opacity: 0; visibility: hidden;
  z-index: -1; transition: opacity .25s var(--ease);
  backdrop-filter: blur(4px);
}
.drawer.open::after { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.drawer-head button {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  font-size: 1.4rem;
  color: var(--muted);
  transition: background .15s var(--ease);
}
.drawer-head button:hover { background: var(--line); }
.drawer h3 { margin-bottom: 6px; }
.drawer p { color: var(--muted); font-size: 1rem; }

/* ---------- 24. Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--sh-2);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-row input::placeholder { color: var(--muted-2); }
.form-row input:hover, .form-row select:hover, .form-row textarea:hover { border-color: var(--muted-2); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(65, 150, 253, 0.16);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-success {
  display: none;
  padding: 20px;
  background: var(--green-soft);
  border: 1px solid color-mix(in oklab, var(--green) 25%, transparent);
  border-radius: var(--r-md);
  color: var(--green-2);
  font-weight: 600;
}
.form-error { color: #c00b35; font-size: 0.88rem; margin-top: 6px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info-item { display: flex; gap: 18px; margin-bottom: 28px; }
.contact-info-item .ico {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .ico svg { width: 22px; height: 22px; }
.contact-info-item h4 { margin: 0 0 4px; font-size: 1.1rem; }
.contact-info-item p { margin: 0; color: var(--muted); }

/* ============================================================
   HERO V2 — full-bleed photo + motion stack
   ============================================================ */

.hero-v2 {
  padding: clamp(110px, 16vw, 200px) 0 clamp(140px, 20vw, 240px);
  min-height: 92vh;
  display: flex; align-items: center;
}

.hero-grid-v2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

/* Full-bleed photo flowing in from the right edge of the viewport */
.hero-photo-bleed {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-photo-bleed img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* slow zoom-in + parallax — JS adds translateY based on scroll */
  animation: hero-zoom 22s ease-in-out infinite alternate;
  transform-origin: 70% 50%;
  will-change: transform;
}
@keyframes hero-zoom {
  0%   { transform: scale(1.05) translateY(0); }
  100% { transform: scale(1.12) translateY(-1.5%); }
}
/* Mask that bleeds the photo into the dark page background */
.hero-photo-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg-dark) 0%, rgba(4, 11, 28, 0.85) 18%, rgba(4, 11, 28, 0.4) 38%, transparent 58%),
    linear-gradient(180deg, rgba(4, 11, 28, 0.6) 0%, transparent 25%, transparent 75%, rgba(4, 11, 28, 0.7) 100%),
    radial-gradient(800px 600px at 80% 50%, rgba(65, 150, 253, 0.15), transparent 60%);
  mix-blend-mode: normal;
}

/* Mouse-follow spotlight */
.hero-spotlight {
  position: absolute;
  width: 800px; height: 800px;
  left: var(--mx, 50%); top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(110, 243, 154, 0.10) 0%, rgba(65, 150, 253, 0.06) 30%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: left .3s ease-out, top .3s ease-out;
  mix-blend-mode: screen;
}

/* Drifting orbs */
.hero-orbs {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(65, 150, 253, 0.6) 0%, transparent 70%);
  top: -120px; left: -80px;
  animation: orb-drift-1 22s ease-in-out infinite alternate;
}
.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(24, 189, 91, 0.5) 0%, transparent 70%);
  bottom: -120px; left: 30%;
  animation: orb-drift-2 28s ease-in-out infinite alternate;
}
.orb-3 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(110, 243, 154, 0.35) 0%, transparent 70%);
  top: 40%; right: 35%;
  animation: orb-drift-3 26s ease-in-out infinite alternate;
}
@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(140px, 80px) scale(1.15); }
}
@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-180px, -60px) scale(0.9); }
}
@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-120px, 100px) scale(1.2); }
}

.hero-v2 > .container { z-index: 3; }
.hero-v2 .hero-visual { z-index: 4; position: relative; min-height: 460px; }

/* Stagger reveal — each child has --i for delay */
.stagger {
  opacity: 0;
  transform: translateY(24px);
  animation: stagger-in .9s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 200ms);
}
.hero-h1 { display: block; }
.hero-h1 .stagger { display: block; color: #fff; }
.hero-h1 .stagger.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes stagger-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Live counter */
.live-counter {
  margin-top: 36px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  backdrop-filter: blur(10px);
  font-size: 0.94rem;
}
.live-counter .lc-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-glow);
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.live-counter .lc-amount {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.live-counter .lc-label { color: rgba(255,255,255,0.65); }

/* Floating card variations + extra card */
.floating-card.fc-1 {
  top: -8px; left: -38px;
}
.floating-card.fc-2 {
  bottom: 16px; right: -42px;
}
.floating-card.fc-3 {
  top: 50%; left: -56px;
  transform: translateY(-50%);
  animation: float-c 8s ease-in-out infinite;
}
.floaty.fc-1 { animation: float-a 6s ease-in-out infinite; }
.floaty.fc-2 { animation: float-b 7s ease-in-out infinite; }
@keyframes float-c {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%      { transform: translateY(-50%) translateX(-8px); }
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 5;
  pointer-events: none;
}
.hero-scroll-cue .hsc-line {
  width: 1.5px; height: 44px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.6) 100%);
  position: relative;
}
.hero-scroll-cue .hsc-line::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1.5px; height: 16px;
  background: var(--green-glow);
  animation: scroll-cue 2.2s ease-in-out infinite;
}
.hero-scroll-cue .hsc-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
@keyframes scroll-cue {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(28px); opacity: 0; }
}

/* Card tilt-on-hover (added by JS via data-tilt) */
.tilt {
  transform-style: preserve-3d;
  transition: transform .25s var(--ease);
  will-change: transform;
}
.tilt-inner {
  transform: translateZ(0);
}

/* Animated gradient border on industry cards */
.industry-card.has-photo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent 30%, color-mix(in oklab, var(--blue) 30%, transparent) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.industry-card.has-photo:hover::before { opacity: 1; }
.industry-card.green.has-photo::before  { background: linear-gradient(120deg, transparent 30%, color-mix(in oklab, var(--green) 30%, transparent) 50%, transparent 70%); }
.industry-card.navy.has-photo::before   { background: linear-gradient(120deg, transparent 30%, color-mix(in oklab, var(--navy) 40%, transparent) 50%, transparent 70%); }

/* Section transitions — fade strips */
.section + .section,
.section + .trust-band,
.trust-band + .section {
  position: relative;
}

/* Mobile reflow */
@media (max-width: 1024px) {
  .hero-grid-v2 { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo-bleed { width: 100%; opacity: 0.45; }
  .hero-photo-mask {
    background:
      linear-gradient(180deg, rgba(4, 11, 28, 0.4) 0%, rgba(4, 11, 28, 0.8) 60%, var(--bg-dark) 100%);
  }
  .hero-v2 .hero-visual { display: none; }
  .live-counter { font-size: 0.86rem; padding: 12px 16px; }
  .live-counter .lc-amount { font-size: 1rem; }
}

/* ============================================================
   Page-deep design — keep visual weight all the way down
   ============================================================ */

/* Hardware-preview tile (home + index pages) */
.hw-preview {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .4s var(--ease), border-color .25s var(--ease);
  text-decoration: none;
  color: inherit;
}
.hw-preview:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.hw-preview-photo {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.hw-preview-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.hw-preview:hover .hw-preview-photo img { transform: scale(1.06); }
.hw-preview-photo:not(.device-photo):not(.product-photo)::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
}
.hw-preview-photo.device-photo {
  background: linear-gradient(160deg, #f7f9fc 0%, #ffffff 100%);
}

/* ============================================================
   Real product-photo display: white bg, contain-fit, gentle pad
   ============================================================ */
.product-photo {
  background:
    radial-gradient(600px 400px at 50% 60%, rgba(65, 150, 253, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  position: relative;
  isolation: isolate;
}
.product-photo::before {
  content: '';
  position: absolute;
  bottom: 8%; left: 25%; right: 25%;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(0, 31, 71, 0.18), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}
.product-photo img {
  width: auto !important; height: auto !important;
  max-width: 100%; max-height: 100%;
  object-fit: contain !important;
  position: relative; z-index: 1;
  transition: transform .5s var(--ease) !important;
}
.hw-brand-card:hover .product-photo img,
.ff-card:hover .product-photo img,
.hw-preview:hover .product-photo img {
  transform: scale(1.06) !important;
}

/* Brand photo container needs more height to fit tall devices */
.hw-brand-card .hw-brand-photo.product-photo {
  height: 320px;
  padding: 24px;
}
.ff-card .ff-photo.product-photo {
  height: 220px;
}
.hw-preview-photo.product-photo {
  height: 200px;
  padding: 18px;
}

/* Each brand gets a subtle accent glow on the product card backdrop */
.hw-brand-card.clover .product-photo {
  background:
    radial-gradient(600px 400px at 50% 60%, rgba(0, 166, 81, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}
.hw-brand-card.valor .product-photo {
  background:
    radial-gradient(600px 400px at 50% 60%, rgba(0, 58, 129, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}
.hw-brand-card.pax .product-photo {
  background:
    radial-gradient(600px 400px at 50% 60%, rgba(196, 2, 52, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fef4f6 100%);
}
.hw-brand-card.dejavoo .product-photo {
  background:
    radial-gradient(600px 400px at 50% 60%, rgba(108, 74, 212, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f3ff 100%);
}
.hw-preview-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hw-preview-mark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hw-preview-body p { color: var(--muted); font-size: 0.96rem; margin: 0; line-height: 1.55; flex: 1; }

/* ============================================================
   Merchant mosaic (full-bleed photo section)
   ============================================================ */
.merchant-mosaic {
  position: relative;
  padding: clamp(96px, 14vw, 160px) 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--bg-dark);
}
.merchant-mosaic .mm-bg {
  position: absolute; inset: 0; z-index: 0;
}
.merchant-mosaic .mm-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(1.1);
}
.merchant-mosaic::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, var(--bg-dark) 0%, rgba(4, 11, 28, 0.85) 30%, rgba(4, 11, 28, 0.55) 60%, transparent 100%),
    radial-gradient(800px 500px at 80% 50%, rgba(65, 150, 253, 0.25), transparent 60%);
  pointer-events: none;
}
.merchant-mosaic .mm-content { position: relative; z-index: 2; }

/* ============================================================
   Photo banner (used on inner pages as section accents)
   ============================================================ */
.photo-band {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.photo-band-bg {
  position: absolute; inset: 0; z-index: 0;
}
.photo-band-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.05);
}
.photo-band::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, rgba(0, 31, 71, 0.92) 0%, rgba(0, 58, 129, 0.72) 50%, rgba(4, 11, 28, 0.85) 100%),
    radial-gradient(900px 500px at 30% 50%, rgba(65, 150, 253, 0.25), transparent 60%);
}
.photo-band > .container { position: relative; z-index: 2; }
.photo-band h2, .photo-band h3 { color: #fff; }
.photo-band p { color: rgba(255,255,255,0.78); }

/* ============================================================
   Stat tile w/ photo (richer than text-only stats)
   ============================================================ */
.stat-tile {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.stat-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.stat-tile::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 31, 71, 0.7) 70%, rgba(4, 11, 28, 0.95) 100%);
}
.stat-tile > * { position: relative; z-index: 2; }
.stat-tile .num {
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #fff, var(--green-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-tile .lbl { color: rgba(255,255,255,0.85); margin-top: 8px; }

/* ============================================================
   Image-text quote / pull section
   ============================================================ */
.pull-quote {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: clamp(72px, 10vw, 130px) 0;
}
.pull-quote .pq-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: var(--sh-3);
}
.pull-quote .pq-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.pull-quote:hover .pq-photo img { transform: scale(1.04); }
.pull-quote .pq-text blockquote {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pull-quote .pq-text cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-2);
}
.pull-quote .pq-text cite small { display: block; color: var(--muted); font-weight: 500; font-size: 0.92rem; margin-top: 2px; }

/* ============================================================
   Glass card (premium dark variant)
   ============================================================ */
.glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.glass-card:hover {
  border-color: rgba(110, 243, 154, 0.3);
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}

/* ============================================================
   Hardware brand cards — add product photo
   ============================================================ */
.hw-brand-card .hw-brand-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(160deg, #f7f9fc 0%, #ffffff 100%);
}
.hw-brand-card .hw-brand-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.hw-brand-card:hover .hw-brand-photo img { transform: scale(1.04); }

/* ============================================================
   Form-factor card with photo
   ============================================================ */
.ff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
}
.ff-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.ff-card .ff-photo {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #f7f9fc 0%, #ffffff 100%);
}
.ff-card .ff-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.ff-card:hover .ff-photo img { transform: scale(1.04); }
.ff-card .ff-icon-overlay {
  position: absolute; left: 18px; bottom: 18px;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.ff-card .ff-icon-overlay svg { width: 22px; height: 22px; }
.ff-card .ff-body { padding: 24px 26px 28px; }
.ff-card .ff-body h3 { margin: 0 0 8px; font-size: 1.2rem; }
.ff-card .ff-body p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.ff-card .ff-body .ff-best {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--green-2);
  font-weight: 700;
}

/* ============================================================
   Pricing accent + deeper visual on inner pages
   ============================================================ */
.price-grid + .price-grid-photo-strip {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.price-photo-tile {
  height: 120px;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}
.price-photo-tile img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Developer page hero accent / data flow
   ============================================================ */
.dev-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.dev-flow-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  text-align: center;
}
.dev-flow-card .dfc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: var(--sh-glow-blue);
}
.dev-flow-card h4 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.dev-flow-card p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.95rem; }

/* ============================================================
   About — photo accents on values + agent row
   ============================================================ */
.value-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 64px;
}
.value-photo {
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.value-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.value-photo:hover img { transform: scale(1.06); }
.value-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
}
.value-photo .vp-label {
  position: absolute; left: 22px; bottom: 18px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 2;
}

/* ============================================================
   Contact — hero photo accent
   ============================================================ */
.contact-photo-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: var(--sh-3);
  margin-bottom: 32px;
}
.contact-photo-card img {
  width: 100%; height: 320px;
  object-fit: cover;
  display: block;
}
.contact-photo-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,31,71,0.85) 100%);
}
.contact-photo-card .cpc-overlay {
  position: absolute; bottom: 22px; left: 24px; right: 24px;
  z-index: 2;
  color: #fff;
}
.contact-photo-card .cpc-overlay h3 { color: #fff; margin-bottom: 4px; font-size: 1.4rem; }
.contact-photo-card .cpc-overlay p { color: rgba(255,255,255,0.85); margin: 0; }

/* Quiz result photo */
.quiz-result-photo {
  width: 200px; height: 200px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--green-soft);
  box-shadow: var(--sh-glow-green);
  display: none;
}
.quiz-result.shown .quiz-result-photo { display: block; }
.quiz-result-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Section divider — subtle gradient line */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 50%, transparent 100%);
  margin: 0 auto;
  max-width: 80%;
}

/* Responsive for new components */
@media (max-width: 1024px) {
  .pull-quote { grid-template-columns: 1fr; gap: 36px; }
  .pull-quote .pq-photo { aspect-ratio: 16/10; max-width: 600px; margin: 0 auto; }
  .dev-flow-grid { grid-template-columns: 1fr; }
  .value-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .value-photo-grid { grid-template-columns: 1fr; }
  .price-grid + .price-grid-photo-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Enterprise page — stats band, timeline rail, dual signal,
   compare table, relationship-manager grid
   ============================================================ */

/* Stats band — bigger numbers, cleaner labels */
.stats-band .stat-num {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(90deg, #fff 0%, var(--green-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-band .stat-lbl {
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  margin-top: 12px;
  line-height: 1.5;
}

/* Timeline rail — 6-card horizontal timeline */
.timeline-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
}
.timeline-rail::before {
  content: '';
  position: absolute;
  top: 38px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(110,243,154,0.5) 15%, rgba(65,150,253,0.5) 85%, transparent 100%);
  z-index: 0;
}
.timeline-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 24px 22px 26px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.timeline-card:hover { transform: translateY(-3px); border-color: rgba(110,243,154,0.3); }
.timeline-card .tl-day {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px;
  background: var(--grad-blue);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  box-shadow: var(--sh-glow-blue);
}
.timeline-card:nth-child(odd) .tl-day { background: var(--grad-green); box-shadow: var(--sh-glow-green); }
.timeline-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; line-height: 1.2; }
.timeline-card p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* Dual signal — boutique + enterprise side-by-side */
.dual-signal { gap: 24px; }
.dual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
  box-shadow: var(--sh-2);
}
.dual-card:hover { transform: translateY(-4px); box-shadow: var(--sh-4); }
.dual-card.dual-dark {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(65,150,253,0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(24,189,91,0.10), transparent 55%),
    linear-gradient(180deg, var(--midnight) 0%, var(--midnight-2) 100%);
  border-color: rgba(255,255,255,0.10);
  color: #fff;
}
.dual-card.dual-dark h3 { color: #fff; }
.dual-card.dual-dark .dual-list li { color: rgba(255,255,255,0.85); }
.dual-card.dual-dark .dual-list li::before {
  background: var(--green-glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23001229' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.dual-card .dual-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.dual-card h3 { font-size: 1.7rem; margin-bottom: 24px; line-height: 1.15; }
.dual-list { list-style: none; padding: 0; margin: 0 0 32px; }
.dual-list li {
  padding: 9px 0 9px 32px;
  position: relative;
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.dual-list li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Comparison table */
.compare-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.ct-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.ct-row:last-child { border-bottom: 0; }
.ct-cell {
  padding: 18px 22px;
  font-size: 0.96rem;
  color: var(--ink-2);
  display: flex; align-items: center;
  border-left: 1px solid var(--line);
}
.ct-cell:first-child { border-left: 0; }
.ct-feature {
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
}
.ct-head .ct-cell {
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg-soft);
  padding: 18px 22px;
}
.ct-head .ct-feature { background: var(--bg-tint); }
.ct-cell.ct-xray {
  background: linear-gradient(180deg, var(--green-soft) 0%, #fff 100%);
  color: var(--ink);
  position: relative;
}
.ct-cell.ct-xray::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 3px;
  background: var(--grad-green);
}
.ct-head .ct-cell.ct-xray {
  background: var(--grad-green);
  color: #fff;
}
.ct-head .ct-cell.ct-xray::before { display: none; }

/* Relationship Manager grid */
.rm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rm-card { padding: 36px; text-align: left; }
.rm-card .rm-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  box-shadow: var(--sh-glow-blue);
}
.rm-card h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.rm-card .rm-role {
  font-size: 0.86rem;
  color: var(--green-glow);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.rm-card p {
  color: rgba(255,255,255,0.78);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
  font-style: italic;
  padding-left: 14px;
  border-left: 2px solid var(--green-glow);
}

/* Responsive */
@media (max-width: 1024px) {
  .timeline-rail { grid-template-columns: repeat(3, 1fr); }
  .timeline-rail::before { display: none; }
  .dual-signal { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1.2fr 1fr 1fr; }
  .ct-row .ct-cell:nth-child(4) { display: none; }
  .rm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .timeline-rail { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 1fr 1fr; font-size: 0.84rem; }
  .ct-row .ct-cell:nth-child(3) { display: none; }
  .ct-cell { padding: 14px 16px; }
}

/* ---------- Real-photography treatments ---------- */

/* Hero photo card — replaces the CSS terminal mockup */
.hero-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--sh-4), 0 0 0 1px rgba(255,255,255,0.08);
  isolation: isolate;
  transform: rotate(-1.5deg);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(165deg, transparent 30%, rgba(0, 31, 71, 0.45) 100%);
  pointer-events: none;
}

/* Overlay tag inside the hero photo (lower-left) */
.hero-photo .photo-tag {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 2;
  box-shadow: var(--sh-2);
}
.hero-photo .photo-tag .glow {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

/* Industry card photo banner (top of card) */
.industry-card.has-photo { padding: 0; overflow: hidden; }
.industry-card .ic-photo {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--bg-soft);
}
.industry-card .ic-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.industry-card.has-photo:hover .ic-photo img { transform: scale(1.08); }
.industry-card .ic-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
}
.industry-card .ic-photo .ic-icon-overlay {
  position: absolute; left: 18px; bottom: 18px;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.96);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-2);
  z-index: 2;
}
.industry-card .ic-photo .ic-icon-overlay svg { width: 24px; height: 24px; }
.industry-card.has-photo .ic-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.industry-card.has-photo .ic-body .ic-tag { margin-bottom: 4px; }
.industry-card.has-photo .ic-body h3 { margin-bottom: 12px; }

/* Solution row visual — real photo */
.solution-row .visual.photo {
  background: none;
  border: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.solution-row .visual.photo::before { display: none; }
.solution-row .visual.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .8s var(--ease);
}
.solution-row .visual.photo:hover img { transform: scale(1.04); }
.solution-row .visual.photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.solution-row .visual.photo .photo-badge {
  position: absolute; top: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: var(--sh-2);
  backdrop-filter: blur(6px);
}
.solution-row .visual.photo .photo-badge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* Industry hero photo strip */
.ind-hero-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 40px;
  padding: 0 var(--gutter);
}
.ind-hero-strip-tile {
  height: 100px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.ind-hero-strip-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity .25s var(--ease), transform .6s var(--ease);
}
.ind-hero-strip-tile:hover img { opacity: 1; transform: scale(1.06); }

@media (max-width: 960px) {
  .ind-hero-strip { grid-template-columns: repeat(3, 1fr); }
  .industry-card .ic-photo { height: 160px; }
}
@media (max-width: 700px) {
  .ind-hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { transform: none; }
}

/* ---------- 25. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 26. Code blocks (Developers page) ---------- */
.code-block {
  background: var(--bg-dark);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--sh-3);
  font-family: 'SF Mono', 'JetBrains Mono', Monaco, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  border: 1px solid rgba(255,255,255,0.05);
}
.code-tabs {
  display: flex; gap: 4px;
  background: rgba(0,0,0,0.4);
  padding: 8px 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
}
.code-tab {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  padding: 9px 16px;
  border-radius: 8px 8px 0 0;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.code-tab.active { background: var(--bg-dark); color: #fff; }
.code-tab:hover  { color: #fff; }
.code-body { padding: 24px 26px; color: #e3ecfb; overflow-x: auto; }
.code-body pre { margin: 0; white-space: pre; }
.tk { color: #ff8bd1; }
.ts { color: #a3ffac; }
.tn { color: #ffd479; }
.tc { color: #6b7d97; font-style: italic; }
.tp { color: #93a4be; }
.tv { color: #9ec3ff; }

.api-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.api-feature {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 26px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  backdrop-filter: blur(10px);
}
.api-feature:hover { border-color: rgba(110, 243, 154, 0.3); transform: translateY(-3px); }
.api-feature .ico {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: rgba(65, 150, 253, 0.18);
  color: #9ec3ff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.api-feature .ico svg { width: 22px; height: 22px; }
.api-feature h4 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.api-feature p { color: rgba(255,255,255,0.7); font-size: 0.96rem; margin: 0; }

.endpoint-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.endpoint-row {
  display: grid;
  grid-template-columns: 90px 1.5fr 2fr;
  gap: 18px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  align-items: center;
  font-size: 0.96rem;
}
.endpoint-row:first-child {
  border-top: 0;
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.endpoint-row .method {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  min-width: 60px;
}
.endpoint-row .method.get    { background: var(--blue-soft); color: var(--navy); }
.endpoint-row .method.post   { background: var(--green-soft); color: var(--green-2); }
.endpoint-row .method.put,
.endpoint-row .method.patch  { background: #fff4e0; color: #b06b00; }
.endpoint-row .method.delete { background: #ffe6e6; color: #b00020; }
.endpoint-row code {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
}
.endpoint-row .desc { color: var(--muted); }

.sdk-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sdk-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 14px;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  box-shadow: var(--sh-1);
}
.sdk-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--blue);
}
.sdk-tile .glyph {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  border-radius: var(--r-sm);
  background: var(--grad-card-soft);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
}
.sdk-tile .name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.sdk-tile .ver  { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* Plugin grid */
.plugin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plugin-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: left;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  box-shadow: var(--sh-1);
}
.plugin-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--blue); }
.plugin-tile .pl-head { display: flex; align-items: center; gap: 14px; }
.plugin-tile .pl-logo {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--grad-card-soft);
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.plugin-tile .pl-name { font-weight: 700; color: var(--ink); line-height: 1.2; }
.plugin-tile .pl-tag  { font-size: 0.78rem; color: var(--green-2); font-weight: 700; }
.plugin-tile p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }

/* Gateway cards */
.gw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gw-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
  box-shadow: var(--sh-1);
}
.gw-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.gw-card .gw-ribbon {
  position: absolute; top: 22px; right: 22px;
  background: var(--grad-green);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--sh-glow-green);
}
.gw-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.gw-card .gw-tag { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; }
.gw-card ul { list-style: none; padding: 0; margin: 0; }
.gw-card li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 1rem;
  color: var(--ink-3);
}
.gw-card li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%2318BD5B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ---------- Partner program (/partners + /partners/{slug}) ---------- */

/* Hub page hero */
.partners-hub-hero {
  position: relative;
  padding: 96px 0 72px;
  background: linear-gradient(160deg, #0b1530 0%, #122046 50%, #0b1530 100%);
  color: #fff;
  overflow: hidden;
}
.partners-hub-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(110, 243, 154, 0.18), transparent 65%),
    radial-gradient(800px 500px at 90% 110%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, rgba(65, 150, 253, 0.12), transparent 70%);
  pointer-events: none;
}
.partners-hub-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.partners-hub-hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  text-align: left;
}
.partners-hub-hero h1 {
  font-size: 3.4rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 20px;
  color: #fff;
}
.partners-hub-hero .lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.82);
  max-width: 720px;
}

/* Headline stats strip */
.partners-headline-stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.phs-cell { text-align: center; }
.phs-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #18BD5B, #003a81);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phs-label {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

/* Path cards (hub page main grid) */
.partner-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner-path-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s var(--ease);
}
.partner-path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.25);
  border-color: var(--accent);
}
.partner-path-stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 60%, #fff));
}
.partner-path-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.partner-path-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.partner-path-card h3 {
  font-size: 1.6rem;
  margin: 0 0 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.partner-path-short { color: var(--ink-3); margin: 0 0 18px; line-height: 1.55; }
.partner-path-highlights {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.partner-path-highlights li {
  display: flex; gap: 12px;
  align-items: flex-start;
}
.pp-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.partner-path-highlights strong {
  display: block;
  font-size: 0.96rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.partner-path-highlights span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.45;
}
.partner-path-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.pps-value {
  font-size: 1.15rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.pps-label {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}
.partner-path-cta {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

/* Comparison table on hub */
.partner-compare {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.partner-compare table {
  width: 100%;
  border-collapse: collapse;
}
.partner-compare th, .partner-compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.partner-compare thead th {
  background: var(--bg-soft);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  font-weight: 700;
}
.partner-compare th .pcs-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  margin-right: 8px;
  font-size: 0.9rem;
  vertical-align: middle;
}
.partner-compare tbody tr:last-child td { border-bottom: 0; }
.partner-compare td:first-child { color: var(--ink); font-weight: 500; width: 200px; }
.partner-compare td.us-col,
.partner-compare th.us-col {
  background: rgba(24, 189, 91, 0.05);
  color: var(--navy);
  font-weight: 600;
}

/* Midnight cards */
.midnight-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 22px;
  color: rgba(255,255,255,0.85);
}
.midnight-card h3 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.midnight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

/* ====== Partner DETAIL pages ====== */
.partner-hero {
  position: relative;
  padding: 64px 0 72px;
  background: linear-gradient(160deg, #0b1530 0%, #122046 100%);
  color: #fff;
  overflow: hidden;
}
.partner-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 80% 0%, var(--p-accent-soft), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(110, 243, 154, 0.12), transparent 60%);
  pointer-events: none;
}
.partner-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
}
.partner-hero .container { position: relative; z-index: 1; }
.partner-hero .crumbs { margin-bottom: 20px; }
.partner-hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: center;
}
.partner-hero h1 {
  font-size: 2.9rem;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 16px 0 18px;
}
.partner-hero .lead { font-size: 1.12rem; }

/* Hero art (floating cards) */
.partner-hero-art {
  position: relative;
  min-height: 320px;
}
.phero-shape {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.phero-shape::before {
  content: '';
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--p-accent-soft), transparent 70%);
  filter: blur(20px);
}
.phero-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
}
.phero-card span { font-size: 0.88rem; opacity: 0.85; font-weight: 500; }
.phero-card-1 { top: 12%; left: 8%; }
.phero-card-2 { top: 44%; right: 4%; }
.phero-card-3 { bottom: 14%; left: 18%; }

/* Stats strip */
.partner-stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.partner-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.ps-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--p-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.ps-label { font-size: 0.84rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* ISV capability pillars */
.capability-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.capability-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
}
.capability-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(124, 92, 255, 0.06));
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.capability-card h3 {
  font-size: 1.4rem;
  margin: 0 0 6px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.capability-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #4a32c0;
  margin: 0 0 14px;
}
.capability-card > p {
  font-size: 0.96rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0 0 18px;
}
.capability-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.capability-bullets li {
  padding: 8px 0;
  display: flex; gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.capability-bullets li:last-child { border-bottom: 0; }
.cap-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(24, 189, 91, 0.16);
  color: #0e7c3b;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Code block */
.code-block {
  background: #0d1117;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
}
.code-block-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-block-file {
  font-family: ui-monospace, SF Mono, Menlo, monospace;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  flex: 1;
}
.code-block pre {
  margin: 0;
  padding: 22px;
  font-family: ui-monospace, SF Mono, Menlo, monospace;
  font-size: 0.84rem;
  color: #c9d1d9;
  line-height: 1.65;
  overflow-x: auto;
}

/* How it works steps */
.how-it-works-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.hiw-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 20px;
  position: relative;
}
.hiw-step {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--p-accent);
  margin-bottom: 8px;
}
.hiw-card h3 {
  font-size: 1.04rem;
  margin: 0 0 8px;
  color: var(--navy);
}
.hiw-card p {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}

/* Economics grid */
.econ-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.econ-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--p-accent);
  border-radius: var(--r-md);
  padding: 22px;
}
.econ-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.econ-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 4px;
  letter-spacing: -0.01em;
}
.econ-note {
  font-size: 0.88rem;
  color: var(--ink-3);
  line-height: 1.45;
}

/* Related partner cards */
.related-partner-card {
  display: grid; grid-template-columns: 6px 1fr;
  text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.related-partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--p-accent);
}
.rp-stripe { background: var(--p-accent); }
.rp-body { padding: 22px; }
.rp-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--p-accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.related-partner-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--navy);
}
.related-partner-card p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 14px;
}
.rp-cta { font-size: 0.92rem; font-weight: 600; color: var(--p-accent); }

@media (max-width: 1024px) {
  .partners-hub-hero h1 { font-size: 2.6rem; }
  .partner-hero-grid { grid-template-columns: 1fr; }
  .partner-hero h1 { font-size: 2.3rem; }
  .partner-paths { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .how-it-works-grid { grid-template-columns: repeat(2, 1fr); }
  .econ-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-compare th, .partner-compare td { padding: 12px; font-size: 0.88rem; }
  .partner-hero-art { display: none; }
}
@media (max-width: 700px) {
  .partners-hub-hero h1 { font-size: 1.9rem; }
  .partner-hero h1 { font-size: 1.7rem; }
  .how-it-works-grid { grid-template-columns: 1fr; }
  .econ-grid { grid-template-columns: 1fr; }
  .partner-stats-grid { grid-template-columns: 1fr; }
  .phs-value { font-size: 1.8rem; }
}

/* Footer grid: 5 columns now */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Industry detail pages ---------- */
.ind-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1530, #122046 60%, #0b1530);
  color: #fff;
  padding: 64px 0 56px;
  overflow: hidden;
}
.ind-hero .crumbs { margin-bottom: 20px; }
.ind-hero .crumbs a:hover { color: #fff; }
.ind-hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.ind-hero h1 { font-size: 2.8rem; line-height: 1.06; letter-spacing: -0.022em; margin: 16px 0 16px; }
.ind-hero-icon {
  display: flex; align-items: center; justify-content: center;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(110, 243, 154, 0.28), transparent 65%);
  margin-left: auto;
}
.ind-hero-icon svg {
  width: 130px; height: 130px;
  color: rgba(110, 243, 154, 0.6);
  filter: drop-shadow(0 0 24px rgba(110, 243, 154, 0.35));
}
.ind-hero .hero-ctas { margin-top: 24px; }
.ind-hero .lead { font-size: 1.1rem; }

.ind-stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.ind-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  text-align: center;
}
.ind-stat-value {
  font-size: 2rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1;
}
.ind-stat-label {
  font-size: 0.82rem; color: var(--muted); margin-top: 6px;
  line-height: 1.4;
}

.pain-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #ff5f57;
  border-radius: var(--r-md);
  padding: 22px;
}
.pain-mark {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 95, 87, 0.14);
  color: #c0392b;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700;
}
.pain-card h3 { font-size: 1.08rem; margin: 0 0 6px; color: var(--navy); }
.pain-card p { font-size: 0.96rem; color: var(--ink-3); line-height: 1.55; margin: 0; }

.solution-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--r-md);
  padding: 22px;
}
.solution-check {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
}
.solution-card h3 { font-size: 1.08rem; margin: 0 0 6px; color: var(--navy); }
.solution-card p { font-size: 0.96rem; color: var(--ink-3); line-height: 1.55; margin: 0; }

.ind-hw-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.ind-hw-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.ind-hw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: var(--blue-2);
}
.ind-hw-photo {
  background: var(--bg-soft);
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.ind-hw-photo img { max-height: 140px; max-width: 90%; object-fit: contain; }
.ind-hw-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ind-hw-brand {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); font-weight: 700; margin-bottom: 4px;
}
.ind-hw-card h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--navy); }
.ind-hw-why { font-size: 0.88rem; color: var(--ink-3); line-height: 1.5; margin: 0; flex: 1; }
.ind-hw-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 600;
  color: var(--navy);
}
.ind-hw-card:hover .ind-hw-cta { color: var(--green); }

.ind-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.ind-feature {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.45;
}
.ind-feature-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700;
  margin-top: 1px;
}

.roi-card {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid rgba(24, 189, 91, 0.25);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  align-items: start;
}
.roi-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #18BD5B, #00a651);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem; font-weight: 400;
  color: var(--muted);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item p {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--ink-3);
  line-height: 1.65;
}

.related-industry-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.related-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
}
.related-photo {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.related-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.related-body { padding: 18px; }
.related-body h3 { font-size: 1.05rem; margin: 6px 0 10px; color: var(--navy); line-height: 1.3; }

.industry-card .ic-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.industry-card:hover .ic-cta { color: var(--green); }

@media (max-width: 1024px) {
  .ind-hero-grid { grid-template-columns: 1fr; }
  .ind-hero-icon { width: 180px; height: 180px; margin: 0 auto; }
  .ind-hero h1 { font-size: 2.2rem; }
  .ind-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ind-hw-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-features-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-card { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 700px) {
  .ind-hero h1 { font-size: 1.8rem; }
  .ind-stats-grid { grid-template-columns: 1fr; }
  .ind-hw-grid { grid-template-columns: 1fr; }
  .ind-features-grid { grid-template-columns: 1fr; }
}

/* ---------- Discovery hero (custom platform-style hero with dashboard preview) ---------- */
.discovery-hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(110, 243, 154, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(65, 150, 253, 0.22), transparent 60%),
    linear-gradient(160deg, #0b1530 0%, #122046 50%, #0b1530 100%);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.discovery-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.discovery-hero .container { position: relative; z-index: 1; }
.discovery-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.discovery-hero h1 {
  font-size: 3.1rem;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 18px 0 18px;
}
.discovery-hero .lead { font-size: 1.18rem; max-width: 560px; }
.discovery-hero .eyebrow {
  display: inline-block;
  background: rgba(110, 243, 154, 0.14);
  color: #6ef39a;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.discovery-hero .hero-ctas { margin-top: 26px; }

.discovery-hero-stage {
  position: relative;
  perspective: 1200px;
}
.discovery-hero-shot {
  transform: rotate(0.5deg);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
}
.discovery-hero-floater {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 18px 36px -10px rgba(0,0,0,0.35);
  font-size: 0.86rem;
  z-index: 2;
  border: 1px solid var(--line);
}
.discovery-hero-floater .dhf-icon {
  width: 36px; height: 36px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.discovery-hero-floater .dhf-title { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.discovery-hero-floater .dhf-meta { color: var(--muted); font-size: 0.75rem; }
.discovery-hero-floater-1 { top: -18px; left: -28px; }
.discovery-hero-floater-2 { bottom: -18px; right: -22px; }

@media (max-width: 1024px) {
  .discovery-hero { padding: 64px 0 72px; }
  .discovery-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .discovery-hero h1 { font-size: 2.4rem; }
  .discovery-hero-floater-1 { left: -10px; top: -10px; }
  .discovery-hero-floater-2 { right: -10px; bottom: -10px; }
}
@media (max-width: 700px) {
  .discovery-hero h1 { font-size: 2rem; }
  .discovery-hero-floater { display: none; }
  .discovery-hero-shot { transform: none; }
}

/* ---------- Discovery UI mockup screenshots ---------- */
.ui-shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  font-size: 0.88rem;
}
.ui-shot-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #f6f7f9;
  border-bottom: 1px solid var(--line);
}
.ui-shot-dots { display: flex; gap: 6px; }
.ui-shot-dot { width: 11px; height: 11px; border-radius: 50%; background: #d6dae0; }
.ui-shot-dot.r { background: #ff5f57; }
.ui-shot-dot.y { background: #ffbd2e; }
.ui-shot-dot.g { background: #28c840; }
.ui-shot-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.76rem;
  color: var(--ink-3);
  font-family: ui-monospace, SF Mono, Menlo, monospace;
}
.ui-shot-body { padding: 22px; }

/* Discovery tour layout */
.tour-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.tour-row.flip { direction: rtl; }
.tour-row.flip > * { direction: ltr; }
.tour-row:last-child { margin-bottom: 0; }
.tour-copy h3 { font-size: 1.6rem; margin: 8px 0 12px; line-height: 1.15; }
.tour-copy .tour-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.tour-copy p { font-size: 1.05rem; color: var(--ink-3); line-height: 1.6; margin: 0 0 14px; }
.tour-copy ul { padding-left: 22px; color: var(--ink-3); margin: 12px 0 0; }
.tour-copy ul li { margin-bottom: 6px; }
@media (max-width: 1024px) {
  .tour-row, .tour-row.flip { grid-template-columns: 1fr; gap: 28px; direction: ltr; }
  .tour-row.flip .tour-copy { order: 2; }
}

/* Virtual Terminal mockup */
.vt-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.vt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.vt-field { display: block; }
.vt-field label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted); font-weight: 600; margin-bottom: 4px;
}
.vt-field .vt-input {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: ui-monospace, SF Mono, Menlo, monospace;
  font-size: 0.92rem;
  color: var(--ink);
}
.vt-amount {
  background: linear-gradient(135deg, #18BD5B, #00a651);
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.vt-amount-label { font-size: 0.78rem; opacity: 0.85; }
.vt-amount-value { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.vt-charge-btn {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
}
.vt-recent { background: var(--bg-soft); border-radius: 10px; padding: 14px; }
.vt-recent-title { font-size: 0.76rem; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.vt-recent-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.vt-recent-row:last-child { border-bottom: 0; }
.vt-recent-name { font-weight: 600; color: var(--ink); }
.vt-recent-meta { color: var(--muted); font-size: 0.75rem; }
.vt-recent-amt { font-weight: 600; color: var(--ink); font-family: ui-monospace, monospace; }

/* Transactions table mockup */
.tx-filters { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tx-pill {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.tx-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tx-search {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; font-size: 0.78rem; color: var(--muted); flex: 1; max-width: 220px;
}
.tx-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.tx-table th {
  text-align: left; padding: 10px 12px; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line);
}
.tx-table td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.tx-table tr:last-child td { border-bottom: 0; }
.tx-status {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600;
}
.tx-status.ok { background: rgba(24, 189, 91, 0.15); color: #0e7c3b; }
.tx-status.refund { background: rgba(255, 95, 87, 0.15); color: #b32d24; }
.tx-status.void { background: rgba(120, 130, 145, 0.15); color: #59636e; }
.tx-amt { font-family: ui-monospace, monospace; font-weight: 600; text-align: right; }
.tx-mono { font-family: ui-monospace, monospace; color: var(--ink-3); font-size: 0.82rem; }

/* Reports mockup */
.rpt-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.rpt-tab {
  padding: 6px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 500;
  background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line);
}
.rpt-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.rpt-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.rpt-kpi {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}
.rpt-kpi-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.rpt-kpi-value { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-top: 4px; letter-spacing: -0.02em; }
.rpt-kpi-delta { font-size: 0.78rem; color: #0e7c3b; font-weight: 600; }
.rpt-chart {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
  height: 140px; align-items: end;
  padding: 0 4px;
}
.rpt-bar {
  background: linear-gradient(180deg, #4196fd, #003a81);
  border-radius: 6px 6px 0 0;
  position: relative;
}
.rpt-bar-day {
  position: absolute; bottom: -22px; left: 0; right: 0;
  text-align: center; font-size: 0.7rem; color: var(--muted);
}

/* Customer profile mockup */
.cust-head {
  display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.cust-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #4196fd, #003a81);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.cust-name { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.cust-meta { font-size: 0.82rem; color: var(--muted); }
.cust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.cust-stat { background: var(--bg-soft); border-radius: 8px; padding: 10px; }
.cust-stat-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.cust-stat-value { font-weight: 700; color: var(--navy); margin-top: 2px; }

/* Recurring billing mockup */
.sub-card {
  background: var(--bg-soft); border-radius: 10px; padding: 14px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.sub-card:last-child { margin-bottom: 0; }
.sub-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.sub-meta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.sub-amount { font-family: ui-monospace, monospace; font-weight: 700; color: var(--navy); }
.sub-status-pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 600;
  background: rgba(24, 189, 91, 0.15); color: #0e7c3b;
  margin-left: 6px;
}

/* Mobile dashboard mockup */
.mobile-frame {
  width: 280px; max-width: 100%;
  margin: 0 auto;
  background: #14181f;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
}
.mobile-screen {
  background: #fff;
  border-radius: 26px;
  padding: 18px 14px;
  min-height: 420px;
}
.mobile-greeting { font-size: 0.78rem; color: var(--muted); }
.mobile-amount { font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.mobile-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0; }
.mobile-stat { background: var(--bg-soft); border-radius: 8px; padding: 10px; }
.mobile-stat-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.mobile-stat-value { font-weight: 700; color: var(--navy); font-size: 1rem; margin-top: 2px; }
.mobile-action-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.mobile-action {
  background: linear-gradient(135deg, #18BD5B, #00a651);
  color: #fff; border-radius: 8px; padding: 10px 6px; text-align: center;
  font-size: 0.72rem; font-weight: 600;
}
.mobile-action.alt { background: var(--bg-soft); color: var(--navy); }
.mobile-list-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.78rem;
}
.mobile-list-row:last-child { border-bottom: 0; }
.mobile-list-amt { font-family: ui-monospace, monospace; font-weight: 600; color: var(--navy); }

/* ---------- 27. About / values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
}
.value:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.value .num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1;
}

.timeline { display: grid; gap: 28px; }
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-item .yr {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

/* ---------- 28. Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .grid-4, .industries-grid, .price-grid, .stats, .footer-grid, .value-grid,
  .testimonial-grid, .gw-grid, .api-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 { grid-template-columns: 1fr; }
  .sdk-grid, .plugin-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid.cols-4, .logo-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .solution-row { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .calc-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 48px 32px; text-align: center; }
  .cta-banner .actions { justify-content: center; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 700px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3);
  }
  .nav.is-open .nav-links a { padding: 14px; }
  /* Mobile dropdowns flatten to inline */
  .nav.is-open .nav-group { display: contents; }
  .nav.is-open .nav-group-trigger { display: none; }
  .nav.is-open .nav-group-menu {
    display: block;
    position: static;
    border: 0; box-shadow: none; padding: 0;
    min-width: 0;
    background: transparent;
  }
  .nav.is-open .nav-group-menu a { padding: 12px 14px; }
  .nav.is-open .nav-group-menu a strong { font-size: 1rem; }
  .nav.is-open .nav-group-menu a span { display: none; }
  .grid-3, .grid-4, .industries-grid, .price-grid, .stats, .footer-grid, .value-grid,
  .testimonial-grid, .gw-grid, .api-feature-grid, .plugin-grid {
    grid-template-columns: 1fr;
  }
  .sdk-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid, .logo-grid.cols-4, .logo-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .floating-card { display: none; }
  .terminal-card { transform: none; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .endpoint-row { grid-template-columns: 70px 1fr; }
  .endpoint-row .desc { grid-column: 1 / -1; }
  .brand-logo    { height: 64px; }
  .brand-logo-lg { height: 84px; }
  .audience-tabs { width: 100%; flex-direction: column; }
  .audience-tabs button { width: 100%; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
}

/* ---------- 29. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
