/*
Theme Name: Seclura (GeneratePress)
Theme URI: https://seclura.ai
Description: Seclura brand child theme built on GeneratePress.
Author: Seclura
Version: 1.0.7
License: Proprietary
Text Domain: seclura-gp
Template: generatepress
*/

/* ── Reset & Base ────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* color-scheme overridden by dark mode */
  --bg: #ffffff;
  --surface: #f6f9fc;
  --fg: #1a1f36;
  --muted: #697386;
  --border: #e3e8ee;
  --subtle: #f7f8fa;
  --accent: #635BFF;
  --highlight: #7A73FF;
  --danger: #be123c;
  --success: #047857;
  --radius: 12px;
  --radius-lg: 8px;
  --radius-full: 9999px;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* background overridden by dark mode */
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ── Utility ─────────────────────────────────────────── */
.container {
  max-width: 1152px; /* max-w-6xl */
  margin: 0 auto;
  padding: 0 24px;
}

.text-muted { color: var(--muted); }
.text-fg { color: var(--fg); }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }

/* ── Glass effects ────────────────────────────────────── */
.glass-card {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(99, 91, 255, 0.25);
  box-shadow: 0 4px 20px rgba(99, 91, 255, 0.07);
}

.glass-panel {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

/* ── Navbar ──────────────────────────────────────────── */
/* navbar base: see end of file */

/* navbar-inner: see end of file */

/* navbar-brand: see end of file */



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid;
  text-decoration: none;
  border-radius: var(--radius-lg);
}

.btn-primary {
  height: 44px;
  padding: 0 24px;
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  height: 44px;
  padding: 0 24px;
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--subtle);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
}

.btn-cta {
  height: 48px;
  padding: 0 32px;
  font-size: 0.9375rem;
}

/* ── Hero V2 — Linear / Vercel / Harvey inspired ────── */
.hero-v2 {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px 0;
  text-align: center;
  background: #F8F8FF;
}

/* ── Gradient mesh blobs ── */
.hv2-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hv2-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.hv2-blob-1 {
  width: 50%;
  height: 70%;
  top: -20%;
  right: -5%;
  background: rgba(88, 101, 242, 0.06);
  animation: hv2Drift1 18s ease-in-out infinite alternate;
}
.hv2-blob-2 {
  width: 45%;
  height: 60%;
  top: 10%;
  left: -8%;
  background: rgba(165, 180, 252, 0.04);
  animation: hv2Drift2 22s ease-in-out infinite alternate;
}
.hv2-blob-3 {
  width: 40%;
  height: 50%;
  bottom: -10%;
  left: 30%;
  background: rgba(254, 243, 199, 0.03);
  animation: hv2Drift3 16s ease-in-out infinite alternate;
}
@keyframes hv2Drift1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-30px, 20px); }
}
@keyframes hv2Drift2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(25px, -15px); }
}
@keyframes hv2Drift3 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-20px, -25px); }
}

/* ── Dot grid ── */
.hv2-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(88,101,242,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Noise grain ── */
.hv2-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── Floating particles container ── */
.hv2-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hv2-mote {
  position: absolute;
  border-radius: 50%;
  background: #5865F2;
  animation: hv2Float linear infinite alternate;
}
@keyframes hv2Float {
  from { transform: translateY(-15px); }
  to   { transform: translateY(15px); }
}

/* ── Mouse spotlight ── */
.hv2-spotlight {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,101,242,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
  will-change: transform;
}

/* ── Content layer ── */
.hv2-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Pill badge ── */
.hv2-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(88,101,242,0.05);
  border: 1px solid rgba(88,101,242,0.12);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.hv2-pill-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5865F2;
  position: relative;
  z-index: 1;
}
/* Shimmer sweep */
.hv2-pill::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  animation: hv2Shimmer 4s linear infinite;
  pointer-events: none;
}
@keyframes hv2Shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ── Headline ── */
.hv2-h1 {
  max-width: 960px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0a0a14;
  margin: 0;
}
.hv2-accent {
  color: #0a0a14;
}

/* ── Rotating word ── */
.hv2-rotator-wrap {
  position: relative;
  display: inline-block;
  min-width: 5.5ch;
  text-align: left;
  white-space: nowrap;
}
@keyframes hv2GradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hv2-rot-text {
  display: inline-block;
  color: #5865F2;
}
.hv2-cursor {
  display: inline-block;
  color: #5865F2;
  font-weight: 400;
  animation: hv2Blink 0.7s step-end infinite;
  margin-left: 1px;
}
@keyframes hv2Blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hv2-rot-out {
  opacity: 0;
  transform: translateY(10px);
}
.hv2-rot-in {
  animation: hv2RotIn 0.4s ease forwards;
}
@keyframes hv2RotIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Words hidden until JS splits */
.hv2-h1-ready .hv2-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: hv2WordIn 0.5s ease forwards;
}
@keyframes hv2WordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Subtext ── */
.hv2-sub {
  max-width: 560px;
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #6b7280;
  opacity: 0;
  animation: hv2FadeUp 0.6s ease forwards;
  animation-delay: 0.7s;
}
@keyframes hv2FadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CTA buttons ── */
.hv2-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  opacity: 0;
  animation: hv2FadeUp 0.6s ease forwards;
  animation-delay: 1s;
}
.hv2-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: #5865F2;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hv2-btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
/* Shimmer on primary */
.hv2-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  animation: hv2BtnShimmer 5s linear infinite;
  pointer-events: none;
}
@keyframes hv2BtnShimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

.hv2-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #5865F2;
  background: transparent;
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hv2-btn-secondary:hover {
  background: rgba(88,101,242,0.05);
  border-color: #5865F2;
}

/* ── Note below CTAs ── */
.hv2-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #9ca3af;
  opacity: 0;
  animation: hv2FadeUp 0.5s ease forwards;
  animation-delay: 1.2s;
}

/* ── Product mockup ── */
.hv2-mockup-wrap {
  margin-top: 56px;
  width: 100%;
  max-width: 960px;
  perspective: 1200px;
  opacity: 0;
  animation: hv2MockupIn 1s ease-out forwards;
  animation-delay: 1.4s;
}
@keyframes hv2MockupIn {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(8deg) translateY(40px);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(2deg) translateY(0);
  }
}

.hv2-mockup {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a2e;
  transform: perspective(1200px) rotateX(2deg);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.08),
    0 12px 40px rgba(88,101,242,0.10),
    0 30px 80px rgba(0,0,0,0.12);
  will-change: transform;
}

/* Browser bar */
.hv2-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #12121e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hv2-dot-r, .hv2-dot-y, .hv2-dot-g {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hv2-dot-r { background: #ff5f56; }
.hv2-dot-y { background: #ffbd2e; }
.hv2-dot-g { background: #27c93f; }
.hv2-url-bar {
  margin-left: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  padding: 4px 14px;
  border-radius: 6px;
}

/* Dashboard screen */
.hv2-screen {
  padding: 0;
}
.hv2-dash {
  display: flex;
  min-height: 340px;
}
.hv2-dash-sidebar {
  width: 180px;
  background: #16162a;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.hv2-dash-nav-item {
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}
.hv2-dash-nav-item.hv2-dash-active {
  background: rgba(88,101,242,0.18);
  border: 1px solid rgba(88,101,242,0.3);
}
.hv2-dash-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hv2-dash-topbar {
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}
.hv2-dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hv2-dash-card {
  height: 80px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
}
/* Sequential pulse highlight */
.hv2-pulse-card {
  animation: hv2CardPulse 6s ease-in-out infinite;
  animation-delay: var(--pulse-d, 0s);
}
@keyframes hv2CardPulse {
  0%, 100% { border-color: rgba(255,255,255,0.04); }
  16%, 33% { border-color: rgba(88,101,242,0.4); box-shadow: 0 0 12px rgba(88,101,242,0.08); }
}
.hv2-dash-chart {
  height: 100px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.03);
}
.hv2-dash-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hv2-dash-row {
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
}

/* ── Reflection beneath mockup ── */
.hv2-reflection {
  height: 120px;
  margin-top: -2px;
  background: linear-gradient(to bottom,
    rgba(88,101,242,0.06) 0%,
    transparent 100%);
  filter: blur(20px);
  transform: scaleY(-1);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  pointer-events: none;
}

/* ── Hero V2 responsive ── */
@media (max-width: 768px) {
  .hero-v2 {
    padding: 40px 24px 0;
  }
  .hv2-h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hv2-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hv2-btn-primary,
  .hv2-btn-secondary {
    width: 100%;
    max-width: 320px;
  }
  .hv2-particles,
  .hv2-spotlight {
    display: none;
  }
  .hv2-mockup {
    transform: none;
  }
  .hv2-mockup-wrap {
    animation-name: hv2MockupInFlat;
  }
  @keyframes hv2MockupInFlat {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hv2-h1-ready .hv2-word,
  .hv2-sub,
  .hv2-ctas,
  .hv2-note,
  .hv2-mockup-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hv2-rot-text { animation: none; opacity: 1; transform: none; filter: none; }
  .hv2-rotator-wrap { animation: none; }
  #threeBodyCanvas { display: none; }
  .hv2-blob,
  .hv2-mote,
  .hv2-pill::after,
  .hv2-btn-primary::after,
  .hv2-pulse-card {
    animation: none;
  }
  .hv2-mockup {
    transform: none;
  }
  .hv2-spotlight {
    display: none;
  }
}

/* ── Section base ────────────────────────────────────── */
.section {
  padding: 72px 24px;
}

.section-subtle {
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.section-border {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Icon accent wrapper ─────────────────────────────── */
.icon-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(99, 91, 255, 0.15);
  background: rgba(99, 91, 255, 0.05);
  color: var(--accent);
  margin-bottom: 12px;
}

.icon-accent svg {
  width: 20px;
  height: 20px;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(99, 91, 255, 0.2);
  background: rgba(99, 91, 255, 0.05);
  padding: 4px 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--fg);
}

.section-desc {
  margin-top: 12px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
}

.section-desc.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ── Feature Grid ────────────────────────────────────── */
.feature-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid-5 { grid-template-columns: repeat(5, 1fr); }

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0; /* prevent grid blowout */
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ── Capabilities Grid (bento + animated) ───────────── */

/* Light background for features section */
#features {
  background: var(--bg);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

#features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(99,91,255,0.06), transparent 65%),
              radial-gradient(ellipse 60% 50% at 80% 100%, rgba(122,115,255,0.04), transparent 65%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   FEATURES — Manifest-style list (Anthropic / Vercel feel)
   ═══════════════════════════════════════════════════════ */
.feat-manifest {
  position: relative;
  max-width: 1040px;
  margin: 52px auto 0;
  padding: 0;
}

/* Vertical blurple accent bar — hidden for dark cards */
.feat-accentbar { display: none; }

/* 3-column grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Separator spans all 3 columns */
.feat-sep {
  grid-column: 1 / -1;
  padding: 4px 0;
  overflow: hidden;
}
.feat-sep-svg {
  display: block;
  width: 100%;
  height: 1px;
  overflow: visible;
}
.feat-sep-line {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  opacity: 0.2;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.feat-sep.feat-sep-visible .feat-sep-line {
  stroke-dashoffset: 0;
}

/* Individual feature item — dark 3D card */
.feat-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  background: linear-gradient(160deg, #1e1754 0%, #2a2070 40%, #322a80 60%, #1e1754 100%);
  border: 1px solid rgba(99, 91, 255, 0.22);
  border-radius: 20px;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
  /* Scroll-reveal initial state */
  opacity: 0;
  transform: perspective(900px) translateX(-28px);
  transition: opacity 0.55s ease,
              transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.feat-item.feat-visible {
  opacity: 1;
  transform: perspective(900px) translateX(0);
}

/* Animated gradient border on hover */
.feat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.28),
    rgba(122,115,255,0.22),
    rgba(255,255,255,0.28));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: featBorderSpin 4s linear infinite paused;
  pointer-events: none;
}
.feat-item:hover::before {
  opacity: 1;
  animation-play-state: running;
}
@keyframes featBorderSpin {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Radial shine follows mouse */
.feat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.08) 0%, transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feat-item:hover::after { opacity: 1; }

/* Mouse-tracking glow element */
.feat-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.feat-item:hover {
  box-shadow:
    0 22px 48px rgba(30, 23, 84, 0.45),
    0 0 36px rgba(99, 91, 255, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.1);
  border-color: rgba(99, 91, 255, 0.42);
  background: linear-gradient(160deg, #241c60 0%, #302678 40%, #3a3090 60%, #241c60 100%);
}

/* Icon container */
.feat-icon-cell {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(99, 91, 255, 0.20);
  border: 1px solid rgba(99, 91, 255, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #b8b3ff;
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}
.feat-item:hover .feat-icon-cell {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.28);
  background: rgba(99, 91, 255, 0.28);
}
.feat-svg {
  width: 28px;
  height: 28px;
  overflow: visible;
  color: #d1d5db;
  animation: featIconFloat 3s ease-in-out infinite;
}
.feat-item:nth-child(2) .feat-svg { animation-delay: -0.5s; }
.feat-item:nth-child(3) .feat-svg { animation-delay: -1s; }
.feat-item:nth-child(4) .feat-svg { animation-delay: -1.5s; }
.feat-item:nth-child(5) .feat-svg { animation-delay: -2s; }
.feat-item:nth-child(6) .feat-svg { animation-delay: -2.5s; }
@keyframes featIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-3px) rotate(3deg); }
}
.feat-svg circle,
.feat-svg line,
.feat-svg path,
.feat-svg rect,
.feat-svg polyline {
  stroke: #d1d5db;
  fill: none;
}
.feat-svg circle[fill],
.feat-svg path[fill],
.feat-svg rect[fill] {
  fill: #d1d5db;
}

