/*
Theme Name: Invixa AI
Theme URI: https://invixa.ai
Author: Invixa AI
Description: Full multi-page WordPress theme for Invixa.ai — AI invoice-fraud detection for UK SMEs. Home, Product, Security & Trust, Industries, Integrations, Pricing, About, Resources/Blog, and Contact, all built with Elementor-compatible templates and an activation hook that auto-provisions pages, menus, and seed content.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.1
License: Private
Text Domain: invixa-theme
Tags: elementor, saas, multi-page, full-site, fraud-detection
*/

/* ============================================================
   DESIGN TOKENS — brand blue/emerald kept in sync with the
   Invixa product UI; typography + depth refined for the
   marketing site.
   ============================================================ */
:root {
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --blue-200:  #bfdbfe;
  --blue-400:  #60a5fa;
  --blue-500:  #3b82f6;
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --rose-200:  #fecdd3;
  --rose-400:  #fb7185;
  --rose-500:  #f43f5e;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --white:     #ffffff;

  /* Refined depth + signature accent — used sparingly for the
     "verified" / stamp motif (badges, the Canary mark, seals) */
  --ink:       #0a0e1a;
  --ink-soft:  #11162a;
  --gold:      #b8902f;
  --gold-soft: #f5e6c4;

  --bg-page:   #f6f7fb;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --max-w: 1280px;
  --px: clamp(1rem, 4vw, 1.5rem);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--slate-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.icon { width: 1em; height: 1em; }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   ANIMATIONS — exact from JSX
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.04); }
}

.animate-fade-up         { animation: fadeUp .8s ease both; }
.animate-fade-up-delayed { animation: fadeUp .8s ease .15s both; }
.animate-float-soft      { animation: floatSoft 6s ease-in-out infinite; }
.animate-pulse-glow      { animation: pulseGlow 3.5s ease-in-out infinite; }

/* ============================================================
   GRADIENT BORDER UTILITY (matches .gradient-border in JSX)
   ============================================================ */
.gradient-border { position: relative; }
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(37,99,235,.25),
    rgba(16,185,129,.18),
    rgba(14,165,233,.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226,232,240,.8);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1rem var(--px);
}

.site-logo__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  line-height: 1;
}

.site-logo__name span { color: var(--blue-600); font-family: var(--font-sans); font-weight: 700; }

.site-logo__sub {
  font-size: .75rem;
  color: var(--slate-500);
  margin-top: .1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color .2s;
}
.site-nav a:hover { color: var(--slate-900); }

.btn-demo {
  display: inline-flex;
  align-items: center;
  background: var(--blue-600);
  color: var(--white) !important;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 10px 20px -5px rgba(37,99,235,.2);
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.btn-demo:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all .25s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left,  rgba(59,130,246,.16) 0%, transparent 28%),
    radial-gradient(circle at top right, rgba(16,185,129,.12) 0%, transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 6rem;
  width: 16rem;
  height: 16rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(96,165,250,.1);
  filter: blur(48px);
}

.hero__inner {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 5rem var(--px) 7rem;
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
}

/* Hero left */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-full);
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-700);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  background: var(--emerald-500);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--slate-900);
  margin-bottom: 1.75rem;
}

.hero__lead {
  font-size: 1.125rem;
  line-height: 2;
  color: var(--slate-600);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 600;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 10px 20px -5px rgba(37,99,235,.2);
  transition: background .2s, transform .2s;
  font-size: 1rem;
}
.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
  color: var(--white);
}

/* Stats row */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 36rem;
}

.hero__stat {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1;
}

.hero__stat-label {
  margin-top: .25rem;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--slate-500);
}

/* Hero right — product preview card */
.hero__right {
  position: relative;
}

.hero__right-glow {
  position: absolute;
  left: -1.5rem;
  top: 2.5rem;
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  background: rgba(52,211,153,.15);
  filter: blur(32px);
  display: none;
}
@media (min-width: 1024px) { .hero__right-glow { display: block; } }

.hero__card {
  border-radius: var(--radius-2xl);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 30px 80px -25px rgba(15,23,42,.25);
}

.hero__card-inner {
  border-radius: 26px;
  background: var(--slate-950);
  padding: 1.5rem;
  color: var(--white);
}

.hero__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.hero__card-label {
  font-size: .875rem;
  color: var(--slate-400);
  margin-bottom: .25rem;
}

.hero__card-title {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 600;
}

.badge-risk {
  border-radius: var(--radius-full);
  border: 1px solid rgba(251,113,133,.3);
  background: rgba(244,63,94,.15);
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fecdd3;
  white-space: nowrap;
}

