/* ═══════════════════════════════════════════════════════════════════
   FLAUNTIX DIGITAL — "NEON GRID" DESIGN SYSTEM
   Created by Fable · Futuristic dark + neon redesign
   Fonts: Space Grotesk (display) · Inter (body) · JetBrains Mono (tech)
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --black: #04060f;
  --bg-2: #090c1d;
  --white: #e9ecf8;
  --muted: #98a0bc;

  /* Brand violet, refined */
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent2: #7c3aed;

  /* New tech accents */
  --cyan: #22d3ee;
  --magenta: #e879f9;

  --border: rgba(139, 92, 246, 0.22);
  --border-strong: rgba(139, 92, 246, 0.5);
  --border-cyan: rgba(34, 211, 238, 0.28);
  --card-bg: rgba(13, 16, 36, 0.62);
  --card-bg-solid: #0b0e20;

  --grad: linear-gradient(135deg, #7c3aed, #a855f7);
  --grad-tech: linear-gradient(110deg, #8b5cf6 10%, #22d3ee 90%);
  --grad-hot: linear-gradient(110deg, #a855f7, #e879f9);
  --grad-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(34, 211, 238, 0.12));
  --grad-text: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 35%, #22d3ee 100%);

  --glow-violet: 0 0 24px rgba(139, 92, 246, 0.35), 0 0 64px rgba(124, 58, 237, 0.18);
  --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.25);

  --font-display: 'Space Grotesk', 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 90% 38% at 50% -4%, rgba(124, 58, 237, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 88% 12%, rgba(34, 211, 238, 0.05) 0%, transparent 65%);
}

/* Subtle blueprint grid across the whole page (drifts with scroll via --sy) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 calc(var(--sy, 0) * -0.08px), calc(var(--sy, 0) * 0.03px) 0;
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Film-grain noise */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

main, nav, footer { position: relative; z-index: 2; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: linear-gradient(#7c3aed, #22d3ee); border-radius: 8px; border: 2px solid var(--black); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* JS-injected particle canvas */
#fable-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

/* JS-injected scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--grad-tech);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
  z-index: 999;
  transition: width 0.08s linear;
}

/* ── TAGS / EYEBROWS / SECTION LABELS ─────────────────────────── */
.tag, .eyebrow, .section-label, .post-cat, .office-badge,
.featured-tag, .cs-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  position: relative;
}
.tag::before, .eyebrow::before, .section-label::before {
  content: '◇';
  color: var(--accent-light);
  font-size: 10px;
}
.section-label { margin-bottom: 1.25rem; }

/* Blog-article inline tags (scale / kill / iterate) keep chip form */
.article-body .tag { margin-bottom: 0; }
.tag-scale { color: #34d399; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.07); }
.tag-kill { color: #f87171; border-color: rgba(248, 113, 113, 0.35); background: rgba(248, 113, 113, 0.07); }
.tag-iterate { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.07); }
.tag-scale::before, .tag-kill::before, .tag-iterate::before { content: '▸'; }

/* ── HEADINGS ─────────────────────────────────────────────────── */
h1, h2, h3, h4, .section-title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.section-header { max-width: 640px; margin-bottom: 4rem; }
.section-header h2, .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* Gradient-highlight words — slow shimmering pan */
.accent-word,
.section-title span,
.page-hero h1 span,
.hero h1 span,
.bottom-cta h2 span {
  background: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 25%, #22d3ee 50%, #e879f9 75%, #c4b5fd 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-pan 7s ease-in-out infinite alternate;
}
@keyframes grad-pan { to { background-position: 100% 0; } }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary, .submit-btn, .sidebar-cta, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.4) inset, 0 8px 28px rgba(124, 58, 237, 0.35);
}
.btn-primary::after, .submit-btn::after, .nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
}
.btn-primary:hover, .submit-btn:hover, .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.55) inset, var(--glow-violet);
}
.btn-primary:hover::after, .submit-btn:hover::after, .nav-cta:hover::after { left: 120%; }
.submit-btn { width: 100%; font-size: 1rem; padding: 16px 32px; }
.submit-btn:disabled { opacity: 0.75; cursor: default; transform: none; }

.btn-outline, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.05);
  transition: all 0.3s var(--ease);
}
.btn-outline:hover, .btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ── NAV ──────────────────────────────────────────────────────── */
nav#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.35s, backdrop-filter 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
nav#mainNav.scrolled {
  background: rgba(4, 6, 15, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}
nav#mainNav.scrolled::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), rgba(34, 211, 238, 0.5), transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0; }
.logo img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(233, 236, 248, 0.65);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--grad-tech);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: 0.8rem; padding: 10px 24px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 8px;
  cursor: pointer;
}
.hamburger span { width: 20px; height: 2px; background: var(--accent-light); border-radius: 2px; }

/* Mobile slide-over */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 15, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}
.mobile-nav a:hover { color: var(--accent-light); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.2rem;
  width: 42px; height: 42px;
  cursor: pointer;
}

/* ── GLASS CARD BASE ──────────────────────────────────────────── */
.service-card, .metric-card, .platform-card, .testimonial-card, .why-right,
.founder-card, .who-card, .achieve-card, .pillar-item,
.why-section .why-card, .value-card, .role-card, .apply-card,
.contact-card, .office-card, .social-card, .contact-form-box, .alt-card,
.post-card, .featured-card, .cs-card, .featured-cs, .stats-bar,
.sidebar-card, .author-card, .callout, .formula-box, .benchmark-card,
.segment-card, .variable-card, .obligation-card, .verdict-card,
.note-box, .warn-box, .jur-box, .stack-item, .state-box {
  /* layer 1: cursor-tracking spotlight (JS sets --mx/--my; default keeps it off-card) */
  background-image:
    radial-gradient(480px circle at var(--mx, -300px) var(--my, -300px), rgba(167, 139, 250, 0.13), rgba(34, 211, 238, 0.05) 45%, transparent 62%),
    linear-gradient(160deg, rgba(19, 23, 48, 0.72), rgba(9, 12, 29, 0.85));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}

/* Gradient hairline across card tops */
.service-card::before, .testimonial-card::before, .who-card::before,
.why-section .why-card::before, .alt-card::before, .post-card::before,
.cs-card::before, .metric-card::before, .founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.7), rgba(34, 211, 238, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before, .testimonial-card:hover::before, .who-card:hover::before,
.why-section .why-card:hover::before, .alt-card:hover::before, .post-card:hover::before,
.cs-card:hover::before, .metric-card:hover::before, .founder-card:hover::before { opacity: 1; }

/* ── HOME HERO ────────────────────────────────────────────────── */
.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  left: 50%; bottom: -12%;
  width: 160%; height: 62%;
  transform: translateX(-50%) perspective(580px) rotateX(62deg);
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.65), transparent 85%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.65), transparent 85%);
  animation: grid-flow 16s linear infinite;
  pointer-events: none;
}
@keyframes grid-flow { to { background-position: 0 56px, 0 0; } }
.hero-glow {
  position: absolute;
  top: -18%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background:
    radial-gradient(ellipse at 35% 40%, rgba(124, 58, 237, 0.28), transparent 55%),
    radial-gradient(ellipse at 70% 55%, rgba(34, 211, 238, 0.12), transparent 55%);
  filter: blur(50px);
  animation: aurora 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  0% { transform: translateX(-54%) rotate(-3deg) scale(1); }
  100% { transform: translateX(-46%) rotate(3deg) scale(1.08); }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.75rem;
}
.hero-eyebrow-line { width: 48px; height: 1px; background: var(--grad-tech); box-shadow: 0 0 8px rgba(34, 211, 238, 0.7); }
.hero-home h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-home h1 .accent-word { position: relative; white-space: nowrap; }
.type-caret {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 6px;
  vertical-align: -0.08em;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2.75rem;
  justify-content: start;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat-num span { font-size: 1.1rem; }
.hero-stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 2px; }

