/* ==========================================================================
   LOME AI — Dark Premium Theme
   Glass cards, vibrant orbs, floating chat widget, AI animated borders.
   ========================================================================== */

/* ═══ Animatable Custom Property for Gradient Border ═══ */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ═══ Custom Properties ═══ */
:root {
  --bg-base: #030712;
  --bg-elevated: #0a0e1a;
  /* Increased glass visibility for real glassmorphism feel */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.16);
  --purple: #9333ea;
  --purple-light: #a855f7;
  --purple-glow: rgba(147, 51, 234, 0.3);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
}

/* ═══ Base ═══ */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
[hidden] { display: none !important; }

::selection {
  background: rgba(147, 51, 234, 0.3);
  color: #fff;
}

/* ═══ Scrollbar ═══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.15); }

/* ═══ Skip Link ═══ */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--purple); color: #fff; padding: 0.75rem 1.5rem;
  border-radius: 9999px; font-weight: 600; z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ═══ Focus ═══ */
:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ═══ Particle Canvas ═══ */
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ═══ Navigation ═══ */
.nav {
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hamburger span {
  display: block; width: 20px; height: 2px;
  background: currentColor; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99; flex-direction: column; align-items: center;
  justify-content: center; gap: 1.5rem;
}
.mobile-menu.active { display: flex; z-index: 101; }

/* ═══ Mobile CTA Bar ═══ */
.mobile-cta-bar {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* ═══ Atmospheric Orbs ═══ */
.atmo-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  animation: orb-drift 10s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  0% { opacity: 0.4; transform: scale(1) translate(0, 0); }
  50% { opacity: 0.6; transform: scale(1.05) translate(10px, -10px); }
  100% { opacity: 0.45; transform: scale(0.98) translate(-5px, 5px); }
}

/* ═══ Glass Card ═══ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

/* ═══ AI Animated Gradient Border ═══ */
.ai-border {
  position: relative;
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    conic-gradient(
      from var(--border-angle),
      transparent 25%,
      var(--purple) 45%,
      var(--cyan) 55%,
      transparent 75%
    ) border-box;
  border: 1px solid transparent;
  animation: spin-border 4s linear infinite;
}

.ai-border-panel {
  position: relative;
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    conic-gradient(
      from var(--border-angle),
      transparent 30%,
      rgba(147, 51, 234, 0.5) 45%,
      rgba(6, 182, 212, 0.5) 55%,
      transparent 70%
    ) border-box;
  border: 1px solid transparent;
  animation: spin-border 6s linear infinite;
}

/* ═══ AI Glass Button — animated gradient border + real glassmorphism ═══ */
.ai-glass-btn {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ) padding-box,
    conic-gradient(
      from var(--border-angle),
      transparent 15%,
      rgba(147, 51, 234, 0.9) 30%,
      rgba(6, 182, 212, 0.7) 50%,
      rgba(147, 51, 234, 0.9) 70%,
      transparent 85%
    ) border-box;
  border: 1.5px solid transparent;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: spin-border 3s linear infinite;
  box-shadow:
    0 0 20px rgba(147, 51, 234, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}
.ai-glass-btn:hover {
  box-shadow:
    0 0 40px rgba(147, 51, 234, 0.3),
    0 0 80px rgba(147, 51, 234, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Inner glow shimmer for glass button */
.ai-glass-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(147, 51, 234, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.ai-glass-btn:hover::before {
  opacity: 1;
}

/* AI shimmer on CTA buttons */
.ai-shimmer {
  position: relative;
  overflow: hidden;
}
.ai-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0.04) 55%,
    transparent 60%
  );
  background-size: 250% 100%;
  animation: shimmer-sweep 3.5s ease-in-out infinite;
}

@keyframes spin-border {
  to { --border-angle: 360deg; }
}

@keyframes shimmer-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══ Hero Primary CTA — elevated solid button ═══ */
.hero-cta-primary {
  position: relative;
  box-shadow:
    0 0 30px rgba(147, 51, 234, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.hero-cta-primary:hover {
  box-shadow:
    0 0 50px rgba(147, 51, 234, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* ═══ Hero Glass Badge ═══ */
.hero-badge {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.2);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.08);
}

/* ═══ Gradient Text ═══ */
.gradient-text {
  background: linear-gradient(135deg, #a855f7 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #c084fc 0%, #22d3ee 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ FAQ ═══ */
.faq-icon {
  transition: transform 0.3s, color 0.3s;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--purple-light);
}
.faq-trigger:hover .faq-icon {
  color: var(--purple-light);
}

/* ═══ Reveal Animation ═══ */
/* Handled by interactions.js inline styles. Do NOT add [data-reveal] { opacity:0 } here. */
[data-reveal].revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ═══ Floating Chat Widget ═══ */
.max-float-btn {
  animation: float-pulse 3s ease-in-out infinite;
}
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.3); }
  50% { box-shadow: 0 0 35px rgba(147, 51, 234, 0.5); }
}

/* ═══ Maximilian Chat ═══ */
.max-messages::-webkit-scrollbar { width: 4px; }
.max-messages::-webkit-scrollbar-track { background: transparent; }
.max-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.06); border-radius: 4px; }