.hero__card-row {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.hero__card-row:last-child { margin-bottom: 0; }

.hero__card-row-label {
  font-size: .875rem;
  color: var(--slate-400);
  margin-bottom: .25rem;
}

.hero__card-row-text { font-size: 1.125rem; font-weight: 600; }

.badge-alert {
  border-radius: var(--radius-full);
  background: rgba(244,63,94,.15);
  padding: .25rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fecdd3;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-review {
  border-radius: var(--radius-full);
  background: rgba(245,158,11,.15);
  padding: .25rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: #fde68a;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__card-row--blue {
  border-color: rgba(96,165,250,.2);
  background: rgba(59,130,246,.1);
}

.hero__card-row--blue .hero__card-row-label { color: rgba(191,219,254,.7); }

.badge-confidence {
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  padding: .25rem .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: #bfdbfe;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   SCAN CARD — the hero invoice mockup gets a slow scanning
   beam, like a document moving through a checker, and each
   row "stamps" into place in sequence. This is the one place
   the brand spends its motion budget.
   ============================================================ */
.hero__card-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero__card-inner::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -30%;
  height: 45%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(96,165,250,.16) 45%,
    rgba(52,211,153,.22) 55%,
    transparent 100%);
  animation: scanSweep 5.5s cubic-bezier(.45,0,.55,1) infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes scanSweep {
  0%   { transform: translateY(0%); }
  60%  { transform: translateY(330%); }
  100% { transform: translateY(330%); }
}

.hero__card-header, .hero__card-row { position: relative; z-index: 1; }

.hero__card-row {
  opacity: 0;
  animation: stampIn .6s cubic-bezier(.2,.9,.3,1.3) both;
}
.hero__card-row:nth-child(1) { animation-delay: .5s; }
.hero__card-row:nth-child(2) { animation-delay: .9s; }
.hero__card-row:nth-child(3) { animation-delay: 1.3s; }

@keyframes stampIn {
  0%   { opacity: 0; transform: translateY(10px) scale(.97); }
  70%  { opacity: 1; transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   HOVER TILT — subtle, mouse-tracked 3D tilt on the hero card.
   JS sets --tilt-x / --tilt-y; CSS just applies them. Skipped
   entirely on touch devices and reduced-motion.
   ============================================================ */
.tilt {
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .15s ease-out;
}

/* ============================================================
   CANARY WATERMARK — a faint, oversized version of the bird
   mark sits behind Canary Layer content as a brand signature
   ============================================================ */
.canary-mark {
  position: absolute;
  width: 11rem; height: 11rem;
  opacity: .05;
  color: var(--ink);
  z-index: 0;
  pointer-events: none;
}
.section--dark .canary-mark { color: var(--white); opacity: .06; }
.section--canary { position: relative; isolation: isolate; overflow: hidden; }
.canary-mark--security { top: 2rem; right: 4%; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.section-features {
  border-top: 1px solid var(--slate-200);
  background: var(--white);
  padding: 6rem 0;
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.125rem;
  line-height: 2;
  color: var(--slate-600);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .3s, border-color .3s, background .3s, box-shadow .3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  background: var(--white);
  box-shadow: 0 20px 40px -10px rgba(148,163,184,.6);
}

.feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--slate-900);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  transition: background .3s;
}

.feature-card:hover .feature-card__num { background: var(--blue-600); }

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .75rem;
}

.feature-card__desc {
  line-height: 1.75;
  color: var(--slate-600);
  font-size: .9375rem;
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.section-solution {
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
  padding: 6rem 0;
}

.solution-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) { .solution-grid { grid-template-columns: 1fr 1fr; } }

.solution-cards { display: flex; flex-direction: column; gap: 1.25rem; }

.solution-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.solution-card--highlight {
  border-color: var(--blue-200);
  background: var(--blue-50);
}

.solution-card__label {
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: .5rem;
}

.solution-card--highlight .solution-card__label { color: var(--blue-700); }

.solution-card__text {
  line-height: 1.75;
  color: var(--slate-600);
}

.solution-card--highlight .solution-card__text { color: var(--slate-700); }

/* ============================================================
   CTA / CONTACT SECTION
   ============================================================ */
.section-cta {
  background: var(--white);
  padding: 6rem 0;
}

.cta-card {
  border-radius: 2.25rem;
  background: var(--slate-950);
  padding: 3.5rem 2rem;
  color: var(--white);
  text-align: center;
  box-shadow: 0 30px 80px -25px rgba(15,23,42,.35);
  max-width: 64rem;
  margin-inline: auto;
}

@media (min-width: 1024px) { .cta-card { padding: 4rem; } }

.cta-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #bfdbfe;
  margin-bottom: 1rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.cta-lead {
  font-size: 1.125rem;
  line-height: 2;
  color: var(--slate-300);
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) { .waitlist-form { flex-direction: row; } }

.waitlist-input {
  min-width: 280px;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--white);
  padding: 1rem 1.5rem;
  color: var(--slate-900);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}

@media (min-width: 640px) { .waitlist-input { min-width: 340px; } }

.waitlist-input:focus { border-color: var(--blue-400); }
.waitlist-input::placeholder { color: var(--slate-400); }

.btn-waitlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: none;
  font-size: 1rem;
  transition: background .2s;
  white-space: nowrap;
}