/* Text */
.feat-text-cell {
  position: relative;
  z-index: 1;
}
.feat-text-cell h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
}
.feat-text-cell p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.60);
  margin: 0;
}

/* ── Animated SVG icons (paused until in-view) ─────── */

/* 1. Radar sweep */
.feat-radar-arm {
  transform-origin: 22px 22px;
  animation: featRadar 3s linear infinite paused;
}
.feat-item.feat-visible .feat-radar-arm {
  animation-play-state: running;
}
@keyframes featRadar { to { transform: rotate(360deg); } }

/* 2. Context graph — satellite nodes beat */
.feat-node-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: featNodeCore 2.8s ease-in-out infinite paused;
}
.feat-item.feat-visible .feat-node-core { animation-play-state: running; }
@keyframes featNodeCore {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.8; }
}
.feat-sat-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: featSatNode 2.8s ease-in-out infinite paused;
}
.feat-sat-1 { animation-delay: -0.7s;  }
.feat-sat-2 { animation-delay: -1.4s;  }
.feat-sat-3 { animation-delay: -2.1s;  }
.feat-sat-4 { animation-delay: -0.35s; }
.feat-item.feat-visible .feat-sat-node { animation-play-state: running; }
@keyframes featSatNode {
  0%, 100% { transform: scale(1);    opacity: 0.65; }
  50%       { transform: scale(1.45); opacity: 1; }
}

/* 3. Checkmark draw-on */
.feat-check {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}
.feat-item.feat-visible .feat-check { stroke-dashoffset: 0; }

/* 4. Wire draw-on + node pulse */
.feat-wire {
  stroke-dasharray: 8;
  stroke-dashoffset: 8;
  transition: stroke-dashoffset 0.45s ease 0.15s;
}
.feat-item.feat-visible .feat-wire { stroke-dashoffset: 0; }
.feat-conn-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: featConnPulse 2.2s ease-in-out infinite paused;
}
.feat-conn-r { animation-delay: -1.1s; }
.feat-item.feat-visible .feat-conn-dot { animation-play-state: running; }
@keyframes featConnPulse {
  0%, 100% { transform: scale(1);   opacity: 0.9; }
  50%       { transform: scale(1.4); opacity: 1; }
}

/* 5. Lightning bolt draw-on */
.feat-bolt {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.05s;
}
.feat-item.feat-visible .feat-bolt { stroke-dashoffset: 0; }

/* 6. Lock shackle snaps shut */
.feat-shackle {
  transform: translateY(-5px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}
.feat-item.feat-visible .feat-shackle { transform: translateY(0); }

/* After locking, subtle locked-in pulse */
.feat-item.feat-visible .feat-shackle {
  animation: featLockSettle 5s ease-in-out 0.5s infinite;
}
@keyframes featLockSettle {
  0%, 90%, 100% { transform: translateY(0)    scaleX(1); }
  93%            { transform: translateY(-2px) scaleX(1.04); }
  96%            { transform: translateY(0)    scaleX(1); }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 860px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-sep { display: none; }
}
@media (max-width: 600px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-item { padding: 20px 18px; }
  .feat-sep { display: none; }
  .feat-item { transform: perspective(900px) translateX(-16px); }
}

/* ── How It Works ────────────────────────────────────── */









/* ── How It Works — see horizontal layout below ──── */

/* ── Sovereignty table ───────────────────────────────── */
.sov-table {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
}

.sov-table th,
.sov-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.sov-table th {
  font-weight: 600;
  color: var(--fg);
}

.sov-table td {
  color: var(--muted);
}

/* ── Callout / highlight box ────────────────────────── */
.callout {
  margin-top: 40px;
  padding: 40px;
  text-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  word-break: break-word;
}

.callout-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
}

.callout-sub {
  margin-top: 4px;
  font-size: 1rem;
  color: var(--muted);
}

/* ── Compliance badges ───────────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
  border-radius: var(--radius-lg);
}

/* ── Build vs Buy vs Own ─────────────────────────────── */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.decision-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-width: 0; /* prevent grid blowout */
  overflow: hidden;
}

.decision-card.recommended {
  border: 2px solid var(--accent);
  background: rgba(99, 91, 255, 0.05);
  box-shadow: 0 4px 20px rgba(99, 91, 255, 0.07), 0 0 0 0;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  position: relative;
}

.decision-card.recommended::before {
  content: 'Recommended';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 12px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.decision-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
}

.decision-card .decision-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 16px;
}

.decision-card ul {
  list-style: none;
  padding: 0;
}

.decision-card li {
  font-size: 0.8125rem;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.decision-card li.pro { color: var(--success); }
.decision-card li.pro::before { content: '✓'; font-weight: 700; }
.decision-card li.con { color: var(--danger); }
.decision-card li.con::before { content: '✕'; font-weight: 700; }

/* ── Comparison table ────────────────────────────────── */
.compare-table {
  width: 100%;
  margin-top: 48px;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.compare-table th {
  font-weight: 600;
  color: var(--fg);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross { color: var(--danger); font-weight: 700; }
.compare-table .partial { color: #b45309; font-weight: 700; }

/* ── Integrations ────────────────────────────────────── */
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.int-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg);
}

/* ── Use Cases ───────────────────────────────────────── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.usecase-card {
  padding: 32px;
}

.usecase-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.usecase-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

.usecase-role {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Timeline ────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  text-align: left;
  position: relative;
  padding-top: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 2px;
  left: -31px;
  transform: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.05);
  border: 2px solid rgba(99, 91, 255, 0.2);
}

.timeline-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── ROI ─────────────────────────────────────────────── */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.roi-card {
  text-align: center;
  padding: 32px;
}

.roi-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
}

.roi-label {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

.roi-when {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}

.roi-summary {
  margin-top: 32px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Audience cards ──────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.audience-card {
  padding: 32px;
}

.audience-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
}

/* ── CTA Section ─────────────────────────────────────── */

/* ── FAQ Section ── */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] {
  border-color: rgba(99,91,255,0.25);
  box-shadow: 0 0 20px rgba(99,91,255,0.08);
}
.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(0deg);
}
.faq-question:hover { color: var(--accent); }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}
.faq-answer p { margin: 0; }
.faq-answer em { color: var(--fg); font-style: normal; font-weight: 500; }
.cta-section {
  padding: 72px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.025em;
}