.max-message {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  max-width: 85%;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.max-message.assistant {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  margin-right: auto;
}
.max-message.user {
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.2);
  color: #f3e8ff;
  margin-left: auto;
}
.max-message p { margin: 0; }

.max-card {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

/* Typing indicator */
.typing-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.6);
  animation: typing-bounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

/* Mic recording pulse */
.mic-btn.recording {
  animation: pulse-mic 1.5s infinite;
  box-shadow: 0 0 0 8px rgba(147, 51, 234, 0.2);
}

/* Mode toggle active */
.mode-btn--active {
  background: rgba(147, 51, 234, 0.15) !important;
  border-color: rgba(147, 51, 234, 0.25) !important;
  color: #d8b4fe !important;
}

/* ═══ Keyframes ═══ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
@keyframes pulse-mic {
  0%, 100% { box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.2); }
  50% { box-shadow: 0 0 0 16px rgba(147, 51, 234, 0.05); }
}

/* ═══ Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #particle-canvas { opacity: 0.3; }
  .ai-border,
  .ai-border-panel { animation: none; border-color: var(--glass-border); }
  .ai-shimmer::after { animation: none; display: none; }
  .atmo-orb { animation: none; }
  .max-float-btn { animation: none; }
}

/* ═══ Process Timeline ═══ */
.process-timeline {
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(147, 51, 234, 0.3), rgba(6, 182, 212, 0.2), transparent);
}

.process-step {
  position: relative;
  padding-left: 64px;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-bottom: 2rem;
}
.process-step:last-child { margin-bottom: 0; }
.process-step .step-num {
  position: absolute;
  left: 8px;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
}
.process-step:not(.active):hover .step-num {
  border-color: rgba(147, 51, 234, 0.4);
  color: rgba(255, 255, 255, 0.6);
  background: rgba(147, 51, 234, 0.08);
}
.process-step:not(.active):hover .step-title {
  color: rgba(255, 255, 255, 0.6);
}
.process-step.active .step-num {
  border-color: var(--purple);
  color: #fff;
  background: rgba(147, 51, 234, 0.2);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}
.process-step .step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s;
  line-height: 1.3;
}
.process-step.active .step-title { color: #fff; }
.process-step .step-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
}
.process-step.active .step-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.75rem;
}
.process-step .step-time {
  opacity: 0;
  max-height: 0;
  transition: all 0.3s ease;
}
.process-step.active .step-time {
  opacity: 1;
  max-height: 40px;
  margin-top: 0.5rem;
}