.btn-waitlist:hover:not(:disabled) { background: var(--blue-400); }
.btn-waitlist:disabled { opacity: .5; }

.form-success { margin-top: 1rem; font-size: .875rem; font-weight: 500; color: var(--emerald-400); }
.form-error   { margin-top: 1rem; font-size: .875rem; font-weight: 500; color: var(--rose-400); }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER — multi-column
   ============================================================ */
.footer-main {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 4rem var(--px) 3rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-col__desc { font-size: .9375rem; color: var(--slate-500); line-height: 1.7; max-width: 22rem; }
.footer-col__title { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .9375rem; color: var(--slate-600); }
.footer-col ul a:hover { color: var(--blue-600); }
.footer-social { margin-top: 1.25rem; }
.footer-social a { font-size: .8125rem; font-weight: 600; color: var(--slate-500); border: 1px solid var(--slate-200); border-radius: var(--radius-full); padding: .4rem .9rem; display: inline-flex; }
.footer-social a:hover { color: var(--blue-600); border-color: var(--blue-200); }

.site-footer {
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1.75rem var(--px);
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .875rem;
  color: var(--slate-500);
}

@media (min-width: 768px) { .site-footer__inner { flex-direction: row; } }

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--slate-500);
  transition: color .2s;
}

.footer-links a:hover { color: var(--slate-900); }

/* ============================================================
   DEMO MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.is-open { display: flex; }

.modal {
  width: 100%;
  max-width: 28rem;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,.3);
  animation: fadeUp .3s ease both;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .5rem;
}

.modal__desc { color: var(--slate-600); margin-bottom: 1.5rem; }

.modal-form { display: flex; flex-direction: column; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: .5rem; }

.form-field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-field input {
  border-radius: .75rem;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  padding: .75rem 1rem;
  color: var(--slate-900);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, background .2s;
}

.form-field input:focus {
  border-color: var(--blue-400);
  background: var(--white);
}

.form-field input::placeholder { color: var(--slate-400); }

.modal-actions {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
}

.btn-cancel {
  flex: 1;
  border-radius: .75rem;
  border: 1px solid var(--slate-300);
  background: transparent;
  padding: .75rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: background .2s;
}

.btn-cancel:hover { background: var(--slate-50); }

.btn-submit {
  flex: 1;
  border-radius: .75rem;
  background: var(--blue-600);
  border: none;
  padding: .75rem;
  font-weight: 600;
  color: var(--white);
  transition: background .2s;
}

.btn-submit:hover:not(:disabled) { background: var(--blue-500); }
.btn-submit:disabled { opacity: .5; }

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wp-caption { max-width: 100%; text-align: center; }
.wp-caption-text { font-size: .875rem; color: var(--slate-500); margin-top: .5rem; }

.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }

/* ============================================================
   ELEMENTOR COMPATIBILITY
   ============================================================ */
.elementor-page .entry-content,
.elementor-page .entry-header { padding: 0; margin: 0; }

.elementor-page #content,
.elementor-page main { padding: 0; margin: 0; }

/* ============================================================
   RESPONSIVE — mobile nav
   ============================================================ */
@media (max-width: 767px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; background: var(--white);
    border-bottom: 1px solid var(--slate-200); padding: 1rem var(--px) 1.5rem;
    gap: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,.08); max-height: 70vh; overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__inner { padding: 3rem var(--px) 4rem; }
  .hero__title { font-size: 2.25rem; }
  .cta-card { padding: 2.5rem 1.25rem; }
}

/* ============================================================
   SUB-NAV (dropdown for Product/Resources groups)
   ============================================================ */