/* Terminal window (hero right) */
.fx-terminal {
  background: rgba(7, 9, 22, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 42px rgba(124, 58, 237, 0.16);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  position: relative;
  animation: float-soft 7s ease-in-out infinite;
}
@keyframes float-soft { 50% { transform: translateY(-10px); } }
.fx-terminal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.fx-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(139, 92, 246, 0.07);
  border-bottom: 1px solid var(--border);
}
.fx-dot { width: 11px; height: 11px; border-radius: 50%; }
.fx-dot.r { background: #f87171; } .fx-dot.y { background: #fbbf24; } .fx-dot.g { background: #34d399; }
.fx-terminal-title { margin-left: auto; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.fx-terminal-body { padding: 1.4rem 1.5rem 1.7rem; min-height: 300px; }
.fx-line { margin-bottom: 0.65rem; white-space: pre-wrap; word-break: break-word; }
.fx-line .p { color: var(--cyan); }
.fx-line .c { color: var(--white); }
.fx-line .ok { color: #34d399; }
.fx-line .dim { color: var(--muted); }
.fx-line .vio { color: var(--accent-light); }
.fx-cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--cyan);
  vertical-align: -2px;
  box-shadow: 0 0 8px var(--cyan);
  animation: caret-blink 0.9s steps(1) infinite;
}
.fx-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  background: rgba(13, 16, 36, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  z-index: 3;
}
.fx-chip.c1 { top: -22px; right: 8%; color: var(--cyan); border-color: var(--border-cyan); animation: float-soft 6s 0.8s ease-in-out infinite; }
.fx-chip.c2 { bottom: -20px; left: -6%; animation: float-soft 8s 1.6s ease-in-out infinite; }

/* ── MARQUEE ──────────────────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
  background: rgba(9, 12, 29, 0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 32s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee-item::after { content: '✦'; color: var(--accent); font-size: 0.7rem; }

/* ── SECTION RHYTHM ───────────────────────────────────────────── */
main > section { padding: 6.5rem 0; position: relative; }
.hero-home { padding-top: 9.5rem; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { padding: 2.25rem 2rem; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 36px rgba(124, 58, 237, 0.14);
}
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); box-shadow: var(--glow-cyan); }
.service-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.8rem; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag, .svc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.06);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── PROCESS ──────────────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(139, 92, 246, 0.55) 0 9px, rgba(34, 211, 238, 0.25) 9px 11px, transparent 11px 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  animation: dash-slide 1.4s linear infinite;
}
@keyframes dash-slide { to { background-position: 20px 0; } }
.process-step { position: relative; }
.step-dot {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  background: var(--card-bg-solid);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--black);
  transition: all 0.35s var(--ease);
}
.process-step:hover .step-dot {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px var(--black), var(--glow-cyan);
  transform: translateY(-3px);
}
.process-step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }
.process-step p { color: var(--muted); font-size: 0.88rem; }

/* ── RESULTS / METRICS ────────────────────────────────────────── */
.results-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.results-left h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.12; margin-bottom: 1.25rem; }
.results-left p { color: var(--muted); }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.metric-card { padding: 1.9rem 1.7rem; transition: transform 0.35s var(--ease), border-color 0.35s; }
.metric-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.metric-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-num .unit { font-size: 1.3rem; }
.metric-label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; margin-top: 0.5rem; }
.metric-sub { color: var(--muted); font-size: 0.8rem; }

/* ── PLATFORMS ────────────────────────────────────────────────── */
.platforms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.platform-card {
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.platform-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-cyan);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}
.platform-logo { font-size: 1.9rem; color: var(--accent-light); margin-bottom: 0.9rem; transition: color 0.3s; }
.platform-card:hover .platform-logo { color: var(--cyan); }
.platform-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.platform-desc { font-family: var(--font-mono); color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }

/* ── INDUSTRIES ───────────────────────────────────────────────── */
.industries-list { display: flex; flex-wrap: wrap; gap: 1rem; }
.industry-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 100px;
  padding: 11px 22px;
  transition: all 0.3s var(--ease);
}
.industry-item:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); box-shadow: var(--glow-cyan); }
.industry-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-tech); box-shadow: 0 0 8px rgba(34, 211, 238, 0.8); }

/* ── WHY US (home) ────────────────────────────────────────────── */
#why-us .why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: start; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.75rem; }
.why-item { display: flex; gap: 1.25rem; }
.why-item .why-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 10px;
}
.why-text h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.3rem; }
.why-text p { color: var(--muted); font-size: 0.9rem; }

.why-right { padding: 2.5rem 2.25rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.why-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-tech);
  border-radius: var(--radius) var(--radius) 0 0;
}
.why-right h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }
.why-right > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* ── FORMS ────────────────────────────────────────────────────── */
.cta-form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.1rem 0 0.45rem;
}
.cta-input, .cta-select, .cta-textarea {
  width: 100%;
  background: rgba(4, 6, 15, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cta-textarea { min-height: 110px; resize: vertical; }
.cta-input::placeholder, .cta-textarea::placeholder { color: rgba(152, 160, 188, 0.5); }
.cta-input:focus, .cta-select:focus, .cta-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18), 0 0 18px rgba(139, 92, 246, 0.12);
}
.cta-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent-light) 50%), linear-gradient(135deg, var(--accent-light) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.cta-select option { background: var(--card-bg-solid); color: var(--white); }
form .submit-btn { margin-top: 1.75rem; }
.form-note { font-size: 0.8rem; color: rgba(152, 160, 188, 0.6); text-align: center; margin-top: 1rem; }

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { padding: 2.25rem 2rem; transition: transform 0.4s var(--ease), border-color 0.4s; }
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.star-rating { display: flex; gap: 3px; margin-bottom: 1.1rem; }
.star { color: var(--cyan); font-size: 0.85rem; text-shadow: 0 0 8px rgba(34, 211, 238, 0.7); }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.5;
  height: 0.45em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.testimonial-card > p { font-size: 0.93rem; color: rgba(233, 236, 248, 0.85); margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
  flex-shrink: 0;
}
.author-name { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.author-role { color: var(--muted); font-size: 0.78rem; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  background: var(--card-bg);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--border-strong); box-shadow: 0 0 28px rgba(124, 58, 237, 0.1); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
}
.faq-arrow {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 1.1rem;
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer p { color: var(--muted); font-size: 0.92rem; padding: 0 1.5rem 1.4rem; }

/* ── CTA SECTION ──────────────────────────────────────────────── */
#cta-section, .bottom-cta {
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
#cta-section::before, .bottom-cta::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 820px; height: 480px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.2), rgba(34, 211, 238, 0.05) 55%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}
#cta-section h2, .bottom-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  position: relative;
}
#cta-section p, .bottom-cta p { color: var(--muted); max-width: 520px; margin: 0 auto 2.5rem; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.bottom-cta .btn-primary { position: relative; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(9, 12, 29, 0.8));
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.55), rgba(34, 211, 238, 0.4), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 1.25rem; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--muted); font-size: 0.88rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}
.footer-bottom p { color: rgba(152, 160, 188, 0.55); font-size: 0.8rem; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  font-size: 1.1rem;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); transform: translateY(-2px); }

/* ── PAGE HERO (sub-pages) ────────────────────────────────────── */
.page-hero, .hero:not(.hero-home) {
  padding: 10.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.page-hero::before, .hero:not(.hero-home)::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 560px;
  background:
    radial-gradient(ellipse at 38% 45%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(ellipse at 66% 50%, rgba(34, 211, 238, 0.09), transparent 58%);
  filter: blur(46px);
  pointer-events: none;
}
.page-hero-bg, .page-hero-glow { display: none; }
.page-hero h1, .hero:not(.hero-home) h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  position: relative;
}
.page-hero p, .hero:not(.hero-home) > .container > p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
  position: relative;
}
.hero-statement { font-size: 1.15rem !important; color: var(--white) !important; font-weight: 400; margin-bottom: 0.75rem; }
.hero-belief { font-size: 0.98rem !important; }
.hero-meta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.75rem; position: relative; }
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 100px;
  padding: 8px 16px;
}
.hero-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.75rem 0 2.25rem; position: relative; }
.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 100px;
  padding: 8px 16px;
}
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--border-cyan);
  background: rgba(34, 211, 238, 0.05);
  border-radius: 100px;
  padding: 9px 18px;
  margin-top: 1.75rem;
  position: relative;
}
.response-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.4; } }

/* ── ABOUT ────────────────────────────────────────────────────── */
.belief-divider {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(9, 12, 29, 0.5);
  padding: 3.5rem 0;
  text-align: center;
}
.belief-quote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.3; }
.belief-sub { font-family: var(--font-mono); color: var(--muted); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 0.8rem; }

.founding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.founding-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; }
.founding-text p { color: var(--muted); margin-bottom: 1.1rem; font-size: 0.97rem; }
.founder-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.founder-card { padding: 1.75rem 1.75rem; transition: transform 0.35s var(--ease), border-color 0.35s; }
.founder-card:hover { transform: translateX(6px); border-color: var(--border-strong); }
.founder-card-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.founder-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.founder-card p { color: var(--muted); font-size: 0.88rem; }

.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.who-card { padding: 2.25rem 2rem; transition: transform 0.4s var(--ease), border-color 0.4s; }
.who-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.who-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  margin-bottom: 1.4rem;
}
.who-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.7rem; }
.who-card p { color: var(--muted); font-size: 0.9rem; }