/* Process Visual Panel — stacked floating glass cards */
.process-visual {
  position: relative;
  min-height: 380px;
}
.process-float {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.process-float--back {
  background: rgba(255, 255, 255, 0.02);
  inset: 20px 10px 30px 20px;
  animation: pf-drift 8s ease-in-out infinite alternate;
}
.process-float--mid {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.06), rgba(6, 182, 212, 0.04));
  border-color: rgba(147, 51, 234, 0.12);
  inset: 40px 30px 20px 40px;
  animation: pf-drift 8s ease-in-out infinite alternate-reverse;
}
.process-float--front {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
  inset: 60px 50px 40px 60px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: pf-drift 6s ease-in-out infinite alternate;
  box-shadow: 0 0 40px rgba(147, 51, 234, 0.08);
}
.process-float--front .pf-bar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.4), rgba(6, 182, 212, 0.5));
}
.process-float--front .pf-block {
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
@keyframes pf-drift {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.3deg); }
  100% { transform: translateY(3px) rotate(-0.2deg); }
}
/* Glow orbs inside process visual */
.process-visual .pv-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* ═══ Section Tags ═══ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(168, 85, 247, 0.7);
  margin-bottom: 1rem;
}
.section-tag .tag-num {
  color: rgba(168, 85, 247, 0.45);
}

/* ═══ Print ═══ */
@media print {
  .nav, #particle-canvas, .mobile-menu, .atmo-orb,
  .mobile-cta-bar, .max-float-btn { display: none !important; }
  body { background: white; color: black; }
}

/* ═══ Service Cards (4x2 Grid with CSS Illustrations) ═══ */
.service-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.035);
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1.1;
}
.service-card:hover {
  border-color: rgba(147, 51, 234, 0.40);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Illustration container */
.svc-illustration {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ── Strategy: Isometric Cube Stack ── */
.svc-illustration--strategy {
  perspective: 400px;
}
.svc-cube {
  width: 40px;
  height: 40px;
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(45deg);
  animation: svc-float 4s ease-in-out infinite;
}
.svc-cube--2 {
  top: calc(50% - 44px);
  left: calc(50% - 10px);
  animation-delay: -1s;
}
.svc-cube--3 {
  top: calc(50% - 20px);
  left: calc(50% + 14px);
  animation-delay: -2s;
}
.svc-cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
}
.svc-cube-face--front {
  background: rgba(147, 51, 234, 0.30);
  border: 1px solid rgba(147, 51, 234, 0.50);
  transform: translateZ(20px);
}
.svc-cube-face--top {
  background: rgba(147, 51, 234, 0.18);
  border: 1px solid rgba(147, 51, 234, 0.40);
  transform: rotateX(90deg) translateZ(20px);
}
.svc-cube-face--right {
  background: rgba(147, 51, 234, 0.25);
  border: 1px solid rgba(147, 51, 234, 0.40);
  transform: rotateY(90deg) translateZ(20px);
}
@keyframes svc-float {
  0%, 100% { transform: rotateX(-25deg) rotateY(45deg) translateY(0); }
  50% { transform: rotateX(-25deg) rotateY(45deg) translateY(-4px); }
}

/* ── RAG: Layered Documents + Magnifier ── */
.svc-illustration--rag {
  flex-direction: column;
}
.svc-doc {
  width: 50px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  position: absolute;
}
.svc-doc--1 { top: 30%; left: 25%; }
.svc-doc--2 { top: 42%; left: 30%; background: rgba(147, 51, 234, 0.18); border-color: rgba(147, 51, 234, 0.30); }
.svc-doc--3 { top: 54%; left: 22%; }
.svc-magnifier {
  position: absolute;
  top: 32%;
  right: 25%;
}
.svc-magnifier-lens {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.7);
  background: rgba(6, 182, 212, 0.12);
}
.svc-magnifier-handle {
  width: 2px;
  height: 14px;
  background: rgba(6, 182, 212, 0.7);
  transform: rotate(45deg);
  transform-origin: top center;
  position: absolute;
  bottom: -12px;
  right: 0;
}