.site-nav .menu-item-has-children { position: relative; }
.site-nav .sub-menu {
  display: none;
}
@media (min-width: 768px) {
  .site-nav .menu-item-has-children:hover .sub-menu,
  .site-nav .menu-item-has-children:focus-within .sub-menu { display: block; }
  .site-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    margin-top: .75rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px -10px rgba(15,23,42,.18);
    padding: .5rem;
    min-width: 14rem;
    z-index: 60;
  }
  .site-nav .sub-menu a {
    display: block;
    padding: .6rem .75rem;
    border-radius: .6rem;
    white-space: nowrap;
    color: var(--slate-700);
  }
  .site-nav .sub-menu a:hover { background: var(--slate-50); color: var(--slate-900); }
}
@media (max-width: 767px) {
  .site-nav .sub-menu { position: static; border: none; box-shadow: none; padding: 0 0 0 1rem; }
  .site-nav .sub-menu a { padding: .4rem 0; color: var(--slate-500); }
}

/* ============================================================
   PAGE HERO — inner-page banner (Product, Security, Pricing…)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.14) 0%, transparent 30%),
    radial-gradient(circle at top right, rgba(16,185,129,.10) 0%, transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
  border-bottom: 1px solid var(--slate-200);
}

.page-hero__inner { position: relative; z-index: 2; max-width: 52rem; }
.page-hero__inner--wide { max-width: 68rem; }

.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--slate-900);
  margin-bottom: 1.25rem;
}

.page-hero__lead {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--slate-600);
  max-width: 42rem;
}

.page-hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.btn-secondary {
  display: inline-flex; align-items: center;
  background: var(--white); color: var(--slate-900);
  font-weight: 600; padding: 1rem 1.75rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  transition: border-color .2s, background .2s, transform .2s;
  font-size: 1rem;
}
.btn-secondary:hover { background: var(--slate-50); border-color: var(--slate-400); color: var(--slate-900); transform: translateY(-1px); }

/* Generic section wrapper helpers for inner pages */
.section { padding: 5rem 0; }
.section--alt { background: var(--slate-50); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section--dark { background: var(--slate-950); color: var(--white); }
.section--tight { padding: 3.5rem 0; }
.section__head { max-width: 44rem; margin-bottom: 3rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section--dark .section-label { color: var(--blue-400); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-lead { color: var(--slate-300); }

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  border-radius: var(--radius-2xl);
  background: var(--slate-950);
  color: var(--white);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
.quote-block__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.quote-block__by {
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .stat-strip--3 { grid-template-columns: repeat(3, 1fr); } }

.stat-block { text-align: left; }
.stat-block__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  line-height: 1;
}
.section--dark .stat-block__value { color: var(--white); }
.stat-block__label {
  margin-top: .5rem;
  font-size: .9375rem;
  color: var(--slate-500);
  line-height: 1.5;
}
.section--dark .stat-block__label { color: var(--slate-400); }
.stat-block__source {
  margin-top: .25rem;
  font-size: .75rem;
  color: var(--slate-400);
}

/* ============================================================
   PILLARS (3-pillar product summary)
   ============================================================ */
.pillars-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 2rem;
  position: relative;
}
.pillar-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 1rem;
  background: var(--slate-900);
  color: var(--white);
  font-size: .8125rem; font-weight: 700;
  margin-bottom: 1.5rem;
}
.pillar-card--accent .pillar-card__num { background: var(--blue-600); }
.pillar-card__title { font-size: 1.375rem; font-weight: 800; color: var(--slate-900); margin-bottom: .75rem; letter-spacing: -0.01em; }
.pillar-card__desc { color: var(--slate-600); line-height: 1.75; margin-bottom: 1rem; }
.pillar-card__list { display: flex; flex-direction: column; gap: .5rem; }
.pillar-card__list li { font-size: .9375rem; color: var(--slate-600); padding-left: 1.4rem; position: relative; line-height: 1.6; }
.pillar-card__list li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald-500); font-weight: 700; }

.badge-pending {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(16,185,129,.12); color: var(--emerald-600);
  border: 1px solid rgba(16,185,129,.25);
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: var(--radius-full);
  position: absolute; top: 1.75rem; right: 1.75rem;
}
.badge-patent {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold-soft); color: var(--gold);
  border: 1px solid rgba(184,144,47,.35);
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: var(--radius-full);
  position: absolute; top: 1.75rem; right: 1.75rem;
}

/* ============================================================
   ICON BADGES — replace bare numbered squares wherever the
   content isn't actually a sequence (pillars, industries,
   integrations, contact methods). Keep numbers only for real
   step-by-step process flows (pipeline, explainability A/B/C).
   ============================================================ */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 1rem;
  background: var(--slate-900);
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.icon-badge .icon { width: 1.4rem; height: 1.4rem; }
.icon-badge--accent { background: var(--blue-600); }
.icon-badge--canary { background: var(--gold); color: var(--ink); }
.icon-badge--ghost { background: var(--blue-50); color: var(--blue-600); }
.info-card .icon-badge, .pillar-card .icon-badge { margin-bottom: 1.25rem; }