.approach-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.approach-intro p { color: var(--muted); margin-bottom: 1.1rem; font-size: 0.97rem; }
.approach-intro strong { color: var(--white); font-weight: 500; }
.approach-pillars { display: flex; flex-direction: column; gap: 1.25rem; }
.pillar-item { display: flex; gap: 1.25rem; padding: 1.5rem 1.6rem; transition: transform 0.3s var(--ease), border-color 0.3s; }
.pillar-item:hover { transform: translateX(6px); border-color: var(--border-strong); }
.pillar-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 10px;
}
.pillar-text h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.pillar-text p { color: var(--muted); font-size: 0.88rem; }

.achieve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.achieve-card { display: flex; gap: 1.5rem; padding: 2rem; transition: transform 0.35s var(--ease), border-color 0.35s; }
.achieve-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.achieve-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.achieve-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.achieve-card p { color: var(--muted); font-size: 0.88rem; }

#manifesto .manifesto-inner, .manifesto-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 4.5rem 3rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(124, 58, 237, 0.12), transparent 70%),
    var(--card-bg);
  position: relative;
  overflow: hidden;
}
.manifesto-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), rgba(34, 211, 238, 0.6), transparent);
}
.manifesto-inner p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.55; margin-bottom: 1.5rem; }
.manifesto-inner p#manifesto-heading { font-size: 1.45rem; }
.manifesto-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 2rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-num span { font-size: 1.2rem; }
.stat-label { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* ── FILTER BARS / PILLS (blog + case studies) ────────────────── */
.filter-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(9, 12, 29, 0.65);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.filter-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filter-pill, .role-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-pill:hover, .role-tab:hover { color: var(--white); border-color: var(--border-strong); }
.filter-pill.active, .role-tab.active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.45);
}
.post-count { font-family: var(--font-mono); color: var(--muted); font-size: 0.76rem; letter-spacing: 0.05em; }
.post-count strong { color: var(--cyan); font-weight: 600; }

/* ── BLOG LISTING ─────────────────────────────────────────────── */
#blog-main { padding: 4rem 0 6rem; }
.skeleton {
  background: linear-gradient(100deg, rgba(19, 23, 48, 0.6) 40%, rgba(139, 92, 246, 0.12) 50%, rgba(19, 23, 48, 0.6) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-card { height: 260px; }

.featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.featured-card:hover { border-color: var(--border-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.featured-cover { position: relative; min-height: 300px; overflow: hidden; }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-cover-grad, .card-cover-grad { position: absolute; inset: 0; opacity: 0.85; }
.featured-cover-pattern, .card-cover-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 30%, #000, transparent 75%);
}
.featured-badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(4, 6, 15, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 14px;
  border-radius: 100px;
}
.featured-body { padding: 2.5rem 2.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.featured-body h2 { font-size: 1.55rem; font-weight: 700; line-height: 1.25; margin: 0.4rem 0 0.9rem; }
.featured-body h2 a:hover { color: var(--accent-light); }
.featured-body > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.4rem; }

.cat-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.cat-Performance { color: var(--accent-light); background: rgba(139, 92, 246, 0.1); border: 1px solid var(--border-strong); }
.cat-ai { color: var(--cyan); background: rgba(34, 211, 238, 0.08); border: 1px solid var(--border-cyan); }
.cat-Strategy { color: #fbbf24; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); }
.cat-Brand { color: var(--magenta); background: rgba(232, 121, 249, 0.08); border: 1px solid rgba(232, 121, 249, 0.3); }

.post-meta { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.post-meta-item { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.post-meta-item i { color: var(--accent-light); }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 1.4rem;
  transition: gap 0.25s var(--ease);
}
.read-more:hover { gap: 14px; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45); }
.card-cover { position: relative; height: 150px; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem 1.5rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.6rem; }
.card-body h3 a:hover { color: var(--accent-light); }
.card-excerpt {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-arrow { color: var(--cyan); font-size: 1.1rem; transition: transform 0.25s var(--ease); }
.post-card:hover .card-arrow { transform: translateX(5px); }

.pagination-wrap { margin-top: 3.5rem; text-align: center; }
.pagination { display: inline-flex; gap: 0.5rem; align-items: center; }
.page-btn {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.25s;
}
.page-btn:hover:not(:disabled) { color: var(--white); border-color: var(--border-strong); }
.page-btn.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 0 16px rgba(124, 58, 237, 0.4); }
.page-btn:disabled { opacity: 0.35; cursor: default; }
.page-ellipsis { color: var(--muted); padding: 0 4px; }
.pagination-info { font-family: var(--font-mono); color: var(--muted); font-size: 0.74rem; margin-top: 1rem; letter-spacing: 0.05em; }

.state-box { text-align: center; padding: 4.5rem 2rem; }
.state-icon { font-size: 2.4rem; color: var(--accent-light); margin-bottom: 1rem; }
.state-box h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.state-box p { color: var(--muted); font-size: 0.9rem; }
.fade-in { animation: fadeIn 0.45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } }

/* ── CASE STUDIES ─────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.25rem 2.5rem;
  margin-bottom: 3rem;
}
.stats-bar .stat-item { border: none; padding: 0; background: none; }

.grad-performance { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.grad-ai { background: linear-gradient(135deg, #0e7490, #22d3ee); }
.grad-strategy { background: linear-gradient(135deg, #b45309, #fbbf24); }
.grad-ecommerce { background: linear-gradient(135deg, #be185d, #e879f9); }

.featured-cs {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  margin: 3rem 0;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.featured-cs:hover { border-color: var(--border-strong); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5); }
.featured-visual { position: relative; min-height: 380px; display: flex; align-items: flex-end; padding: 2.5rem; overflow: hidden; }
.featured-visual-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 25%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse at 30% 25%, #000, transparent 80%);
}
.featured-label-block { position: relative; }
.cs-industry-tag { margin-bottom: 1rem; color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(4, 6, 15, 0.45); }
.featured-client-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.featured-tagline { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-top: 0.4rem; }
.featured-cs .featured-body { padding: 2.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.featured-cs h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; margin: 0.6rem 0 1rem; }
.featured-cs .featured-body p { color: var(--muted); font-size: 0.94rem; }

.metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0; }
.metric-cell {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(4, 6, 15, 0.5);
  padding: 1.1rem 1rem;
  text-align: center;
}
.metric-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-lbl { color: var(--muted); font-size: 0.7rem; line-height: 1.45; margin-top: 4px; }
.services-used { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.25s var(--ease);
}
.cs-cta:hover { gap: 16px; }

.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; margin: 0 0 4rem; }
.cs-card { overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.cs-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45); }
.cs-card-visual { position: relative; height: 130px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cs-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 90%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 90%);
}
.cs-monogram {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 1;
}
.cs-card-body { padding: 1.9rem 1.9rem 1.75rem; }
.cs-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.tag-performance { color: var(--accent-light); background: rgba(139, 92, 246, 0.1); border: 1px solid var(--border-strong); }
.tag-ai { color: var(--cyan); background: rgba(34, 211, 238, 0.08); border: 1px solid var(--border-cyan); }
.tag-strategy { color: #fbbf24; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); }
.tag-ecommerce { color: var(--magenta); background: rgba(232, 121, 249, 0.08); border: 1px solid rgba(232, 121, 249, 0.3); }
.cs-card h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.7rem; }
.cs-card-body > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.4rem; }
.cs-metrics-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.cs-metric-mini {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(4, 6, 15, 0.5);
  padding: 0.9rem 1rem;
}
.cs-metric-mini .val {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cs-metric-mini .lbl { color: var(--muted); font-size: 0.68rem; line-height: 1.45; margin-top: 3px; }
.cs-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.25s var(--ease);
}
.cs-read-more:hover { gap: 14px; }

/* ── CAREERS ──────────────────────────────────────────────────── */
.why-section, .culture-section, .roles-section, .apply-section { padding: 6rem 0; }
.why-section .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.why-section .why-card { padding: 2.1rem 1.9rem; transition: transform 0.4s var(--ease), border-color 0.4s; }
.why-section .why-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.why-section .why-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  margin-bottom: 1.4rem;
}
.why-section .why-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.why-section .why-card p { color: var(--muted); font-size: 0.88rem; }

.culture-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: start; margin-top: 2rem; }
.culture-text p { color: var(--muted); margin-bottom: 1.1rem; font-size: 0.96rem; }
.culture-list { list-style: none; margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.85rem; }
.culture-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: rgba(233, 236, 248, 0.85); }
.culture-list i { color: var(--cyan); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.culture-values { display: flex; flex-direction: column; gap: 1.25rem; }
.value-card { display: flex; gap: 1.4rem; padding: 1.6rem 1.7rem; transition: transform 0.3s var(--ease), border-color 0.3s; }
.value-card:hover { transform: translateX(6px); border-color: var(--border-strong); }
.value-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.value-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.value-card p { color: var(--muted); font-size: 0.88rem; }

.roles-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.roles-count {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  background: rgba(34, 211, 238, 0.05);
  border-radius: 100px;
  padding: 8px 18px;
}
.role-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.roles-list { display: flex; flex-direction: column; gap: 1rem; }
.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.9rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.role-card:hover {
  transform: translateX(8px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(124, 58, 237, 0.12);
}
.role-title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; margin-bottom: 0.6rem; }
.role-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.role-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 4px;
}
.badge-dept { color: var(--accent-light); background: rgba(139, 92, 246, 0.1); border: 1px solid var(--border-strong); }
.badge-type { color: var(--cyan); background: rgba(34, 211, 238, 0.07); border: 1px solid var(--border-cyan); }
.badge-loc { color: #fbbf24; background: rgba(251, 191, 36, 0.07); border: 1px solid rgba(251, 191, 36, 0.28); }
.badge-remote { color: #34d399; background: rgba(52, 211, 153, 0.07); border: 1px solid rgba(52, 211, 153, 0.28); }
.role-arrow { color: var(--cyan); font-size: 1.3rem; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.role-card:hover .role-arrow { transform: translateX(6px); }

.apply-card { text-align: center; padding: 4rem 3rem; overflow: hidden; }
.apply-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), rgba(34, 211, 238, 0.6), transparent);
}
.apply-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
.apply-card p { color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }
.apply-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ──────────────────────────────────────────────────── */
#contact-main { padding: 4rem 0 6rem; }
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.35fr; gap: 2.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-card { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem 1.6rem; transition: transform 0.3s var(--ease), border-color 0.3s; }
.contact-card:hover { transform: translateX(5px); border-color: var(--border-strong); }
.contact-card-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 10px;
}
.contact-card-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-card-value a { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; color: var(--white); transition: color 0.25s; }
.contact-card-value a:hover { color: var(--cyan); }
.phone-list { display: flex; flex-direction: column; gap: 0.35rem; }
.office-card { padding: 1.6rem 1.7rem; }
.office-badge { margin-bottom: 0.9rem; }
.office-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.office-address { color: var(--muted); font-size: 0.85rem; margin-top: 0.3rem; }
.social-card { padding: 1.5rem 1.7rem; }
.social-card-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.social-links { display: flex; gap: 0.7rem; }
.social-link {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 1.15rem;
  transition: all 0.3s var(--ease);
}
.social-link:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); transform: translateY(-2px); }

