﻿/* =========================================
   anyops.ai — Design System v2
   Brand: Deep Navy · Violet Primary · Teal Secondary
   Standard gradient: Violet #6d28d9 → Teal #0d9488
   ========================================= */

/* ===================================================
   ANIMATION KEYFRAMES
   =================================================== */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes shimmer-sweep {
  0%   { left: -60%; }
  100% { left: 140%; }
}
@keyframes ripple-expand {
  0%   { width: 0; height: 0; opacity: 0.45; }
  100% { width: 400px; height: 400px; opacity: 0; }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(109,40,217,0.3); }
  50%       { box-shadow: 0 0 40px rgba(109,40,217,0.6), 0 0 60px rgba(45,212,191,0.2); }
}
@keyframes border-trace {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── Neural canvas ── */
#neural-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.55;
}

/* ── Glitch effect on "Intelligent." ── */
@keyframes glitch-clip-1 {
  0%,100%{ clip-path: inset(0 0 98% 0); transform: translate(-3px, 0); }
  20%    { clip-path: inset(30% 0 50% 0); transform: translate(3px, 0); }
  40%    { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 1px); }
  60%    { clip-path: inset(15% 0 70% 0); transform: translate(2px, -1px); }
  80%    { clip-path: inset(80% 0 5% 0);  transform: translate(-1px, 2px); }
}
@keyframes glitch-clip-2 {
  0%,100%{ clip-path: inset(95% 0 0 0); transform: translate(3px, 0); }
  25%    { clip-path: inset(40% 0 45% 0); transform: translate(-3px, 1px); }
  50%    { clip-path: inset(70% 0 15% 0); transform: translate(2px, 0); }
  75%    { clip-path: inset(10% 0 80% 0); transform: translate(-2px, -1px); }
}
@keyframes glitch-skew {
  0%,90%,100%{ transform: skewX(0deg); }
  92%{ transform: skewX(-3deg); }
  94%{ transform: skewX(2deg); }
  96%{ transform: skewX(-1deg); }
}
.glitch-text {
  position: relative; display: inline-block;
  animation: glitch-skew 6s infinite;
}
.glitch-text::before, .glitch-text::after {
  content: attr(data-text); position: absolute; inset: 0;
  background: transparent;
}
.glitch-text::before {
  color: #f0abfc;
  animation: glitch-clip-1 5s infinite steps(1); opacity: 0.7;
}
.glitch-text::after {
  color: #67e8f9;
  animation: glitch-clip-2 5s infinite steps(1) 0.3s; opacity: 0.7;
}

/* ── Scanline overlay on dashboard panel ── */
@keyframes scanline-move {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.dyn-dash-panel { position: relative; overflow: hidden; }
.dyn-dash-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0,0,0,0.05) 3px, rgba(0,0,0,0.05) 4px
  );
  pointer-events: none; z-index: 10; border-radius: inherit;
}
.dyn-dash-panel::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(20,184,166,0.04) 0%, transparent 100%);
  pointer-events: none; z-index: 11; border-radius: inherit;
  animation: scanline-move 4s linear infinite;
}

/* ── Card 3D tilt ── */
.card { transform-style: preserve-3d; will-change: transform; }
.card.tilt-active {
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 30px rgba(109,40,217,0.2);
}

/* ── Typewriter cursor ── */
@keyframes blink-cursor { 0%,100%{ opacity:1; } 50%{ opacity:0; } }
.type-cursor {
  display: inline-block; width: 2px; height: 1.1em;
  background: #14b8a6; margin-left: 2px; vertical-align: middle;
  border-radius: 1px; animation: blink-cursor 1s step-end infinite;
}