/* ── Agents: Concentric Orbits ── */
.svc-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(147, 51, 234, 0.25);
}
.svc-orbit--1 { width: 90px; height: 90px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.svc-orbit--2 { width: 62px; height: 62px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: rgba(147, 51, 234, 0.35); }
.svc-orbit--3 { width: 34px; height: 34px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: rgba(147, 51, 234, 0.45); }
.svc-orbit-center {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.8);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.6);
}
.svc-orbit-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.9);
}
.svc-orbit-dot--1 { top: calc(50% - 45px); left: 50%; transform: translateX(-50%); animation: svc-orbit-spin 6s linear infinite; }
.svc-orbit-dot--2 { top: 50%; left: calc(50% + 31px); transform: translateY(-50%); animation: svc-orbit-spin 4s linear infinite reverse; }
.svc-orbit-dot--3 { top: calc(50% + 17px); left: calc(50% - 17px); animation: svc-orbit-spin 8s linear infinite; }
@keyframes svc-orbit-spin {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* ── Vision: Viewfinder + Crosshair ── */
.svc-viewfinder {
  width: 70px;
  height: 70px;
  position: relative;
}
.svc-viewfinder-corner {
  position: absolute;
  width: 14px;
  height: 14px;
}
.svc-viewfinder-corner--tl { top: 0; left: 0; border-top: 2px solid rgba(6, 182, 212, 0.8); border-left: 2px solid rgba(6, 182, 212, 0.8); }
.svc-viewfinder-corner--tr { top: 0; right: 0; border-top: 2px solid rgba(6, 182, 212, 0.8); border-right: 2px solid rgba(6, 182, 212, 0.8); }
.svc-viewfinder-corner--bl { bottom: 0; left: 0; border-bottom: 2px solid rgba(6, 182, 212, 0.8); border-left: 2px solid rgba(6, 182, 212, 0.8); }
.svc-viewfinder-corner--br { bottom: 0; right: 0; border-bottom: 2px solid rgba(6, 182, 212, 0.8); border-right: 2px solid rgba(6, 182, 212, 0.8); }
.svc-crosshair-h {
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 1px;
  background: rgba(6, 182, 212, 0.45);
}
.svc-crosshair-v {
  position: absolute;
  left: 50%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(6, 182, 212, 0.45);
}
.svc-scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(147, 51, 234, 0.5);
  animation: svc-scan 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(147, 51, 234, 0.3);
}
@keyframes svc-scan {
  0%, 100% { top: 15%; }
  50% { top: 85%; }
}

/* ── Voice: Wave Bars + Speech Bubble ── */
.svc-illustration--voice {
  gap: 3px;
  align-items: flex-end;
  padding-bottom: 20%;
}
.svc-wave-bar {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(147, 51, 234, 0.7), rgba(6, 182, 212, 0.6));
  animation: svc-wave 1.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.1s);
}
@keyframes svc-wave {
  0%, 100% { height: 12px; }
  50% { height: 32px; }
}
.svc-speech-bubble {
  position: absolute;
  top: 18%;
  right: 18%;
  width: 30px;
  height: 22px;
  border-radius: 10px 10px 10px 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

/* ── LLM: Neural Network ── */
.svc-illustration--llm {
  gap: 16px;
}
.svc-neural-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.svc-neural-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.5);
  border: 1px solid rgba(147, 51, 234, 0.65);
}
.svc-neural-col--2 .svc-neural-node {
  background: rgba(6, 182, 212, 0.4);
  border-color: rgba(6, 182, 212, 0.55);
}
.svc-neural-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 45%, rgba(147, 51, 234, 0.08) 50%, transparent 55%),
    linear-gradient(45deg, transparent 45%, rgba(6, 182, 212, 0.06) 50%, transparent 55%);
}

/* ── Content: Overlapping Cards ── */
.svc-content-card {
  position: absolute;
  width: 50px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease;
}
.svc-content-card--1 {
  top: 22%;
  left: 22%;
  transform: rotate(-6deg);
}
.svc-content-card--2 {
  top: 28%;
  left: 35%;
  transform: rotate(2deg);
  background: rgba(147, 51, 234, 0.15);
  border-color: rgba(147, 51, 234, 0.25);
}
.svc-content-card--3 {
  top: 34%;
  left: 48%;
  transform: rotate(8deg);
}
.service-card:hover .svc-content-card--1 { transform: rotate(-6deg) translateY(-4px); }
.service-card:hover .svc-content-card--2 { transform: rotate(2deg) translateY(-6px); }
.service-card:hover .svc-content-card--3 { transform: rotate(8deg) translateY(-4px); }