/* ============================================================
   PIPELINE — 8-step process
   ============================================================ */
.pipeline-flow {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .pipeline-flow { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .pipeline-flow { grid-template-columns: repeat(8, 1fr); } }

.pipeline-step {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.pipeline-step:hover { border-color: var(--blue-200); transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(148,163,184,.5); }
.pipeline-step--canary { border-color: rgba(16,185,129,.4); background: #ecfdf5; }
.pipeline-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: .6rem;
  background: var(--slate-900); color: var(--white);
  font-size: .6875rem; font-weight: 700; margin-bottom: .75rem;
}
.pipeline-step--canary .pipeline-step__num { background: var(--emerald-500); }
.pipeline-step__title { font-size: .9375rem; font-weight: 700; color: var(--slate-900); margin-bottom: .25rem; line-height: 1.3; }
.pipeline-step__desc { font-size: .8125rem; color: var(--slate-500); line-height: 1.5; }

/* Simple 4-step "what the customer sees" flow */
.pipeline-simple {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
  position: relative;
}
@media (min-width: 900px) { .pipeline-simple { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) {
  .pipeline-simple::before {
    content: '';
    position: absolute;
    top: 1.75rem; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-200), #a7f3d0, var(--blue-200));
    z-index: 0;
  }
}
.pipeline-simple__step { position: relative; z-index: 1; text-align: left; }
.pipeline-simple__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius-full);
  background: var(--white); border: 2px solid var(--blue-600);
  color: var(--blue-600); font-weight: 800; font-size: 1.125rem;
  margin-bottom: 1rem;
}
.pipeline-simple__title { font-weight: 700; color: var(--slate-900); font-size: 1.0625rem; margin-bottom: .35rem; }
.pipeline-simple__desc { font-size: .875rem; color: var(--slate-500); line-height: 1.5; }

/* ============================================================
   HONESTY / METHODOLOGY GRID — "what we don't claim"
   ============================================================ */
.honesty-band {
  border-radius: var(--radius-2xl);
  background: var(--slate-950);
  padding: 3rem 2rem;
  color: var(--white);
}
@media (min-width: 1024px) { .honesty-band { padding: 3.5rem; } }

.honesty-grid {
  display: grid; gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .honesty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .honesty-grid { grid-template-columns: repeat(4, 1fr); } }

.honesty-card {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem;
}
.honesty-card__title { font-weight: 700; color: var(--white); margin-bottom: .6rem; font-size: 1rem; }
.honesty-card__desc { font-size: .875rem; color: var(--slate-400); line-height: 1.6; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-wrap { overflow-x: auto; margin-top: 3rem; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--white); }
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  text-align: center;
  font-size: .9375rem;
}
.compare-table th { background: var(--slate-50); font-weight: 700; color: var(--slate-900); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 600; color: var(--slate-700); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .col-invixa { background: var(--blue-50); }
.compare-table th.col-invixa { background: var(--blue-600); color: var(--white); }
.compare-check { color: var(--emerald-500); font-weight: 800; }
.compare-cross { color: var(--slate-300); font-weight: 800; }
.compare-table .muted-note { font-size: .75rem; color: var(--slate-400); display: block; margin-top: .15rem; }

/* ============================================================
   ARCHITECTURE / SERVICE TABLE
   ============================================================ */
.arch-table-wrap { overflow-x: auto; margin-top: 2.5rem; }
.arch-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.arch-table th, .arch-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9375rem; }
.section--dark .arch-table th { color: var(--slate-400); font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; }
.section--dark .arch-table td { color: var(--slate-200); }
.section--dark .arch-table td:first-child { font-weight: 700; color: var(--white); }
.arch-table-wrap:not(.is-dark) th { color: var(--slate-500); font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--slate-200); }
.arch-table-wrap:not(.is-dark) td { color: var(--slate-700); border-bottom: 1px solid var(--slate-200); }
.arch-table-wrap:not(.is-dark) td:first-child { font-weight: 700; color: var(--slate-900); }

/* ============================================================
   CARD GRID — generic icon-num cards (industries, integrations…)
   ============================================================ */