/* ── Live threat ticker ── */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.threat-ticker-wrap {
  background: rgba(7,11,22,0.95);
  border-top: 1px solid rgba(109,40,217,0.25);
  border-bottom: 1px solid rgba(109,40,217,0.25);
  padding: 9px 0; overflow: hidden; position: relative;
}
.threat-ticker-track { display: flex; overflow: hidden; }
.threat-ticker-inner {
  display: inline-flex; gap: 0;
  animation: ticker-scroll 50s linear infinite;
  white-space: nowrap;
}
.threat-ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #64748b; padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.tt-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.tt-dot-ok   { background: #4ade80; box-shadow: 0 0 5px #4ade80; }
.tt-dot-warn { background: #f59e0b; box-shadow: 0 0 5px #f59e0b; }
.tt-dot-crit { background: #f87171; box-shadow: 0 0 5px #f87171; }
.tt-dot-info { background: #38bdf8; box-shadow: 0 0 5px #38bdf8; }
.ticker-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #6d28d9; padding-right: 20px; border-right: 1px solid rgba(109,40,217,0.3);
  margin-right: 4px; white-space: nowrap;
}

/* ===================================================
   PAGE LOAD — Hero staggered entry (CSS only)
   =================================================== */

/* Nav elements */
.nav-logo  { animation: fadeSlideLeft  0.55s cubic-bezier(0.22,1,0.36,1) both 0.05s; }
.nav-links { animation: fadeSlideUp    0.5s  cubic-bezier(0.22,1,0.36,1) both 0.12s; }
.nav-cta   { animation: fadeSlideRight 0.55s cubic-bezier(0.22,1,0.36,1) both 0.18s; }

/* Hero left — staggered cascade */
.dyn-hero-left .hero-badge       { animation: fadeSlideUp   0.6s cubic-bezier(0.22,1,0.36,1) both 0.25s; }
.dyn-hero-left .hero-headline    { animation: fadeSlideLeft 0.75s cubic-bezier(0.22,1,0.36,1) both 0.35s; }
.dyn-hero-left .hero-subheadline { animation: fadeSlideLeft 0.7s cubic-bezier(0.22,1,0.36,1) both 0.5s; }
.dyn-hero-left .hero-ctas        { animation: fadeSlideUp   0.65s cubic-bezier(0.22,1,0.36,1) both 0.65s; }
.dyn-hero-left .hero-trust-row   { animation: fadeSlideUp   0.6s cubic-bezier(0.22,1,0.36,1) both 0.8s; }

/* Hero right — slide from right */
.dyn-hero-right   { animation: fadeSlideRight 0.85s cubic-bezier(0.22,1,0.36,1) both 0.4s; }
.dfc-1            { animation: fadeScaleIn    0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.7s; }
.dfc-2            { animation: fadeScaleIn    0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.85s; }
.dfc-3            { animation: fadeScaleIn    0.55s cubic-bezier(0.34,1.56,0.64,1) both 0.78s; }

/* ===================================================
   SCROLL REVEAL SYSTEM
   .reveal starts hidden; JS adds .revealed on viewport entry
   =================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity  0.65s cubic-bezier(0.22,1,0.36,1),
    transform 0.65s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity:   1;
  transform: translateY(0);
}

/* Section headers reveal from slightly above */
.section-header.reveal { transform: translateY(-16px); }
.section-header.revealed { transform: translateY(0); }

/* Stat items — pop up with spring */
.stat-item.reveal { transform: translateY(20px) scale(0.95); transition-timing-function: cubic-bezier(0.34,1.56,0.64,1); }
.stat-item.revealed { transform: translateY(0) scale(1); }

/* Pipeline stages — subtle horizontal slide */
.ps-stage.reveal { transform: translateY(20px) scale(0.96); }
.ps-stage.revealed { transform: none; }

/* ===================================================
   BUTTON SHIMMER + RIPPLE
   =================================================== */

/* Shimmer sweep on hover */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
  transition: none;
}
.btn:hover::after {
  animation: shimmer-sweep 0.55s ease forwards;
}

/* Click ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ripple-expand 0.65s ease-out forwards;
  width: 0; height: 0;
}

/* Primary button — glow pulse on hover */
.btn-primary:hover {
  animation: glow-pulse 1.5s ease-in-out infinite;
}

/* ===================================================
   ENHANCED CARD HOVER EFFECTS
   =================================================== */

/* Smooth spring-like lift on all cards */
.card,
.use-case-card,
.case-study-card,
.pricing-card,
.resource-card,
.fde-card,
.arch-stage,
.fde-step {
  transition:
    transform     0.35s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow    0.35s ease,
    border-color  0.35s ease,
    background    0.3s ease;
  will-change: transform;
}

/* Icon glow on card hover — category matched */
.card-ai:hover     .card-icon { box-shadow: 0 0 20px rgba(45,212,191,0.4); }
.card-devops:hover .card-icon  { box-shadow: 0 0 20px rgba(139,92,246,0.4); }
.card-devsecops:hover .card-icon { box-shadow: 0 0 20px rgba(245,158,11,0.35); }
.card-cyber:hover  .card-icon  { box-shadow: 0 0 20px rgba(251,113,133,0.4); }

/* Pricing featured card — animated border gradient on hover */
.pricing-card-featured:hover {
  box-shadow: 0 0 0 2px transparent, var(--shadow-glow-brand), var(--shadow-card);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Nav link — smooth gradient underline */
.nav-link {
  transition: color 200ms ease, background 200ms ease;
}

/* Form inputs — smooth focus glow */
.form-input,
.form-select,
.form-textarea {
  transition:
    border-color 0.25s ease,
    box-shadow   0.25s ease,
    background   0.25s ease;
}

/* Compliance badges — lift on hover */
.compliance-badge,
.trust-badge {
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}
.compliance-badge:hover,
.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(109,40,217,0.2);
}

/* Section tags — subtle lift */
.section-tag {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section-tag:hover {
  transform: translateY(-2px);
}

/* Dashboard floating cards — enhanced bob */
.dyn-float-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dyn-float-card:hover {
  transform: translateY(-6px) scale(1.04) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 24px rgba(109,40,217,0.3);
}

/* FDE lifecycle steps */
.fde-step {
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.3s ease;
}

/* Stat items — spring on hover */
.stat-item {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}
.stat-item:hover { transform: translateY(-4px); }

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===== TYPE HIERARCHY ===== */

/* ── Display headings — Space Grotesk ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.1;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ── Body text — DM Sans ── */
p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Strong inline text ── */
strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Monospace ── */
code, .mono, kbd {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

/* ===== GLOBAL STANDARDIZATION ===== */

/* All major section alternation — only 2 backgrounds throughout */
.bg-dark-alt,
.services-section.bg-dark-alt,
.case-studies-section,
.pricing-section,
.contact-section {
  background: var(--bg-elevated) !important;
}

/* Standard section padding */
.services-section,
.ai-security-section,
.use-cases-section,
.architecture-section,
.fde-section,
.resources-section {
  background: var(--bg-primary);
}

/* All section headings — consistent gradient on key words via .text-gradient */
.section-title {
  color: var(--text-primary);
}

/* All cards — standardized base */
.card,
.use-case-card,
.case-study-card,
.pricing-card,
.resource-card,
.fde-card,
.arch-stage {
  background: var(--bg-card);
  border-color: var(--border-subtle);
}

/* All card hover — unified motion */
.card:hover,
.use-case-card:hover,
.case-study-card:hover,
.pricing-card:hover,
.resource-card:hover,
.fde-card:hover,
.arch-stage:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow-brand);
  border-color: var(--border-medium);
}

/* All primary buttons — brand gradient */
.btn-primary {
  background: var(--brand-gradient) !important;
  box-shadow: 0 4px 20px rgba(109,40,217,0.4), 0 0 0 1px rgba(139,92,246,0.15);
}
.btn-primary:hover {
  background: var(--brand-gradient-hover) !important;
  box-shadow: 0 6px 28px rgba(109,40,217,0.55), 0 0 0 1px rgba(139,92,246,0.3);
  transform: translateY(-1px);
}

/* All ghost buttons — violet-tinted */
.btn-ghost {
  border-color: var(--border-medium) !important;
  background: rgba(109,40,217,0.05) !important;
}
.btn-ghost:hover {
  border-color: var(--border-strong) !important;
  background: rgba(109,40,217,0.1) !important;
  color: var(--violet-300) !important;
}

/* Standard brand gradient for text highlights */
.text-gradient {
  background: var(--brand-gradient-text) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Stat numbers — brand gradient */
.stat-number,
.cs-metric,
.ais-metric-num,
.hero-metric-val,
.cs-proof-val,
.fde-stat-num {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* All section dividers — violet-tinted */
.cs-divider,
.uc-card-footer,
.card-tags {
  border-color: var(--border-subtle);
}

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

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

ul, ol {
  list-style: none;
}

/* ===== DESIGN TOKENS ===== */
:root {
  /* ── Brand Gradient (universal primary) ── */
  --brand-gradient:       linear-gradient(135deg, #6d28d9 0%, #0d9488 100%);
  --brand-gradient-hover: linear-gradient(135deg, #7c3aed 0%, #14b8a6 100%);
  --brand-gradient-text:  linear-gradient(135deg, #a78bfa 0%, #2dd4bf 60%, #67e8f9 100%);

  /* ── Backgrounds ── */
  --bg-deep:     #060b14;   /* deepest — page body */
  --bg-primary:  #0b0f1c;   /* standard section bg */
  --bg-elevated: #101625;   /* alt section bg */
  --bg-card:     #141d2e;   /* card surfaces */
  --bg-card-alt: #1a2438;   /* card hover / deeper surfaces */

  /* ── Navy scale (kept for compatibility) ── */
  --navy-900: #060b14;
  --navy-800: #0b0f1c;
  --navy-700: #101625;
  --navy-600: #141d2e;
  --navy-500: #1e2d45;
  --navy-400: #2a3f60;

  /* ── Violet (brand primary) ── */
  --violet-600: #5b21b6;
  --violet-500: #6d28d9;
  --violet-400: #8b5cf6;
  --violet-300: #c4b5fd;
  --violet-200: #ddd6fe;

  /* ── Teal (brand secondary) ── */
  --teal-600:  #0f766e;
  --teal-500:  #0d9488;
  --teal-400:  #2dd4bf;
  --teal-300:  #5eead4;
  --teal-200:  #99f6e4;

  /* ── Cyan ── */
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;

  /* ── Kept for sections that need them ── */
  --indigo-500: #5b21b6;
  --indigo-400: #7c3aed;
  --indigo-300: #a78bfa;
  --rose-500:   #e11d48;
  --rose-400:   #fb7185;
  --amber-400:  #f59e0b;
  --amber-300:  #fcd34d;
  --green-400:  #4ade80;
  --red-400:    #f87171;

  /* ── Text ── */
  --text-primary:   #eef2ff;
  --text-secondary: #8b9cbf;
  --text-muted:     #4a5678;

  /* ── Borders — violet-tinted for cohesion ── */
  --border-subtle: rgba(109, 40, 217, 0.12);
  --border-medium: rgba(109, 40, 217, 0.22);
  --border-strong: rgba(109, 40, 217, 0.40);

  /* ── Spacing ── */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* ── Radius ── */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* ── Shadows ── */
  --shadow-card:        0 4px 32px rgba(0,0,0,0.5);
  --shadow-glow-brand:  0 0 40px rgba(109,40,217,0.2);
  --shadow-glow-teal:   0 0 40px rgba(45,212,191,0.2);
  --shadow-glow-indigo: 0 0 40px rgba(109,40,217,0.25);
  --shadow-glow-violet: 0 0 40px rgba(139,92,246,0.3);

  /* ── Typography ── */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* ===== TYPOGRAPHY — overrides handled in TYPE HIERARCHY block above ===== */
/* Keeping these minimal since Space Grotesk rules are set globally */
p { color: var(--text-secondary); }

.text-gradient {
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--cyan-400) 40%, var(--violet-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-left { text-align: left; }

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

/* ── Specific element font assignments ── */

/* Logo — display font */
.logo-text { font-family: var(--font-display); letter-spacing: -0.03em; }

/* Nav — body font */
.nav-link, .mobile-nav-link { font-family: var(--font-body); }

/* Buttons — body font, semi-bold */
.btn { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.015em; }

/* Section tags / badges — body font, uppercase */
.section-tag,
.tag-ai, .tag-devops, .tag-devsecops, .tag-cyber, .tag-neutral, .tag-fde,
.uc-tag, .resource-type, .csc-ind-badge, .compliance-badge,
.trust-badge, .uc-ind { font-family: var(--font-body); }

/* Card titles — display font */
.card-title, .fde-card-title, .uc-title, .cs-title,
.resource-title, .pricing-title, .arch-stage-title,
.fde-step-title, .ps-label { font-family: var(--font-display); }

/* Card body text — body font */
.card-body, .fde-card-body, .uc-problem, .uc-solution,
.cs-body, .resource-desc, .pricing-desc { font-family: var(--font-body); }

/* Section subtitles — body font, slightly larger */
.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
}

/* Hero headline — display font (reinforced) */
.hero-headline { font-family: var(--font-display); }

/* Hero subheadline — body font */
.hero-subheadline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.75;
}

/* Form labels — body font, medium weight */
.form-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Form inputs — body font */
.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
}

/* Metric numbers — display font for impact */
.stat-number, .hero-metric-val, .cs-metric,
.ais-metric-num, .cs-proof-val, .fde-stat-num,
.uc-metric-val, .ddp-val, .dfc-num {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

/* Small labels / uppercase caps — body font */
.stat-label, .hero-metric-lbl, .cs-metric-label,
.ais-metric-lbl, .cd-label, .csc-duration,
.ddp-key, .dfc-lbl {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.07em;
}

/* Testimonial / quote — body font italic */
.cq-text { font-family: var(--font-body); font-style: italic; }

/* Footer nav titles — display font */
.footer-nav-title { font-family: var(--font-display); letter-spacing: 0.05em; }

/* Footer links — body font */
.footer-link, .footer-copy, .footer-disclaimer,
.footer-tagline, .footer-desc { font-family: var(--font-body); }

/* All monospace elements stay on mono */
.arch-number, .arch-bullets li, .ddp-title, .ddp-bar-label,
.ddp-feed-item, .console-body, .console-title,
.fde-step-num, .ps-num, .cn-step-num, .csc-ba-val,
.uc-metric-val { font-family: var(--font-mono); }

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.mt-lg { margin-top: var(--space-2xl); }

.bg-dark-alt {
  background-color: var(--bg-elevated);
}

/* ── Unified card backgrounds ── */
.card,
.use-case-card,
.case-study-card,
.pricing-card,
.resource-card,
.fde-card,
.arch-stage,
.ps-stage,
.contact-form-wrap {
  background: var(--bg-card);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet-500) 0%, var(--indigo-400) 50%, var(--teal-500) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(124,58,237,0.45), 0 0 0 1px rgba(139,92,246,0.2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--violet-400) 0%, var(--indigo-300) 50%, var(--teal-400) 100%);
  box-shadow: 0 6px 30px rgba(124,58,237,0.6), 0 0 0 1px rgba(139,92,246,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border-color: rgba(139,92,246,0.25);
}
.btn-ghost:hover {
  background: rgba(139,92,246,0.08);
  border-color: rgba(139,92,246,0.45);
  color: var(--violet-300);
}

.btn-outline {
  background: transparent;
  color: var(--teal-400);
  border-color: var(--teal-500);
}
.btn-outline:hover {
  background: rgba(45,212,191,0.08);
  border-color: var(--teal-400);
  box-shadow: 0 0 16px rgba(45,212,191,0.2);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION TAGS ===== */
.section-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* ── Section tags — standardized sizing, unique accent colors ── */
.tag-ai       { background: rgba(45,212,191,0.1);   color: var(--teal-300);   border: 1px solid rgba(45,212,191,0.25); }
.tag-devops   { background: rgba(139,92,246,0.12);  color: var(--violet-300); border: 1px solid rgba(139,92,246,0.25); }
.tag-devsecops{ background: rgba(245,158,11,0.1);   color: var(--amber-300);  border: 1px solid rgba(245,158,11,0.25); }
.tag-cyber    { background: rgba(251,113,133,0.1);  color: var(--rose-400);   border: 1px solid rgba(251,113,133,0.25); }
.tag-neutral  { background: rgba(109,40,217,0.08);  color: var(--violet-300); border: 1px solid var(--border-medium); }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title { margin-bottom: var(--space-md); }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== SERVICES SECTIONS ===== */
.services-section {
  padding: var(--space-4xl) 0;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  gap: var(--space-lg);
}

.cards-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-medium);
}
.card:hover::before { opacity: 1; }

/* Card top accent borders — all use brand gradient, section variants */
.card-ai::before       { background: linear-gradient(90deg, var(--violet-500), var(--teal-400)); }
.card-devops::before   { background: linear-gradient(90deg, var(--violet-500), var(--teal-400)); }
.card-devsecops::before{ background: linear-gradient(90deg, var(--amber-400), var(--violet-400)); }
.card-cyber::before    { background: linear-gradient(90deg, var(--rose-400), var(--violet-400)); }

.card-ai:hover    { box-shadow: var(--shadow-card), 0 0 30px rgba(45,212,191,0.12); border-color: rgba(45,212,191,0.2); }
.card-devops:hover{ box-shadow: var(--shadow-card), 0 0 30px rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.2); }
.card-devsecops:hover{ box-shadow: var(--shadow-card), 0 0 30px rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); }
.card-cyber:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(251,113,133,0.12); border-color: rgba(251,113,133,0.2); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.card-ai    .card-icon { background: rgba(45,212,191,0.15);  color: var(--teal-400);   border: 1px solid rgba(45,212,191,0.2); }
.card-devops .card-icon{ background: rgba(139,92,246,0.15);  color: var(--violet-400); border: 1px solid rgba(139,92,246,0.2); }
.card-devsecops .card-icon{ background: rgba(245,158,11,0.12); color: var(--amber-400); border: 1px solid rgba(245,158,11,0.2); }
.card-cyber .card-icon { background: rgba(251,113,133,0.12); color: var(--rose-400);   border: 1px solid rgba(251,113,133,0.2); }

/* ── DevSecOps card per-color overrides ── */
.dso-amber::before  { background: linear-gradient(90deg, var(--amber-400), #f97316); }
.dso-amber:hover    { box-shadow: var(--shadow-card), 0 0 30px rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.25); }
.dso-amber .card-icon { background: rgba(245,158,11,0.12); color: var(--amber-400); border-color: rgba(245,158,11,0.25); }
.dso-amber .card-outcome { background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.2); color: var(--amber-300); }

.dso-violet::before { background: linear-gradient(90deg, var(--violet-400), var(--indigo-300)); }
.dso-violet:hover   { box-shadow: var(--shadow-card), 0 0 30px rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.25); }
.dso-violet .card-icon { background: rgba(139,92,246,0.15); color: var(--violet-400); border-color: rgba(139,92,246,0.25); }
.dso-violet .card-outcome { background: rgba(139,92,246,0.07); border-color: rgba(139,92,246,0.2); color: var(--violet-300); }
.dso-violet .card-features li::before { background: var(--violet-400); }

.dso-teal::before   { background: linear-gradient(90deg, var(--teal-400), var(--cyan-400)); }
.dso-teal:hover     { box-shadow: var(--shadow-card), 0 0 30px rgba(45,212,191,0.15); border-color: rgba(45,212,191,0.25); }
.dso-teal .card-icon { background: rgba(45,212,191,0.12); color: var(--teal-400); border-color: rgba(45,212,191,0.25); }
.dso-teal .card-outcome { background: rgba(45,212,191,0.07); border-color: rgba(45,212,191,0.2); color: var(--teal-300); }
.dso-teal .card-features li::before { background: var(--teal-400); }

.dso-rose::before   { background: linear-gradient(90deg, var(--rose-400), #fb923c); }
.dso-rose:hover     { box-shadow: var(--shadow-card), 0 0 30px rgba(251,113,133,0.15); border-color: rgba(251,113,133,0.25); }
.dso-rose .card-icon { background: rgba(251,113,133,0.12); color: var(--rose-400); border-color: rgba(251,113,133,0.25); }
.dso-rose .card-outcome { background: rgba(251,113,133,0.07); border-color: rgba(251,113,133,0.2); color: var(--rose-400); }
.dso-rose .card-features li::before { background: var(--rose-400); }

/* ── Cyber card per-color overrides ── */
.cyber-rose::before   { background: linear-gradient(90deg, var(--rose-400), #f43f5e); }
.cyber-rose:hover     { box-shadow: var(--shadow-card), 0 0 32px rgba(251,113,133,0.18); border-color: rgba(251,113,133,0.3); }
.cyber-rose .card-icon{ background: rgba(251,113,133,0.12); color: var(--rose-400); border: 1px solid rgba(251,113,133,0.25); }
.cyber-rose .card-outcome { background: rgba(251,113,133,0.07); border-color: rgba(251,113,133,0.2); color: var(--rose-400); }
.cyber-rose .card-features li::before { background: var(--rose-400); }

.cyber-violet::before { background: linear-gradient(90deg, var(--violet-400), var(--indigo-300)); }
.cyber-violet:hover   { box-shadow: var(--shadow-card), 0 0 32px rgba(139,92,246,0.18); border-color: rgba(139,92,246,0.3); }
.cyber-violet .card-icon{ background: rgba(139,92,246,0.12); color: var(--violet-400); border: 1px solid rgba(139,92,246,0.25); }
.cyber-violet .card-outcome { background: rgba(139,92,246,0.07); border-color: rgba(139,92,246,0.2); color: var(--violet-300); }
.cyber-violet .card-features li::before { background: var(--violet-400); }

.cyber-indigo::before { background: linear-gradient(90deg, var(--indigo-400), var(--violet-300)); }
.cyber-indigo:hover   { box-shadow: var(--shadow-card), 0 0 32px rgba(99,102,241,0.18); border-color: rgba(99,102,241,0.3); }
.cyber-indigo .card-icon{ background: rgba(99,102,241,0.12); color: var(--indigo-300); border: 1px solid rgba(99,102,241,0.25); }
.cyber-indigo .card-outcome { background: rgba(99,102,241,0.07); border-color: rgba(99,102,241,0.2); color: var(--indigo-300); }
.cyber-indigo .card-features li::before { background: var(--indigo-300); }

.cyber-teal::before   { background: linear-gradient(90deg, var(--teal-400), var(--cyan-400)); }
.cyber-teal:hover     { box-shadow: var(--shadow-card), 0 0 32px rgba(45,212,191,0.15); border-color: rgba(45,212,191,0.3); }
.cyber-teal .card-icon{ background: rgba(45,212,191,0.12); color: var(--teal-400); border: 1px solid rgba(45,212,191,0.25); }
.cyber-teal .card-outcome { background: rgba(45,212,191,0.07); border-color: rgba(45,212,191,0.2); color: var(--teal-300); }
.cyber-teal .card-features li::before { background: var(--teal-400); }

.cyber-amber::before  { background: linear-gradient(90deg, var(--amber-400), #f97316); }
.cyber-amber:hover    { box-shadow: var(--shadow-card), 0 0 32px rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.3); }
.cyber-amber .card-icon{ background: rgba(245,158,11,0.12); color: var(--amber-400); border: 1px solid rgba(245,158,11,0.25); }
.cyber-amber .card-outcome { background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.2); color: var(--amber-300); }
.cyber-amber .card-features li::before { background: var(--amber-400); }

.cyber-green::before  { background: linear-gradient(90deg, #4ade80, #22d3ee); }
.cyber-green:hover    { box-shadow: var(--shadow-card), 0 0 32px rgba(74,222,128,0.15); border-color: rgba(74,222,128,0.3); }
.cyber-green .card-icon{ background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
.cyber-green .card-outcome { background: rgba(74,222,128,0.07); border-color: rgba(74,222,128,0.2); color: #86efac; }
.cyber-green .card-features li::before { background: #4ade80; }

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* Feature bullet list inside cards */
.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: var(--space-md);
  padding: 0;
  list-style: none;
}

.card-features li {
  font-size: 0.845rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-400);
  opacity: 0.7;
}

/* Outcome callout row */
.card-outcome {
  font-size: 0.8rem;
  color: var(--teal-300);
  background: rgba(20,184,166,0.07);
  border: 1px solid rgba(20,184,166,0.18);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  line-height: 1.5;
  margin-bottom: var(--space-md);
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.outcome-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Technology tags at card bottom */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-subtle);
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.card:hover .card-tag {
  color: var(--text-secondary);
  border-color: var(--border-medium);
}

/* Make AI cards stretch so tags always sit at the bottom */
.card-ai {
  display: flex;
  flex-direction: column;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,11,20,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Gradient bottom border line */
  border-bottom: 0;
  box-shadow:
    0 1px 0 0 rgba(109,40,217,0.25),
    0 4px 24px rgba(0,0,0,0.4);
}

/* Glowing gradient line at nav bottom */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(109,40,217,0.6) 20%,
    rgba(45,212,191,0.8) 50%,
    rgba(109,40,217,0.6) 80%,
    transparent 100%);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ── Coin-flip keyframes ── */
@keyframes coin-flip {
  /* sit still */
  0%, 15% {
    transform: perspective(600px) rotateY(0deg) translateY(0px);
    box-shadow: 0 0 12px rgba(20,184,166,0.3), 0 0 3px rgba(20,184,166,0.5);
  }
  /* accelerate into flip */
  30% {
    transform: perspective(600px) rotateY(90deg) translateY(-4px);
    box-shadow: 0 8px 18px rgba(20,184,166,0.15);
  }
  /* halfway — back face */
  45% {
    transform: perspective(600px) rotateY(180deg) translateY(0px);
    box-shadow: 0 0 12px rgba(20,184,166,0.3), 0 0 3px rgba(20,184,166,0.5);
  }
  /* second half flip */
  60% {
    transform: perspective(600px) rotateY(270deg) translateY(-4px);
    box-shadow: 0 8px 18px rgba(20,184,166,0.15);
  }
  /* land & settle with a tiny bounce */
  75%, 80% {
    transform: perspective(600px) rotateY(360deg) translateY(2px);
    box-shadow: 0 0 14px rgba(20,184,166,0.35), 0 0 4px rgba(20,184,166,0.6);
  }
  85% {
    transform: perspective(600px) rotateY(360deg) translateY(-1px);
  }
  /* rest */
  90%, 100% {
    transform: perspective(600px) rotateY(360deg) translateY(0px);
    box-shadow: 0 0 12px rgba(20,184,166,0.3), 0 0 3px rgba(20,184,166,0.5);
  }
}

/* Logo image — circular with brand gradient glow */
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  object-position: 50% 18%;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  border: 2px solid rgba(109,40,217,0.5);
  box-shadow:
    0 0 14px rgba(109,40,217,0.35),
    0 0 28px rgba(45,212,191,0.15),
    0 0 4px rgba(139,92,246,0.5);
  filter: brightness(1.1) saturate(1.2) contrast(1.05);
  animation: coin-flip 4.5s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

.logo-img:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 20px rgba(109,40,217,0.55),
    0 0 40px rgba(45,212,191,0.25),
    0 0 8px rgba(139,92,246,0.7);
}

.footer-logo .logo-img {
  height: 52px;
  width: 52px;
  animation-delay: -1.5s; /* offset so footer & nav don't flip in sync */
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo-accent {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Nav link with gradient underline on hover */
.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  position: relative;
  transition: color 200ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.65rem;
  right: 0.65rem;
  height: 1.5px;
  background: var(--brand-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(109,40,217,0.07);
}
.nav-link:hover::after {
  transform: scaleX(1);
}

/* CTA button — enhanced */
.nav-cta {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.55rem 1.125rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 20px rgba(109,40,217,0.4),
    0 0 40px rgba(45,212,191,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: box-shadow 200ms ease, transform 150ms ease;
}
.nav-cta:hover {
  box-shadow:
    0 0 30px rgba(109,40,217,0.6),
    0 0 60px rgba(45,212,191,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  background: var(--navy-700);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-lg) var(--space-xl);
}
.mobile-menu[hidden] { display: none; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}
.mobile-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.mobile-cta {
  margin-top: var(--space-md);
  width: 100%;
  justify-content: center;
}

/* ===================================================
   DYNAMIC LAYOUT SYSTEM
   =================================================== */

/* ── Diagonal section dividers ── */
.diag-top {
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--space-4xl) + 80px);
  margin-top: -80px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .diag-top {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    padding-top: calc(var(--space-3xl) + 40px);
    margin-top: -40px;
  }
}

/* ── Stats strip overlap ── */
.stats-overlap {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  border-top: 1px solid var(--border-medium);
  box-shadow: 0 -4px 40px rgba(109,40,217,0.1);
}

/* ── Dynamic Hero ── */
.dyn-hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--space-4xl) * 0.8) 0 calc(var(--space-4xl) + 120px) !important;
  text-align: left !important;
  overflow: visible !important;
}

/* Hero diagonal bottom wedge */
.hero-diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--bg-primary);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

.dyn-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left content — left-aligned */
.dyn-hero-left .hero-badge       { justify-content: flex-start; }
.dyn-hero-left .hero-headline    { text-align: left; font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.05; }
.dyn-hero-left .hero-subheadline { margin: var(--space-lg) 0 var(--space-xl); text-align: left; max-width: 480px; }
.dyn-hero-left .hero-ctas        { justify-content: flex-start; }
.dyn-hero-left .hero-trust-row   { justify-content: flex-start; }
.dyn-hero-left .hero-metrics     { display: none; } /* Moved to floating cards */

/* Right panel */
.dyn-hero-right {
  position: relative;
  height: 520px;
}

/* Dashboard panel — 3D tilted */
.dyn-dash-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: -40px; /* Bleeds off container */
  background: rgba(6,11,20,0.95);
  border: 1px solid rgba(109,40,217,0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.7),
    0 0 0 1px rgba(109,40,217,0.08),
    0 0 100px rgba(109,40,217,0.12),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg) translateZ(0);
  transition: transform 0.5s ease;
}
.dyn-dash-panel:hover {
  transform: perspective(900px) rotateY(-2deg) rotateX(0deg) translateZ(10px);
}

/* Dashboard header */
.ddp-header {
  background: rgba(15,21,37,0.98);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(109,40,217,0.15);
}
.ddp-dot { width: 10px; height: 10px; border-radius: 50%; }
.ddp-red    { background: #ef4444; }
.ddp-yellow { background: #f59e0b; }
.ddp-green  { background: #22c55e; }
.ddp-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 6px;
  flex: 1;
}
.ddp-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 999px;
  padding: 2px 7px;
}
.ddp-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Metrics row */
.ddp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(109,40,217,0.1);
  border-bottom: 1px solid rgba(109,40,217,0.12);
}
.ddp-metric {
  background: rgba(6,11,20,0.9);
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.ddp-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.ddp-key {
  display: block;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}
.ddp-green-val { color: #4ade80; }
.ddp-amber-val { color: var(--amber-400); }
.ddp-teal-val  { color: var(--teal-400); }

/* Bar chart */
.ddp-bars {
  padding: 1rem;
  border-bottom: 1px solid rgba(109,40,217,0.1);
}
.ddp-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 72px;
  margin-bottom: 6px;
}
.ddp-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(109,40,217,0.6), rgba(45,212,191,0.4));
  border-radius: 2px 2px 0 0;
  transition: opacity 0.2s;
}
.ddp-bar:hover { opacity: 0.8; }
.ddp-bar-alert {
  background: linear-gradient(to top, rgba(251,113,133,0.8), rgba(248,113,113,0.5));
  box-shadow: 0 0 8px rgba(251,113,133,0.4);
}
.ddp-bar-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: right;
  font-family: var(--font-mono);
}