/* ── Data: Bar Chart + Trend Line ── */
.svc-illustration--data {
  gap: 5px;
  align-items: flex-end;
  padding-bottom: 15%;
  padding-left: 10%;
  padding-right: 10%;
}
.svc-bar {
  width: 10px;
  border-radius: 3px 3px 0 0;
  background: rgba(147, 51, 234, 0.35);
  border: 1px solid rgba(147, 51, 234, 0.30);
  border-bottom: none;
  transition: height 0.4s ease;
}
.svc-bar--1 { height: 24px; }
.svc-bar--2 { height: 36px; }
.svc-bar--3 { height: 28px; background: rgba(6, 182, 212, 0.30); border-color: rgba(6, 182, 212, 0.40); }
.svc-bar--4 { height: 48px; }
.svc-bar--5 { height: 40px; background: rgba(6, 182, 212, 0.30); border-color: rgba(6, 182, 212, 0.40); }
.svc-trend-line {
  position: absolute;
  bottom: 20%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.1), rgba(6, 182, 212, 0.5), rgba(147, 51, 234, 0.1));
  transform: rotate(-8deg);
}

/* ═══ Process Visual Panel (Dynamic Switching) ═══ */
.process-visual-panel {
  position: relative;
}
.process-visual-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-visual-content.active {
  opacity: 1;
  pointer-events: auto;
}
.pv-scene {
  width: 100%;
  max-width: 320px;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transform-origin: center center;
}
@media (min-width: 1024px) {
  .pv-scene {
    max-width: 380px;
    min-height: 300px;
    transform: scale(1);
  }
}

/* Process Visual 1: Data Grid + Magnifier */
.pv-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pv-grid-row {
  display: flex;
  gap: 6px;
}
.pv-grid-row span {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pv-grid-row span.highlight {
  background: rgba(147, 51, 234, 0.22);
  border-color: rgba(147, 51, 234, 0.40);
}
.pv-magnifier {
  position: absolute;
  top: 15%;
  right: 10%;
}
.pv-magnifier-lens {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.7);
  background: rgba(6, 182, 212, 0.12);
}
.pv-magnifier-handle {
  width: 2px;
  height: 20px;
  background: rgba(6, 182, 212, 0.7);
  transform: rotate(45deg);
  transform-origin: top center;
  position: absolute;
  bottom: -16px;
  right: 2px;
}

/* Visual 1 animations — only when .active */
.process-visual-content.active .pv-magnifier {
  animation: pv-magnifier-float 4s ease-in-out infinite;
}
.process-visual-content.active .pv-magnifier-lens {
  animation: pv-mag-pulse 3s ease-in-out infinite;
}
.process-visual-content.active .pv-grid-row span {
  animation: pv-grid-shimmer 3s ease-in-out infinite;
}
.process-visual-content.active .pv-grid-row:nth-child(1) span { animation-delay: 0s; }
.process-visual-content.active .pv-grid-row:nth-child(2) span { animation-delay: 0.15s; }
.process-visual-content.active .pv-grid-row:nth-child(3) span { animation-delay: 0.3s; }
.process-visual-content.active .pv-grid-row:nth-child(4) span { animation-delay: 0.45s; }
.process-visual-content.active .pv-grid-row span.highlight {
  animation: pv-highlight-pulse 2.5s ease-in-out infinite;
}
.process-visual-content.active .pv-grid-row:nth-child(2) span.highlight:nth-child(2) { animation-delay: 0s; }
.process-visual-content.active .pv-grid-row:nth-child(2) span.highlight:nth-child(3) { animation-delay: 0.3s; }
.process-visual-content.active .pv-grid-row:nth-child(3) span.highlight:nth-child(3) { animation-delay: 0.6s; }
.process-visual-content.active .pv-grid-row:nth-child(3) span.highlight:nth-child(4) { animation-delay: 0.9s; }