.contact-form-box { padding: 2.75rem 2.5rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.contact-form-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-tech);
  border-radius: var(--radius) var(--radius) 0 0;
}
.form-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-header p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }

#alt-contact { padding-bottom: 7rem; }
.alt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.alt-card { padding: 2.1rem 1.9rem; transition: transform 0.4s var(--ease), border-color 0.4s; }
.alt-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.alt-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 11px;
  margin-bottom: 1.25rem;
}
.alt-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.alt-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.1rem; }
.alt-link { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--cyan); }
.alt-link:hover { text-shadow: 0 0 14px rgba(34, 211, 238, 0.6); }

/* ── LEGAL PAGES (privacy / terms) ────────────────────────────── */
.compliance-bar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.75rem; position: relative; }
.c-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--card-bg);
}
.c-badge.india { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.c-badge.eu { color: var(--cyan); border-color: var(--border-cyan); }
.c-badge.usa { color: var(--accent-light); border-color: var(--border-strong); }
.c-badge.canada { color: #f87171; border-color: rgba(248, 113, 113, 0.3); }
.c-badge.brazil { color: #34d399; border-color: rgba(52, 211, 153, 0.3); }
.c-badge.korea { color: var(--magenta); border-color: rgba(232, 121, 249, 0.3); }
.c-badge.global { color: var(--white); border-color: rgba(255, 255, 255, 0.25); }

.policy-layout { display: grid; grid-template-columns: 250px 1fr; gap: 3.5rem; align-items: start; padding: 4rem 0 6rem; }
.toc {
  position: sticky;
  top: 110px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 1.5rem 1.4rem;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.toc-title {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.toc a {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.25s;
}
.toc a:hover { color: var(--white); background: rgba(139, 92, 246, 0.07); }
.toc a.active { color: var(--accent-light); border-left-color: var(--accent); background: rgba(139, 92, 246, 0.09); }

.policy-content { min-width: 0; }
.policy-section { margin-bottom: 3.25rem; scroll-margin-top: 110px; }
.policy-section h2 {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.section-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.policy-section h3 { font-size: 1.08rem; font-weight: 600; margin: 1.75rem 0 0.75rem; color: var(--white); }
.policy-section p, .policy-section li { color: rgba(233, 236, 248, 0.78); font-size: 0.94rem; }
.policy-section p { margin-bottom: 1rem; }
.policy-section ul, .policy-section ol { padding-left: 1.4rem; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.policy-section li::marker { color: var(--accent-light); }
.policy-section a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(34, 211, 238, 0.4); text-underline-offset: 3px; }
.policy-section strong { color: var(--white); font-weight: 500; }

.note-box, .warn-box { padding: 1.4rem 1.6rem; margin: 1.5rem 0; border-radius: var(--radius-sm); }
.note-box { border-left: 3px solid var(--cyan); }
.warn-box { border-left: 3px solid #fbbf24; }
.note-box p:last-child, .warn-box p:last-child { margin-bottom: 0; }

.jur-box { margin: 1.5rem 0; overflow: hidden; border-radius: var(--radius-sm); }
.jur-box-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  background: rgba(139, 92, 246, 0.07);
  border-bottom: 1px solid var(--border);
}
.jur-box > *:not(.jur-box-header) { padding-left: 1.5rem; padding-right: 1.5rem; }
.jur-box > p:first-of-type { padding-top: 1.25rem; }
.jur-box > *:last-child { padding-bottom: 1.25rem; }
.jur-india .jur-box-header { color: #fbbf24; }
.jur-eu .jur-box-header { color: var(--cyan); }
.jur-usa .jur-box-header { color: var(--accent-light); }
.jur-canada .jur-box-header { color: #f87171; }
.jur-brazil .jur-box-header { color: #34d399; }
.jur-korea .jur-box-header { color: var(--magenta); }

/* ── TABLES (legal + articles) ────────────────────────────────── */
.policy-content table, .article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.88rem;
  background: rgba(9, 12, 29, 0.55);
}
.policy-content th, .article-body th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.05);
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.policy-content td, .article-body td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  color: rgba(233, 236, 248, 0.78);
  vertical-align: top;
}
.policy-content tr:last-child td, .article-body tr:last-child td { border-bottom: none; }
.policy-content tr:hover td, .article-body tr:hover td { background: rgba(139, 92, 246, 0.045); }
.penalty-amount { font-family: var(--font-mono); color: #f87171; font-weight: 600; white-space: nowrap; }

/* ── BLOG ARTICLE PAGES ───────────────────────────────────────── */
.post-hero { padding: 9.5rem 0 3.5rem; position: relative; overflow: hidden; }
.post-hero::before {
  content: '';
  position: absolute;
  top: -32%; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 540px;
  background:
    radial-gradient(ellipse at 40% 45%, rgba(124, 58, 237, 0.2), transparent 56%),
    radial-gradient(ellipse at 65% 50%, rgba(34, 211, 238, 0.08), transparent 58%);
  filter: blur(46px);
  pointer-events: none;
}
.post-hero-cover { display: none; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  transition: color 0.25s, gap 0.25s var(--ease);
  position: relative;
}
.back-link:hover { color: var(--cyan); gap: 12px; }
.post-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 860px;
  margin-bottom: 1.5rem;
  position: relative;
}
.post-meta-row { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; position: relative; }
.read-time-bar { flex: 1; min-width: 80px; max-width: 200px; height: 2px; background: var(--grad-tech); border-radius: 2px; box-shadow: 0 0 10px rgba(34, 211, 238, 0.5); }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; align-items: start; padding: 1.5rem 0 6rem; }
.article-body { min-width: 0; font-size: 1rem; }
.article-body > p { color: rgba(233, 236, 248, 0.8); margin-bottom: 1.4rem; }
.article-body h2 {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 3rem 0 1.1rem;
  scroll-margin-top: 110px;
  position: relative;
  padding-left: 1.1rem;
}
.article-body h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0.25em; bottom: 0.25em;
  width: 3px;
  background: var(--grad-tech);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
}
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 2.2rem 0 0.8rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.article-body li { color: rgba(233, 236, 248, 0.8); }
.article-body li::marker { color: var(--cyan); }
.article-body a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(34, 211, 238, 0.4); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--cyan); }
.article-body strong { color: var(--white); font-weight: 500; }
.article-body hr { border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); margin: 2.75rem 0; }
.article-body blockquote {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  position: relative;
}
.article-body blockquote p {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  line-height: 1.55;
}
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid var(--border-cyan);
  border-radius: 4px;
  padding: 2px 7px;
}