/* Feed items */
.ddp-feed {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ddp-feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.ddp-feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ddp-feed-ok   .ddp-feed-dot { background: #4ade80; }
.ddp-feed-warn .ddp-feed-dot { background: var(--amber-400); }
.ddp-feed-info .ddp-feed-dot { background: var(--teal-400); }
.ddp-feed-warn { color: var(--amber-300); }
.ddp-feed-ok   { color: #86efac; }

/* Floating stat cards */
.dyn-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(109,40,217,0.1);
  z-index: 10;
  animation: float-bob 4s ease-in-out infinite;
}
.dyn-float-card .dfc-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
}
.dyn-float-card .dfc-lbl {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
  white-space: nowrap;
}

/* Position each floating card */
.dfc-1 { top: -24px; left: -32px; animation-delay: 0s; }
.dfc-2 { bottom: 60px; left: -44px; animation-delay: 1.5s; }
.dfc-3 { bottom: -20px; right: 20px; animation-delay: 0.8s; }

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

/* ── Responsive hero ── */
@media (max-width: 1024px) {
  .dyn-hero-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .dyn-hero-right { height: 380px; }
  .dyn-dash-panel { right: 0; transform: none; }
  .dfc-1 { top: -16px; left: 20px; }
  .dfc-2 { display: none; }
  .dfc-3 { bottom: -16px; right: 16px; }
  .dyn-hero-left .hero-headline { font-size: clamp(2rem, 7vw, 3.5rem); }
}
@media (max-width: 768px) {
  .dyn-hero { padding-bottom: calc(var(--space-3xl) + 80px) !important; }
  .hero-diagonal { height: 80px; }
  .dyn-hero-right { display: none; }
  .dyn-hero-left .hero-headline { font-size: clamp(2rem, 9vw, 3rem) !important; }
  .stats-overlap { margin-top: -40px; }
  .diag-top { clip-path: none; padding-top: var(--space-3xl); margin-top: 0; }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: var(--space-4xl) 0 calc(var(--space-4xl) * 1.25);
  overflow: hidden;
  text-align: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.shape-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--violet-500), var(--indigo-500));
  top: -250px; left: -150px;
}
.shape-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, var(--teal-400), var(--cyan-400));
  top: -120px; right: -180px;
  opacity: 0.25;
}
.shape-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, var(--violet-400), var(--rose-500));
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  opacity: 0.1;
}

/* ===================================================
   PREMIUM REDESIGN ADDITIONS
   =================================================== */

/* ── Hero full viewport + dot grid ── */
.dyn-hero {
  min-height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.dyn-hero-left .hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.055em !important;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── Tech Marquee ── */
.tech-marquee {
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.875rem 0;
  overflow: hidden;
  z-index: 5;
}
.marquee-track {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  animation: marquee-scroll 38s linear infinite;
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.tech-marquee:hover .marquee-inner { animation-play-state: paused; }
.mt-item {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 1.75rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.mt-item:hover { color: var(--teal-400); }
.mt-sep {
  color: rgba(109,40,217,0.5);
  margin-right: 1.75rem;
  font-size: 0.75rem;
}
/* Edge fade masks */
.marquee-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade-left  { left: 0;  background: linear-gradient(to right, var(--bg-card), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left,  var(--bg-card), transparent); }

/* ── AI Bento Grid ── */
.cards-ai-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
}
.cards-ai-bento .card           { grid-column: span 4; }
.cards-ai-bento .card-ai-featured {
  grid-column: span 6;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(45,212,191,0.07) 0%, rgba(109,40,217,0.05) 100%);
  border-color: rgba(45,212,191,0.15);
}
.cards-ai-bento .card-ai-featured .card-icon { width: 64px; height: 64px; }
.cards-ai-bento .card-ai-featured .card-title { font-size: 1.375rem !important; }
.cards-ai-bento .card-ai-featured .card-body  { font-size: 1rem; line-height: 1.75; }

@media (max-width: 1024px) {
  .cards-ai-bento { grid-template-columns: repeat(2, 1fr); }
  .cards-ai-bento .card           { grid-column: span 1; }
  .cards-ai-bento .card-ai-featured { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
  .cards-ai-bento { grid-template-columns: 1fr; }
  .cards-ai-bento .card,
  .cards-ai-bento .card-ai-featured { grid-column: span 1; grid-row: span 1; }
}

/* ── Section background numbers ── */
.section-header { position: relative; overflow: hidden; }
.section-bg-num {
  position: absolute;
  top: -0.2em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(135deg, rgba(109,40,217,0.06), rgba(45,212,191,0.03));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-header > *:not(.section-bg-num) { position: relative; z-index: 1; }

/* ── More generous whitespace ── */
.services-section { padding: calc(var(--space-4xl) * 1.25) 0; }
.section-header   { margin-bottom: calc(var(--space-3xl) * 1.25); }

/* ── Premium glass card hover ── */
.card:hover,
.use-case-card:hover,
.case-study-card:hover {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: rgba(30,40,65,0.85) !important;
}

/* ── Bigger, bolder stat numbers ── */
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.75rem) !important;
  font-weight: 800 !important;
}
.stats-strip { padding: var(--space-3xl) 0; }

/* ── Premium hero badge ── */
.hero-badge {
  font-size: 0.875rem !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

/* ── Bigger section subtitles ── */
.section-subtitle {
  font-size: 1.125rem !important;
  max-width: 620px !important;
  line-height: 1.8 !important;
}

/* ── Hero subheadline larger ── */
.dyn-hero-left .hero-subheadline {
  font-size: 1.125rem !important;
  line-height: 1.75 !important;
  max-width: 520px;
  color: var(--text-secondary);
}

/* ── Smooth mouse glow helper (applied via JS) ── */
.hero-mouse-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,40,217,0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.2s ease, top 0.2s ease;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, rgba(109,40,217,0.12), rgba(13,148,136,0.1));
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--violet-300);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xl);
  box-shadow: 0 0 20px rgba(139,92,246,0.15);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-family: var(--font-display);
  margin-bottom: var(--space-xl);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* Social proof metrics strip */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg) var(--space-2xl);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
}
.hero-metric { text-align: center; }
.hero-metric-val {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero-metric-lbl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
  white-space: nowrap;
}
.hero-metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* Trust / compliance strip */
.hero-trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8125rem;
}
.hero-trust-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 4px;
}
.trust-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.tb-iso   { background: rgba(45,212,191,0.1);  color: var(--teal-300);   border: 1px solid rgba(45,212,191,0.2); }
.tb-soc   { background: rgba(139,92,246,0.1);  color: var(--violet-300); border: 1px solid rgba(139,92,246,0.2); }
.tb-hipaa { background: rgba(99,102,241,0.1);  color: var(--indigo-300); border: 1px solid rgba(99,102,241,0.2); }
.tb-pci   { background: rgba(245,158,11,0.08); color: var(--amber-300);  border: 1px solid rgba(245,158,11,0.2); }
.tb-nist  { background: rgba(251,113,133,0.08);color: var(--rose-400);   border: 1px solid rgba(251,113,133,0.2); }