.cta-section p {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-checklist {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-checklist li {
  font-size: 0.875rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-checklist li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(160deg, #1e1754 0%, #2a2070 40%, #322a80 60%, #1e1754 100%);
  padding: 56px 24px 36px;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 720px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-size: 0.875rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.footer-link:hover {
  color: #fff;
}

.footer-num {
  color: rgba(255,255,255,0.28);
  font-size: 0.75rem;
  min-width: 28px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.03em;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-grid-3,
  .how-grid,
  .roi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid-4,
  .feature-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    padding-left: 32px;
  }
  .timeline-item::before {
    left: -26px;
    transform: none;
    top: 4px;
  }
}

@media (max-width: 768px) {
  /* ── Hero ─────────────────────────────────────────── */
  .hero {
    min-height: auto;
    padding: 64px 20px 40px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-sub {
    font-size: 1rem;
    margin-top: 16px;
  }

  .hero-cta {
    margin-top: 28px;
  }

  .hero-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .hero-stats-wrap {
    max-width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    gap: 20px;
    margin-top: 40px;
  }

  .hero-stat .stat-value {
    font-size: 1.25rem;
  }

  /* ── Sections ────────────────────────────────────── */
  .section {
    padding: 56px 20px;
  }

  .section-label {
    display: block;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .section-desc {
    font-size: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Grids → single column ───────────────────────── */
  .feature-grid-2,
  .feature-grid-3,
  .feature-grid-4,
  .feature-grid-5,
  .how-grid,
  .decision-grid,
  .roi-grid,
  .usecase-grid,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  /* ── Cards ───────────────────────────────────────── */
  .how-card,
  .decision-card,
  .usecase-card,
  .audience-card,
  .roi-card {
    padding: 24px;
  }

  .how-card h3 {
    font-size: 1.125rem;
  }

  .feature-card h3 {
    font-size: 0.9375rem;
  }

  .feature-card p {
    font-size: 0.875rem;
  }

  /* ── Callout ─────────────────────────────────────── */
  .callout {
    padding: 28px 20px;
    margin-top: 32px;
  }

  .callout-title {
    font-size: 1.25rem;
  }

  /* ── CTA section ─────────────────────────────────── */
  .cta-section {
    padding: 56px 20px;
  }

  .cta-section h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-checklist {
    align-items: flex-start;
    padding-left: 16px;
  }

  .cta-checklist li {
    text-align: left;
  }

  /* ── Footer ──────────────────────────────────────── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST — Blog Article Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Nav blog link ─────────────────────────────────────── */



/* ── Post hero header ──────────────────────────────────── */
.post-hero {
  padding: 80px 24px 48px;
  text-align: center;
}
.post-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.post-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.post-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-radius: var(--radius-full);
  border: 1px solid rgba(99, 91, 255, 0.2);
  background: rgba(99, 91, 255, 0.05);
  padding: 4px 12px;
}
.post-reading-time {
  font-size: 0.8125rem;
  color: var(--muted);
}
.post-title {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0;
}
.post-excerpt {
  margin-top: 20px;
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.post-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.post-meta-sep {
  opacity: 0.4;
}

/* ── Featured image ────────────────────────────────────── */
.post-featured-image {
  padding: 0 24px 48px;
}
.post-featured-image .container {
  max-width: 960px;
}
.post-thumbnail {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ── Post body container ───────────────────────────────── */
.post-body {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Article content ───────────────────────────────────── */
.post-content {
  padding: 0 24px 64px;
}
.post-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--fg);
  margin-top: 48px;
  margin-bottom: 16px;
}
.post-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
  margin-top: 40px;
  margin-bottom: 12px;
}
.post-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}
.post-content p strong {
  color: var(--fg);
  font-weight: 600;
}
.post-content em {
  color: var(--fg);
}
.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(99, 91, 255, 0.3);
  transition: text-decoration-color 0.2s;
}
.post-content a:hover {
  text-decoration-color: var(--accent);
}
.post-content ul,
.post-content ol {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}
.post-content li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 8px;
}
.post-content li strong {
  color: var(--fg);
}
.post-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--subtle);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.post-content blockquote p {
  color: var(--fg);
  font-style: italic;
  margin-bottom: 0;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 24px 0;
}
.post-content pre {
  background: var(--fg);
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 24px 0;
}
.post-content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875em;
}
.post-content p code {
  background: var(--subtle);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
}
.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── Table styling ─────────────────────────────────────── */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-content th {
  background: var(--subtle);
  font-weight: 600;
  color: var(--fg);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.post-content td {
  padding: 12px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.post-content tr:last-child td {
  border-bottom: none;
}

/* ── Post tags ─────────────────────────────────────────── */
.post-footer {
  padding: 0 24px 64px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.post-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--subtle);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s;
}
.post-tag:hover {
  color: var(--accent);
  border-color: rgba(99, 91, 255, 0.3);
  background: rgba(99, 91, 255, 0.05);
}

/* ── Post navigation ───────────────────────────────────── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}
.post-nav-link:hover {
  border-color: rgba(99, 91, 255, 0.3);
  background: rgba(99, 91, 255, 0.02);
}
.post-nav-next {
  text-align: right;
  grid-column: 2;
}
.post-nav-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-nav-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.4;
}

/* ── Single post responsive ────────────────────────────── */
@media (max-width: 768px) {
  .post-hero {
    padding: 48px 20px 32px;
  }
  .post-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }
  .post-excerpt {
    font-size: 1.0625rem;
  }
  .post-content {
    padding: 0 20px 48px;
  }
  .post-content h2 {
    font-size: 1.5rem;
    margin-top: 36px;
  }
  .post-content h3 {
    font-size: 1.25rem;
    margin-top: 28px;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav-next {
    text-align: left;
    grid-column: 1;
  }
}

/* ── Table fix (higher specificity) ────────────────────── */
.single-post .post-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.single-post .post-content table th {
  background: var(--subtle);
  font-weight: 600;
  color: var(--fg);
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.single-post .post-content table td {
  padding: 14px 20px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.single-post .post-content table tr:last-child td {
  border-bottom: none;
}

/* ── Post nav fix ──────────────────────────────────────── */
.single-post .post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  background: var(--subtle);
}
.single-post .post-nav-link:hover {
  border-color: rgba(99, 91, 255, 0.3);
  background: rgba(99, 91, 255, 0.03);
}

/* ═══════════════════════════════════════════════════════════
   HERO ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes statSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Set all hero children to invisible initially */
.hero .hero-icon,
.hero h1,
.hero .hero-sub,
.hero .hero-cta,
.hero > p,
.hero .hero-stats-wrap {
  opacity: 0;
}

/* Icon — scale in */
.hero .hero-icon {
  animation: heroScale 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* Heading — fade up */
.hero h1 {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

/* Subtitle — fade up */
.hero .hero-sub {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* CTA button — fade up */
.hero .hero-cta {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

/* Helper text — fade up */
.hero > p {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

/* Stats — staggered slide up */
.hero .hero-stats-wrap {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}
.hero .hero-stat {
  opacity: 0;
  animation: statSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero .hero-stat:nth-child(1) { animation-delay: 0.9s; }
.hero .hero-stat:nth-child(2) { animation-delay: 1.05s; }
.hero .hero-stat:nth-child(3) { animation-delay: 1.2s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero .hero-icon,
  .hero h1,
  .hero .hero-sub,
  .hero .hero-cta,
  .hero > p,
  .hero .hero-stats,
  .hero .hero-stat {
    animation: none;
    opacity: 1;
  }
}



/* ═══════════════════════════════════════════════════════════
   BLOG INDEX — Card Grid
   ═══════════════════════════════════════════════════════════ */

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

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-2px);
}

.blog-card-image {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -1px -1px 0 -1px;
}

.blog-card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 0.875rem;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s;
}

.blog-pagination a {
  color: var(--fg);
  border: 1px solid var(--border);
}

.blog-pagination a:hover {
  border-color: rgba(99, 91, 255, 0.3);
  background: rgba(99, 91, 255, 0.05);
}

.blog-pagination .current {
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  font-weight: 600;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   GENERATEPRESS OVERRIDES
   Hide GP default chrome - our templates are self-contained.
   ================================================================ */
.site-header,
.main-navigation,
#page .site-info,
.site-info {
  display: none !important;
}

.site-content,
#page,
.inside-article {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}


/* ═══════════════════════════════════════════════════════════
   LIGHT MODE — Seclura Blurple-Complement Light Theme
   Clean light surfaces with blurple (#635BFF) accents.
   ═══════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;
  --bg: #FAFAFF;
  --surface: #F3F1FF;
  --fg: #1a1f36;
  --muted: #64648C;
  --border: #E0DCF5;
  --subtle: #F7F5FF;
  --accent: #635BFF;
  --highlight: #7A73FF;
  --danger: #be123c;
  --success: #047857;
  --radius: 12px;
  --radius-lg: 8px;
  --radius-full: 9999px;
  --glow: rgba(99, 91, 255, 0.10);
  --glow-strong: rgba(99, 91, 255, 0.18);
}

html {
  background: var(--bg);
  color: var(--fg);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body,
h1, h2, h3, h4, h5, h6,
p, li, a, span, td, th,
button, input, select, textarea {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── Glass overrides for light ─────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(99, 91, 255, 0.06);
}

.glass-card:hover {
  background: #fff;
  border-color: var(--glow-strong);
  box-shadow: 0 4px 24px var(--glow), 0 0 0 1px var(--glow);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(99, 91, 255, 0.06);
}

/* ── Navbar light ──────────────────────────────────────── */
/* dark navbar: see end of file */

/* ── Section alt bg ──────────────────────────────────── */
.section-subtle {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Buttons light ────────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px var(--glow);
}

.btn-primary:hover {
  opacity: 1;
  box-shadow: 0 4px 20px var(--glow-strong);
  background: var(--highlight);
}

.btn-secondary {
  background: #fff;
  border-color: var(--border);
  color: var(--fg);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--accent);
}

/* ── Section label ──────────────────────────────── */
.section-label {
  border-color: var(--border);
  background: var(--surface);
  color: var(--accent);
  box-shadow: none;
}

/* ── Tables light ─────────────────────────────────────── */
.sov-table th,
.sov-table td,
.compare-table th,
.compare-table td {
  border-bottom-color: var(--border);
}

.sov-table th,
.compare-table th {
  color: var(--fg);
}

.sov-table td,
.compare-table td:first-child {
  color: var(--muted);
}

/* ── Decision cards light ─────────────────────────────── */
.decision-card.recommended {
  border-color: var(--accent);
  background: rgba(99, 91, 255, 0.04);
  box-shadow: 0 4px 24px var(--glow);
}

.decision-card.recommended::before {
  box-shadow: 0 0 12px var(--glow);
}

.decision-card li.pro { color: var(--success); }
.decision-card li.con { color: var(--danger); }

/* ── Callout light ────────────────────────────────────── */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(99, 91, 255, 0.06);
}

/* ── Footer light ─────────────────────────────────────── */
/* dark footer used regardless of theme */

/* ── CTA section light ────────────────────────────────── */
.cta-section {
  border-top-color: var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

/* ── Timeline light ───────────────────────────────────── */
.timeline::before {
  background: var(--border);
}

.timeline-item::before {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 8px var(--glow);
}

/* ── ROI value ──────────────────────────────────── */
.roi-value {
  color: var(--accent);
}



/* ── Comparison table dark ───────────────────────────── */
.compare-table .check { color: var(--success); }
.compare-table .cross { color: var(--danger); }

/* ── Integration badges dark ─────────────────────────── */
.int-badge {
  color: var(--fg);
}

/* ── Compliance badges dark ──────────────────────────── */
.badge {
  color: var(--fg);
}

/* ── Blog cards dark ─────────────────────────────────── */
.blog-card-title { color: var(--fg); }
.blog-card-excerpt { color: var(--muted); }

/* ── Post content dark ───────────────────────────────── */
.post-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
}

.post-content p code {
  background: var(--surface);
  border-color: var(--border);
}

.post-content blockquote {
  background: rgba(99, 91, 255, 0.04);
  border-left-color: var(--accent);
}

.post-content hr {
  border-top-color: var(--border);
}

/* ── Post nav dark ───────────────────────────────────── */
.post-nav-link,
.single-post .post-nav-link {
  border-color: var(--border);
  background: var(--surface);
}

.post-nav-link:hover,
.single-post .post-nav-link:hover {
  border-color: var(--accent);
  background: var(--surface);
}

/* ── Blog pagination dark ────────────────────────────── */
.blog-pagination a {
  border-color: var(--border);
  color: var(--fg);
}

.blog-pagination a:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.blog-pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--glow);
}

/* ── Cookie consent light ─────────────────────────────── */
#cookie-consent {
  background: rgba(255, 255, 255, 0.97) !important;
  border-top-color: var(--border) !important;
  color: var(--fg) !important;
}

/* ── Subtle gradient background for depth ────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 91, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(99, 91, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ── Hero section enhancements ──────────────────── */
.hero h1 .text-accent {
  text-shadow: none;
  -webkit-text-fill-color: transparent;
}



/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   Triggered by IntersectionObserver via seclura-scroll.js
   ═══════════════════════════════════════════════════════════ */

/* ── Section reveal ──────────────────────────────────── */
.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stagger children ────────────────────────────────── */
.stagger-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-child.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Respect reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .stagger-child {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   COMPLIANCE BADGE MARQUEE
   Infinite scrolling bar of trust signals
   ═══════════════════════════════════════════════════════════ */

.trust-marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.trust-marquee::before,
.trust-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.trust-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.trust-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.trust-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.trust-item .trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pause on hover for readability */
.trust-marquee:hover .trust-track {
  animation-play-state: paused;
}


/* ═══════════════════════════════════════════════════════════
   BENTO GRID — Modern feature showcase
   ═══════════════════════════════════════════════════════════ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 40px;
}

.bento-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px var(--glow);
  background: #fff;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.bento-card .bento-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: block;
}

/* Wide card spanning 2 columns */
.bento-card.bento-wide {
  grid-column: span 2;
}

/* Tall card spanning 2 rows */
.bento-card.bento-tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Featured bento card */
.bento-card.bento-featured {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.06) 0%, rgba(99, 91, 255, 0.02) 100%);
  border-color: rgba(99, 91, 255, 0.2);
}

.bento-card.bento-featured h3 {
  color: var(--accent);
}

@media (max-width: 1024px) {
  /* bento-grid intentionally stays 3-col at 1024px to avoid orphan cards */
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.bento-wide,
  .bento-card.bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* 2x2 bento grid variant */
.bento-grid.bento-grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
}
.bento-grid-2x2 .bento-card {
  background: #fff;
  border: 1.5px solid rgba(99,91,255,0.14);
  box-shadow: 0 2px 12px rgba(99,91,255,0.06);
}
.bento-grid-2x2 .bento-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bento-grid-2x2 .bento-card p {
  color: var(--muted);
}
.bento-grid-2x2 .bento-card:hover {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(99,91,255,0.12);
}


/* ═══════════════════════════════════════════════════════════
   HERO ENHANCEMENTS — Dark mode
   ═══════════════════════════════════════════════════════════ */

/* Glowing accent text */
.hero h1 .text-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow effect behind hero icon */
.hero-icon {
  filter: drop-shadow(0 0 24px var(--glow-strong));
}





/* ── Seclura Icons (inline SVG) ───────────────────────── */
.si {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* Bento grid icons — slightly larger for featured cards */
.bento-si {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}
.bento-featured .bento-si {
  width: 40px;
  height: 40px;
}

/* Decision card icons */
.si-decision {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.si-accent {
  opacity: 1;
  color: var(--accent);
}

/* Use case card icons */
.si-usecase {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  opacity: 0.7;
}

/* Feature cards: ensure icon + text flow naturally */
.feature-card .si,


/* On mobile, icons slightly smaller to preserve proportion */
@media (max-width: 768px) {
  .si {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }
  .bento-featured .bento-si {
    width: 36px;
    height: 36px;
  }
  .si-decision {
    width: 28px;
    height: 28px;
  }
  .si-usecase {
    width: 24px;
    height: 24px;
  }
}

/* ── Hero moving background ────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(99,91,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 75% 60%, rgba(122,115,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(99,91,255,0.05) 0%, transparent 70%);
  animation: bgDrift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: -30%;
  width: 160%;
  height: 160%;
  background:
    radial-gradient(ellipse 350px 350px at 70% 20%, rgba(99,91,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 450px 450px at 30% 70%, rgba(122,115,255,0.05) 0%, transparent 70%);
  animation: bgDrift2 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero > * {
  position: relative;
  z-index: 1;
}
/* Keep decorative layers absolutely positioned */
.hero-v2 > .hv2-mesh,
.hero-v2 > .hv2-dots,
.hero-v2 > .hv2-grain,
.hero-v2 > .hv2-particles,
.hero-v2 > .hv2-spotlight {
  position: absolute;
  z-index: 0;
}

/* ── Three-body orbit canvas ── */
#threeBodyCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  will-change: auto;
}

@keyframes bgDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(3%, -2%) rotate(1deg); }
  66% { transform: translate(-2%, 3%) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bgDrift2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-4%, 2%) rotate(-1.5deg); }
  66% { transform: translate(3%, -3%) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* ── Mobile: center-align feature cards + icons ───── */
@media (max-width: 768px) {
  .feature-card {
    text-align: center;
    align-items: center;
  }
  .feature-card .si {
    margin-left: auto;
    margin-right: auto;
  }
  .feature-card h3 {
    text-align: center;
  }
  .feature-card p {
    text-align: center;
  }
}

/* ============================================================
   ARCHITECTURE DIAGRAM v2 — Dark Stack
   ============================================================ */

/* ══════════════════════════════════════════════
   Architecture Diagram – 3-row landscape layout
   ══════════════════════════════════════════════ */

.arch-section {
  padding: 64px 24px;
  background: linear-gradient(180deg, #F3F1FF 0%, #EDEAFF 100%);
  position: relative;
  overflow-x: clip;
  overflow-y: hidden;
}

.arch-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99,91,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(99,91,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.arch-outer {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.arch-header {
  text-align: center;
  margin-bottom: 48px;
}

.arch-header-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #635BFF;
  margin-bottom: 12px;
}

.arch-header-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
}

/* ── Diagram container: stack + sidebar ── */
.arch-diagram {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

/* ── Stack: 3 vertical rows ── */
.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

/* ── Shared layer styles ── */
.arch-layer {
  border-radius: 16px;
  padding: 24px 28px;
  position: relative;
}

.arch-layer-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── ROW 1: Interfaces & Agents ── */
.arch-layer--agents {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
}

.arch-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.arch-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s ease;
  flex: 1 1 140px;
  min-width: 0;
}

.arch-tile:hover {
  background: rgba(99,91,255,0.06);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,91,255,0.12);
}

.arch-tile-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #635BFF;
  background: rgba(99,91,255,0.1);
  border-radius: 10px;
  border: 1px solid rgba(99,91,255,0.2);
  flex-shrink: 0;
}

