/* =============================================================================
   VivaTech — Enterprise Digital Asset Infrastructure
   Design system: Stripe / Linear / Vercel / Coinbase-grade premium fintech UI.
   Built on Bootstrap 5.3 utilities + grid; this file adds the brand layer only.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------------- */
:root {
  --color-primary: #0852d7;
  --color-primary-soft: #3b78e8;
  --color-secondary: #10dfc5;
  --color-secondary-soft: #6ef2e0;
  /* RGB triplets (no #, no rgb()) so any rule can build a translucent variant
     with rgba(var(--primary-rgb), alpha) instead of hardcoding the color again. */
  --primary-rgb: 8, 82, 215;
  --secondary-rgb: 16, 223, 197;
  --color-accent-glow: rgba(var(--secondary-rgb), 0.35);

  --bg-900: #030712;
  --bg-800: #07111f;
  --bg-700: #0b1324;
  --bg-elevated: #0d1729;

  --text-primary: #f4f7fc;
  --text-secondary: #a9b4cf;
  /* Lightened from an earlier #6b7794 (~4.5:1, right at the WCAG AA edge) to
     ~6.8:1 against --bg-900 so small labels stay comfortably readable. */
  --text-tertiary: #8a95bb;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-brand: rgba(var(--secondary-rgb), 0.28);

  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-glow-primary: 0 0 0 1px rgba(var(--primary-rgb), 0.15), 0 20px 60px -20px rgba(var(--primary-rgb), 0.35);
  --shadow-glow-secondary: 0 0 0 1px rgba(var(--secondary-rgb), 0.15), 0 20px 60px -20px rgba(var(--secondary-rgb), 0.3);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.6);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --container-max: 1280px;
  --section-pad-y: clamp(72px, 10vw, 140px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-900);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  /* Ambient background gradient wash — sits behind every section */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(var(--primary-rgb), 0.22), transparent 60%),
    radial-gradient(900px 700px at -10% 20%, rgba(var(--secondary-rgb), 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-900) 0%, var(--bg-800) 45%, var(--bg-900) 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text-primary);
  margin: 0;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out-quart);
}

img { max-width: 100%; display: block; }

::selection {
  background: var(--color-secondary);
  color: #041016;
}

/* Visible keyboard-focus ring everywhere. Buttons/links/inputs all opt back
   into a consistent brand-colored outline instead of relying on each
   browser's (often invisible-on-dark) default. */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-to-content link — invisible until focused, then jumps above the
   fixed navbar so keyboard/screen-reader users can bypass the nav + hero. */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease-out-quart);
}
.skip-link:focus {
  top: 16px;
}

.container-xl {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

section { position: relative; }

.section-pad {
  padding-block: var(--section-pad-y);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary-soft);
  background: rgba(var(--secondary-rgb), 0.08);
  border: 1px solid var(--border-brand);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 8px var(--color-secondary);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head.text-center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
}

.section-head.text-center .section-lead { margin-inline: auto; }

.text-gradient {
  background: linear-gradient(97deg, var(--color-secondary) 0%, var(--color-primary-soft) 55%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted-soft { color: var(--text-secondary); }

/* ---------------------------------------------------------------------------
   3. Buttons
   --------------------------------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), background 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.btn-vt-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a3fa0 100%);
  color: #fff;
  box-shadow: var(--shadow-glow-primary);
}
.btn-vt-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--primary-rgb), .3), 0 26px 70px -18px rgba(var(--primary-rgb), .55); color:#fff; }

.btn-vt-secondary {
  background: rgba(var(--secondary-rgb), 0.08);
  color: var(--text-primary);
  border-color: var(--border-brand);
}
.btn-vt-secondary:hover {
  background: rgba(var(--secondary-rgb), 0.14);
  border-color: rgba(var(--secondary-rgb), 0.5);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-vt-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}
.btn-vt-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: btn-ripple 650ms var(--ease-out-quart);
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
@keyframes btn-ripple {
  to { transform: scale(3.2); opacity: 0; }
}

/* ---------------------------------------------------------------------------
   4. Navbar
   --------------------------------------------------------------------------- */
.vt-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.4s var(--ease-out-expo), background 0.4s, border-color 0.4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}

.vt-navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 12px 40px -24px rgba(0,0,0,0.7);
}

.vt-navbar .container-xl { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.vt-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; color: #fff; }
.vt-brand img { width: 32px; height: 32px; border-radius: 8px; }

.vt-nav-links { display: flex; align-items: center; gap: 4px; }

.vt-nav-item { position: relative; }

.vt-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s, background .2s;
}
.vt-nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.vt-nav-link .chev { font-size: 0.6rem; opacity: .6; transition: transform .25s; }
.vt-nav-item:hover .vt-nav-link .chev { transform: rotate(180deg); }