.trust-sep { color: var(--border-medium); }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: var(--space-xl);
  text-align: center;
  align-items: center;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-medium);
  align-self: center;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto var(--space-sm);
  background: rgba(45,212,191,0.1);
  border-radius: var(--radius-md);
  color: var(--teal-400);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--cyan-400) 50%, var(--violet-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ===== DEVSECOPS PIPELINE DIAGRAM — redesigned ===== */
.pipeline-wrap {
  position: relative;
  margin-bottom: var(--space-2xl);
}

.pipeline-track {
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #6366f1, #f59e0b, #2dd4bf, #4ade80, #fb7185);
  opacity: 0.25;
  border-radius: 2px;
  pointer-events: none;
}

.pipeline-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, rgba(109,40,217,0.05) 0%, rgba(17,24,39,0.8) 50%, rgba(13,148,136,0.05) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  overflow-x: auto;
}

/* Individual stage card */
.ps-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 110px;
  max-width: 130px;
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  text-align: center;
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
}
.ps-stage:hover {
  transform: translateY(-6px);
}

/* Step number */
.ps-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

/* Icon ring */
.ps-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: box-shadow var(--transition-base);
}

/* Stage label */
.ps-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
}

/* Detail list */
.ps-items {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ps-items li {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
}

/* SVG connector arrow */
.ps-arrow {
  display: flex;
  align-items: center;
  padding-top: 36px;
  flex-shrink: 0;
  margin: 0 4px;
}

/* ── Per-stage color themes ── */
.ps-plan { }
.ps-plan .ps-num   { color: #a78bfa; }
.ps-plan .ps-icon-ring { background: rgba(139,92,246,0.15); border: 1.5px solid rgba(139,92,246,0.35); color: #a78bfa; }
.ps-plan:hover { background: rgba(139,92,246,0.06); border-color: rgba(139,92,246,0.25); box-shadow: 0 8px 28px rgba(139,92,246,0.15); }
.ps-plan:hover .ps-icon-ring { box-shadow: 0 0 18px rgba(139,92,246,0.4); }

.ps-code .ps-num   { color: #818cf8; }
.ps-code .ps-icon-ring { background: rgba(99,102,241,0.15); border: 1.5px solid rgba(99,102,241,0.35); color: #818cf8; }
.ps-code:hover { background: rgba(99,102,241,0.06); border-color: rgba(99,102,241,0.25); box-shadow: 0 8px 28px rgba(99,102,241,0.15); }
.ps-code:hover .ps-icon-ring { box-shadow: 0 0 18px rgba(99,102,241,0.4); }

.ps-build .ps-num  { color: #fcd34d; }
.ps-build .ps-icon-ring { background: rgba(245,158,11,0.12); border: 1.5px solid rgba(245,158,11,0.35); color: #fcd34d; }
.ps-build:hover { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.25); box-shadow: 0 8px 28px rgba(245,158,11,0.12); }
.ps-build:hover .ps-icon-ring { box-shadow: 0 0 18px rgba(245,158,11,0.35); }

.ps-test .ps-num   { color: var(--teal-300); }
.ps-test .ps-icon-ring { background: rgba(45,212,191,0.12); border: 1.5px solid rgba(45,212,191,0.35); color: var(--teal-300); }
.ps-test:hover { background: rgba(45,212,191,0.05); border-color: rgba(45,212,191,0.25); box-shadow: 0 8px 28px rgba(45,212,191,0.12); }
.ps-test:hover .ps-icon-ring { box-shadow: 0 0 18px rgba(45,212,191,0.35); }

.ps-release .ps-num { color: #86efac; }
.ps-release .ps-icon-ring { background: rgba(74,222,128,0.12); border: 1.5px solid rgba(74,222,128,0.35); color: #86efac; }
.ps-release:hover { background: rgba(74,222,128,0.05); border-color: rgba(74,222,128,0.25); box-shadow: 0 8px 28px rgba(74,222,128,0.12); }
.ps-release:hover .ps-icon-ring { box-shadow: 0 0 18px rgba(74,222,128,0.35); }

.ps-operate .ps-num { color: var(--rose-400); }
.ps-operate .ps-icon-ring { background: rgba(251,113,133,0.12); border: 1.5px solid rgba(251,113,133,0.35); color: var(--rose-400); }
.ps-operate:hover { background: rgba(251,113,133,0.05); border-color: rgba(251,113,133,0.25); box-shadow: 0 8px 28px rgba(251,113,133,0.12); }
.ps-operate:hover .ps-icon-ring { box-shadow: 0 0 18px rgba(251,113,133,0.35); }

/* Responsive: stack to 2-col grid on tablet */
@media (max-width: 900px) {
  .pipeline-track { display: none; }
  .pipeline-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg);
  }
  .ps-arrow { display: none; }
  .ps-stage { max-width: 100%; min-width: unset; }
}
@media (max-width: 540px) {
  .pipeline-diagram { grid-template-columns: repeat(2, 1fr); }
}

/* ===== AI SECURITY SECTION ===== */
.ai-security-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--navy-800) 0%, #0b0e1c 50%, var(--navy-700) 100%);
  position: relative;
  overflow: hidden;
}

.ais-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ais-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.12;
}
.ais-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--teal-400), var(--cyan-400));
  top: -100px; right: -100px;
}
.ais-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--violet-500), transparent);
  bottom: -100px; left: -50px;
  opacity: 0.08;
}

.ai-security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Metrics row */
.ais-metrics {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(45,212,191,0.05);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: var(--radius-lg);
}
.ais-metric { text-align: center; flex: 1; }
.ais-metric-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ais-metric-lbl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
}
.ais-metric-sep {
  width: 1px;
  height: 40px;
  background: rgba(45,212,191,0.2);
  flex-shrink: 0;
}

/* Feature list — redesigned cards */
.ai-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: 0;
}

.ai-feature-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--radius-md);
  align-items: flex-start;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.ai-feature-item:hover {
  background: rgba(45,212,191,0.05);
  border-left-color: var(--teal-400);
  box-shadow: 0 0 20px rgba(45,212,191,0.08);
}

.ais-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(45,212,191,0.12);
  border: 1px solid rgba(45,212,191,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.ais-feat-body { flex: 1; }

.ais-feat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}
.ais-feat-header strong {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9375rem;
}
.ais-feat-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(45,212,191,0.12);
  color: var(--teal-300);
  border: 1px solid rgba(45,212,191,0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.ais-feat-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* AI Console Terminal */
.ai-console {
  background: #070b14;
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 40px rgba(45,212,191,0.1), 0 0 80px rgba(45,212,191,0.05);
}

.console-header {
  background: #0f1525;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.console-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.c-red    { background: #ef4444; }
.c-yellow { background: #f59e0b; }
.c-green  { background: #22c55e; }

.console-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-left: var(--space-sm);
  flex: 1;
}

/* LIVE indicator */
.console-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 999px;
  padding: 2px 8px;
}
.console-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Console stats bar */
.console-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0b1020;
}
.cs-stat {
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.cs-stat:last-child { border-right: none; }
.cs-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}
.cs-lbl {
  display: block;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Gray/dim console line */
.c-gray-line { color: rgba(100,116,139,0.6); font-size: 0.75rem; }

.console-body {
  padding: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.console-line { color: var(--text-secondary); }
.console-line.indent { padding-left: 1.5em; }

.c-cyan  { color: var(--cyan-400); }
.c-green-text { color: var(--green-400); }
.c-yellow-text { color: var(--amber-400); }
.c-gray  { color: var(--text-muted); }

/* Redefine using class to avoid conflict */
.console-line .c-cyan   { color: var(--cyan-400); }
.console-line .c-green  { color: #22c55e; }
.console-line .c-yellow { color: var(--amber-400); }
.console-line .c-red    { color: #f87171; }

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.blink { animation: blink-cursor 1s step-end infinite; }

/* ===== USE CASES ===== */
.uc-section {
  position: relative;
  overflow: hidden;
}
.uc-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.uc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}
.uc-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--indigo-400), transparent);
  top: -150px; left: -150px;
}
.uc-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--teal-500), transparent);
  bottom: -150px; right: -100px;
}

.use-cases-section {
  padding: var(--space-4xl) 0;
}

/* Industry indicator strip */
.uc-industries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.uc-ind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: default;
}

/* Grid */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* Card base */
.use-case-card {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* Card top row: tag + headline metric */
.uc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}
.uc-headline-metric {
  text-align: right;
  flex-shrink: 0;
}
.uc-metric-val {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.uc-metric-lbl {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
}

.uc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.tag-fintech    { background: rgba(99,102,241,0.15);  color: var(--indigo-300); border: 1px solid rgba(99,102,241,0.3); }
.tag-cloud      { background: rgba(45,212,191,0.12);  color: var(--teal-300);   border: 1px solid rgba(45,212,191,0.3); }
.tag-health     { background: rgba(251,113,133,0.12); color: var(--rose-400);   border: 1px solid rgba(251,113,133,0.25); }
.tag-enterprise { background: rgba(245,158,11,0.12);  color: var(--amber-300);  border: 1px solid rgba(245,158,11,0.25); }

.uc-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}

/* Challenge / Solution blocks */
.uc-block {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
}
.uc-block-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.uc-block p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.uc-challenge {
  background: rgba(248,113,113,0.05);
  border-left: 3px solid rgba(248,113,113,0.35);
}
.uc-challenge .uc-block-label { color: #fca5a5; }

.uc-solution {
  background: rgba(45,212,191,0.05);
  border-left: 3px solid rgba(45,212,191,0.35);
}
.uc-solution .uc-block-label { color: var(--teal-300); }

/* Outcomes */
.uc-outcomes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: var(--space-md);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.uc-outcomes li {
  font-size: 0.845rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.uc-outcomes li::before { content: none; }

/* Card footer: tech tags */
.uc-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.uc-tech {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
}

/* Per-industry card hover colors */
.uc-fintech { border-top-color: transparent; }
.uc-fintech:hover { border-top-color: var(--indigo-400); box-shadow: var(--shadow-card), 0 0 28px rgba(99,102,241,0.12); }
.uc-cloud:hover   { border-top-color: var(--teal-400);   box-shadow: var(--shadow-card), 0 0 28px rgba(45,212,191,0.12); }
.uc-health:hover  { border-top-color: var(--rose-400);   box-shadow: var(--shadow-card), 0 0 28px rgba(251,113,133,0.12); }
.uc-enterprise:hover { border-top-color: var(--amber-400); box-shadow: var(--shadow-card), 0 0 28px rgba(245,158,11,0.12); }
.use-case-card:hover { transform: translateY(-5px); }

/* ===== CASE STUDIES ===== */
.cs-section {
  position: relative;
  overflow: hidden;
}
.cs-bg { position: absolute; inset: 0; pointer-events: none; }
.cs-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.08; }
.cs-glow-1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--teal-500), transparent); top: -100px; left: -100px; }
.cs-glow-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--rose-500), transparent); bottom: -100px; right: -100px; }

.case-studies-section {
  padding: var(--space-4xl) 0;
}

/* Proof strip */
.cs-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-2xl);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}
.cs-proof-item { text-align: center; }
.cs-proof-val {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--violet-400), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cs-proof-lbl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
  white-space: nowrap;
}
.cs-proof-sep { width: 1px; height: 36px; background: var(--border-subtle); flex-shrink: 0; }

/* Grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* Card base */
.case-study-card {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.case-study-card:hover { transform: translateY(-5px); }

/* Card top row */
.csc-top { display: flex; align-items: center; justify-content: space-between; }
.csc-industry { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.csc-ind-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.65rem;
  border-radius: 999px; white-space: nowrap;
}
.ind-insurance { background: rgba(45,212,191,0.12); color: var(--teal-300); border: 1px solid rgba(45,212,191,0.25); }
.ind-saas      { background: rgba(139,92,246,0.12); color: var(--violet-300); border: 1px solid rgba(139,92,246,0.25); }
.ind-banking   { background: rgba(251,113,133,0.12); color: var(--rose-400); border: 1px solid rgba(251,113,133,0.25); }
.csc-duration  { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); white-space: nowrap; }