.card-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 700px)  { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.info-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  padding: 1.75rem;
  transition: transform .3s, border-color .3s, background .3s, box-shadow .3s;
  position: relative;
}
.info-card:hover { transform: translateY(-4px); border-color: var(--blue-200); background: var(--white); box-shadow: 0 20px 40px -10px rgba(148,163,184,.5); }
.info-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 1rem;
  background: var(--slate-900); color: var(--white);
  font-size: 1.125rem; font-weight: 700; margin-bottom: 1.25rem;
}
.info-card__title { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: .6rem; }
.info-card__desc { font-size: .9375rem; line-height: 1.7; color: var(--slate-600); }
.info-card__meta { margin-top: 1rem; font-size: .8125rem; color: var(--slate-500); font-weight: 600; }

.badge-live {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(16,185,129,.12); color: var(--emerald-600);
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: var(--radius-full);
}
.badge-live::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--emerald-500); }
.badge-soon {
  display: inline-flex; align-items: center;
  background: rgba(245,158,11,.12); color: #b45309;
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: var(--radius-full);
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid; gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.pricing-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 2rem;
  display: flex; flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--blue-500);
  box-shadow: 0 25px 60px -20px rgba(37,99,235,.35);
  position: relative;
}
@media (min-width: 900px) { .pricing-card--featured { transform: translateY(-0.75rem); } }

.pricing-card__tag {
  position: absolute; top: -.85rem; left: 2rem;
  background: var(--blue-600); color: var(--white);
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: var(--radius-full);
}
.pricing-card__name { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); margin-bottom: .35rem; }
.pricing-card__for { font-size: .875rem; color: var(--slate-500); margin-bottom: 1.5rem; line-height: 1.5; min-height: 2.5rem; }
.pricing-card__cta-price { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1.5rem; }
.pricing-card__cta-price span { font-size: .8125rem; font-weight: 500; color: var(--slate-500); display: block; margin-top: .15rem; }
.pricing-card__features { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; flex: 1; }
.pricing-card__features li { font-size: .9375rem; color: var(--slate-600); padding-left: 1.5rem; position: relative; line-height: 1.5; }
.pricing-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald-500); font-weight: 700; }
.pricing-card .btn-primary, .pricing-card .btn-secondary { justify-content: center; width: 100%; }

.pricing-note {
  text-align: center;
  max-width: 40rem;
  margin: 2.5rem auto 0;
  font-size: .9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 48rem; margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-item:first-child { border-top: 1px solid var(--slate-200); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; background: none; border: none; text-align: left;
  padding: 1.5rem 0; font-size: 1.0625rem; font-weight: 700; color: var(--slate-900);
}
.faq-question__icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; position: relative; }
.faq-question__icon::before, .faq-question__icon::after {
  content: ''; position: absolute; background: var(--slate-500);
  border-radius: 2px; transition: transform .25s;
}
.faq-question__icon::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-question__icon::after  { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.is-open .faq-question__icon::after { transform: translateX(-50%) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer__inner { padding: 0 0 1.5rem; font-size: .9375rem; line-height: 1.8; color: var(--slate-600); max-width: 42rem; }
.faq-item.is-open .faq-answer { max-height: 600px; }

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid { display: grid; gap: 1.5rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.team-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 1.75rem;
  text-align: left;
}
.team-card__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--blue-600), var(--emerald-500));
  color: var(--white); font-weight: 800; font-size: 1.125rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__name { font-weight: 800; color: var(--slate-900); font-size: 1.0625rem; margin-bottom: .15rem; }
.team-card__role { font-size: .8125rem; font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .75rem; }
.team-card__bio { font-size: .875rem; color: var(--slate-600); line-height: 1.6; }

/* ============================================================
   TIMELINE / ROADMAP
   ============================================================ */
.roadmap-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 900px) { .roadmap-grid { grid-template-columns: repeat(3, 1fr); } }

.roadmap-card { border-radius: var(--radius-xl); border: 1px solid var(--slate-200); background: var(--white); padding: 1.75rem; }
.roadmap-card__year { font-size: .8125rem; font-weight: 700; color: var(--blue-600); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.roadmap-card__title { font-size: 1.25rem; font-weight: 800; color: var(--slate-900); margin-bottom: .75rem; }
.roadmap-card__desc { font-size: .9375rem; color: var(--slate-600); line-height: 1.7; }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.trust-strip { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.trust-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-full); padding: .6rem 1.1rem;
  font-size: .8125rem; font-weight: 600; color: var(--slate-600);
}
.trust-chip__dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--blue-500); flex-shrink: 0; }
.section--dark .trust-chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--slate-200); }

/* ============================================================
   TWO-COLUMN MEDIA SECTION (image/visual + copy)
   ============================================================ */