.arch-tile-icon svg {
  width: 20px;
  height: 20px;
}

.arch-tile-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
  white-space: nowrap;
}

/* ── Arrow connectors (horizontal) ── */
.arch-arrows {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  height: 28px;
  flex-shrink: 0;
}

.arch-arrow-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(99,91,255,0.4), rgba(99,91,255,0.08));
  position: relative;
}

.arch-arrow-line::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(99,91,255,0.5);
}

/* ── ROW 2: Context Layer / Org Intelligence ── */
.arch-layer--core {
  background: linear-gradient(135deg, rgba(99,91,255,0.08) 0%, rgba(99,91,255,0.03) 100%);
  border: 1.5px solid rgba(99,91,255,0.25);
  padding: 28px 28px 20px;
}

.arch-layer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #635BFF;
  background: rgba(99,91,255,0.15);
  border: 1px solid rgba(99,91,255,0.3);
  border-radius: 8px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.arch-core-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.arch-core-grid--single {
  grid-template-columns: 1fr;
}
.arch-core-grid--single .arch-core-block {
  text-align: center;
}
.arch-core-grid--single .arch-core-icon {
  margin: 0 auto 10px;
}

.arch-core-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.arch-core-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #635BFF;
  background: rgba(99,91,255,0.12);
  border-radius: 10px;
  border: 1px solid rgba(99,91,255,0.2);
  margin-bottom: 14px;
}

.arch-core-icon svg {
  width: 22px;
  height: 22px;
}

.arch-core-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.arch-core-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}

.arch-core-footer {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 10px;
  border-top: 1px solid rgba(99,91,255,0.2);
}

/* ── ROW 3: Connectors ── */
.arch-layer--connectors {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
}

.arch-connector-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-connector-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.arch-connector-chip:hover {
  border-color: var(--accent);
  background: rgba(99,91,255,0.06);
}

.arch-connector-chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}

.arch-connector-more {
  color: rgba(99,91,255,0.7);
  font-weight: 600;
  border-style: dashed;
  border-color: rgba(99,91,255,0.25);
}