/* Metric block */
.csc-metric-block { display: flex; flex-direction: column; gap: 2px; }
.cs-metric {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.csc-teal  .cs-metric { background: linear-gradient(135deg, var(--teal-400), var(--cyan-400)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.csc-violet .cs-metric { background: linear-gradient(135deg, var(--violet-400), var(--indigo-300)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.csc-rose  .cs-metric { background: linear-gradient(135deg, var(--rose-400), #fb923c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.cs-metric-label { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }

/* Before / After strip */
.csc-before-after {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.csc-ba-item { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.csc-ba-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.csc-before .csc-ba-label { color: #f87171; }
.csc-after  .csc-ba-label { color: #4ade80; }
.csc-ba-val { font-size: 0.8rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-mono); }
.csc-ba-arrow { font-size: 1rem; color: var(--text-muted); flex-shrink: 0; }

.cs-divider { height: 1px; background: var(--border-subtle); }

.cs-title { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); }

.cs-body { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* Outcomes */
.csc-outcomes {
  display: flex; flex-direction: column; gap: 5px; list-style: none;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.csc-outcomes li { font-size: 0.83rem; color: var(--text-secondary); }

/* Tags */
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: var(--space-sm); border-top: 1px solid var(--border-subtle); }
.cs-tag { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; }
.cst-teal   { background: rgba(45,212,191,0.1);  color: var(--teal-300);   border: 1px solid rgba(45,212,191,0.2); }
.cst-violet { background: rgba(139,92,246,0.1);  color: var(--violet-300); border: 1px solid rgba(139,92,246,0.2); }
.cst-rose   { background: rgba(251,113,133,0.1); color: var(--rose-400);   border: 1px solid rgba(251,113,133,0.2); }

/* Per-card hover */
.csc-teal:hover  { border-top-color: var(--teal-400);   box-shadow: var(--shadow-card), 0 0 30px rgba(45,212,191,0.12); }
.csc-violet:hover{ border-top-color: var(--violet-400); box-shadow: var(--shadow-card), 0 0 30px rgba(139,92,246,0.12); }
.csc-rose:hover  { border-top-color: var(--rose-400);   box-shadow: var(--shadow-card), 0 0 30px rgba(251,113,133,0.12); }

/* ===== ARCHITECTURE ===== */
.architecture-section {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.arch-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.arch-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.07;
}

.arch-glow-violet {
  top: -100px;
  left: -100px;
  background: var(--violet-400);
}

.arch-glow-teal {
  bottom: -100px;
  right: -100px;
  background: var(--teal-400);
}

.architecture-section .container {
  position: relative;
  z-index: 1;
}

.arch-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.arch-stage {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.arch-stage:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.arch-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.1em;
}

.arch-stage-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.arch-stage-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--violet-300);
  margin-bottom: var(--space-sm);
}

/* Stage modifier colors */
.arch-stage-ingest .arch-stage-icon  { background: rgba(45,212,191,0.15); color: var(--teal-400); }
.arch-stage-analyze .arch-stage-icon { background: rgba(139,92,246,0.15);  color: var(--violet-400); }
.arch-stage-automate .arch-stage-icon{ background: rgba(99,102,241,0.15);  color: var(--indigo-300); }
.arch-stage-respond .arch-stage-icon { background: rgba(251,191,36,0.12);  color: var(--amber-400); }

.arch-stage-ingest:hover  { border-top: 2px solid var(--teal-400); }
.arch-stage-analyze:hover { border-top: 2px solid var(--violet-400); }
.arch-stage-automate:hover{ border-top: 2px solid var(--indigo-300); }
.arch-stage-respond:hover { border-top: 2px solid var(--amber-400); }

/* Arch stage titles — brand palette */
.arch-stage-ingest .arch-stage-title   { color: var(--teal-400); }
.arch-stage-analyze .arch-stage-title  { color: var(--violet-300); }
.arch-stage-automate .arch-stage-title { color: var(--teal-300); }
.arch-stage-respond .arch-stage-title  { color: var(--violet-400); }

.arch-stage-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.arch-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.arch-bullets li {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.arch-bullets li::before {
  content: '> ';
  color: var(--teal-400);
}

.arch-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--indigo-400));
  align-self: center;
  flex-shrink: 0;
  opacity: 0.5;
}

.arch-loop-label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: var(--space-md) var(--space-xl);
  background: rgba(20,184,166,0.06);
  border: 1px dashed rgba(20,184,166,0.2);
  border-radius: var(--radius-md);
}

/* ===== CYBERSECURITY SECTION HEADER ===== */
.cyber-section {
  position: relative;
  overflow: hidden;
}

.cyber-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cyber-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
}
.cyber-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--rose-500), #7f1d1d);
  top: -200px; right: -100px;
}
.cyber-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--violet-500), transparent);
  bottom: -100px; left: -50px;
  opacity: 0.12;
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251,113,133,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,113,133,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
}

.cyber-section > .container {
  position: relative;
  z-index: 1;
}

.cyber-header {
  max-width: 780px;
}

/* Capability indicators strip */
.cyber-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.cyber-ind {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.45rem 1rem;
  background: rgba(251,113,133,0.08);
  border: 1px solid rgba(251,113,133,0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rose-400);
  white-space: nowrap;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.cyber-ind:hover {
  background: rgba(251,113,133,0.14);
  box-shadow: 0 0 16px rgba(251,113,133,0.2);
  transform: translateY(-2px);
}

.cyber-ind-icon {
  flex-shrink: 0;
  color: var(--rose-400);
  opacity: 0.9;
}

/* ===== COMPLIANCE NOTE ===== */
.compliance-note {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, rgba(109,40,217,0.06), rgba(99,102,241,0.04));
  border: 1px solid rgba(109,40,217,0.2);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.compliance-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.compliance-icon {
  color: var(--violet-400);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.compliance-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-300);
}

.compliance-frameworks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.compliance-badge:hover {
  transform: translateY(-2px);
}

.badge-iso   { background: rgba(45,212,191,0.12);  color: var(--teal-300);   border: 1px solid rgba(45,212,191,0.3);  box-shadow: 0 0 10px rgba(45,212,191,0.08); }
.badge-soc   { background: rgba(139,92,246,0.12);  color: var(--violet-300); border: 1px solid rgba(139,92,246,0.3);  box-shadow: 0 0 10px rgba(139,92,246,0.08); }
.badge-hipaa { background: rgba(99,102,241,0.12);  color: var(--indigo-300); border: 1px solid rgba(99,102,241,0.3);  box-shadow: 0 0 10px rgba(99,102,241,0.08); }
.badge-pci   { background: rgba(245,158,11,0.1);   color: var(--amber-300);  border: 1px solid rgba(245,158,11,0.3);  box-shadow: 0 0 10px rgba(245,158,11,0.06); }
.badge-nist  { background: rgba(251,113,133,0.1);  color: var(--rose-400);   border: 1px solid rgba(251,113,133,0.25);box-shadow: 0 0 10px rgba(251,113,133,0.06); }

.compliance-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.compliance-note strong { color: var(--text-primary); }

.compliance-icon {
  color: var(--indigo-400);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.compliance-note strong { color: var(--text-primary); }

/* ===== PRICING ===== */
.pricing-section {
  padding: var(--space-4xl) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pricing-card-featured {
  border-color: transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--brand-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-glow-violet);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-500), var(--indigo-500));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: var(--space-sm);
}

.pricing-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.pricing-features li::first-letter { color: var(--teal-400); }

.pricing-duration {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}

.pricing-for {
  font-size: 0.825rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.pricing-for span { color: var(--text-secondary); }

/* Per-card color accents */
.price-indigo .pricing-tier  { color: var(--indigo-300); }
.price-indigo .pricing-duration { background: rgba(91,33,182,0.18); color: var(--indigo-300); }
.price-indigo:hover { border-color: var(--indigo-400); box-shadow: 0 0 32px rgba(124,58,237,0.2); }

.price-violet .pricing-tier  { color: var(--violet-300); }
.price-violet .pricing-duration { background: rgba(109,40,217,0.18); color: var(--violet-300); }

.price-teal .pricing-tier    { color: var(--teal-400); }
.price-teal .pricing-duration { background: rgba(13,148,136,0.18); color: var(--teal-300); }
.price-teal:hover { border-color: var(--teal-500); box-shadow: var(--shadow-glow-teal); }

.price-amber .pricing-tier   { color: var(--amber-400); }
.price-amber .pricing-duration { background: rgba(245,158,11,0.15); color: var(--amber-300); }
.price-amber:hover { border-color: var(--amber-400); box-shadow: 0 0 32px rgba(245,158,11,0.15); }

/* ===== RESOURCES ===== */
.resources-section {
  padding: var(--space-4xl) 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.resource-card {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.resource-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  margin-bottom: var(--space-md);
}
.resource-type-guide     { background: rgba(20,184,166,0.15); color: var(--teal-300); }
.resource-type-whitepaper{ background: rgba(99,102,241,0.15); color: var(--indigo-300); }
.resource-type-webinar   { background: rgba(251,191,36,0.12); color: var(--amber-300); }

.resource-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.resource-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-md);
}

.resource-link {
  color: var(--teal-400);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  align-self: flex-start;
}
.resource-link:hover { color: var(--teal-300); }

.resource-meta {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.resource-btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  align-self: flex-start;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  margin-top: auto;
}
.resource-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.resource-btn-guide {
  background: rgba(20,184,166,0.18);
  color: var(--teal-300);
  border: 1px solid rgba(45,212,191,0.3);
}
.resource-btn-whitepaper {
  background: rgba(99,102,241,0.18);
  color: var(--indigo-300);
  border: 1px solid rgba(139,92,246,0.3);
}
.resource-btn-webinar {
  background: rgba(251,191,36,0.15);
  color: var(--amber-300);
  border: 1px solid rgba(245,158,11,0.3);
}

.resource-card-soon {
  opacity: 0.55;
}
.resource-card-soon:hover {
  opacity: 0.75;
}

.resource-soon {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--navy-800) 0%, #0a0d1a 100%);
  position: relative;
  overflow: hidden;
}

.contact-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
}
.contact-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--violet-500), transparent);
  top: -100px; left: -100px;
}
.contact-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--teal-500), transparent);
  bottom: -100px; right: -100px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: var(--space-lg) 0;
}

/* Perks with icons */
.contact-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact-perks li {
  font-size: 0.9375rem;
  color: var(--teal-300);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-perks li svg { flex-shrink: 0; color: var(--teal-400); }

/* Contact detail items */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.contact-detail-item:hover {
  background: rgba(45,212,191,0.05);
  border-color: rgba(45,212,191,0.2);
}

/* Clickable email link row */
.contact-detail-link {
  text-decoration: none;
  cursor: pointer;
}
.contact-detail-link:hover .cd-email {
  color: var(--teal-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cd-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  flex-shrink: 0;
}

.contact-detail-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cd-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cd-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.cd-email { color: var(--teal-300); }

/* ── What Happens After You Submit — redesigned ── */
.contact-next {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(109,40,217,0.06), rgba(13,148,136,0.03));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient corner */
.contact-next::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(109,40,217,0.12), transparent 70%);
  pointer-events: none;
}

/* Header with flanking lines */
.cn-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.cn-header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109,40,217,0.3));
}
.cn-header-line:last-child {
  background: linear-gradient(90deg, rgba(109,40,217,0.3), transparent);
}
.cn-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-300);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Steps list */
.cn-steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual step */
.cn-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

/* Left column: badge + connector */
.cn-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

/* Numbered badge with icon */
.cn-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  flex-direction: column;
  gap: 1px;
  border: 2px solid transparent;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.cn-step:hover .cn-badge {
  transform: scale(1.1);
}
.cn-badge svg {
  width: 13px;
  height: 13px;
  opacity: 0.9;
}
.cn-badge span {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* Per-step badge colors */
.cn-badge-1 {
  background: linear-gradient(135deg, rgba(109,40,217,0.2), rgba(109,40,217,0.1));
  border-color: rgba(109,40,217,0.4);
  color: var(--violet-300);
  box-shadow: 0 0 16px rgba(109,40,217,0.2);
}
.cn-badge-2 {
  background: linear-gradient(135deg, rgba(45,212,191,0.15), rgba(45,212,191,0.08));
  border-color: rgba(45,212,191,0.35);
  color: var(--teal-300);
  box-shadow: 0 0 16px rgba(45,212,191,0.15);
}
.cn-badge-3 {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.07));
  border-color: rgba(245,158,11,0.35);
  color: var(--amber-300);
  box-shadow: 0 0 16px rgba(245,158,11,0.12);
}
.cn-badge-4 {
  background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(74,222,128,0.07));
  border-color: rgba(74,222,128,0.35);
  color: #86efac;
  box-shadow: 0 0 16px rgba(74,222,128,0.12);
}

/* Vertical connector line between steps */
.cn-connector {
  width: 2px;
  flex: 1;
  min-height: 28px;
  background: linear-gradient(to bottom, rgba(109,40,217,0.3), rgba(109,40,217,0.05));
  margin: 4px 0;
}

/* Step content */
.cn-step-content {
  padding-bottom: var(--space-xl);
  flex: 1;
}
.cn-step-last .cn-step-content { padding-bottom: 0; }

.cn-step-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.cn-step:hover .cn-step-title { color: var(--violet-300); }

.cn-step-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 6px;
}

.cn-step-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Quote / testimonial */
.contact-quote {
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  border-left: 3px solid transparent;
  border-image: var(--brand-gradient) 1;
  background: linear-gradient(135deg, rgba(109,40,217,0.07), rgba(13,148,136,0.04));
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle glow behind the quote */
.contact-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 8rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: rgba(109,40,217,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cq-stars {
  color: var(--amber-400);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  text-shadow: 0 0 8px rgba(245,158,11,0.4);
}

.cq-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

/* Author block — avatar + name + role */
.cq-author-block {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.cq-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(109,40,217,0.4);
  letter-spacing: -0.02em;
}

.cq-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cq-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cq-role {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet-300);
}

.cq-engagement {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  gap: var(--space-lg);
}
.form-row-2 { grid-template-columns: 1fr 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required { color: var(--teal-400); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  padding: 0.625rem 0.875rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.form-select option { background: var(--navy-700); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-size: 0.8rem;
  color: #f87171;
  font-weight: 500;
  min-height: 1.2em;
  display: block;
}

/* Checkbox */
.form-consent { flex-direction: row; align-items: flex-start; gap: 0; flex-wrap: wrap; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  background: var(--navy-700);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--teal-500);
  border-color: var(--teal-400);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-label input:focus-visible + .checkbox-custom {
  outline: 2px solid var(--teal-400);
  outline-offset: 2px;
}

.form-consent .form-error {
  width: 100%;
  margin-top: 0.25rem;
}

/* Form success state — full-card replacement shown after submit */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  gap: var(--space-md);
  min-height: 380px;
}

.form-success-state[hidden] { display: none; }

.success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(109,40,217,0.15);
  border: 2px solid rgba(20,184,166,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--teal-400);
  margin-bottom: var(--space-sm);
  box-shadow: 0 0 24px rgba(20,184,166,0.2);
}

.success-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.success-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 340px;
  line-height: 1.65;
}

.success-body strong { color: var(--teal-400); }

.success-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-sm);
}