.vt-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: rgba(9, 14, 26, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .25s var(--ease-out-quart);
}
.vt-nav-item:hover .vt-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.vt-dropdown-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.vt-dropdown-item:hover { background: rgba(255,255,255,0.045); }
.vt-dropdown-item i { font-size: 1.05rem; color: var(--color-secondary); margin-top: 2px; }
.vt-dropdown-item .t { font-size: 0.87rem; font-weight: 600; color: var(--text-primary); }
.vt-dropdown-item .d { font-size: 0.76rem; color: var(--text-tertiary); }

.vt-nav-actions { display: flex; align-items: center; gap: 10px; }

.vt-nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center;
  color: #fff;
}

/* ---------------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------------- */
.vt-hero {
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(80px, 10vw, 120px);
  overflow: hidden;
}

.vt-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.vt-hero-copy .section-title {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  margin-bottom: 22px;
}

.vt-hero-copy .section-lead {
  max-width: 520px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin-bottom: 34px;
}

.vt-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.vt-hero-trust { display: flex; flex-direction: column; gap: 16px; }
.vt-hero-trust-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }
.vt-hero-trust-logos { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; opacity: 0.75; }
.vt-hero-trust-logos span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-secondary); letter-spacing: -0.01em; }

.vt-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.globe-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.globe-stage #sg-globe-canvas { touch-action: none; }

.vt-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(9, 15, 28, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  z-index: 5;
  font-size: 0.82rem;
  animation: float-y 6s ease-in-out infinite;
}
.vt-float-card .icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--secondary-rgb), 0.12); color: var(--color-secondary);
  flex-shrink: 0; font-size: 1rem;
}
.vt-float-card .label { color: var(--text-tertiary); font-size: 0.68rem; text-transform: uppercase; letter-spacing: .06em; }
.vt-float-card .value { color: var(--text-primary); font-weight: 600; font-family: var(--font-mono); }

.vt-float-card--tx { top: 6%; left: -4%; animation-delay: .2s; }
.vt-float-card--uptime { bottom: 10%; right: -6%; animation-delay: 1.4s; }
.vt-float-card--live { top: 46%; right: -8%; animation-delay: .8s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  animation: orb-drift 18s ease-in-out infinite;
}
.blur-orb--primary { width: 420px; height: 420px; background: var(--color-primary); top: -120px; right: 6%; }
.blur-orb--secondary { width: 340px; height: 340px; background: var(--color-secondary); bottom: -100px; left: 2%; animation-delay: -6s; }

@keyframes orb-drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-24px) scale(1.08); }
}

/* ---------------------------------------------------------------------------
   6. Glass card primitive
   --------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .45s var(--ease-out-expo), border-color .3s, background .3s, box-shadow .4s;
}
.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------------------------
   7. Metrics
   --------------------------------------------------------------------------- */