.callout { padding: 1.6rem 1.8rem; margin: 2rem 0; border-left: 3px solid var(--cyan); border-radius: var(--radius-sm); }
.callout p { margin: 0; color: rgba(233, 236, 248, 0.85); }
.callout p + p { margin-top: 0.8rem; }
.callout-warning { border-left-color: #fbbf24; }

.formula-box { padding: 1.6rem 1.8rem; margin: 2rem 0; text-align: center; }
.formula {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}
.formula-box .examples, .examples { color: var(--muted); font-size: 0.85rem; margin-top: 0.9rem; }

.flow-steps { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.flow-step, .framework-step {
  display: flex;
  gap: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  padding: 1.4rem 1.5rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.flow-step:hover, .framework-step:hover { border-color: var(--border-strong); transform: translateX(5px); }
.framework-step { margin: 1.25rem 0; }
.flow-step-num, .step-number {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  border-radius: 9px;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}
.flow-step-content h4, .step-content h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.flow-step-content p, .step-content p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.benchmark-grid, .segment-grid, .variable-grid, .obligation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.benchmark-card, .segment-card, .variable-card, .obligation-card { padding: 1.4rem 1.4rem; }
.b-label, .benchmark-card h4, .segment-card h4, .variable-card h4, .obligation-card h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.b-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.benchmark-card p, .segment-card p, .variable-card p, .obligation-card p { color: var(--muted); font-size: 0.84rem; margin: 0.4rem 0 0; }

.verdict-card { padding: 1.5rem 1.7rem; margin: 1.5rem 0; }
.verdict-works { border-left: 3px solid #34d399; }
.verdict-dead { border-left: 3px solid #f87171; }
.verdict-row { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.5rem 0; }
.verdict-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; }
.verdict-card p, .verdict-card li { color: rgba(233, 236, 248, 0.78); font-size: 0.9rem; }

.checklist { list-style: none !important; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}
.stack-item { padding: 1.4rem 1.6rem; margin: 1.25rem 0; }
.stack-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.stack-item p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.author-card { display: flex; gap: 1.4rem; align-items: center; padding: 1.75rem 1.9rem; margin: 3.5rem 0 0; }
.author-card .author-avatar { width: 56px; height: 56px; font-size: 1rem; border-radius: 13px; }
.author-info h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.author-info p { color: var(--muted); font-size: 0.85rem; margin: 0; }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.75rem;
}
.post-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  transition: color 0.25s;
  text-decoration: none !important;
}
.post-nav a:hover { color: var(--cyan); }

.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card { padding: 1.75rem 1.6rem; }
.sidebar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-tech);
  border-radius: var(--radius) var(--radius) 0 0;
}
.sidebar-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; }
.sidebar-card > p { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.25rem; }
.sidebar-cta { width: 100%; font-size: 0.84rem; padding: 12px 20px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.toc-list a {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  padding: 7px 10px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.25s;
}
.toc-list a:hover { color: var(--accent-light); background: rgba(139, 92, 246, 0.07); border-left-color: var(--accent); }

/* ── REVEAL ANIMATIONS ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(7px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .fx-terminal { max-width: 560px; }
  .services-grid, .testimonials-grid, .who-grid, .alt-grid,
  .why-section .why-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-steps::before { display: none; }
  .results-grid, .founding-grid, .approach-grid, .culture-grid,
  #why-us .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card, .featured-cs { grid-template-columns: 1fr; }
  .featured-visual { min-height: 260px; }
  .contact-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .policy-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .toc { position: static; max-height: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 2rem 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  main > section { padding: 4.5rem 0; }
  .hero-home { padding-top: 8rem; }
  .page-hero, .hero:not(.hero-home) { padding: 8.5rem 0 4rem; }
  .post-hero { padding: 8rem 0 3rem; }
  .services-grid, .testimonials-grid, .who-grid, .alt-grid,
  .why-section .why-grid, .posts-grid, .cs-grid,
  .metrics-grid, .achieve-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr; }
  .filter-bar { position: static; }
  .role-card { flex-direction: row; }
  .stats-row { gap: 1.5rem 2.5rem; justify-content: flex-start; }
  .container { padding: 0 1.25rem; }
  .fx-chip { display: none; }
}

@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .platforms-grid, .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; }
}

/* ── SCROLL-PARALLAX ORBS (JS-injected) ───────────────────────── */
.fable-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.fable-orb.o1 {
  width: 520px; height: 520px;
  top: 8%; left: -160px;
  background: radial-gradient(circle at 35% 35%, rgba(124, 58, 237, 0.22), transparent 65%);
}
.fable-orb.o2 {
  width: 460px; height: 460px;
  top: 42%; right: -180px;
  background: radial-gradient(circle at 60% 40%, rgba(34, 211, 238, 0.13), transparent 65%);
}
.fable-orb.o3 {
  width: 420px; height: 420px;
  top: 78%; left: 18%;
  background: radial-gradient(circle at 50% 50%, rgba(232, 121, 249, 0.1), transparent 65%);
}

/* ── LEAD DELIVERY PANEL (after form submit) ──────────────────── */
.lead-channels {
  margin-top: 1.5rem;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.04);
  padding: 1.4rem 1.4rem;
  animation: fadeIn 0.45s var(--ease);
}
.lead-channels h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.lead-channels p { color: var(--muted); font-size: 0.82rem; margin-bottom: 1rem; }
.lead-channel-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.lead-btn-wa, .lead-btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.lead-btn-wa {
  color: #04060f;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  box-shadow: 0 6px 22px rgba(52, 211, 153, 0.3);
}
.lead-btn-mail {
  color: var(--accent-light);
  border: 1px solid var(--border-strong);
  background: rgba(139, 92, 246, 0.06);
}
.lead-btn-wa:hover, .lead-btn-mail:hover { transform: translateY(-2px); }

/* ── AI CHAT WIDGET ───────────────────────────────────────────── */
.fx-chat-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.55rem;
  cursor: pointer;
  box-shadow: 0 10px 34px rgba(124, 58, 237, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fx-chat-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 44px rgba(124, 58, 237, 0.6); }
.fx-chat-fab::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.45);
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
.fx-chat-fab .fx-chat-close-ic { display: none; }
.fx-chat-open .fx-chat-fab .fx-chat-open-ic { display: none; }
.fx-chat-open .fx-chat-fab .fx-chat-close-ic { display: block; font-size: 1.2rem; }
.fx-chat-open .fx-chat-fab::before { display: none; }

.fx-chat-panel {
  position: fixed;
  right: 22px; bottom: 96px;
  z-index: 899;
  width: 384px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(15, 18, 40, 0.96), rgba(6, 8, 20, 0.98));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 50px rgba(124, 58, 237, 0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.fx-chat-open .fx-chat-panel { opacity: 1; transform: none; pointer-events: auto; }

.fx-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.07);
  flex-shrink: 0;
}
.fx-chat-head::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), rgba(34, 211, 238, 0.6), transparent);
}
.fx-chat-avatar {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.45);
  flex-shrink: 0;
}
.fx-chat-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; line-height: 1.2; }
.fx-chat-status {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.fx-chat-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.fx-chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  scroll-behavior: smooth;
}
.fx-chat-msgs::-webkit-scrollbar { width: 6px; }
.fx-msg {
  max-width: 86%;
  font-size: 0.86rem;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 14px;
  animation: fadeIn 0.35s var(--ease);
  word-wrap: break-word;
}
.fx-msg.bot {
  align-self: flex-start;
  color: rgba(233, 236, 248, 0.92);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.fx-msg.user {
  align-self: flex-end;
  color: #fff;
  background: var(--grad);
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}
.fx-msg a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.fx-msg.typing { display: inline-flex; gap: 5px; padding: 13px 16px; }
.fx-msg.typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: chat-dot 1.2s ease-in-out infinite;
}
.fx-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.fx-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }

.fx-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem 1rem 0.7rem;
  flex-shrink: 0;
}
.fx-chip-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: 100px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  animation: fadeIn 0.4s var(--ease);
}
.fx-chip-btn:hover { background: rgba(34, 211, 238, 0.14); transform: translateY(-1px); box-shadow: var(--glow-cyan); }

.fx-chat-inputrow {
  display: flex;
  gap: 0.6rem;
  padding: 0.8rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(4, 6, 15, 0.5);
  flex-shrink: 0;
}
.fx-chat-input {
  flex: 1;
  background: rgba(4, 6, 15, 0.7);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.86rem;
  padding: 11px 17px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.fx-chat-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16); }