/* Footer admin link */
.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.footer-admin-link:hover {
  color: var(--teal-400);
  border-color: rgba(20,184,166,0.4);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid transparent;
  border-image: var(--brand-gradient) 1;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo { margin-bottom: var(--space-md); }

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--teal-400);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--teal-400); }

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.social-link:hover { color: var(--teal-400); background: rgba(45,212,191,0.12); }

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy-800); }
::-webkit-scrollbar-thumb { background: var(--navy-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-500); }

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 2px;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .arch-flow {
    grid-template-columns: 1fr 1fr;
  }
  .arch-connector {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ai-security-inner {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Sections */
  .services-section { padding: var(--space-3xl) 0; }

  .cards-4, .cards-3 {
    grid-template-columns: 1fr;
  }

  .hero { padding: var(--space-3xl) 0; }

  .hero-ctas { flex-direction: column; align-items: center; }

  .pipeline-diagram {
    flex-direction: column;
    gap: var(--space-md);
  }
  .pipeline-arrow { transform: rotate(90deg); }

  .use-case-grid, .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .arch-flow {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .pricing-grid, .resources-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .container { padding: 0 var(--space-lg); }

  .contact-form-wrap { padding: var(--space-lg); }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }

  .ai-security-section { padding: var(--space-3xl) 0; }
  .architecture-section, .use-cases-section,
  .case-studies-section, .pricing-section, .resources-section { padding: var(--space-3xl) 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-trust-row { flex-direction: column; align-items: center; }
  .trust-sep { display: none; }
}

/* ===================================================
   FORWARD DEPLOYMENT ENGINEERING
   =================================================== */

.tag-fde {
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(45,212,191,0.12));
  color: var(--violet-300);
  border: 1px solid rgba(139,92,246,0.4);
  box-shadow: 0 0 16px rgba(139,92,246,0.15);
}

.nav-link-fde {
  color: var(--violet-300) !important;
  background: linear-gradient(135deg, rgba(109,40,217,0.18), rgba(13,148,136,0.12));
  border: 1px solid rgba(109,40,217,0.35);
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 0 12px rgba(109,40,217,0.2);
}
.nav-link-fde::after { display: none; } /* No underline — badge style */
.nav-link-fde:hover {
  background: linear-gradient(135deg, rgba(109,40,217,0.28), rgba(13,148,136,0.2)) !important;
  color: var(--violet-200) !important;
  border-color: rgba(109,40,217,0.6);
  box-shadow: 0 0 20px rgba(109,40,217,0.35);
}

.fde-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--navy-800) 0%, #0d0b1e 50%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
}

/* Constrain FDE header width for better readability */
.fde-header {
  max-width: 820px;
}

/* Differentiator strip */
.fde-diffs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-2xl);
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.18);
  border-radius: var(--radius-xl);
}
.fde-diff {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.fde-diff-icon {
  font-size: 1rem;
  flex-shrink: 0;
}
.fde-diff-sep {
  width: 1px;
  height: 20px;
  background: rgba(139,92,246,0.25);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .fde-diffs { flex-direction: column; gap: var(--space-sm); }
  .fde-diff-sep { display: none; }
}
.fde-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(109,40,217,0.08), transparent 70%);
  pointer-events: none;
}

/* Banner */
.fde-banner {
  background: linear-gradient(135deg, rgba(109,40,217,0.08) 0%, rgba(45,212,191,0.05) 100%);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}
.fde-banner-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
  align-items: center;
}
.fde-banner-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.fde-banner-text p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}
.fde-banner-text p:last-child { margin-bottom: 0; }
.fde-banner-text strong { color: var(--violet-300); }

.fde-banner-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.fde-stat {
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
}
.fde-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--violet-400), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fde-stat-lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
}

/* Lifecycle Steps */
.fde-lifecycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}
.fde-step {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.fde-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 28px rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.3);
}
.fde-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--violet-400);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}
.fde-step-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}
.fde-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.fde-step-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.fde-step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-500), var(--teal-500));
  align-self: center;
  flex-shrink: 0;
  opacity: 0.5;
}

/* FDE Cards */
.fde-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}
.fde-card {
  background: var(--navy-600);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--violet-500), var(--teal-400)) 1;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.fde-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(139,92,246,0.12);
}
.fde-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}
.fde-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.fde-card-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.fde-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-md);
}
.fde-card-list li {
  font-size: 0.845rem;
  color: var(--teal-300);
  font-weight: 500;
  padding-left: 1rem;
  position: relative;
}
.fde-card-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--violet-400);
  font-weight: 700;
}

/* FDE CTA Row */
.fde-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  background: linear-gradient(135deg, rgba(109,40,217,0.1), rgba(45,212,191,0.06));
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}
.fde-cta-copy h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.fde-cta-copy p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── FDE Sub-headings ── */
.fde-sub-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800; color: var(--text-primary);
  margin: 0 0 var(--space-sm); letter-spacing: -.02em;
}
.fde-sub-desc {
  font-size: .9375rem; color: var(--text-secondary);
  max-width: 640px; line-height: 1.7; margin: 0 0 var(--space-2xl);
}

/* ── Week-by-week timeline ── */
.fde-timeline-section { margin-bottom: var(--space-4xl); }
.fde-timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative; padding-left: 28px;
}
.fde-timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, #6d28d9, #0d9488);
  border-radius: 2px;
}
.fde-tl-item {
  display: grid; grid-template-columns: 110px 1fr;
  gap: var(--space-lg); align-items: start;
  padding: var(--space-lg) 0; position: relative;
}
.fde-tl-item::before {
  content: '';
  position: absolute; left: -35px; top: 26px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #6d28d9;
  box-shadow: 0 0 12px rgba(109,40,217,0.5);
  border: 2px solid #0b0f1a;
}
.fde-tl-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  background: rgba(109,40,217,.15); color: #a78bfa;
  border: 1px solid rgba(109,40,217,.3);
  border-radius: 999px; padding: 4px 12px;
  white-space: nowrap; width: fit-content; margin-top: 4px;
}
.fde-tl-badge-2 { background: rgba(99,102,241,.12); color: #818cf8; border-color: rgba(99,102,241,.3); }
.fde-tl-badge-3 { background: rgba(251,191,36,.1);  color: #fbbf24; border-color: rgba(251,191,36,.25); }
.fde-tl-badge-4 { background: rgba(20,184,166,.1);  color: #5eead4; border-color: rgba(20,184,166,.25); }
.fde-tl-badge-5 { background: rgba(74,222,128,.1);  color: #86efac; border-color: rgba(74,222,128,.25); }
.fde-tl-card {
  background: #111827; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: var(--space-xl);
  transition: border-color .2s, box-shadow .2s;
}
.fde-tl-card:hover {
  border-color: rgba(109,40,217,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 0 16px rgba(109,40,217,.1);
}
.fde-tl-title {
  font-size: 1rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.fde-tl-list {
  margin: 0 0 var(--space-md); padding-left: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-xs);
}
.fde-tl-list li { font-size: .875rem; color: var(--text-secondary); }
.fde-tl-output {
  display: flex; align-items: center; gap: var(--space-sm);
  font-size: .8125rem; color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,.06); padding-top: var(--space-sm);
}
.fde-tl-badge-sm {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(20,184,166,.12); color: #5eead4;
  border: 1px solid rgba(20,184,166,.25); border-radius: 4px;
  padding: 2px 7px; white-space: nowrap;
}

/* ── FDE vs Alternatives comparison table ── */
.fde-compare-section { margin-bottom: var(--space-4xl); }
.fde-compare-table {
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-xl);
  overflow: hidden; background: #0d1424;
}
.fde-compare-header {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr;
  background: #111827; border-bottom: 1px solid rgba(255,255,255,.07);
}
.fde-ch-blank { padding: var(--space-lg); }
.fde-ch-col {
  padding: var(--space-lg) var(--space-xl); font-size: .8125rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-align: center;
}
.fde-ch-competitor { color: var(--text-muted); }
.fde-ch-us {
  background: linear-gradient(135deg, rgba(109,40,217,.15), rgba(13,148,136,.1));
  color: #a78bfa; border-left: 2px solid rgba(109,40,217,.4);
}
.fde-compare-row {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.05);
  transition: background .15s;
}
.fde-compare-row:hover { background: rgba(255,255,255,.02); }
.fde-cr-label {
  padding: var(--space-lg) var(--space-xl); font-size: .8125rem;
  font-weight: 600; color: var(--text-secondary);
  border-right: 1px solid rgba(255,255,255,.05); display: flex; align-items: center;
}
.fde-cr-val {
  padding: var(--space-md) var(--space-lg); font-size: .8125rem;
  display: flex; align-items: center; gap: var(--space-sm);
  line-height: 1.5; text-align: left;
}
.fde-cv-bad { color: #f87171; }
.fde-cv-med { color: #fbbf24; }
.fde-cv-good {
  color: #86efac; font-weight: 600;
  background: rgba(74,222,128,.04);
  border-left: 2px solid rgba(109,40,217,.25);
}

/* ── ROI metrics strip ── */
.fde-roi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-xl); overflow: hidden;
  margin-bottom: var(--space-4xl);
  background: linear-gradient(135deg, rgba(109,40,217,.08), rgba(13,148,136,.06));
}
.fde-roi-item {
  padding: var(--space-2xl) var(--space-xl);
  display: flex; flex-direction: column; gap: var(--space-sm);
  align-items: center; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.fde-roi-item:last-child { border-right: none; }
.fde-roi-num {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #5eead4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -.03em;
}
.fde-roi-lbl { font-size: .8125rem; color: var(--text-muted); line-height: 1.5; max-width: 180px; }
.fde-roi-div { display: none; }

/* ── Industries grid ── */
.fde-industries { margin-bottom: var(--space-4xl); }
.fde-industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.fde-industry-card {
  background: #111827; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: var(--space-xl);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.fde-industry-card:hover {
  border-color: rgba(109,40,217,.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.fde-ind-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.fde-ind-finance { background: rgba(99,102,241,.15); color: #818cf8; }
.fde-ind-health  { background: rgba(20,184,166,.12); color: #5eead4; }
.fde-ind-gov     { background: rgba(251,191,36,.1);  color: #fbbf24; }
.fde-ind-startup { background: rgba(248,113,113,.1); color: #f87171; }
.fde-ind-mfg     { background: rgba(139,92,246,.12); color: #c4b5fd; }
.fde-ind-saas    { background: rgba(74,222,128,.1);  color: #86efac; }
.fde-ind-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); }
.fde-ind-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-md); }
.fde-ind-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  background: rgba(255,255,255,.06); color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.08); border-radius: 4px; padding: 2px 8px;
}
.fde-ind-desc { font-size: .8125rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Production guarantee banner ── */
.fde-guarantee {
  background: linear-gradient(135deg, rgba(74,222,128,.08), rgba(20,184,166,.06));
  border: 1px solid rgba(74,222,128,.2); border-radius: var(--radius-xl);
  padding: var(--space-2xl); margin-bottom: var(--space-4xl);
}
.fde-guarantee-inner {
  display: flex; align-items: center; gap: var(--space-2xl);
}
.fde-guarantee-icon {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(74,222,128,.12); color: #4ade80;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 32px rgba(74,222,128,.15);
}
.fde-guarantee-copy { flex: 1; }
.fde-guarantee-title {
  font-size: 1.125rem; font-weight: 800; color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.fde-guarantee-desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.fde-guarantee-btn { flex-shrink: 0; }

/* FDE Responsive */
@media (max-width: 1024px) {
  .fde-lifecycle { grid-template-columns: 1fr 1fr; }
  .fde-step-connector { display: none; }
  .fde-banner-inner { grid-template-columns: 1fr; }
  .fde-banner-stats { flex-direction: row; }
  .fde-compare-header,
  .fde-compare-row { grid-template-columns: 140px 1fr 1fr 1fr; }
  .fde-industry-grid { grid-template-columns: 1fr 1fr; }
  .fde-roi-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .fde-section { padding: var(--space-3xl) 0; }
  .fde-lifecycle { grid-template-columns: 1fr; }
  .fde-cards { grid-template-columns: 1fr; }
  .fde-cta-row { flex-direction: column; text-align: center; }
  .fde-banner-stats { flex-direction: column; }
  .fde-tl-item { grid-template-columns: 1fr; }
  .fde-compare-header { display: none; }
  .fde-compare-row {
    grid-template-columns: 1fr;
    border-bottom: 1px solid rgba(255,255,255,.05); padding: var(--space-md);
  }
  .fde-cr-label { border-right: none; font-weight: 700; padding: var(--space-sm) 0; }
  .fde-cv-good { border-left: 3px solid #4ade80; padding-left: var(--space-md); }
  .fde-industry-grid { grid-template-columns: 1fr; }
  .fde-roi-strip { grid-template-columns: 1fr 1fr; }
  .fde-guarantee-inner { flex-direction: column; text-align: center; }
  .fde-guarantee-btn { width: 100%; justify-content: center; }
}

/* ========================================================
   ANNOUNCEMENT BAR
   ======================================================== */

.announce-bar {
  background: linear-gradient(90deg,
    rgba(109,40,217,0.92) 0%,
    rgba(13,148,136,0.85) 50%,
    rgba(109,40,217,0.92) 100%);
  padding: 0.6rem 0;
  text-align: center;
  position: relative;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.announce-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  position: relative;
}

.announce-badge {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  color: #fff;
  flex-shrink: 0;
}

.announce-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

.announce-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.45);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}
.announce-link:hover { text-decoration-color: #fff; }

.announce-close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.announce-close:hover { color: #fff; background: rgba(255,255,255,0.12); }

/* ========================================================
   TRUSTED / PARTNER TECH STRIP
   ======================================================== */

.trusted-strip {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
}

.trusted-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem 2.75rem;
}

.trusted-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.38;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.trusted-logo-item:hover {
  opacity: 0.72;
  transform: translateY(-2px);
}

.trusted-logo-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.trusted-logo-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .trusted-logos { gap: 1.25rem 2rem; }
  .trusted-logo-name { font-size: 0.875rem; }
}

/* ========================================================
   TESTIMONIALS
   ======================================================== */

.testimonials-section {
  background: var(--bg-elevated);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.testimonials-section .section-header { position: relative; z-index: 1; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
  grid-column: span 4;
}

.testimonial-card-featured {
  grid-column: span 6;
  background: linear-gradient(135deg, rgba(109,40,217,0.07) 0%, rgba(45,212,191,0.04) 100%);
  border-color: rgba(109,40,217,0.18);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.25rem;
  right: 1.25rem;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(109,40,217,0.07);
  pointer-events: none;
  user-select: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow-brand);
  border-color: var(--border-medium);
}

.testimonial-stars {
  color: var(--amber-400);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.78;
  flex: 1;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-card-featured .testimonial-quote {
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-md);
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(109,40,217,0.25);
}

.testimonial-meta { flex: 1; min-width: 0; }

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  display: block;
  margin-top: 1px;
}

.testimonial-tag {
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--teal-300);
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card,
  .testimonial-card-featured { grid-column: span 1; }
}

@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .announce-text { font-size: 0.75rem; }
}

/* ========================================================
   CARD POLISH — subtle top accent always visible
   ======================================================== */

.card::before,
.case-study-card::before,
.use-case-card::before {
  opacity: 0.22 !important;
}
.card:hover::before,
.case-study-card:hover::before,
.use-case-card:hover::before {
  opacity: 1 !important;
}

/* Use-case card top border */
.use-case-card {
  position: relative;
  overflow: hidden;
}
.use-case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--brand-gradient);
  transition: opacity var(--transition-base);
}
.uc-fintech::before   { background: linear-gradient(90deg, #f59e0b, #f97316); }
.uc-cloud::before     { background: linear-gradient(90deg, var(--teal-400), var(--cyan-400)); }
.uc-health::before    { background: linear-gradient(90deg, #4ade80, var(--teal-400)); }
.uc-enterprise::before{ background: linear-gradient(90deg, var(--violet-400), var(--indigo-300)); }

/* Case-study card top border */
.case-study-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: opacity var(--transition-base);
}
.csc-teal::before   { background: linear-gradient(90deg, var(--teal-400), var(--cyan-400)); }
.csc-violet::before { background: linear-gradient(90deg, var(--violet-400), var(--indigo-300)); }
.csc-rose::before   { background: linear-gradient(90deg, var(--rose-400), #f43f5e); }

/* ========================================================
   FDE AUDIENCE CARDS
   ======================================================== */

.fde-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.fde-audience-card {
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}
.fde-audience-card:hover { transform: translateY(-4px); }

.fde-audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.fde-aud-org {
  background: linear-gradient(135deg, rgba(109,40,217,0.12) 0%, rgba(45,212,191,0.06) 100%);
  border: 1px solid rgba(109,40,217,0.28);
  box-shadow: 0 0 40px rgba(109,40,217,0.1);
}
.fde-aud-org::before { background: linear-gradient(90deg, var(--violet-500), var(--teal-400)); }
.fde-aud-org:hover { box-shadow: 0 8px 48px rgba(109,40,217,0.2); }

.fde-aud-eng {
  background: linear-gradient(135deg, rgba(45,212,191,0.08) 0%, rgba(109,40,217,0.06) 100%);
  border: 1px solid rgba(45,212,191,0.22);
  box-shadow: 0 0 40px rgba(45,212,191,0.08);
}
.fde-aud-eng::before { background: linear-gradient(90deg, var(--teal-400), var(--cyan-400)); }
.fde-aud-eng:hover { box-shadow: 0 8px 48px rgba(45,212,191,0.15); }

.fde-aud-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fde-aud-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0;
}

.fde-aud-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.fde-aud-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.fde-aud-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.fde-aud-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.fde-aud-org .fde-aud-list li::before { color: var(--violet-400); }
.fde-aud-eng .fde-aud-list li::before { color: var(--teal-400); }

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

/* ========================================================
   FDE TRAINING ACADEMY
   ======================================================== */

.fde-academy {
  margin-bottom: var(--space-4xl);
}

.fde-academy-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}

.fde-academy-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.fde-academy-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.fde-track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.fde-track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.fde-track-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transition: opacity 0.3s ease;
  opacity: 0.35;
}
.fde-track-card:hover { transform: translateY(-5px); }
.fde-track-card:hover::before { opacity: 1; }

.fde-track-devsecops::before { background: linear-gradient(90deg, var(--amber-400), var(--violet-400)); }
.fde-track-devsecops:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.25); }

.fde-track-aiml::before { background: linear-gradient(90deg, var(--teal-400), var(--cyan-400)); }
.fde-track-aiml:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(45,212,191,0.12); border-color: rgba(45,212,191,0.25); }