.split-section { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split-section { grid-template-columns: 1fr 1fr; } }
.split-section--reverse > *:first-child { order: 2; }
@media (max-width: 1023px) { .split-section--reverse > *:first-child { order: 0; } }

/* ============================================================
   BLOG / RESOURCES
   ============================================================ */
.blog-grid { display: grid; gap: 1.75rem; margin-top: 3rem; }
@media (min-width: 700px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--blue-200); box-shadow: 0 20px 40px -10px rgba(148,163,184,.5); }
.post-card__cat { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .75rem; }
.post-card__title { font-size: 1.1875rem; font-weight: 800; color: var(--slate-900); line-height: 1.35; margin-bottom: .75rem; }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--blue-600); }
.post-card__excerpt { font-size: .9375rem; color: var(--slate-600); line-height: 1.7; flex: 1; margin-bottom: 1rem; }
.post-card__meta { font-size: .8125rem; color: var(--slate-400); font-weight: 500; }

.post-content { max-width: 42rem; margin-inline: auto; }
.post-content h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.18; color: var(--slate-900); margin-bottom: 1rem; }
.post-content .post-meta { font-family: var(--font-mono); font-size: .8125rem; color: var(--slate-500); margin-bottom: 2.5rem; letter-spacing: .02em; }
.post-content h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--slate-900); margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
.post-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin: 2rem 0 .85rem; }
.post-content p { font-size: 1.0625rem; line-height: 1.9; color: var(--slate-700); margin-bottom: 1.4rem; }
.post-content ul, .post-content ol { margin: 0 0 1.4rem 1.25rem; }
.post-content li { font-size: 1.0625rem; line-height: 1.8; color: var(--slate-700); margin-bottom: .5rem; }
.post-content a { text-decoration: underline; }
.post-content blockquote {
  border-left: 3px solid var(--blue-500); padding: .25rem 0 .25rem 1.5rem;
  margin: 2rem 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--slate-700); font-style: italic;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; gap: 3rem; margin-top: 1rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }

.contact-method { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-method__icon {
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 1rem;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.contact-method__icon .icon { width: 1.4rem; height: 1.4rem; }
.contact-method__title { font-weight: 700; color: var(--slate-900); margin-bottom: .25rem; }
.contact-method__desc { font-size: .9375rem; color: var(--slate-600); line-height: 1.6; }

.contact-form-card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 2.5rem;
  box-shadow: 0 20px 50px -20px rgba(15,23,42,.12);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form .form-row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .contact-form .form-row--2 { grid-template-columns: 1fr 1fr; } }
.contact-form label { font-size: .875rem; font-weight: 600; color: var(--slate-700); margin-bottom: .4rem; display: block; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border-radius: .75rem; border: 1px solid var(--slate-200);
  background: var(--slate-50); padding: .8rem 1rem; color: var(--slate-900);
  font-size: 1rem; outline: none; transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue-400); background: var(--white); }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ============================================================
   404
   ============================================================ */
.error-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem var(--px); }
.error-404__code { font-family: var(--font-mono); font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--blue-600); letter-spacing: -0.02em; line-height: 1; }
.error-404__title { font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; color: var(--slate-900); margin: 1rem 0 .75rem; }
.error-404__desc { color: var(--slate-600); margin-bottom: 2rem; }

/* ============================================================
   MOBILE OVERRIDES — new components
   ============================================================ */
@media (max-width: 767px) {
  .compare-table { min-width: 640px; }
  .pricing-card--featured { transform: none; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }
  .honesty-band, .quote-block { padding: 2rem 1.5rem; }
}

/* ============================================================
   SCROLL-REVEAL ANIMATION SYSTEM
   Auto-applied via JS (IntersectionObserver) to cards, stats,
   section heads, etc. — see assets/js/main.js
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Card-grid children get a gentle cascade via JS-set transition-delay */
.card-grid .reveal, .pillars-grid .reveal, .team-grid .reveal,
.roadmap-grid .reveal, .pricing-grid .reveal, .blog-grid .reveal { transform: translateY(28px) scale(.98); }
.card-grid .reveal.is-visible, .pillars-grid .reveal.is-visible, .team-grid .reveal.is-visible,
.roadmap-grid .reveal.is-visible, .pricing-grid .reveal.is-visible, .blog-grid .reveal.is-visible { transform: translateY(0) scale(1); }

/* ============================================================
   HOVER LIFT — extend the info-card treatment to other cards
   ============================================================ */