@keyframes pv-magnifier-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pv-mag-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(6, 182, 212, 0.25); }
  50% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.5); }
}
@keyframes pv-grid-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes pv-highlight-pulse {
  0%, 100% {
    background: rgba(147, 51, 234, 0.22);
    box-shadow: 0 0 0 rgba(147, 51, 234, 0);
  }
  50% {
    background: rgba(147, 51, 234, 0.38);
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.3);
  }
}

/* Process Visual 2: Document + Checkmarks */
.pv-document {
  width: 200px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.pv-doc-header {
  height: 10px;
  width: 60%;
  border-radius: 4px;
  background: rgba(147, 51, 234, 0.2);
  margin-bottom: 20px;
}
.pv-doc-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding-right: 8px;
}
.pv-doc-line--short {
  width: 70%;
}
.pv-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  flex-shrink: 0;
  margin-left: -4px;
}
.pv-doc-signature {
  margin-top: 16px;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.3), rgba(147, 51, 234, 0.1));
  border-radius: 1px;
}

/* Visual 2 animations — only when .active */
.process-visual-content.active .pv-doc-line {
  opacity: 0;
  transform: translateX(-12px);
  animation: pv-doc-line-slidein 0.5s ease forwards;
}
.process-visual-content.active .pv-doc-line:nth-child(2) { animation-delay: 0.2s; }
.process-visual-content.active .pv-doc-line:nth-child(3) { animation-delay: 0.4s; }
.process-visual-content.active .pv-doc-line:nth-child(4) { animation-delay: 0.6s; }
.process-visual-content.active .pv-doc-line:nth-child(5) { animation-delay: 0.8s; }

.process-visual-content.active .pv-check {
  transform: scale(0);
  animation: pv-check-appear 0.4s ease forwards;
}
.process-visual-content.active .pv-doc-line:nth-child(2) .pv-check { animation-delay: 0.5s; }
.process-visual-content.active .pv-doc-line:nth-child(3) .pv-check { animation-delay: 0.7s; }
.process-visual-content.active .pv-doc-line:nth-child(4) .pv-check { animation-delay: 0.9s; }
.process-visual-content.active .pv-doc-line:nth-child(5) .pv-check { animation-delay: 1.1s; }

.process-visual-content.active .pv-doc-signature {
  transform-origin: left center;
  animation: pv-signature-draw 0.8s ease forwards 1.3s;
  transform: scaleX(0);
}