.fde-track-cyber::before { background: linear-gradient(90deg, var(--rose-400), var(--violet-400)); }
.fde-track-cyber:hover { box-shadow: var(--shadow-card), 0 0 30px rgba(251,113,133,0.12); border-color: rgba(251,113,133,0.2); }

.fde-track-hd {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.fde-track-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fde-ti-dso  { background: rgba(245,158,11,0.12); color: var(--amber-400); border: 1px solid rgba(245,158,11,0.2); }
.fde-ti-ai   { background: rgba(45,212,191,0.12);  color: var(--teal-400);  border: 1px solid rgba(45,212,191,0.2); }
.fde-ti-cyber{ background: rgba(251,113,133,0.12); color: var(--rose-400);  border: 1px solid rgba(251,113,133,0.2); }

.fde-track-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.fde-track-dur {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.fde-track-levels {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.fde-level {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  border: 1px solid;
}
.lvl-student { background: rgba(139,92,246,0.1);  color: var(--violet-300); border-color: rgba(139,92,246,0.2); }
.lvl-junior  { background: rgba(45,212,191,0.1);   color: var(--teal-300);   border-color: rgba(45,212,191,0.2); }
.lvl-mid     { background: rgba(245,158,11,0.1);   color: var(--amber-300);  border-color: rgba(245,158,11,0.2); }
.lvl-senior  { background: rgba(251,113,133,0.1);  color: var(--rose-400);   border-color: rgba(251,113,133,0.2); }

.fde-track-skills {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.fde-track-skills li {
  font-size: 0.845rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.fde-track-skills li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.6;
}
.fde-track-devsecops .fde-track-skills li::before { background: var(--amber-400); }
.fde-track-aiml      .fde-track-skills li::before { background: var(--teal-400); }
.fde-track-cyber     .fde-track-skills li::before { background: var(--rose-400); }

.fde-track-outcome {
  font-size: 0.8rem;
  color: var(--teal-300);
  background: rgba(45,212,191,0.07);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  line-height: 1.5;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}
.fde-outcome-icon { flex-shrink: 0; font-style: normal; }

@media (max-width: 900px) { .fde-track-grid { grid-template-columns: 1fr; } }

/* ========================================================
   FDE STUDENT PROGRAM
   ======================================================== */

.fde-student-program {
  background: linear-gradient(135deg, rgba(45,212,191,0.06) 0%, rgba(109,40,217,0.08) 100%);
  border: 1px solid rgba(45,212,191,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.fde-student-program::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.fde-student-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.fde-student-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-400);
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.fde-student-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.fde-student-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.fde-student-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.fde-student-perk {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.fde-perk-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-400);
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.45rem;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.fde-perk-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fde-perk-body strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.fde-perk-body span {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Student card */
.fde-student-card {
  background: var(--bg-card);
  border: 1px solid rgba(109,40,217,0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: sticky;
  top: 90px;
}

.fde-sc-header { margin-bottom: var(--space-lg); }

.fde-sc-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.fde-sc-sub {
  font-size: 0.8rem;
  color: var(--teal-400);
  font-family: var(--font-body);
}

.fde-sc-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0;
}

.fde-sc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.875rem;
  border-bottom: 1px solid var(--border-subtle);
}
.fde-sc-item:last-child { border-bottom: none; }

.fde-sc-key {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
}

.fde-sc-val {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-mono);
  text-align: right;
}

.fde-sc-highlight {
  color: var(--teal-400) !important;
  font-weight: 700 !important;
}

.fde-sc-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-md);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .fde-student-inner { grid-template-columns: 1fr; }
  .fde-student-card  { position: static; }
}
@media (max-width: 640px) {
  .fde-student-program { padding: var(--space-xl); }
}

/* ========================================================
   HERO FDE BUTTON — branded variant
   ======================================================== */

.btn-fde {
  background: linear-gradient(135deg, rgba(139,92,246,0.18) 0%, rgba(45,212,191,0.12) 100%);
  color: var(--violet-300);
  border: 1.5px solid rgba(139,92,246,0.45);
  box-shadow: 0 0 18px rgba(139,92,246,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-fde:hover {
  background: linear-gradient(135deg, rgba(139,92,246,0.28) 0%, rgba(45,212,191,0.18) 100%);
  border-color: rgba(139,92,246,0.65);
  color: var(--violet-200);
  box-shadow: 0 0 28px rgba(139,92,246,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* ========================================================
   FDE SPOTLIGHT SECTION
   ======================================================== */

.fde-spotlight {
  background: linear-gradient(135deg, #0c0a1e 0%, rgba(109,40,217,0.1) 45%, #060b14 100%);
  padding: calc(var(--space-4xl) * 1.1) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(139,92,246,0.18);
  border-bottom: 1px solid rgba(139,92,246,0.18);
}

.fde-spot-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fde-spot-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 32px 32px;
}

.fde-spot-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.fde-spot-g1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(109,40,217,0.2), transparent 70%);
  top: -180px; left: -80px;
}
.fde-spot-g2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(45,212,191,0.1), transparent 70%);
  bottom: -120px; right: -60px;
}

/* ===================================================
   THEME SYSTEM — Light mode token overrides
   Dark is the default (:root). Light re-maps the same
   tokens so every component inherits automatically.
   =================================================== */

html[data-theme="dark"]  { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

html[data-theme="light"] {
  /* ── Backgrounds ── */
  --bg-deep:     #eef1f8;
  --bg-primary:  #f7f9fd;
  --bg-elevated: #eef1f8;
  --bg-card:     #ffffff;
  --bg-card-alt: #f1f4fa;

  /* ── Navy scale re-mapped to light surfaces ── */
  --navy-900: #eef1f8;
  --navy-800: #f7f9fd;
  --navy-700: #e9edf6;
  --navy-600: #e0e6f2;
  --navy-500: #cfd9ea;
  --navy-400: #b4c3dc;

  /* ── Text ── */
  --text-primary:   #131a2e;
  --text-secondary: #46536e;
  --text-muted:     #7d8aa5;

  /* ── Pastel accents deepened for contrast on light bg ── */
  --violet-300: #6d28d9;
  --violet-200: #7c3aed;
  --teal-300:   #0f766e;
  --teal-200:   #0d9488;
  --cyan-300:   #0e7490;
  --amber-300:  #b45309;
  --indigo-300: #5b21b6;

  /* ── Deeper gradient text for contrast on light bg ── */
  --brand-gradient-text: linear-gradient(135deg, #6d28d9 0%, #0d9488 60%, #0e7490 100%);

  /* ── Borders ── */
  --border-subtle: rgba(109, 40, 217, 0.14);
  --border-medium: rgba(109, 40, 217, 0.26);
  --border-strong: rgba(109, 40, 217, 0.45);

  /* ── Shadows — soft, light-appropriate ── */
  --shadow-card:        0 4px 28px rgba(23, 32, 64, 0.10);
  --shadow-glow-brand:  0 0 40px rgba(109, 40, 217, 0.12);
  --shadow-glow-teal:   0 0 40px rgba(13, 148, 136, 0.12);
  --shadow-glow-indigo: 0 0 40px rgba(109, 40, 217, 0.14);
  --shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.16);
}

/* Sticky header surface per theme */
html[data-theme="light"] .site-header {
  background: rgba(247, 249, 253, 0.92);
}
html[data-theme="light"] .site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(23, 32, 64, 0.12), 0 0 0 1px rgba(109, 40, 217, 0.08);
}
html[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(109, 40, 217, 0.1);
}

/* Smooth cross-fade while switching themes */
html.theme-switching,
html.theme-switching body,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition:
    background-color 0.45s ease,
    background 0.45s ease,
    color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease !important;
}

/* ===================================================
   THEME TOGGLE — animated sun/moon pill switch
   =================================================== */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-right: var(--space-md);
  animation: fadeSlideRight 0.55s cubic-bezier(0.22,1,0.36,1) both 0.15s;
}