.pillar-card, .team-card, .roadmap-card, .pricing-card:not(.pricing-card--featured) {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pillar-card:hover, .team-card:hover, .roadmap-card:hover, .pricing-card:not(.pricing-card--featured):hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -16px rgba(148,163,184,.55);
  border-color: var(--blue-200);
}
.pricing-card--featured { transition: transform .3s ease, box-shadow .3s ease; }
.pricing-card--featured:hover { transform: translateY(-1rem); box-shadow: 0 32px 70px -20px rgba(37,99,235,.45); }

/* ============================================================
   PAGE-HERO AMBIENT GLOW — gives inner pages the same living,
   breathing feel as the homepage hero
   ============================================================ */
.page-hero { isolation: isolate; }
.page-hero::after {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 26rem; height: 26rem;
  background: radial-gradient(circle, rgba(37,99,235,.16) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulseGlow 5s ease-in-out infinite;
}
.section--dark { position: relative; isolation: isolate; }
.section--dark::before {
  content: '';
  position: absolute;
  top: 10%; left: -8%;
  width: 24rem; height: 24rem;
  background: radial-gradient(circle, rgba(16,185,129,.10) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: floatSoft 8s ease-in-out infinite;
}
.cta-card { position: relative; isolation: isolate; overflow: hidden; }
.cta-card::after {
  content: '';
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 30rem; height: 20rem;
  background: radial-gradient(ellipse, rgba(37,99,235,.14) 0%, transparent 70%);
  z-index: 0;
  animation: pulseGlow 4.5s ease-in-out infinite;
}
.cta-card > * { position: relative; z-index: 1; }

/* ============================================================
   BUTTON MICRO-INTERACTIONS
   ============================================================ */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:active { transform: translateY(0) scale(.97); }
.btn-primary:hover { box-shadow: 0 16px 30px -8px rgba(37,99,235,.38); }
.btn-secondary:active { transform: scale(.97); }
.info-card, .post-card { will-change: transform; }

/* ============================================================
   LEDGER-STYLE BADGES — every status pill, tag and label reads
   like a stamped line on an audit trail, not a marketing sticker
   ============================================================ */
.badge-risk, .badge-alert, .badge-review, .badge-confidence,
.badge-live, .badge-soon, .badge-pending, .badge-patent,
.trust-chip, .cta-label, .pricing-card__tag, .post-card__cat,
.roadmap-card__year, .compare-table .muted-note {
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.badge-risk, .badge-alert, .badge-review, .badge-confidence, .badge-live, .badge-soon, .badge-pending, .badge-patent {
  font-weight: 600;
}

/* ============================================================
   WITHOUT / WITH — persuasive before-after contrast block
   ============================================================ */
.compare-cols {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 60rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .compare-cols { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.compare-col {
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--slate-200);
}
.compare-col__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.compare-col__dot { width: .6rem; height: .6rem; border-radius: 50%; flex-shrink: 0; }
.compare-col__title { font-weight: 700; font-size: 1.0625rem; }
.compare-col ul { display: flex; flex-direction: column; gap: .85rem; }
.compare-col li { font-size: .9375rem; line-height: 1.6; padding-left: 1.5rem; position: relative; }

.compare-col--bad { background: #fff7f7; border-color: rgba(244,63,94,.18); }
.compare-col--bad .compare-col__dot { background: var(--rose-500); }
.compare-col--bad .compare-col__title { color: #9f1239; }
.compare-col--bad li { color: var(--slate-600); }
.compare-col--bad li::before { content: '×'; position: absolute; left: 0; top: -.1rem; color: var(--rose-500); font-weight: 700; font-size: 1.1rem; }

.compare-col--good { background: var(--white); border-color: var(--blue-200); box-shadow: 0 20px 50px -25px rgba(37,99,235,.25); }
.compare-col--good .compare-col__dot { background: var(--emerald-500); }
.compare-col--good .compare-col__title { color: var(--slate-900); }
.compare-col--good li { color: var(--slate-700); }
.compare-col--good li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald-500); font-weight: 700; }

/* Animated counters land here briefly while running */
.is-counting { color: var(--blue-600); }

/* ============================================================
   ACCESSIBILITY — respect reduced-motion preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .animate-fade-up, .animate-fade-up-delayed, .animate-float-soft, .animate-pulse-glow,
  .page-hero::after, .section--dark::before, .cta-card::after {
    animation: none !important;
  }
  .hero__card-inner::before { animation: none !important; opacity: 0; }
  .hero__card-row { animation: none !important; opacity: 1 !important; transform: none !important; }
  .tilt { transform: none !important; }
  * { scroll-behavior: auto !important; }
}