.vt-metrics {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.metric-item { text-align: center; padding: 12px; }
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(97deg, #fff 30%, var(--color-secondary-soft) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.metric-label { color: var(--text-tertiary); font-size: 0.86rem; margin-top: 6px; letter-spacing: 0.02em; }

/* ---------------------------------------------------------------------------
   8. Bento grid — Products
   --------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-item {
  grid-column: span 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.bento-item.span-1 { grid-column: span 1; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.row-2 { grid-row: span 2; }

.bento-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(8,82,215,.22), rgba(16,223,197,.18));
  border: 1px solid var(--border-brand);
  color: var(--color-secondary-soft);
  font-size: 1.3rem;
  margin-bottom: auto;
  transition: transform .4s var(--ease-out-expo);
}
.bento-item:hover .bento-icon { transform: scale(1.08) rotate(-4deg); }

.bento-title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin-bottom: 6px; margin-top: 20px; }
.bento-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }

.bento-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(220px 160px at var(--mx, 50%) var(--my, 0%), rgba(16,223,197,0.14), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.bento-item:hover::after { opacity: 1; }

/* ---------------------------------------------------------------------------
   9. Solutions
   --------------------------------------------------------------------------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.solution-card {
  padding: 30px 24px;
  text-align: left;
}
.solution-card .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-secondary);
  letter-spacing: .1em;
  margin-bottom: 18px;
  display: block;
}
.solution-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.solution-card p { color: var(--text-secondary); font-size: 0.88rem; }

/* ---------------------------------------------------------------------------
   10. Developer experience
   --------------------------------------------------------------------------- */
.dev-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.code-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #060a14;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #090f1d;
  border-bottom: 1px solid var(--border-subtle);
}
.code-window-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.code-window-bar .dot:nth-child(1) { background: #ff5f57; }
.code-window-bar .dot:nth-child(2) { background: #febc2e; }
.code-window-bar .dot:nth-child(3) { background: #28c840; }
.code-window-bar .file { margin-left: 12px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-tertiary); }

.code-window pre {
  margin: 0;
  padding: 26px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
}
.code-window code { color: #cfd9f5; }
.tok-key { color: #6ea8ff; }
.tok-str { color: #10dfc5; }
.tok-fn { color: #a6e3ff; }
.tok-com { color: #55618a; }
.tok-num { color: #ffbd6e; }
.tok-prop { color: #9dd9ff; }

.sdk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.sdk-card { padding: 18px; display: flex; align-items: center; gap: 12px; }
.sdk-card i { font-size: 1.3rem; color: var(--color-secondary); }
.sdk-card .t { font-weight: 600; font-size: 0.92rem; }
.sdk-card .d { color: var(--text-tertiary); font-size: 0.76rem; }

/* ---------------------------------------------------------------------------
   11. Compliance badges
   --------------------------------------------------------------------------- */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.compliance-badge {
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.compliance-badge .ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(from 180deg, var(--color-primary), var(--color-secondary), var(--color-primary));
  padding: 2px;
  animation: badge-spin 8s linear infinite;
}
.compliance-badge .ring-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-800);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary-soft);
  font-size: 1.3rem;
  animation: badge-spin-reverse 8s linear infinite;
}
@keyframes badge-spin { to { transform: rotate(360deg); } }
@keyframes badge-spin-reverse { to { transform: rotate(-360deg); } }
.compliance-badge .name { font-weight: 600; font-size: 0.88rem; }
.compliance-badge .desc { font-size: 0.72rem; color: var(--text-tertiary); }

/* ---------------------------------------------------------------------------
   12. Trade network section
   --------------------------------------------------------------------------- */
.trade-network-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.trade-network-copy .section-title { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.trade-feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.trade-feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.trade-feature-list .ico {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  background: rgba(16,223,197,.12); color: var(--color-secondary);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.trade-feature-list .t { font-weight: 600; font-size: .95rem; }
.trade-feature-list .d { color: var(--text-tertiary); font-size: .82rem; }

/* ---------------------------------------------------------------------------
   13. Testimonials
   --------------------------------------------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 20px; }
.testimonial-quote { font-size: 0.98rem; color: var(--text-primary); line-height: 1.65; }
.testimonial-stars { color: var(--color-secondary); font-size: 0.85rem; letter-spacing: 2px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar-ring {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  flex-shrink: 0;
}
.testimonial-person .name { font-weight: 600; font-size: 0.88rem; }
.testimonial-person .role { color: var(--text-tertiary); font-size: 0.76rem; }

/* ---------------------------------------------------------------------------
   14. FAQ
   --------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
}
.faq-question .plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease-out-expo), background .3s; font-size: 0.9rem; }
.faq-item[data-open="true"] .faq-question .plus { transform: rotate(135deg); background: rgba(16,223,197,.15); border-color: var(--border-brand); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out-expo); }
.faq-answer-inner { padding: 0 26px 24px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

/* ---------------------------------------------------------------------------
   15. Final CTA
   --------------------------------------------------------------------------- */
.final-cta {
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(8,82,215,0.18), rgba(16,223,197,0.1));
  border: 1px solid var(--border-brand);
}
.final-cta .section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 720px; margin-inline: auto 22px; }
.final-cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ---------------------------------------------------------------------------
   16. Footer
   --------------------------------------------------------------------------- */
.vt-footer { border-top: 1px solid var(--border-subtle); padding-top: clamp(56px, 8vw, 88px); padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--text-tertiary); font-size: 0.86rem; max-width: 280px; margin-top: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all .25s;
}
.footer-social a:hover { color: #fff; border-color: var(--border-brand); background: rgba(16,223,197,.1); transform: translateY(-2px); }
.footer-col h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-secondary); font-size: 0.88rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  color: var(--text-tertiary); font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 20px; }

/* ---------------------------------------------------------------------------
   17. Scroll reveal + tilt utilities (driven by animations.js)
   --------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------------------------------------------------------------------------
   18. About / Book a Demo / Contact — mission, values, team, timeline, forms.
       These used to be separate pages; now they're sections on the single-
       page site (see index.html #about/#values/#journey/#leadership/
       #careers/#book-demo/#contact). Deliberately reuses existing primitives
       (.glass-card, .solutions-grid/.solution-card for values, .mission-grid
       for the two-column form layouts, .eyebrow/.section-title for headers)
       rather than inventing parallel components — only the timeline and
       team/info/step-list components below are genuinely new.
   --------------------------------------------------------------------------- */
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 56px); }
.mission-grid p + p { margin-top: 16px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { padding: 30px 26px; text-align: left; }
.team-card .avatar-ring { width: 56px; height: 56px; font-size: 1.1rem; margin-bottom: 18px; }
.team-card .name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.team-card .role { color: var(--color-secondary-soft); font-size: 0.82rem; margin-top: 2px; margin-bottom: 14px; }
.team-card .bio { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.6; }

/* Timeline */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--border-brand), var(--border-subtle));
}
.timeline-item { position: relative; padding-left: 40px; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: 2px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-900);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), 0.12);
}
.timeline-year { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--color-secondary); display: block; margin-bottom: 6px; }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* ---------------------------------------------------------------------------
   19. Forms — book-demo.html / contact-us.html.
       Restyles Bootstrap's native form controls to match the glass/dark
       aesthetic instead of fighting them with overrides; still plain
       <input>/<select>/<textarea> underneath, so native validation,
       autofill and a11y semantics all keep working for free.
   --------------------------------------------------------------------------- */