.theme-toggle-track {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 27px;
  border-radius: 999px;
  background: var(--navy-600);
  border: 1px solid var(--border-medium);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.theme-toggle:hover .theme-toggle-track {
  border-color: var(--border-strong);
  box-shadow: 0 0 16px rgba(109, 40, 217, 0.35);
}
.theme-toggle:focus-visible .theme-toggle-track {
  outline: 2px solid var(--violet-400);
  outline-offset: 2px;
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(25px) rotate(360deg);
}

.theme-icon { position: absolute; transition: opacity 0.25s ease, transform 0.35s ease; }
.theme-icon-sun  { opacity: 0; transform: scale(0.4) rotate(-90deg); }
.theme-icon-moon { opacity: 1; transform: scale(1); }
html[data-theme="light"] .theme-icon-sun  { opacity: 1; transform: scale(1) rotate(0deg); }
html[data-theme="light"] .theme-icon-moon { opacity: 0; transform: scale(0.4) rotate(90deg); }

/* Keep the toggle visible next to the hamburger on mobile */
@media (max-width: 1024px) {
  .theme-toggle { margin-right: var(--space-sm); }
}

/* ===================================================
   VFX — Scroll progress bar
   =================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, #6d28d9, #2dd4bf, #67e8f9);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.55);
  pointer-events: none;
}

/* ===================================================
   VFX — Hero particle network canvas
   =================================================== */

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.dyn-hero > .container,
.dyn-hero .dyn-hero-grid { position: relative; z-index: 2; }

/* ===================================================
   VFX — Animated flowing gradient headline
   =================================================== */

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

.hero-headline .text-gradient {
  background-size: 220% 220%;
  animation: gradient-flow 6s ease-in-out infinite;
}

/* ===================================================
   VFX — 3D tilt cards (JS drives the transform)
   =================================================== */

.tilt-vfx {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-vfx.tilt-settling {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================================================
   VFX — Back-to-top button
   =================================================== */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility 0.35s, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 0 24px rgba(109, 40, 217, 0.45), var(--shadow-card);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.back-to-top svg { transition: transform 0.25s ease; }
.back-to-top:hover svg { transform: translateY(-2px); }

/* ===================================================
   LIGHT MODE — intentionally-dark components
   The threat console, AI terminal, and FDE spotlight
   band keep their dark styling in light mode (they read
   as "real consoles"). Re-pin the dark tokens inside
   these scopes so their text stays light-on-dark.
   =================================================== */

html[data-theme="light"] .dyn-dash-panel,
html[data-theme="light"] .ai-console,
html[data-theme="light"] .fde-spotlight {
  --text-primary:   #eef2ff;
  --text-secondary: #8b9cbf;
  --text-muted:     #64749a;
  --bg-card:        #141d2e;
  --bg-card-alt:    #1a2438;
  --navy-700:       #101625;
  --navy-600:       #141d2e;
  --border-subtle:  rgba(139, 92, 246, 0.15);
  --border-medium:  rgba(139, 92, 246, 0.25);
  /* Restore pastel accents on dark surfaces */
  --violet-300: #c4b5fd;
  --violet-200: #ddd6fe;
  --teal-300:   #5eead4;
  --teal-200:   #99f6e4;
  --cyan-300:   #67e8f9;
  --amber-300:  #fcd34d;
  --indigo-300: #a78bfa;
  --brand-gradient-text: linear-gradient(135deg, #a78bfa 0%, #2dd4bf 60%, #67e8f9 100%);
}

/* ===================================================
   Reduced motion — disable decorative VFX
   =================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero-headline .text-gradient { animation: none; }
  .theme-toggle-thumb { transition: none; }
  .hero-particles { display: none; }
}

/* ===================================================
   RESPONSIVE OVERHAUL — mobile / tablet fixes
   =================================================== */

/* Kill horizontal scroll caused by decorative bleeds
   (clip doesn't create a scroll container, so sticky
   header keeps working; hidden fallback for old browsers) */
html { overflow-x: clip; }
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

/* Nav: 9 links + CTA don't fit below ~1200px — collapse
   to hamburger there instead of 768px (fixes the cramped
   overflowing nav on tablets and mid-size screens) */
@media (max-width: 1200px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-toggle { display: flex !important; }
  /* Group theme toggle with the hamburger on the right */
  .theme-toggle { margin-left: auto; }
}

/* Tablet: tuck hero floating cards in so they don't
   cover the console metrics */
@media (max-width: 1024px) {
  .dfc-1 { top: -24px; left: 0; }
  .dfc-3 { bottom: -24px; right: 0; }
}

/* Phones: hero hugs its content — no giant empty band
   from the 100dvh + vertical centering */
@media (max-width: 768px) {
  .dyn-hero {
    min-height: auto !important;
    justify-content: flex-start !important;
    padding-top: var(--space-2xl) !important;
  }
  .hero-ctas { flex-direction: column; align-items: stretch !important; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .announce-text { font-size: 0.75rem; }
}

/* Small phones: compliance chips wrap in a row instead
   of stacking into a tall column */
@media (max-width: 480px) {
  .hero-trust-row {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: var(--space-sm);
  }
}

/* Light mode: sections whose gradients hardcode dark
   middle stops — re-map to light equivalents */
html[data-theme="light"] .ai-security-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #e7f0f4 50%, var(--bg-elevated) 100%);
}
html[data-theme="light"] .fde-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #edeaf9 50%, var(--bg-primary) 100%);
}

/* ===================================================
   FDE — professional SVG icon treatment
   (replaces emoji glyphs)
   =================================================== */

.fde-diff-icon {
  display: inline-flex;
  align-items: center;
  color: var(--teal-300);
}
.fde-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-sm);
  border-radius: var(--radius-md);
  color: var(--violet-300);
  background: rgba(109, 40, 217, 0.1);
  border: 1px solid var(--border-subtle);
}
.fde-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  color: var(--teal-300);
  background: rgba(13, 148, 136, 0.09);
  border: 1px solid rgba(45, 212, 191, 0.18);
}

/* ===================================================
   FDE — Engagement Models & Team Composition
   =================================================== */

.fde-models { margin: var(--space-4xl) 0; }

.fde-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.fde-model-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.fde-model-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card);
}
.fde-model-featured {
  border-color: var(--border-strong);
  box-shadow: 0 0 32px rgba(109, 40, 217, 0.15);
}

.fde-model-flag {
  position: absolute;
  top: -11px;
  left: var(--space-xl);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.fde-model-head {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-md);
}
.fde-model-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.fde-model-team {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal-300);
  margin-top: 2px;
}

.fde-model-specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.fde-spec {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.fde-spec-key {
  flex-shrink: 0;
  width: 72px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.fde-spec-val { color: var(--text-primary); font-weight: 500; }

.fde-model-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.fde-model-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.8438rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.fde-model-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  border: 1.5px solid var(--teal-300);
}

/* ===================================================
   FDE — Deployment Tech Stack matrix
   =================================================== */

.fde-stack { margin: var(--space-4xl) 0; }

.fde-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.fde-stack-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.fde-stack-cat {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--violet-300);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
}
.fde-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fde-stack-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.fde-stack-tags span:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* ===================================================
   FDE — FAQ (native <details> accordion)
   =================================================== */

.fde-faq { margin: var(--space-4xl) 0; }

.fde-faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 860px;
}

.fde-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.fde-faq-item[open] { border-color: var(--border-medium); }

.fde-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
  user-select: none;
}
.fde-faq-item summary::-webkit-details-marker { display: none; }

/* plus / minus indicator */
.fde-faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  color: var(--violet-300);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease;
}
.fde-faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
  background: rgba(109, 40, 217, 0.12);
}

.fde-faq-item p {
  margin: 0;
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ── Responsive: new FDE blocks ── */
@media (max-width: 1024px) {
  .fde-models-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .fde-stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fde-stack-grid { grid-template-columns: 1fr; }
  .fde-faq-item summary { font-size: 0.875rem; }
}

/* ===================================================
   AI & ML SECTION — balanced bento + practice data
   =================================================== */

/* Balanced bento: featured 6x2 on the left; every other
   card spans 6 — no dangling cards, no grid holes.
   Desktop-only so the 2-col/1-col mobile rules keep
   their span-1 layout (this rule is later in cascade). */
@media (min-width: 1025px) {
  .cards-ai-bento .card { grid-column: span 6; }
  .cards-ai-bento .card-ai-featured { grid-column: span 6; }
}

/* ── AI practice metrics band ── */
.ai-stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}
.ai-stat {
  background: var(--bg-card);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ai-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-stat-lbl {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── AI delivery lifecycle strip ── */
.ai-process { margin-top: var(--space-2xl); }
.ai-process-heading {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-lg);
}
.ai-process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
.ai-phase {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ai-phase:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}
.ai-phase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}
.ai-phase-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-300);
}
.ai-phase-dur {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.ai-phase-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.ai-phase-desc {
  font-size: 0.7813rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* ── Responsive: AI section data blocks ── */
@media (max-width: 1024px) {
  .ai-stats-band { grid-template-columns: repeat(2, 1fr); }
  .ai-process-track { grid-template-columns: repeat(2, 1fr); }
  .ai-process-track .ai-phase:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .ai-stats-band { grid-template-columns: 1fr; }
  .ai-process-track { grid-template-columns: 1fr; }
  .ai-process-track .ai-phase:last-child { grid-column: span 1; }
}

/* ===================================================
   HERO POLISH — logo, mobile glance stats, CTA pulse
   =================================================== */

/* Logo: replace the coin-flip (renders edge-on as a
   sliver mid-rotation) with a calm glow breathing */
@keyframes logo-breathe {
  0%, 100% {
    box-shadow:
      0 0 14px rgba(109, 40, 217, 0.35),
      0 0 28px rgba(45, 212, 191, 0.15),
      0 0 4px rgba(139, 92, 246, 0.5);
  }
  50% {
    box-shadow:
      0 0 22px rgba(109, 40, 217, 0.55),
      0 0 44px rgba(45, 212, 191, 0.28),
      0 0 8px rgba(139, 92, 246, 0.7);
  }
}
.logo-img {
  animation: logo-breathe 4s ease-in-out infinite;
  transform: none;
}
.logo-img:hover {
  animation-play-state: running;
  transform: scale(1.06);
  transition: transform 0.25s ease;
}

/* Mobile at-a-glance hero stats — replaces the hidden
   console panel's floating cards on phones */
.hero-glance { display: none; }

@media (max-width: 768px) {
  .hero-glance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }
  .hero-glance-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .hero-glance-num {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-glance-lbl {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
  }

  /* Slimmer announcement bar on phones */
  .announce-inner { padding-top: 0.35rem; padding-bottom: 0.35rem; }
}

/* Primary hero CTA — periodic glow pulse to draw the eye */
@keyframes cta-pulse {
  0%, 82%, 100% { box-shadow: 0 0 0 rgba(109, 40, 217, 0); }
  88% { box-shadow: 0 0 28px rgba(109, 40, 217, 0.55), 0 0 56px rgba(45, 212, 191, 0.25); }
}
.hero-ctas .btn-primary {
  animation: cta-pulse 5s ease-in-out infinite 2s;
}

@media (prefers-reduced-motion: reduce) {
  .logo-img { animation: none; }
  .hero-ctas .btn-primary { animation: none; }
}

/* ===================================================
   FEATURED AI CARD — phased roadmap filler
   (fills the tall 2-row card; tags pin to the bottom)
   =================================================== */

.cards-ai-bento .card-ai-featured {
  display: flex;
  flex-direction: column;
}
.cards-ai-bento .card-ai-featured .card-tags { margin-top: auto; }

.card-roadmap {
  margin: var(--space-lg) 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  /* stretch to absorb the featured card's spare height;
     phases distribute evenly so nothing pools at the bottom */
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-roadmap .card-phase { flex: 1; }
.card-roadmap .card-phase:last-child { flex: 0; }
.card-roadmap-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-300);
  margin-bottom: var(--space-md);
}

.card-phase {
  position: relative;
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
}
.card-phase:last-child { padding-bottom: 0; }

/* connector line between phase badges */
.card-phase:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 2px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.4), rgba(109, 40, 217, 0.25));
}

.card-phase-num {
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--teal-300);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.card-phase-body { flex: 1; min-width: 0; }
.card-phase-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: 2px;
}
.card-phase-head strong {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}
.card-phase-dur {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.card-phase-body p {
  margin: 0;
  font-size: 0.7813rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===================================================
   AI SECTION — reference pipeline + governance band
   =================================================== */

.ai-pipeline { margin-top: var(--space-2xl); }
.ai-pipeline-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: calc(var(--space-md) * -0.5) 0 var(--space-lg);
  max-width: 640px;
}

.ai-pipeline-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
}
.ai-pl-node {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ai-pl-node:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}
/* flow arrows between nodes (desktop row layout only) */
.ai-pl-node:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-300);
  font-size: 0.875rem;
  z-index: 1;
}
.ai-pl-name {
  font-family: var(--font-mono);
  font-size: 0.7188rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.ai-pl-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ai-governance { margin-top: var(--space-2xl); }
.ai-gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.ai-gov-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ai-gov-item:hover {
  border-color: var(--border-medium);
  border-left-color: var(--teal-400);
  transform: translateY(-3px);
}
.ai-gov-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.ai-gov-desc {
  margin: 0;
  font-size: 0.7813rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Responsive: pipeline + governance ── */
@media (max-width: 1024px) {
  .ai-pipeline-track { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
  .ai-pl-node:not(:last-child)::after { display: none; }
  .ai-gov-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ai-pipeline-track { grid-template-columns: repeat(2, 1fr); }
  .ai-gov-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   FDE — career ladder (education)
   =================================================== */

.fde-ladder { margin-top: var(--space-3xl); }

.fde-ladder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.fde-ladder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.fde-ladder-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.fde-ladder-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-md);
}

.fde-lvl {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
}
.fde-lvl-0 { color: var(--teal-300);   background: rgba(13, 148, 136, 0.12);  border: 1px solid rgba(45, 212, 191, 0.3); }
.fde-lvl-1 { color: var(--cyan-300);   background: rgba(8, 145, 178, 0.12);   border: 1px solid rgba(34, 211, 238, 0.3); }
.fde-lvl-2 { color: var(--violet-300); background: rgba(109, 40, 217, 0.12);  border: 1px solid rgba(139, 92, 246, 0.35); }
.fde-lvl-3 { color: #fff; background: var(--brand-gradient); border: none; }

.fde-ladder-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}
.fde-ladder-yrs {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.fde-ladder-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.fde-ladder-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.7813rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.fde-ladder-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-gradient);
  opacity: 0.75;
}

/* ===================================================
   FDE — engagement readiness checklist (business)
   =================================================== */

.fde-ready { margin: var(--space-4xl) 0; }

.fde-ready-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 980px;
}

.fde-ready-item {
  display: flex;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color 0.25s ease;
}
.fde-ready-item:hover { border-color: var(--border-medium); }

.fde-ready-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--violet-300);
  background: rgba(109, 40, 217, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.fde-ready-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.fde-ready-body p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── Responsive: ladder + readiness ── */
@media (max-width: 1024px) {
  .fde-ladder-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fde-ladder-grid { grid-template-columns: 1fr; }
  .fde-ready-grid { grid-template-columns: 1fr; }
}

.fde-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left */
.fde-spot-eyebrow { margin-bottom: var(--space-md); }

.fde-spot-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(139,92,246,0.22), rgba(45,212,191,0.12));
  border: 1px solid rgba(139,92,246,0.45);
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  color: var(--violet-300);
  box-shadow: 0 0 18px rgba(139,92,246,0.18);
}

.fde-spot-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--violet-300) 55%, var(--teal-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fde-spot-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.78;
  max-width: 500px;
  margin-bottom: var(--space-xl);
}

.fde-spot-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

/* Right */
.fde-spot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(109,40,217,0.15);
  border: 1px solid rgba(109,40,217,0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.fde-spot-stat {
  background: var(--bg-card);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: background 0.25s ease;
}
.fde-spot-stat:hover { background: rgba(109,40,217,0.08); }

.fde-spot-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.fde-spot-stat-lbl {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 5px;
  line-height: 1.4;
}

.fde-spot-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fde-spot-feat {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  line-height: 1.45;
}
.fde-spot-feat:hover {
  border-color: rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.05);
  transform: translateX(4px);
}

.fde-spot-feat-icon {
  color: var(--violet-400);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .fde-spotlight-inner { grid-template-columns: 1fr; gap: var(--space-3xl); }
  .fde-spot-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .fde-spotlight { padding: var(--space-3xl) 0; }
  .fde-spot-stats { grid-template-columns: 1fr; gap: 1px; }
  .fde-spot-actions { flex-direction: column; align-items: stretch; }
}