.fx-chat-input::placeholder { color: rgba(152, 160, 188, 0.5); }
.fx-chat-send {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.fx-chat-send:hover { transform: scale(1.08); }
.fx-chat-send:disabled { opacity: 0.5; cursor: default; transform: none; }
.fx-chat-foot {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(152, 160, 188, 0.45);
  padding: 0 1rem 0.7rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .fx-chat-panel { right: 16px; bottom: 88px; height: 540px; }
  .fx-chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ═══ VIBRANCY PASS ═══════════════════════════════════════════── */

/* Colorful icon hues — cycle 5 accents across card grids */
.services-grid .service-card:nth-child(5n+2) .service-icon,
.platforms-grid .platform-card:nth-child(5n+2) .platform-logo,
.why-section .why-grid .why-card:nth-child(5n+2) .why-icon,
.who-grid .who-card:nth-child(3n+2) .who-icon,
.alt-grid .alt-card:nth-child(3n+2) .alt-icon,
.approach-pillars .pillar-item:nth-child(4n+2) .pillar-icon,
.why-list .why-item:nth-child(5n+2) .why-icon,
.contact-info .contact-card:nth-child(3n+2) .contact-card-icon {
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--border-strong);
}
.services-grid .service-card:nth-child(5n+3) .service-icon,
.platforms-grid .platform-card:nth-child(5n+3) .platform-logo,
.why-section .why-grid .why-card:nth-child(5n+3) .why-icon,
.who-grid .who-card:nth-child(3n) .who-icon,
.alt-grid .alt-card:nth-child(3n) .alt-icon,
.approach-pillars .pillar-item:nth-child(4n+3) .pillar-icon,
.why-list .why-item:nth-child(5n+3) .why-icon,
.contact-info .contact-card:nth-child(3n) .contact-card-icon {
  color: var(--magenta);
  background: rgba(232, 121, 249, 0.08);
  border-color: rgba(232, 121, 249, 0.35);
}
.services-grid .service-card:nth-child(5n+4) .service-icon,
.platforms-grid .platform-card:nth-child(5n+4) .platform-logo,
.why-section .why-grid .why-card:nth-child(5n+4) .why-icon,
.approach-pillars .pillar-item:nth-child(4n) .pillar-icon,
.why-list .why-item:nth-child(5n+4) .why-icon {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.35);
}
.services-grid .service-card:nth-child(5n) .service-icon,
.platforms-grid .platform-card:nth-child(5n) .platform-logo,
.why-section .why-grid .why-card:nth-child(5n) .why-icon,
.why-list .why-item:nth-child(5n) .why-icon {
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.35);
}
.platforms-grid .platform-logo { background: none; border: none; }

/* Step dots & numbered accents get gradient treatment */
.step-dot { background: linear-gradient(160deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.08)), var(--card-bg-solid); }

/* Rotating tech rings on page heroes & CTAs */
.page-hero .container::before,
.hero:not(.hero-home) .container::before,
.post-hero .container::before,
#cta-section .container::before,
.bottom-cta .container::before {
  content: '';
  position: absolute;
  right: -150px; top: 4rem;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.4);
  box-shadow: inset 0 0 0 46px rgba(34, 211, 238, 0.035), 0 0 0 70px rgba(139, 92, 246, 0.03);
  animation: spin-slow 50s linear infinite;
  pointer-events: none;
}
.page-hero .container, .hero:not(.hero-home) .container,
.post-hero .container, #cta-section .container, .bottom-cta .container { position: relative; }
#cta-section .container::before, .bottom-cta .container::before { right: auto; left: -190px; top: -3rem; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Hero terminal: 3D tilt wrapper (JS-driven) */
.hero-visual { perspective: 1000px; }
.fx-tilt { transition: transform 0.25s ease-out; transform-style: preserve-3d; will-change: transform; }