@keyframes pv-doc-line-slidein {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pv-check-appear {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@keyframes pv-signature-draw {
  to { transform: scaleX(1); }
}

/* Process Visual 3: Blueprint */
.pv-blueprint {
  width: 100%;
  max-width: 300px;
  height: 200px;
  position: relative;
  border: 1px dashed rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  padding: 20px;
}
.pv-bp-box {
  position: absolute;
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: 6px;
  background: rgba(6, 182, 212, 0.12);
}
.pv-bp-box--main {
  width: 80px;
  height: 50px;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}
.pv-bp-box--side1 {
  width: 50px;
  height: 35px;
  top: 15%;
  left: 10%;
}
.pv-bp-box--side2 {
  width: 50px;
  height: 35px;
  bottom: 15%;
  right: 10%;
}
.pv-bp-connector {
  position: absolute;
  height: 1px;
  background: rgba(6, 182, 212, 0.2);
}
.pv-bp-connector--1 {
  width: 40px;
  top: 32%;
  left: 26%;
  transform: rotate(20deg);
}
.pv-bp-connector--2 {
  width: 40px;
  bottom: 30%;
  right: 24%;
  transform: rotate(-20deg);
}
.pv-bp-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(6, 182, 212, 0.2);
}

/* Visual 3 animations — only when .active */
.process-visual-content.active .pv-blueprint {
  animation: pv-blueprint-grid-pulse 4s ease-in-out infinite;
}
.process-visual-content.active .pv-bp-box {
  opacity: 0;
  animation: pv-bp-box-fadein 0.6s ease forwards;
}
.process-visual-content.active .pv-bp-box--main { animation-delay: 0.2s; }
.process-visual-content.active .pv-bp-box--side1 { animation-delay: 0.5s; }
.process-visual-content.active .pv-bp-box--side2 { animation-delay: 0.8s; }

.process-visual-content.active .pv-bp-connector {
  transform-origin: left center;
}
.process-visual-content.active .pv-bp-connector--1 {
  transform: scaleX(0) rotate(20deg);
  animation: pv-connector-extend-1 0.5s ease forwards 0.7s;
}
.process-visual-content.active .pv-bp-connector--2 {
  transform: scaleX(0) rotate(-20deg);
  animation: pv-connector-extend-2 0.5s ease forwards 1.0s;
}

@keyframes pv-blueprint-grid-pulse {
  0%, 100% { border-color: rgba(6, 182, 212, 0.25); }
  50% { border-color: rgba(6, 182, 212, 0.15); }
}
@keyframes pv-bp-box-fadein {
  0% { opacity: 0; transform: translateX(-50%) scale(0.85); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}
/* Override for side boxes that don't use translateX(-50%) */
.process-visual-content.active .pv-bp-box--side1,
.process-visual-content.active .pv-bp-box--side2 {
  animation-name: pv-bp-box-fadein-side;
}
@keyframes pv-bp-box-fadein-side {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
/* Connector extend keyframes per direction */
@keyframes pv-connector-extend-1 {
  0% { transform: scaleX(0) rotate(20deg); }
  100% { transform: scaleX(1) rotate(20deg); }
}
@keyframes pv-connector-extend-2 {
  0% { transform: scaleX(0) rotate(-20deg); }
  100% { transform: scaleX(1) rotate(-20deg); }
}

/* Process Visual 4: Terminal */
.pv-terminal {
  width: 260px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
}
.pv-term-header {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pv-term-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pv-term-dot--red { background: rgba(239, 68, 68, 0.6); }
.pv-term-dot--yellow { background: rgba(234, 179, 8, 0.6); }
.pv-term-dot--green { background: rgba(34, 197, 94, 0.6); }
.pv-term-line {
  padding: 3px 12px;
  color: rgba(255, 255, 255, 0.7);
}
.pv-term-line--dim {
  color: rgba(255, 255, 255, 0.35);
}
.pv-term-line--success {
  color: rgba(34, 197, 94, 0.8);
  padding-bottom: 12px;
}
.pv-term-progress {
  margin: 8px 12px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.pv-term-progress-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  width: 0%;
}
.process-visual-content.active .pv-term-progress-bar {
  animation: pv-progress-fill 3s ease-in-out infinite;
}
@keyframes pv-progress-fill {
  0% { width: 0%; }
  60% { width: 100%; }
  100% { width: 100%; }
}

/* Process Visual 5: Dashboard */
.pv-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 260px;
}
.pv-dash-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pv-dash-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pv-dash-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}
.pv-dash-chart {
  height: 80px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
}

/* Visual 5 animations — only when .active */
.process-visual-content.active .pv-dash-stat {
  opacity: 0;
  animation: pv-dash-stat-fadein 0.5s ease forwards;
}
.process-visual-content.active .pv-dash-stat:nth-child(1) { animation-delay: 0.1s; }
.process-visual-content.active .pv-dash-stat:nth-child(3) { animation-delay: 1.6s; }

.process-visual-content.active .pv-chart-line {
  stroke-dasharray: 350;
  stroke-dashoffset: 350;
  animation: pv-chart-draw 1.8s ease forwards 0.4s;
}
.process-visual-content.active .pv-chart-fill {
  opacity: 0;
  animation: pv-chart-fill-fadein 0.8s ease forwards 1.6s;
}

@keyframes pv-dash-stat-fadein {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes pv-chart-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes pv-chart-fill-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ═══ Maximilian Progress Dots ═══ */
.max-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.max-progress-dot.active {
  background: rgba(147, 51, 234, 0.6);
  box-shadow: 0 0 8px rgba(147, 51, 234, 0.4);
}
.max-progress-dot.completed {
  background: rgba(34, 197, 94, 0.5);
}

/* ═══ Maximilian Option Cards (Scripted Flow) ═══ */
.max-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.max-option-card {
  border: 1.5px solid rgba(147, 51, 234, 0.25);
  border-radius: 999px;
  padding: 0.625rem 1.25rem;
  background: rgba(147, 51, 234, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .max-option-card {
    white-space: normal;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
  }
}
.max-option-card:hover {
  border-color: rgba(147, 51, 234, 0.5);
  background: rgba(147, 51, 234, 0.18);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(147, 51, 234, 0.15);
}

/* Stagger entrance */
.max-option-card.entering {
  opacity: 0;
  transform: translateY(8px);
}
.max-option-card.entered {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ═══ Custom Text Input for "Other" flow ═══ */
.max-other-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 0.85rem;
  resize: none;
  min-height: 60px;
  transition: border-color 0.3s ease;
}
.max-other-input:focus {
  border-color: rgba(147, 51, 234, 0.4);
  outline: none;
}
.max-other-submit {
  margin-top: 8px;
  padding: 0.5rem 1.25rem;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.max-other-submit:hover {
  background: rgba(147, 51, 234, 0.3);
  color: #fff;
}

/* ═══ Error Link ═══ */
.max-error-link {
  color: rgba(168, 85, 247, 0.7);
  font-weight: 500;
  text-decoration: none;
}
.max-error-link:hover {
  color: rgba(168, 85, 247, 1);
  text-decoration: underline;
}

/* ═══ Stat Card ═══ */
.stat-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 51, 234, 0.15);
}

/* ═══ Testimonial Card ═══ */
.testimonial-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 51, 234, 0.15);
}

/* ═══ Partner Logo ═══ */
.partner-logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

/* ═══ Booking CTA Card (after scripted flow) ═══ */
.max-booking-card {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 16px;
  background: rgba(147, 51, 234, 0.06);
  text-align: center;
}
.max-booking-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}
.max-booking-card p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.max-booking-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--purple);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}
.max-booking-card a:hover {
  background: var(--purple-light);
}