/* ── Control & Governance sidebar ── */
.arch-sidebar {
  display: flex;
  width: 52px;
  flex-shrink: 0;
  border: 1.5px solid rgba(99,91,255,0.3);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(99,91,255,0.08) 0%, rgba(99,91,255,0.03) 100%);
  align-items: center;
  justify-content: center;
  position: relative;
}

.arch-sidebar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: none;
  z-index: -1;
  filter: none;
}

.arch-sidebar-inner {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.arch-sidebar-icon {
  width: 18px;
  height: 18px;
  color: #635BFF;
  flex-shrink: 0;
  transform: rotate(180deg);
}

.arch-sidebar-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(99,91,255,0.9);
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .arch-section { padding: 56px 16px; }
  .arch-header { margin-bottom: 32px; }
  .arch-header-title { font-size: 28px; }
  .arch-diagram { flex-direction: column; gap: 12px; }
  .arch-sidebar {
    width: auto;
    height: 44px;
    border-radius: 12px;
    flex-direction: row;
  }
  .arch-sidebar-inner {
    writing-mode: horizontal-tb;
    transform: none;
    flex-direction: row;
  }
  .arch-sidebar-icon { transform: none; }
  .arch-core-grid { grid-template-columns: 1fr; }
  .arch-layer { padding: 20px 16px; border-radius: 12px; }
  .arch-tile { flex: 0 0 auto; }
}

@media (max-width: 480px) {
  .arch-header-title { font-size: 24px; }
  .arch-row { gap: 6px; }
  .arch-tile { padding: 8px 12px; }
  .arch-tile-name { font-size: 12px; }
  .arch-connector-chip { padding: 6px 10px; font-size: 12px; }
}



/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS & MOTION SYSTEM
   ══════════════════════════════════════════════ */

/* ── Base states (hidden before reveal) ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Fade in from right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ── Stagger delays for children ── */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.7s; }
.stagger-children .reveal:nth-child(9) { transition-delay: 0.8s; }
.stagger-children .reveal:nth-child(10) { transition-delay: 0.9s; }

/* ── Animated counter ── */
.counter-animated {
  display: inline-block;
}

/* ── Floating/breathing glow on key elements ── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(99,91,255,0.15), 0 0 60px rgba(99,91,255,0.05); }
  50% { box-shadow: 0 0 30px rgba(99,91,255,0.25), 0 0 80px rgba(99,91,255,0.1); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Arch section core layer glow pulse */
.arch-layer--core {
  animation: glowPulse 4s ease-in-out infinite;
}

/* ── Hover micro-interactions (enhanced) ── */
.glass-card,
.feature-card,
.bento-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}
.glass-card:hover,
.feature-card:hover,
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,91,255,0.15), 0 0 0 1px rgba(99,91,255,0.2);
}

.decision-card.recommended {
  animation: glowPulse 3s ease-in-out infinite;
}

/* ── Badge entrance keyframes ── */
@keyframes badgePop {
  0% { opacity: 0; transform: scale(0.6); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

.badges .badge {
  opacity: 0;
}
.badges.revealed .badge {
  animation: badgePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.badges.revealed .badge:nth-child(1) { animation-delay: 0s; }
.badges.revealed .badge:nth-child(2) { animation-delay: 0.08s; }
.badges.revealed .badge:nth-child(3) { animation-delay: 0.16s; }
.badges.revealed .badge:nth-child(4) { animation-delay: 0.24s; }
.badges.revealed .badge:nth-child(5) { animation-delay: 0.32s; }

/* ── Timeline step-by-step reveal ── */
.timeline-item {
  text-align: left;
  position: relative;
  padding-top: 0;
}
.timeline.revealed .timeline-item {
  opacity: 1;
  transform: translateX(0);
}
.timeline.revealed .timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline.revealed .timeline-item:nth-child(2) { transition-delay: 0.15s; }
.timeline.revealed .timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline.revealed .timeline-item:nth-child(4) { transition-delay: 0.45s; }
.timeline.revealed .timeline-item:nth-child(5) { transition-delay: 0.6s; }

/* ── Integration badge cascade ── */
.integrations-grid .int-badge {
  opacity: 0;
  transform: scale(0.7) translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.integrations-grid.revealed .int-badge {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.integrations-grid.revealed .int-badge:nth-child(1) { transition-delay: 0s; }
.integrations-grid.revealed .int-badge:nth-child(2) { transition-delay: 0.04s; }
.integrations-grid.revealed .int-badge:nth-child(3) { transition-delay: 0.08s; }
.integrations-grid.revealed .int-badge:nth-child(4) { transition-delay: 0.12s; }
.integrations-grid.revealed .int-badge:nth-child(5) { transition-delay: 0.16s; }
.integrations-grid.revealed .int-badge:nth-child(6) { transition-delay: 0.2s; }
.integrations-grid.revealed .int-badge:nth-child(7) { transition-delay: 0.24s; }
.integrations-grid.revealed .int-badge:nth-child(8) { transition-delay: 0.28s; }
.integrations-grid.revealed .int-badge:nth-child(9) { transition-delay: 0.32s; }
.integrations-grid.revealed .int-badge:nth-child(10) { transition-delay: 0.36s; }
.integrations-grid.revealed .int-badge:nth-child(11) { transition-delay: 0.4s; }
.integrations-grid.revealed .int-badge:nth-child(12) { transition-delay: 0.44s; }
.integrations-grid.revealed .int-badge:nth-child(13) { transition-delay: 0.48s; }
.integrations-grid.revealed .int-badge:nth-child(14) { transition-delay: 0.52s; }
.integrations-grid.revealed .int-badge:nth-child(15) { transition-delay: 0.56s; }
.integrations-grid.revealed .int-badge:nth-child(16) { transition-delay: 0.6s; }

/* ── Architecture diagram staggered row entrance ── */
.arch-layer {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.arch-arrows {
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}
.arch-stack.revealed .arch-layer--agents { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.arch-stack.revealed .arch-arrows:first-of-type { opacity: 1; transition-delay: 0.2s; }
.arch-stack.revealed .arch-layer--core { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.arch-stack.revealed .arch-arrows:last-of-type { opacity: 1; transition-delay: 0.5s; }
.arch-stack.revealed .arch-layer--connectors { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

.arch-sidebar {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}
.arch-diagram.revealed .arch-sidebar {
  opacity: 1;
  transform: translateX(0);
}

/* ── Use case cards stagger ── */
.use-case-grid .use-case-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.use-case-grid.revealed .use-case-card:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0s; }
.use-case-grid.revealed .use-case-card:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.1s; }
.use-case-grid.revealed .use-case-card:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.2s; }
.use-case-grid.revealed .use-case-card:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.3s; }
.use-case-grid.revealed .use-case-card:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.4s; }
.use-case-grid.revealed .use-case-card:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: 0.5s; }
.use-case-grid.revealed .use-case-card:nth-child(7) { opacity:1; transform:translateY(0); transition-delay: 0.6s; }

/* ── ROI counter emphasis ── */
.roi-value {
  transition: color 0.4s ease;
}
.roi-card:hover .roi-value {
  color: #635BFF;
}

/* ── Comparison table row highlight ── */
.comparison-table tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.comparison-table.revealed tbody tr {
  opacity: 1;
  transform: translateX(0);
}
.comparison-table.revealed tbody tr:nth-child(1) { transition-delay: 0.1s; }
.comparison-table.revealed tbody tr:nth-child(2) { transition-delay: 0.2s; }
.comparison-table.revealed tbody tr:nth-child(3) { transition-delay: 0.3s; }
.comparison-table.revealed tbody tr:nth-child(4) { transition-delay: 0.4s; }
.comparison-table.revealed tbody tr:nth-child(5) { transition-delay: 0.5s; }

/* ── CTA section pulse ── */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,91,255,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(99,91,255,0); }
}
.cta-section .btn {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

/* ── Navbar scroll effect ── */
/* scrolled: see end of file */

/* ── Smooth scroll ── */
html {
  scroll-behavior: smooth;
}

/* ── Section header text reveal ── */
@keyframes textReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0% 0 0); }
}

.section-badge.revealed,
.arch-header-label.revealed {
  animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Decision cards ── */
.decision-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.decision-grid.revealed .decision-card:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0s; }
.decision-grid.revealed .decision-card:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.15s; }
.decision-grid.revealed .decision-card:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.3s; }

/* ── Audience cards ── */
.audience-grid .audience-card {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.audience-grid.revealed .audience-card:nth-child(1) { opacity:1; transform:scale(1) translateY(0); transition-delay: 0s; }
.audience-grid.revealed .audience-card:nth-child(2) { opacity:1; transform:scale(1) translateY(0); transition-delay: 0.12s; }
.audience-grid.revealed .audience-card:nth-child(3) { opacity:1; transform:scale(1) translateY(0); transition-delay: 0.24s; }
.audience-grid.revealed .audience-card:nth-child(4) { opacity:1; transform:scale(1) translateY(0); transition-delay: 0.36s; }

/* ── Bento grid ── */
.bento-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-grid.revealed .bento-card:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0s; }
.bento-grid.revealed .bento-card:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.1s; }
.bento-grid.revealed .bento-card:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.2s; }
.bento-grid.revealed .bento-card:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.3s; }
.bento-grid.revealed .bento-card:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.4s; }

/* ── Feature card grids ── */
.feature-grid .feature-card {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-grid.revealed .feature-card:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0s; }
.feature-grid.revealed .feature-card:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.1s; }
.feature-grid.revealed .feature-card:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.12s; }
.feature-grid.revealed .feature-card:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.18s; }
.feature-grid.revealed .feature-card:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.24s; }
.feature-grid.revealed .feature-card:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: 0.3s; }


/* ── How It Works — Vertical Steps ───────────────────── */
/* ── How it works: Horizontal 3-column layout ── */
/* ── How It Works: Vertical Animated Timeline ── */
.hiw-timeline {
  position: relative;
  max-width: 880px;
  margin: 56px auto 0;
  padding-bottom: 24px;
}