/* ── ANIMATED GROWTH CHART (SVG) ──────────────────────────────── */
.fx-chart {
  margin-top: 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(19, 23, 48, 0.72), rgba(9, 12, 29, 0.85));
  padding: 1.4rem 1.4rem 1rem;
  position: relative;
  overflow: hidden;
}
.fx-chart::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.7), rgba(34, 211, 238, 0.5), transparent);
}
.fx-chart-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.fx-chart-label .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: #34d399;
}
.fx-chart-label .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.fx-chart svg { width: 100%; height: auto; display: block; }
.fx-chart .ch-line {
  fill: none;
  stroke: url(#chGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.55));
}
.fx-chart .ch-area { fill: url(#chFill); opacity: 0; }
.fx-chart .ch-dot { fill: #0b0e20; stroke: var(--cyan); stroke-width: 2.5; opacity: 0; }
.fx-chart .ch-tag { font-family: var(--font-mono); font-size: 13px; fill: var(--cyan); opacity: 0; }
.fx-chart .ch-tag.start { fill: var(--muted); }
.fx-chart .ch-axis { font-family: var(--font-mono); font-size: 10.5px; fill: rgba(152, 160, 188, 0.65); letter-spacing: 0.08em; }
.fx-chart .ch-grid { stroke: rgba(139, 92, 246, 0.14); stroke-dasharray: 4 6; }
.fx-chart.drawn .ch-line { transition: stroke-dashoffset 2s cubic-bezier(0.45, 0, 0.2, 1); stroke-dashoffset: 0; }
.fx-chart.drawn .ch-area { transition: opacity 1.2s ease 0.9s; opacity: 1; }
.fx-chart.drawn .ch-dot { transition: opacity 0.4s ease; opacity: 1; }
.fx-chart.drawn .ch-dot.d1 { transition-delay: 0.35s; } .fx-chart.drawn .ch-dot.d2 { transition-delay: 0.65s; }
.fx-chart.drawn .ch-dot.d3 { transition-delay: 0.95s; } .fx-chart.drawn .ch-dot.d4 { transition-delay: 1.25s; }
.fx-chart.drawn .ch-dot.d5 { transition-delay: 1.55s; } .fx-chart.drawn .ch-dot.d6 { transition-delay: 1.85s; }
.fx-chart.drawn .ch-tag { transition: opacity 0.6s ease 1.9s; opacity: 1; }

/* ── MOBILE POLISH ────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* heroes: tighter rhythm, no forced viewport height */
  .hero-home { min-height: auto; padding: 7.5rem 0 3.5rem; }
  .hero-layout { gap: 2.75rem; }
  .hero-home h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 1.5rem 2rem; padding-top: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .fx-terminal { font-size: 0.72rem; }
  .fx-terminal-body { min-height: 240px; padding: 1.1rem 1.1rem 1.3rem; }
  .page-hero h1, .hero:not(.hero-home) h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .page-hero .container::before, .hero:not(.hero-home) .container::before,
  .post-hero .container::before { width: 280px; height: 280px; right: -160px; opacity: 0.6; }

  /* tables scroll instead of breaking the layout */
  .article-body table, .policy-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* comfortable tap targets */
  .btn-primary, .btn-outline, .btn-ghost, .submit-btn { padding: 15px 28px; }
  .nav-cta { padding: 10px 20px; }
  .filter-pill, .role-tab { padding: 9px 16px; }
  .faq-question { padding: 1.1rem 1.15rem; font-size: 0.92rem; }
  .faq-answer p { padding: 0 1.15rem 1.2rem; }

  /* cards & sections breathe less */
  .section-header { margin-bottom: 2.5rem; }
  .service-card, .testimonial-card, .who-card { padding: 1.75rem 1.4rem; }
  .why-right, .contact-form-box { padding: 1.9rem 1.4rem; }
  .featured-body, .featured-cs .featured-body { padding: 1.75rem 1.4rem; }
  .cs-card-body { padding: 1.5rem 1.3rem; }
  .apply-card { padding: 2.5rem 1.5rem; }
  .manifesto-inner { padding: 3rem 1.5rem; }
  .stats-bar { padding: 1.6rem 1.4rem; }
  .policy-section h2 { font-size: 1.25rem; }
  .article-body h2 { font-size: 1.4rem; }
  .marquee-track { animation-duration: 22s; }
}

@media (max-width: 520px) {
  .cta-buttons .btn-primary, .cta-buttons .btn-outline,
  .apply-btns .btn-primary, .apply-btns .btn-ghost { width: 100%; }
  .lead-channel-btns a { width: 100%; }
  .post-meta-row { gap: 0.8rem; }
  .read-time-bar { display: none; }
  .roles-header { align-items: flex-start; flex-direction: column; }
  .role-card { padding: 1.2rem 1.2rem; }
  .industry-item { padding: 9px 16px; font-size: 0.85rem; }
}

/* ── ABOUT: FUSION ILLUSTRATION ───────────────────────────────── */
.fx-fusion {
  max-width: 900px;
  margin: 3.5rem auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 23, 48, 0.72), rgba(9, 12, 29, 0.85));
  padding: 1.25rem 1.25rem 0.75rem;
  position: relative;
  overflow: hidden;
}
.fx-fusion::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.7), rgba(34, 211, 238, 0.5), transparent);
}
.fx-fusion svg { width: 100%; height: auto; display: block; }
.fx-fusion .f-ring-a { stroke: rgba(167, 139, 250, 0.8); filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.5)); }
.fx-fusion .f-ring-b { stroke: rgba(34, 211, 238, 0.8); filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.45)); }
.fx-fusion .f-dash { stroke-dasharray: 5 9; opacity: 0.55; }
.fx-fusion .spin-a {
  animation: spin-slow 28s linear infinite;
  transform-box: view-box;
  transform-origin: 170px 122px;
}
.fx-fusion .spin-b {
  animation: spin-slow 36s linear infinite reverse;
  transform-box: view-box;
  transform-origin: 310px 122px;
}
.fx-fusion .f-core { animation: core-pulse 3s ease-in-out infinite; transform-box: view-box; transform-origin: 240px 122px; }
@keyframes core-pulse { 50% { transform: scale(1.18); } }
.fx-fusion .f-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  fill: #99a0bb;
}
.fx-fusion .f-label.hot { fill: #a78bfa; }
.fx-fusion .f-label.cool { fill: #22d3ee; }
.fx-fusion .f-core-label { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; fill: #e9ecf8; letter-spacing: 0.18em; }

/* ── CASE STUDIES: PER-CARD SVG ARTWORK ───────────────────────── */
.cs-card-visual { justify-content: flex-start; padding-left: 1.9rem; }
.cs-art {
  position: absolute;
  right: 12px; top: 12px; bottom: 12px;
  width: 46%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.cs-card:hover .cs-art { opacity: 0.95; transform: translateY(-3px); }
.cs-art svg { width: 100%; height: 100%; }
.cs-art-featured {
  position: absolute;
  right: -10px; bottom: -6px;
  width: 64%; height: 52%;
  opacity: 0.55;
  pointer-events: none;
}
.cs-art-featured svg { width: 100%; height: 100%; }

/* shared artwork primitives (white-on-gradient) */
.a-stroke { stroke: rgba(255, 255, 255, 0.9); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.a-soft { stroke: rgba(255, 255, 255, 0.45); fill: none; stroke-width: 1.5; }
.a-fill { fill: rgba(255, 255, 255, 0.9); }
.a-faint { fill: rgba(255, 255, 255, 0.22); }
.cs-art text, .cs-art-featured text { font-family: var(--font-mono); font-weight: 600; fill: rgba(255, 255, 255, 0.95); }

/* blog cover sparklines */
.card-spark {
  position: absolute;
  left: 8%; right: 8%; bottom: 10px;
  width: 84%; height: 42%;
  opacity: 0.65;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.post-card:hover .card-spark, .featured-card:hover .card-spark { opacity: 1; transform: translateY(-3px); }
.a-flow { stroke-dasharray: 4 7; animation: dash-move 1.4s linear infinite; }
@keyframes dash-move { to { stroke-dashoffset: -22; } }
.a-bar { transform-box: fill-box; transform-origin: bottom; transition: transform 0.45s var(--ease); }
.cs-card:hover .a-bar { transform: scaleY(1.14); }
.cs-card:hover .a-bar.b2 { transition-delay: 0.05s; }
.cs-card:hover .a-bar.b3 { transition-delay: 0.1s; }
.cs-card:hover .a-bar.b4 { transition-delay: 0.15s; }
.a-pulse { animation: art-pulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.a-pulse.p2 { animation-delay: 0.5s; }
.a-pulse.p3 { animation-delay: 1s; }
@keyframes art-pulse { 50% { opacity: 0.35; } }

@media (max-width: 520px) {
  .cs-art { width: 38%; opacity: 0.4; }
  .fx-fusion { padding: 1rem 0.75rem 0.5rem; }
}
/* ── CUSTOMER JOURNEY FUNNEL (index) ──────────────────────────── */
.journey-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.funnel { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0.5rem 0; }
.funnel-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  height: 62px;
  padding: 0 7%;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(110deg, rgba(124, 58, 237, 0.55), rgba(139, 92, 246, 0.35));
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s;
  opacity: 0.82;
}
.funnel-stage .fs-pct {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.funnel-stage.s1 { width: 100%; clip-path: polygon(0 0, 100% 0, 92.5% 100%, 7.5% 100%); }
.funnel-stage.s2 { width: 85%; clip-path: polygon(0 0, 100% 0, 91.2% 100%, 8.8% 100%); background: linear-gradient(110deg, rgba(139, 92, 246, 0.55), rgba(96, 110, 245, 0.4)); }
.funnel-stage.s3 { width: 70%; clip-path: polygon(0 0, 100% 0, 89.3% 100%, 10.7% 100%); background: linear-gradient(110deg, rgba(96, 110, 245, 0.5), rgba(34, 211, 238, 0.4)); }
.funnel-stage.s4 { width: 55%; clip-path: polygon(0 0, 100% 0, 86.4% 100%, 13.6% 100%); background: linear-gradient(110deg, rgba(34, 211, 238, 0.5), rgba(45, 212, 191, 0.42)); padding: 0 9%; }
.funnel-stage.s5 { width: 40%; clip-path: polygon(0 0, 100% 0, 87.5% 100%, 12.5% 100%); background: linear-gradient(110deg, rgba(45, 212, 191, 0.5), rgba(52, 211, 153, 0.45)); padding: 0 11%; font-size: 0.8rem; }
.funnel-stage.s5 .fs-pct { font-size: 0.6rem; }
.funnel-stage:hover { opacity: 1; filter: brightness(1.25); }
.funnel-stage.active { opacity: 1; filter: brightness(1.35) saturate(1.15); transform: scaleX(1.02); }
/* clip-path swallows outlines, so focus state uses brightness + the active glow */
.funnel-stage:focus-visible { filter: brightness(1.45) saturate(1.2); opacity: 1; }

.funnel-dots { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.funnel-dots .fd {
  position: absolute;
  top: -6%;
  left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  opacity: 0;
  animation: funnel-drop 3.6s linear infinite;
}
.funnel-dots .fd:nth-child(1) { margin-left: -10%; animation-delay: 0s; }
.funnel-dots .fd:nth-child(2) { margin-left: 6%; animation-delay: 0.55s; background: var(--accent-light); box-shadow: 0 0 8px var(--accent-light); }
.funnel-dots .fd:nth-child(3) { margin-left: -3%; animation-delay: 1.1s; }
.funnel-dots .fd:nth-child(4) { margin-left: 12%; animation-delay: 1.65s; background: var(--accent-light); box-shadow: 0 0 8px var(--accent-light); }
.funnel-dots .fd:nth-child(5) { margin-left: -14%; animation-delay: 2.2s; }
.funnel-dots .fd:nth-child(6) { margin-left: 2%; animation-delay: 2.75s; background: #34d399; box-shadow: 0 0 8px #34d399; }
.funnel-dots .fd:nth-child(7) { margin-left: 9%; animation-delay: 3.3s; }
@keyframes funnel-drop {
  0% { top: -3%; opacity: 0; }
  10% { opacity: 0.85; }
  80% { opacity: 0.85; }
  100% { top: 102%; opacity: 0; }
}

.journey-detail {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.journey-detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.1), transparent 55%);
  pointer-events: none;
}
.jd-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}
.journey-detail h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.journey-detail p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.4rem; }
.jd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.jd-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
  color: var(--accent-light);
  border: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.07);
}
.jd-stat {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
  border-top: 1px dashed var(--border);
  padding-top: 1.1rem;
}
.journey-detail.swap .jd-anim { animation: jd-in 0.45s var(--ease) both; }
@keyframes jd-in { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }

/* ── ROI CALCULATOR / GROWTH SIMULATOR (index) ────────────────── */
.roi-panel {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.roi-inputs { padding: 2.6rem 2.4rem; border-right: 1px solid var(--border); }
.roi-field { margin-bottom: 2.2rem; }
.roi-field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.9rem; }
.roi-field-head label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}
.roi-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.5);
}
.roi-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 6px;
}
.roi-note { color: var(--muted); font-size: 0.74rem; line-height: 1.6; margin-bottom: 1.6rem; }
.roi-cta { width: 100%; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--cyan) var(--fill, 50%), rgba(139, 92, 246, 0.18) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18), 0 0 18px rgba(34, 211, 238, 0.6);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18), 0 0 18px rgba(34, 211, 238, 0.6);
}
input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.35); }