/* Max restart button */
.max-restart-btn {
  display: block;
  margin: 8px auto 0;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.max-restart-btn:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ═══ Founder Photo + Facial Recognition Scan ═══ */
.founder-photo-wrap {
  border: 1px solid rgba(147, 51, 234, 0.15);
  border-radius: 16px;
  background: #030712;
  box-shadow:
    0 0 40px rgba(147, 51, 234, 0.10),
    0 0 80px rgba(6, 182, 212, 0.05);
  transition: box-shadow 0.4s ease;
}
.founder-photo-wrap:hover {
  box-shadow:
    0 0 60px rgba(147, 51, 234, 0.18),
    0 0 120px rgba(6, 182, 212, 0.10);
  border-color: rgba(147, 51, 234, 0.25);
}
/* Duotone: desaturate + purple/cyan tint */
.founder-photo {
  filter: grayscale(1) brightness(0.85) contrast(1.15);
  mix-blend-mode: luminosity;
}
.founder-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(6, 182, 212, 0.12) 0%,
    rgba(147, 51, 234, 0.18) 40%,
    rgba(3, 7, 18, 0.35) 100%
  );
  mix-blend-mode: color;
  pointer-events: none;
  border-radius: inherit;
}
#founder-particles-canvas {
  mix-blend-mode: screen;
}

/* ── Maximilian avatar crossfade ── */
.max-avatar-portrait {
  background: #0a0e1a;
}
.max-avatar-frame {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.max-avatar-frame.active {
  opacity: 1;
}