.form-panel { padding: clamp(28px, 4vw, 40px); }

.form-label {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.94rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: var(--text-tertiary); }

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-secondary);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.18);
}

/* Bootstrap's color-scheme:dark (set via data-bs-theme) already renders the
   native <select> popup and autofill state legibly; we only need to restyle
   the closed control above to match the glass inputs. */

.form-check-input {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
}
.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.form-check-input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.18);
}
.form-check-label { color: var(--text-secondary); font-size: 0.88rem; }

.form-hint { color: var(--text-tertiary); font-size: 0.78rem; margin-top: 6px; }

/* Native HTML5 validation feedback — only appears after a failed submit
   attempt (see :user-invalid fallback handling in forms.js) rather than
   flashing red on every empty required field while the user is still typing. */
.form-control:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #e5586b;
}
.form-feedback-invalid {
  display: none;
  color: #f28b98;
  font-size: 0.78rem;
  margin-top: 6px;
}
.was-validated .form-control:invalid ~ .form-feedback-invalid,
.was-validated .form-select:invalid ~ .form-feedback-invalid {
  display: block;
}

/* Success panel swapped in by forms.js after a (client-side, no-backend)
   submit — see that file's header comment for why this is a placeholder. */
.form-success {
  display: none;
  text-align: center;
  padding: clamp(32px, 6vw, 56px) 20px;
}
.form-success.is-visible { display: block; }
.form-success .icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  background: rgba(var(--secondary-rgb), 0.12);
  border: 1px solid var(--border-brand);
  color: var(--color-secondary);
  font-size: 1.8rem;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-secondary); }

/* Side info cards — office/contact-method list on contact-us.html */
.info-card-list { display: flex; flex-direction: column; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.info-card .icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--secondary-rgb), 0.12);
  color: var(--color-secondary-soft);
  font-size: 1.05rem;
}
.info-card .t { font-weight: 600; font-size: 0.94rem; }
.info-card .d { color: var(--text-tertiary); font-size: 0.84rem; }
.info-card a.d { color: var(--color-secondary-soft); }

/* "What happens next" ordered steps on book-demo.html */
.step-list { display: flex; flex-direction: column; gap: 18px; }
.step-list li { display: flex; gap: 16px; align-items: flex-start; }
.step-list .step-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600;
  background: rgba(var(--secondary-rgb), 0.1);
  border: 1px solid var(--border-brand);
  color: var(--color-secondary);
}
.step-list .t { font-weight: 600; font-size: 0.92rem; }
.step-list .d { color: var(--text-tertiary); font-size: 0.84rem; }

/* ---------------------------------------------------------------------------
   20. Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .bento-item { grid-column: span 2; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .vt-nav-links, .vt-nav-actions .btn-vt-ghost { display: none; }
  .vt-nav-toggle { display: flex; }
  .vt-hero-grid, .dev-section-grid, .trade-network-grid, .mission-grid { grid-template-columns: 1fr; }
  .vt-hero-visual { order: -1; min-height: 360px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-item.span-4 { grid-column: span 2; }
}

@media (max-width: 767.98px) {
  .bento-grid, .solutions-grid, .compliance-grid, .testimonial-grid, .team-grid { grid-template-columns: 1fr; }
  .bento-item, .bento-item.span-1, .bento-item.span-4, .bento-item.row-2 { grid-column: span 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vt-float-card { display: none; }
  .metric-item { padding: 20px 8px; }
}

@media (max-width: 575.98px) {
  .footer-grid { grid-template-columns: 1fr; }
  .vt-hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .blur-orb, .vt-float-card, .compliance-badge .ring, .compliance-badge .ring-inner { animation: none; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