/* SVG vertical spine */
.hiw-svg-line {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 44px);
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.hiw-track { stroke: #e8e9fe; stroke-width: 2; stroke-linecap: round; fill: none; }
.hiw-fill  {
  stroke: #5865F2; stroke-width: 2; stroke-linecap: round; fill: none;
  stroke-dasharray: 9999; stroke-dashoffset: 9999;
  transition: stroke-dashoffset 0.08s linear;
}

/* Step row: 3-column grid — card | node | card */
.hiw-step {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.hiw-step:last-child { margin-bottom: 0; }

/* Spine node */
.hiw-node-wrap { grid-column: 2; display: flex; justify-content: center; }
.hiw-node {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2.5px solid #5865F2;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(88,101,242,.09), 0 2px 14px rgba(88,101,242,.2);
  opacity: 0; transform: scale(0.3);
  transition: opacity 0.4s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.hiw-node span {
  font-size: 0.875rem; font-weight: 700; color: #5865F2;
  font-family: 'Outfit', sans-serif;
}
.hiw-node.hiw-visible { opacity: 1; transform: scale(1); }

/* Card */
.hiw-card {
  display: flex; flex-direction: row; align-items: flex-start; gap: 20px;
  background: #fff; border: 1px solid rgba(88,101,242,.13); border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 4px 28px rgba(88,101,242,.07);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.3s ease;
}
.hiw-card:hover {
  box-shadow: 0 8px 40px rgba(88,101,242,.15);
  border-color: rgba(88,101,242,.28);
}
.hiw-card.hiw-visible { opacity: 1; }

/* Left step */
.hiw-step[data-side="left"] .hiw-card {
  grid-column: 1; grid-row: 1; margin-right: 20px;
  transform: perspective(700px) translateX(-50px) rotateY(14deg);
}
.hiw-step[data-side="left"] .hiw-card.hiw-visible {
  transform: perspective(700px) translateX(0) rotateY(0deg);
}

/* Right step */
.hiw-step[data-side="right"] .hiw-card {
  grid-column: 3; grid-row: 1; margin-left: 20px;
  transform: perspective(700px) translateX(50px) rotateY(-14deg);
}
.hiw-step[data-side="right"] .hiw-card.hiw-visible {
  transform: perspective(700px) translateX(0) rotateY(0deg);
}

/* Icon container */
.hiw-icon-wrap {
  width: 72px; height: 72px; border-radius: 16px;
  background: rgba(88,101,242,.05); border: 1px solid rgba(88,101,242,.14);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: box-shadow 0.3s;
}
.hiw-card:hover .hiw-icon-wrap { box-shadow: 0 4px 18px rgba(88,101,242,.2); }
.hiw-iso { width: 56px; height: 56px; overflow: visible; }

/* Text */
.hiw-text { flex: 1; }
.hiw-text h3 {
  font-size: 1.15rem; font-weight: 700; color: #18181b; margin: 0 0 8px;
  font-family: 'Outfit', sans-serif;
}
.hiw-text p { font-size: 0.875rem; line-height: 1.7; color: #6b7280; margin: 0; }

/* ── Animated SVG icons ── */
.hiw-gear-spin { transform-origin: 40px 40px; animation: hiwGearSpin 9s linear infinite; }
@keyframes hiwGearSpin { to { transform: rotate(360deg); } }

.hiw-shield-ring { animation: hiwShieldRing 2.6s ease-out infinite; transform-origin: 40px 40px; }
.hiw-shield-ring-2 { animation-delay: 0.9s; }
@keyframes hiwShieldRing {
  0%   { opacity: 0.55; transform: scale(0.85); }
  100% { opacity: 0;    transform: scale(1.25); }
}

.hiw-eye-iris { transform-origin: 40px 40px; animation: hiwEyeIris 5s linear infinite; }
@keyframes hiwEyeIris { to { transform: rotate(360deg); } }

.hiw-eye-scan { animation: hiwEyeScan 2.2s ease-in-out infinite alternate; }
@keyframes hiwEyeScan {
  from { stroke-dashoffset: 0;   opacity: 0.45; }
  to   { stroke-dashoffset: -28; opacity: 0.15; }
}

/* ── Mobile: stack ── */
@media (max-width: 700px) {
  .hiw-svg-line { display: none; }
  .hiw-step {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 16px; margin-bottom: 40px;
  }
  .hiw-node-wrap { order: -1; }
  .hiw-step[data-side="left"] .hiw-card,
  .hiw-step[data-side="right"] .hiw-card {
    grid-column: unset; margin: 0; width: 100%; transform: none !important;
  }
  .hiw-card { flex-direction: column; align-items: center; }
  .hiw-text { text-align: center; }
}

/* ── Sovereignty table ── */
.sov-table {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sov-table.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── ROI cards ── */
.roi-card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.roi-grid.revealed .roi-card:nth-child(1) { opacity:1; transform:translateY(0) scale(1); transition-delay: 0s; }
.roi-grid.revealed .roi-card:nth-child(2) { opacity:1; transform:translateY(0) scale(1); transition-delay: 0.15s; }
.roi-grid.revealed .roi-card:nth-child(3) { opacity:1; transform:translateY(0) scale(1); transition-delay: 0.3s; }

/* ── Respect prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .arch-layer, .arch-arrows, .arch-sidebar,
  .timeline-item, .decision-card, .audience-card,
  .bento-card, .feature-grid .feature-card,
  .sov-table, .roi-card, .integrations-grid .int-badge,
  .badges .badge, .comparison-table tbody tr,
  .use-case-grid .use-case-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .hero::before,
  .hero::after {
    animation: none !important;
  }
}


/* Mouse-follow glow on arch section */
.arch-section {
  --glow-x: 50%;
  --glow-y: 50%;
}
.arch-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--glow-x) var(--glow-y),
    rgba(99,91,255,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease;
}
.arch-diagram { position: relative; z-index: 1; }


/* ── Stats fix: force override residual styles ───────── */
.hero .hero-stats {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.hero .hero-stat .stat-value {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  color: var(--accent) !important;
}

/* ── Header / Navbar — Full redesign ─────────────────── */

/* ═══════════════════════════════════════════════════════════
   ENHANCED ANIMATIONS — Catchy & fluid
   ═══════════════════════════════════════════════════════════ */

/* ── Animated gradient text on hero h1 ── */
.hero h1 .text-accent {
  background: linear-gradient(90deg, #635BFF 0%, #9B8FFF 25%, #635BFF 50%, #7A73FF 75%, #635BFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 4s linear infinite;
}

@keyframes gradientText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── CTA button shimmer sweep ── */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.25) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 100% { left: -75%; }
  50% { left: 125%; }
}

/* ── Feature card stagger reveal ── */
.feature-grid .feature-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-grid.revealed .feature-card { opacity: 1; transform: translateY(0); }
.feature-grid.revealed .feature-card:nth-child(1) { transition-delay: 0s; }
.feature-grid.revealed .feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-grid.revealed .feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-grid.revealed .feature-card:nth-child(4) { transition-delay: 0.24s; }
.feature-grid.revealed .feature-card:nth-child(5) { transition-delay: 0.32s; }
.feature-grid.revealed .feature-card:nth-child(6) { transition-delay: 0.4s; }

/* ── Feature card hover lift + glow border ── */
.feature-card.glass-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              background 0.35s ease;
}

.feature-card.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(99,91,255,0.12), 0 0 0 1px rgba(99,91,255,0.15);
}

/* ── Floating icon wobble on hover ── */
.feature-card .si {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .si {
  transform: translateY(-4px) rotate(-5deg) scale(1.1);
}

/* ═══════════════════════════════════════════════════════════
   THE PROBLEM / OBSERVATION SECTION
   ═══════════════════════════════════════════════════════════ */

.obs {
  position: relative;
  padding: 80px 0;
  background: #F8F8FF;
  overflow: hidden;
  text-align: center;
}

/* ── Dot grid background ── */
.obs-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(88,101,242,0.04) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── Radial glow behind headline ── */
.obs-glow {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,101,242,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Horizontal separator lines ── */
.obs-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 0;
  background: rgba(229,231,235,0.5);
  z-index: 1;
  transition: width 0s;
}
.obs-line-top { top: 0; }
.obs-line-bot { bottom: 0; }
.obs-line.obs-line-drawn { width: 100%; transition: width 0.8s cubic-bezier(0.16,1,0.3,1); }

.obs-inner {
  position: relative;
  z-index: 1;
}

/* ── Pill badge ── */
.obs-pill {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5865F2;
  background: rgba(88,101,242,0.05);
  border-radius: 9999px;
  padding: 5px 14px;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.obs-pill.obs-visible { opacity: 1; }

/* ── Headline ── */
.obs-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0a0a14;
  margin: 0 auto 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.obs-headline.obs-visible { opacity: 1; transform: translateY(0); }

/* ── Subtext lines ── */
.obs-sub1 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 auto 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.2s,
              transform 0.5s ease 0.2s;
}
.obs-sub1.obs-visible { opacity: 1; transform: translateY(0); }

.obs-sub2 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.4s,
              transform 0.5s ease 0.4s;
}
.obs-sub2.obs-visible { opacity: 1; transform: translateY(0); }

/* ── Comparison Visual ── */
.obs-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 40px auto 0;
  text-align: left;
}

.obs-card {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(229,231,235,0.6);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.obs-card-bad {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.5s,
              transform 0.5s ease 0.5s;
}
.obs-card-bad.obs-visible { opacity: 1; transform: translateY(0); }

.obs-card-good {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease 1s,
              transform 0.5s ease 1s;
  box-shadow: 0 0 40px rgba(88,101,242,0.06);
}
.obs-card-good.obs-visible { opacity: 1; transform: translateX(0); }

.obs-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.obs-card-bad .obs-card-label { color: #9ca3af; }
.obs-card-good .obs-card-label { color: #5865F2; }

.obs-icon-x {
  font-size: 0.7rem;
  color: #d1d5db;
}
.obs-icon-check {
  font-size: 0.7rem;
  color: #5865F2;
}

.obs-card-bubble {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  line-height: 1.55;
}
.obs-card-bubble:last-child { margin-bottom: 0; }

.obs-q {
  font-weight: 500;
  color: #4b5563;
  margin: 0;
}
.obs-card-bubble p { margin: 0; }

.obs-bubble-gray {
  background: #f3f4f6;
  color: #4b5563;
}
.obs-bubble-reply-bad {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
}
.obs-bubble-reply-good {
  background: rgba(88,101,242,0.04);
  border: 1px solid rgba(88,101,242,0.12);
  color: #374151;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .obs { padding: 56px 20px; }

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

  .obs .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .obs .hero-stat .stat-value {
    font-size: 1.25rem;
  }
}

@media (max-width: 639px) {
  .obs-compare { display: none; }
}

/* ── Obs stats layout ── */
.obs .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
}

.obs .hero-stat {
  text-align: center;
}

.obs .hero-stat .stat-value {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #5865F2;
  display: inline-block;
}

.obs .hero-stat .stat-label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4b5563;
  max-width: 240px;
  margin: 4px auto;
}

.obs .hero-stat .stat-source {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}
.obs .hero-stat .stat-source a {
  color: #9ca3af;
  text-decoration: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .obs-pill,
  .obs-headline,
  .obs-sub1,
  .obs-sub2,
  .obs-card-bad,
  .obs-card-good {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .obs-line { width: 100% !important; transition: none !important; }
}


/* ── Stats counter pulse on reveal ── */
@keyframes statPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.hero-stat-value {
  display: inline-block;
}

.hero-stat.animated .hero-stat-value {
  animation: statPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Section label shimmer ── */
.section-label {
  position: relative;
  overflow: hidden;
}

.section-label::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(99,91,255,0.12) 50%, transparent 100%);
  animation: labelShimmer 3s ease-in-out infinite;
}

@keyframes labelShimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ── Hero stat cards — entrance stagger ── */
.hero-stats .hero-stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-stats.revealed .hero-stat { opacity: 1; transform: translateY(0); }
.hero-stats.revealed .hero-stat:nth-child(1) { transition-delay: 0s; }
.hero-stats.revealed .hero-stat:nth-child(2) { transition-delay: 0.12s; }
.hero-stats.revealed .hero-stat:nth-child(3) { transition-delay: 0.24s; }

/* ── Problem/solution columns slide in ── */
.problem-solution-grid {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-solution-grid.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── How it works steps stagger ── */
.how-grid .how-step {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.how-grid.revealed .how-step { opacity: 1; transform: translateY(0) scale(1); }
.how-grid.revealed .how-step:nth-child(1) { transition-delay: 0s; }
.how-grid.revealed .how-step:nth-child(2) { transition-delay: 0.15s; }
.how-grid.revealed .how-step:nth-child(3) { transition-delay: 0.3s; }

/* ── Step number bounce ── */
.how-step .step-num {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.how-step:hover .step-num {
  transform: scale(1.15) rotate(-3deg);
}

/* ── Context moat cards — stagger + hover float ── */
.feature-grid-2x2 .feature-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-grid-2x2.revealed .feature-card { opacity: 1; transform: translateY(0); }
.feature-grid-2x2.revealed .feature-card:nth-child(1) { transition-delay: 0s; }
.feature-grid-2x2.revealed .feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-grid-2x2.revealed .feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-grid-2x2.revealed .feature-card:nth-child(4) { transition-delay: 0.3s; }

/* ── Security badges bounce entrance ── */
.security-grid .security-badge {
  opacity: 0;
  transform: scale(0.7) translateY(15px);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.security-grid.revealed .security-badge { opacity: 1; transform: scale(1) translateY(0); }
.security-grid.revealed .security-badge:nth-child(1) { transition-delay: 0s; }
.security-grid.revealed .security-badge:nth-child(2) { transition-delay: 0.06s; }
.security-grid.revealed .security-badge:nth-child(3) { transition-delay: 0.12s; }
.security-grid.revealed .security-badge:nth-child(4) { transition-delay: 0.18s; }
.security-grid.revealed .security-badge:nth-child(5) { transition-delay: 0.24s; }
.security-grid.revealed .security-badge:nth-child(6) { transition-delay: 0.3s; }

/* ── Security badge hover pop ── */
.security-badge {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.security-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(99,91,255,0.1);
}

/* ── Testimonial cards slide in from sides ── */
.feature-grid-3 .feature-card:nth-child(1) {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-grid-3 .feature-card:nth-child(2) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.feature-grid-3 .feature-card:nth-child(3) {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

/* ── FAQ accordion smooth expand ── */
.faq-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] {
  border-color: rgba(99,91,255,0.25);
  box-shadow: 0 4px 20px rgba(99,91,255,0.06);
}
.faq-answer {
  animation: faqExpand 0.3s ease-out;
}
@keyframes faqExpand {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── CTA section dramatic entrance ── */
.cta-section .cta-headline {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-section.revealed .cta-headline {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cta-section .cta-buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.cta-section.revealed .cta-buttons {
  opacity: 1;
  transform: translateY(0);
}

/* ── Comparison table row hover ── */
.comparison-table tbody tr {
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s ease;
}
.comparison-table tbody tr:hover {
  background: rgba(99,91,255,0.04);
}

/* ── Floating accent dots background for visual texture ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ── Smooth tilt on glass cards (mouse follow via JS) ── */
.glass-card.tilt {
  transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.15s ease-out;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(88, 101, 242, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-brand svg,
.navbar-brand canvas {
  width: 30px;
  height: 30px;
}

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: #5865F2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--accent);
  background: rgba(99, 91, 255, 0.08);
}

/* ── CTA button ── */
.nav-actions {
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: #5865F2;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #4752c4;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
  transform: translateY(-1px);
}

/* ── Mobile toggle ── */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .navbar-inner {
    height: 56px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 24px;
    z-index: 99;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-link {
    font-size: 1.125rem;
    padding: 12px 24px;
  }

  .nav-actions {
    display: none;
  }

  .nav-open .nav-actions {
    display: block;
    position: fixed;
    bottom: 48px;
    left: 24px;
    right: 24px;
    z-index: 100;
  }

  .nav-open .nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  /* Hamburger → X animation */
  .nav-open .nav-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open .nav-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .nav-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ═══════════════════════════════════════════════════
   NEW CLASSES — Restructure v2
   ═══════════════════════════════════════════════════ */

/* Hero badge */
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

/* Hero CTA flex row */
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Problem / Solution grid (Observation section) */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .problem-solution-grid {
    grid-template-columns: 1fr;
  }
}

.problem-col {
  padding: 32px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.problem-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.problem-col-title--bad { color: #e84057; }
.problem-col-title--good { color: #22c55e; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--fg);
}
.check-list li::before {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.check-list--bad li::before {
  content: "✕";
  color: #e84057;
  font-weight: 700;
}
.check-list--good li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 700;
}

/* Security grid (Enterprise Security section) */
.security-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .security-grid { grid-template-columns: repeat(3, 1fr); }
  .bvb-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

.security-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  text-align: center;
  border-radius: 12px;
}
.security-badge strong {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
}

/* CTA section — stronger */
.cta-headline {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
}
.cta-sub {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (max-width: 768px) {
  .cta-headline { font-size: 2rem; }
}
@media (max-width: 600px) {
  .cta-headline { font-size: 1.75rem; }
}

/* Feature grid 2x2 — ensure no inline style override */
.feature-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .feature-grid-2x2 { grid-template-columns: 1fr; }
}

/* Architecture diagram inline within How It Works */
.arch-diagram-wrap {
  margin-top: 48px;
  padding-top: 0;
  border-top: none;
}
.arch-inline-title {
  display: none;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 620px;
  margin: 8px auto 0;
}

/* ── Testimonials ─────────────────────────────────────── */
/* ── 3D Stacked Cards ── */
.tc-stack {
  position: relative;
  max-width: 720px;
  margin: 48px auto 0;
  perspective: 1200px;
}
.tc-stack-inner {
  position: relative;
  width: 100%;
  /* Height set by the tallest card; we need min-height so stack doesn't collapse */
  min-height: 340px;
}
.tc-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(88,101,242,0.08);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.tc-quote-mark {
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: #5865F2;
  opacity: 0.15;
  margin-bottom: 8px;
  pointer-events: none;
}
.tc-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #0a0a14;
  font-style: italic;
  margin: 0;
  padding: 0;
  border: 0;
}
.tc-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 24px 0;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #5865F2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tc-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0a14;
  margin: 0;
}
.tc-role {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 2px 0 0;
}

/* ── Dots ── */
.tc-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.tc-dot {
  width: 10px;
  height: 4px;
  border-radius: 2px;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.tc-dot-active {
  width: 28px;
  background: #5865F2;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tc-stack { max-width: 600px; }
  .tc-card { padding: 32px; }
}
@media (max-width: 768px) {
  .tc-stack { max-width: 100%; }
  .tc-card { padding: 24px; }
  .tc-text { font-size: 1rem; }
  .tc-quote-mark { font-size: 3rem; }
  .tc-stack-inner { min-height: 320px; }
}
@media (max-width: 400px) {
  .tc-stack { perspective: 800px; }
  .tc-stack-inner { min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-card {
    transition: none !important;
  }
}

/* =====================================================
   SCROLL-REVEAL 3D ENTRANCE
   ===================================================== */
.sr {
  opacity: 0;
  transform: perspective(700px) translateY(52px) rotateX(-9deg);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.15),
              transform 0.65s cubic-bezier(.22,.68,0,1.15);
}
.sr.sr-left {
  transform: perspective(700px) translateX(-60px) rotateY(14deg);
}
.sr.sr-right {
  transform: perspective(700px) translateX(60px) rotateY(-14deg);
}
.sr.sr-visible {
  opacity: 1;
  transform: perspective(700px) translateY(0) rotateX(0deg) translateX(0) rotateY(0deg);
}

/* =====================================================
   CONTINUOUS FLOATING — bento cards (moat section)
   ===================================================== */
.bento-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.bento-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(99,91,255,0.10);
}
.bento-card .bento-si {
  animation: siSpin 8s ease-in-out infinite;
}
.bento-card:nth-child(2) .bento-si { animation-delay: -2s; }
.bento-card:nth-child(3) .bento-si { animation-delay: -4s; }
.bento-card:nth-child(4) .bento-si { animation-delay: -6s; }
@keyframes siSpin {
  0%, 100% { transform: rotate(0deg) scale(1);   }
  30%       { transform: rotate(8deg) scale(1.08); }
  70%       { transform: rotate(-5deg) scale(1.04); }
}

/* =====================================================
   CTAs — glow pulse on primary button
   ===================================================== */
.btn-primary {
  animation: ctaGlow 3.5s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(99,91,255,0.25); }
  50%       { box-shadow: 0 4px 36px rgba(99,91,255,0.50); }
}

/* =====================================================
   OWN CARD — shimmer border pulse
   ===================================================== */
.bvb-card--own {
  animation: ownGlow 4s ease-in-out infinite;
}
@keyframes ownGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(99,91,255,0.08); }
  50%       { box-shadow: 0 0 60px rgba(99,91,255,0.20), inset 0 0 20px rgba(99,91,255,0.04); }
}

/* respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1 !important; transform: none !important; }
  .orbit-ring, .orbit-core, .how-step-h-icon, .bento-si,
  .btn-primary, .bvb-card--own { animation: none !important; }
  .feat-svg { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   INDUSTRY USE CASES
   ═══════════════════════════════════════════════════════════ */

/* Tab selector row */
.ind-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 40px;
}

.ind-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ind-tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ind-tab:hover {
  color: var(--accent);
  border-color: rgba(88,101,242,0.3);
  background: rgba(88,101,242,0.04);
}

.ind-tab--active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.ind-tab--active svg {
  stroke: #fff;
}

.ind-tab--active:hover {
  color: #fff;
  background: var(--highlight);
  border-color: var(--highlight);
}

/* Panels */
.ind-panel {
  display: none;
  animation: indFadeIn 0.4s ease-out;
}

.ind-panel--active {
  display: block;
}

@keyframes indFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* Individual card */
.ind-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ind-card:hover {
  border-color: rgba(88,101,242,0.2);
  box-shadow: 0 8px 32px rgba(88,101,242,0.08);
  transform: translateY(-4px);
}

.ind-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(88,101,242,0.06);
  border: 1px solid rgba(88,101,242,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.ind-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 10px;
  line-height: 1.3;
}

.ind-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

/* Result metric row */
.ind-card-result {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ind-card-metric {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.ind-card-label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Quote bar below cards */

/* Scroll-triggered entrance */
.ind-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1),
              transform 0.5s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.ind-grid.revealed .ind-card {
  opacity: 1;
  transform: translateY(0);
}

.ind-grid.revealed .ind-card:nth-child(1) { transition-delay: 0s; }
.ind-grid.revealed .ind-card:nth-child(2) { transition-delay: 0.1s; }
.ind-grid.revealed .ind-card:nth-child(3) { transition-delay: 0.2s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .ind-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ind-tabs {
    gap: 6px;
    margin-top: 28px;
    margin-bottom: 28px;
  }
  .ind-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .ind-tab svg {
    display: none;
  }
  .ind-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ind-card {
    padding: 22px 20px;
  }
}

@media (max-width: 480px) {
  .ind-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .ind-tab {
    flex-shrink: 0;
  }
}

/* respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ind-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ind-panel {
    animation: none !important;
  }
}


/* ════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — consolidated overrides
   ════════════════════════════════════════════════════════════ */

/* ── Global resets ── */
html {
  -webkit-text-size-adjust: 100%;
}
canvas,
video {
  max-width: 100%;
}

/* ───────────────────────────────────────────
   Tablet  ≤ 1024px
   ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-v2 {
    padding: 56px 24px 0;
  }
  .hv2-h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
  }
  .hv2-sub {
    font-size: 1.05rem;
  }
  .obs-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }
  .cta-headline {
    font-size: 2.2rem;
  }
}

/* ───────────────────────────────────────────
   Mobile  ≤ 768px
   ─────────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Hero ── */
  .hero-v2 {
    padding: 40px 16px 0;
  }
  .hv2-h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  .hv2-rotator-wrap {
    max-width: 90vw;
    white-space: normal;
    word-break: break-word;
  }
  .hv2-sub {
    font-size: 1rem;
    padding: 0 8px;
  }
  .hv2-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hv2-btn-primary,
  .hv2-btn-secondary {
    width: 100%;
    max-width: 320px;
    height: 48px;
    font-size: 0.875rem;
    padding: 0 24px;
  }
  .hv2-note {
    font-size: 0.75rem;
  }
  .hv2-particles,
  .hv2-spotlight {
    display: none;
  }
  .hv2-mockup-wrap {
    margin-top: 32px;
  }

  /* ── Trust marquee ── */
  .trust-marquee {
    padding: 14px 0;
  }
  .trust-track {
    gap: 32px;
    animation-duration: 20s;
  }
  .trust-item {
    font-size: 0.75rem;
    gap: 6px;
  }
  .trust-item .trust-dot {
    width: 5px;
    height: 5px;
  }

  /* ── Observation / Stats ── */
  .obs {
    padding: 56px 16px;
  }
  .obs-headline {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .obs-sub1 {
    font-size: 1rem;
  }
  .obs-sub2 {
    font-size: 0.9rem;
  }
  .obs .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .obs .hero-stat {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(88,101,242,0.08);
  }
  .obs .hero-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .obs .hero-stat .stat-value {
    font-size: 1.5rem;
  }
  .obs .hero-stat .stat-label {
    font-size: 0.875rem;
  }

  /* ── Capabilities / Features ── */
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .feat-sep {
    display: none;
  }
  .feat-item {
    padding: 20px 18px;
    transform: none;
  }

  /* ── How It Works ── */
  .hiw-svg-line {
    display: none;
  }
  .hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 40px;
  }
  .hiw-node-wrap {
    order: -1;
  }
  .hiw-step[data-side="left"] .hiw-card,
  .hiw-step[data-side="right"] .hiw-card {
    grid-column: unset;
    margin: 0;
    width: 100%;
    transform: none !important;
  }
  .hiw-card {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .hiw-text {
    text-align: center;
  }
  .hiw-icon-wrap {
    width: 56px;
    height: 56px;
  }
  .hiw-iso {
    width: 44px;
    height: 44px;
  }

  /* ── Buy vs Build vs Own ── */
  .bvb-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* ── Security ── */
  .security-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .security-badge {
    padding: 16px 10px;
  }
  .security-badge strong {
    font-size: 0.75rem;
  }

  /* ── FAQ ── */
  .faq-question {
    padding: 18px 16px;
    font-size: 1rem;
    min-height: 44px;
  }
  .faq-answer {
    padding: 0 16px 18px;
    font-size: 0.9rem;
  }

  /* ── CTA section ── */
  .cta-section {
    padding: 56px 16px;
  }
  .cta-headline {
    font-size: 1.75rem;
  }
  .cta-sub {
    font-size: 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta-buttons .btn-primary,
  .cta-buttons .hv2-btn-primary,
  .cta-buttons a[class*="btn"] {
    width: 100%;
    max-width: 320px;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer {
    padding: 40px 16px 28px;
  }
  .footer-link {
    font-size: 0.8125rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* ── Context Moat (bento) ── */
  .feature-grid-2x2 {
    grid-template-columns: 1fr;
  }

  /* ── Architecture diagram ── */
  .arch-diagram-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ── General sections ── */
  .section {
    padding: 56px 16px;
  }

  /* ── Performance: disable heavy animations ── */
  .hv2-blob {
    animation-duration: 0s;
  }
  .hv2-grain {
    display: none;
  }
  .hv2-dots {
    opacity: 0.5;
  }
  .bento-card:hover {
    transform: none;
  }
  .security-badge:hover {
    transform: none;
    box-shadow: none;
  }

  /* ── Disable hover effects on touch ── */
  @media (hover: none) {
    .hv2-btn-primary:hover {
      transform: none;
      box-shadow: 0 4px 20px rgba(88,101,242,0.25);
    }
    .hv2-btn-secondary:hover {
      background: transparent;
      border-color: rgba(88,101,242,0.3);
    }
    .security-badge:hover {
      transform: none;
      box-shadow: none;
    }
    .bento-card:hover {
      transform: none;
      box-shadow: 0 4px 24px rgba(88,101,242,0.06);
    }
    .hiw-card:hover {
      box-shadow: 0 4px 28px rgba(88,101,242,.07);
      border-color: rgba(88,101,242,.13);
    }
  }
}

/* ───────────────────────────────────────────
   Small mobile  ≤ 480px
   ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .hv2-h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .hv2-pill {
    padding: 5px 12px;
  }
  .hv2-pill-text {
    font-size: 0.65rem;
  }

  .obs-headline {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

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

  .hiw-card {
    padding: 16px;
  }
  .hiw-text h3 {
    font-size: 1rem;
  }
  .hiw-text p {
    font-size: 0.8125rem;
  }

  .cta-headline {
    font-size: 1.5rem;
  }

  .footer-grid {
    gap: 24px;
  }
}

/* ───────────────────────────────────────────
   Tiny mobile  ≤ 400px
   ─────────────────────────────────────────── */
@media (max-width: 400px) {
  .hv2-h1 {
    font-size: 1.5rem;
  }

  /* Hide three-body canvas on very small screens */
  #threeBodyCanvas {
    display: none;
  }

  .trust-track {
    gap: 24px;
  }
  .trust-item {
    font-size: 0.6875rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SPHOTA PAGE FONT SIZE FIXES
   ═══════════════════════════════════════════════════════════════ */

/* Increase section labels from 11px to 14px */
body.page-id-90 .wp-block-paragraph[style*="font-size:11px"],
body.page-id-90 p[style*="font-size:11px"] {
  font-size: 14px !important;
}

/* Increase small text from 12px to 15px */
body.page-id-90 div[style*="font-size:12px"],
body.page-id-90 .scenario-card .a {
  font-size: 15px !important;
}

/* Increase medium text from 13px to 16px */
body.page-id-90 div[style*="font-size:13px"],
body.page-id-90 .scenario-card .q,
body.page-id-90 .compare-label,
body.page-id-90 .compare-desc,
body.page-id-90 .compound-step p {
  font-size: 16px !important;
}

/* Increase body text from 14px to 17px */
body.page-id-90 p[style*="font-size:14px"],
body.page-id-90 .wp-block-paragraph[style*="font-size:14px"],
body.page-id-90 .compound-step strong {
  font-size: 17px !important;
}

/* Increase headings slightly */
body.page-id-90 h2[style*="font-size:clamp(1.5rem"] {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
}

/* Increase stats numbers from 28px to 32px */
body.page-id-90 div[style*="font-size:28px"] {
  font-size: 32px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  body.page-id-90 .wp-block-paragraph[style*="font-size:11px"],
  body.page-id-90 p[style*="font-size:11px"] {
    font-size: 13px !important;
  }
  
  body.page-id-90 div[style*="font-size:12px"] {
    font-size: 14px !important;
  }
  
  body.page-id-90 div[style*="font-size:13px"],
  body.page-id-90 p[style*="font-size:14px"] {
    font-size: 15px !important;
  }
}