.roi-dash { padding: 2.6rem 2.4rem; background: rgba(4, 6, 15, 0.45); }
.roi-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0 1.8rem; }
.roi-kpi {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: rgba(13, 16, 36, 0.5);
}
.roi-kpi.hi { border-color: var(--border-cyan); background: rgba(34, 211, 238, 0.05); box-shadow: inset 0 0 30px rgba(34, 211, 238, 0.05); }
.roi-kpi-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.roi-kpi-num {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.roi-kpi-num.up {
  background: linear-gradient(100deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
}
.roi-kpi-sub { color: var(--muted); font-size: 0.68rem; margin-top: 2px; }
.roi-bars { display: flex; flex-direction: column; gap: 12px; }
.roi-bar-row { display: grid; grid-template-columns: 64px 1fr 70px; align-items: center; gap: 12px; }
.roi-bar-name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.roi-bar-track { height: 14px; border-radius: 100px; background: rgba(139, 92, 246, 0.1); border: 1px solid var(--border); overflow: hidden; }
.roi-bar { height: 100%; border-radius: 100px; transition: width 0.7s var(--ease); }
.roi-bar.now { background: linear-gradient(90deg, #6d28d9, #8b5cf6); }
.roi-bar.fx { background: linear-gradient(90deg, #8b5cf6, #22d3ee, #34d399); box-shadow: 0 0 14px rgba(34, 211, 238, 0.45); }
.roi-bar-val { font-family: var(--font-mono); font-size: 0.72rem; color: var(--white); text-align: right; }

/* ── ORBITING PLATFORM SYSTEM (platforms header) ──────────────── */
.platforms-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem 4rem;
  margin-bottom: 4rem;
}
.platforms-header .section-header { margin-bottom: 0; }
.fx-orbit {
  position: relative;
  width: 320px;
  height: 320px;
  margin-right: 1rem;
  flex-shrink: 0;
}
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin: -32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.5) inset, 0 0 34px rgba(124, 58, 237, 0.55);
  animation: orbit-pulse 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes orbit-pulse { 50% { box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.5) inset, 0 0 54px rgba(124, 58, 237, 0.8); } }
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.3);
}
.orbit-ring.r1 { width: 190px; height: 190px; margin: -95px; --r: 95px; animation: spin-slow 26s linear infinite; }
.orbit-ring.r2 { width: 306px; height: 306px; margin: -153px; --r: 153px; border-color: rgba(34, 211, 238, 0.22); animation: spin-slow 40s linear infinite reverse; }
.orbit-chip {
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  margin: -23px;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
}
.orbit-chip-in {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--accent-light);
  background: var(--card-bg-solid);
  border: 1px solid var(--border-strong);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(139, 92, 246, 0.25);
  animation: spin-slow 26s linear infinite reverse;
}
.orbit-ring.r2 .orbit-chip-in {
  color: var(--cyan);
  border-color: var(--border-cyan);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(34, 211, 238, 0.2);
  animation: spin-slow 40s linear infinite;
}

/* ── ANIMATED METRIC RINGS (JS-injected) ──────────────────────── */
.fx-mring {
  width: 0.92em;
  height: 0.92em;
  margin-left: 0.3em;
  vertical-align: -0.08em;
  transform: rotate(-90deg);
  overflow: visible;
}
.fx-mring .ring-track { fill: none; stroke: rgba(139, 92, 246, 0.18); stroke-width: 3.6; }
.fx-mring .ring-arc {
  fill: none;
  stroke: url(#fxRingGrad);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.5s var(--ease);
  filter: drop-shadow(0 0 3px rgba(34, 211, 238, 0.6));
}
.fx-mring.on .ring-arc { stroke-dasharray: var(--val) 100; }

/* ── HERO WORD-BY-WORD ENTRANCE (JS-driven) ───────────────────── */
.h1-split .hw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  will-change: opacity, transform, filter;
}
.h1-split.h1-in .hw { opacity: 1; transform: none; filter: none; }

/* ── GIANT FOOTER WORDMARK (JS-injected) ──────────────────────── */
.fx-wordmark {
  overflow: hidden;
  text-align: center;
  line-height: 0.78;
  padding-top: 4rem;
  user-select: none;
}
.fx-wordmark span {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 12.5vw, 11rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(139, 92, 246, 0.38);
  background: linear-gradient(110deg, #8b5cf6 10%, #22d3ee 70%, #34d399 100%) bottom / 100% 12% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(10%);
  transition: background-size 0.9s var(--ease);
}
.fx-wordmark span:hover, .fx-wordmark.fill span { background-size: 100% 100%; }

/* ── LIVE RESULTS TICKER (JS-injected toasts) ─────────────────── */
.fx-ticker {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, calc(100vw - 96px));
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(11, 14, 32, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(124, 58, 237, 0.12);
  backdrop-filter: blur(12px);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.fx-ticker.show { transform: none; }
.fx-ticker-dot {
  width: 9px; height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.fx-ticker-text { font-size: 0.78rem; line-height: 1.45; color: var(--white); }
.fx-ticker-text strong { font-family: var(--font-display); font-weight: 600; }
.fx-ticker-text .tk-metric { font-family: var(--font-mono); font-size: 0.72rem; color: #34d399; white-space: nowrap; }
.fx-ticker-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
}
.fx-ticker-close:hover { color: var(--white); }

/* ── EXIT-INTENT AUDIT POPUP (JS-injected, desktop) ───────────── */
.fx-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 6, 15, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.fx-exit-overlay.show { opacity: 1; }
.fx-exit-modal {
  position: relative;
  max-width: 460px;
  width: 100%;
  padding: 2.6rem 2.4rem 2.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 23, 48, 0.96), rgba(9, 12, 29, 0.98));
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), var(--glow-violet);
  text-align: center;
  transform: translateY(22px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.fx-exit-overlay.show .fx-exit-modal { transform: none; }
.fx-exit-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), rgba(34, 211, 238, 0.6), transparent);
}
.fx-exit-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.fx-exit-modal h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.fx-exit-modal h3 span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fx-exit-modal p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
.fx-exit-modal .btn-primary { width: 100%; }
.fx-exit-skip {
  display: inline-block;
  margin-top: 0.9rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fx-exit-skip:hover { color: var(--white); }
.fx-exit-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 6px;
}
.fx-exit-close:hover { color: var(--white); }

/* ── NEWSLETTER BAND (JS-injected on blog pages) ──────────────── */
.fx-news {
  position: relative;
  max-width: 720px;
  margin: 4.5rem auto 0;
  padding: 2.6rem 2.4rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  text-align: center;
  overflow: hidden;
}
.fx-news::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(124, 58, 237, 0.18), transparent 60%);
  pointer-events: none;
}
.fx-news-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}
.fx-news h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.fx-news > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; }
.fx-news-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; position: relative; }
.fx-news-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 6, 15, 0.6);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s;
}
.fx-news-form input:focus { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.fx-news-form .btn-primary { padding: 13px 26px; white-space: nowrap; }
.fx-news-note { color: var(--muted); font-size: 0.7rem; margin-top: 0.9rem; }
.fx-news-done {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #34d399;
  padding: 0.6rem 0;
}
.fx-news-done a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .journey-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .roi-panel { grid-template-columns: 1fr; }
  .roi-inputs { border-right: none; border-bottom: 1px solid var(--border); }
  .platforms-header { grid-template-columns: 1fr; }
  .fx-orbit { margin: 0 auto; }
}
@media (max-width: 768px) {
  .funnel-stage { height: 54px; font-size: 0.78rem; }
  .funnel-stage .fs-pct { display: none; }
  .funnel-stage.s1 { width: 100%; }
  .funnel-stage.s2 { width: 88%; }
  .funnel-stage.s3 { width: 76%; }
  .funnel-stage.s4 { width: 64%; }
  .funnel-stage.s5 { width: 52%; }
  .journey-detail { padding: 1.8rem 1.5rem; }
  .roi-inputs, .roi-dash { padding: 1.8rem 1.4rem; }
  .roi-kpis { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .roi-kpi { padding: 0.85rem 0.9rem; }
  .roi-kpi-num { font-size: 1.15rem; }
  .fx-news { padding: 1.8rem 1.3rem; }
  .fx-news-form { flex-direction: column; }
  .fx-news-form .btn-primary { width: 100%; }
  .fx-fusion { margin-top: 2.5rem; }
  .fx-orbit { width: 260px; height: 260px; transform: scale(0.92); }
  .orbit-ring.r2 { width: 256px; height: 256px; margin: -128px; --r: 128px; }
  .orbit-ring.r1 { width: 160px; height: 160px; margin: -80px; --r: 80px; }
}

/* ── REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  #fable-bg, .fable-orb { display: none; }
  .fx-chart .ch-line { stroke-dashoffset: 0; }
  .fx-chart .ch-area, .fx-chart .ch-dot, .fx-chart .ch-tag { opacity: 1; }
  .funnel-dots { display: none; }
  .fx-mring .ring-arc { stroke-dasharray: var(--val) 100; }
  .h1-split .hw { opacity: 1; transform: none; filter: none; }
}
