/* ==========================================================================
   Aleph Omni Landing v2 — Design System & Kinetic Styles
   8pt/4pt spatial rhythm • WCAG AAA contrast • Zero horizontal overflow
   ========================================================================== */

:root {
  --bg-obsidian: #090c12;
  --surface-low: #10141f;
  --surface-card: #151b29;
  --surface-elevated: #1b2234;
  --cyan-accent: #00e5ff;
  --cyan-soft: #c3f5ff;
  --emerald-accent: #10b981;
  --obsidian-cyan-top: #0b2d3b;
  --obsidian-cyan-mid: #071a24;
  --obsidian-cyan-bot: #050d14;
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-cyan: rgba(0, 229, 255, 0.36);
}

@layer base {
  html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
    background-color: var(--bg-obsidian);
  }

  body {
    margin: 0;
    padding: 0;
    overflow-x: clip;
    max-width: 100%;
    background-color: var(--bg-obsidian);
    color: #f1f5f9;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
  }

  main > :first-child {
    margin-top: 0 !important;
  }

  main > :last-child {
    margin-bottom: 0 !important;
  }
}

h1, h2, h3, .font-display {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

.font-mono-code {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom thin subtle scrollbars only where explicitly needed */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #090c12;
}

::-webkit-scrollbar-thumb {
  background: #242c3f;
  border-radius: 9999px;
}

/* Hero Display Gradient Typography */
.hero-gradient-text {
  background: linear-gradient(100deg, #00e5ff 0%, #67e8f9 48%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero Kinetic Theater (4-Beat Progressive Stage) */
.hero-kinetic-card {
  background: linear-gradient(180deg, #101521 0%, #0b0f18 100%);
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero-beat-segment {
  position: relative;
  height: 6px;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.hero-beat-segment:hover {
  background: rgba(56, 189, 248, 0.4);
}

.hero-beat-segment.is-done {
  background: #00e5ff;
}

.hero-beat-segment.is-active {
  background: rgba(0, 229, 255, 0.35);
}

.hero-beat-segment.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #00e5ff, #34d399);
  border-radius: 9999px;
  transform-origin: left center;
  animation: heroBeatFill var(--beat-duration, 2.2s) linear forwards;
}

.hero-kinetic-paused .hero-beat-segment.is-active::after {
  animation-play-state: paused;
}

@keyframes heroBeatFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-night-badge.is-bouncing {
  animation: heroNightBadgePop 0.62s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes heroNightBadgePop {
  0% { opacity: 0; transform: translateY(-8px) scale(0.76); }
  60% { opacity: 1; transform: translateY(2px) scale(1.09); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-type-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background-color: #00e5ff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.85);
  animation: heroCaretBlink 0.65s steps(1, end) infinite;
}

@keyframes heroCaretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Hero Live Typing Dots & Knowledge Cyan Beam */
.hero-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #67e8f9;
}

.hero-typing-indicator .typing-dot {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background-color: #00e5ff;
  animation: heroTypingDot 1.1s ease-in-out infinite;
}

.hero-typing-indicator .typing-dot:nth-child(2) { animation-delay: 0.18s; }
.hero-typing-indicator .typing-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes heroTypingDot {
  0%, 80%, 100% { opacity: 0.28; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.hero-knowledge-beam {
  position: absolute;
  inset: 0;
  width: 48%;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.42) 50%, transparent 100%);
  transform: translateX(-120%);
  pointer-events: none;
}

#hero-beat-layer-1 {
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#hero-beat-layer-1.is-current {
  transform: scale(1.018);
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  border-color: rgba(0, 229, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.55), 0 12px 30px -10px rgba(0, 229, 255, 0.34);
}

#hero-beat-layer-1.is-current .hero-knowledge-beam {
  animation: heroKnowledgeSweep 1.35s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes heroKnowledgeSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

.hero-pop-highlight {
  animation: heroPopGlow 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes heroPopGlow {
  0% { opacity: 0.45; transform: scale(0.92); }
  65% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

.beat-layer {
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.beat-layer.is-pending {
  opacity: 0.22;
  transform: translateY(8px) scale(0.985);
  filter: grayscale(0.45);
}

.beat-layer.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.beat-layer.is-current {
  box-shadow: 0 0 0 1.5px rgba(0, 229, 255, 0.48), 0 12px 30px -10px rgba(0, 229, 255, 0.28);
}

#hero-telegram-toast {
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.38s ease;
}

#hero-telegram-toast.is-pending {
  opacity: 0.26;
  transform: scale(0.95);
  filter: grayscale(0.35);
}

#hero-telegram-toast.is-revealed {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

#hero-telegram-toast.is-current {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.72), 0 22px 48px -10px rgba(16, 185, 129, 0.48);
  animation: heroToastFlash 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroToastFlash {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.9), 0 0 36px rgba(0, 229, 255, 0.65); }
  100% { box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.72), 0 22px 48px -10px rgba(16, 185, 129, 0.48); }
}

.hero-tg-cursor {
  position: absolute;
  right: 12px;
  bottom: -10px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  opacity: 0;
  z-index: 30;
  filter: drop-shadow(0 4px 10px rgba(0, 229, 255, 0.55));
  transform: translate(38px, 24px) scale(1);
}

#hero-telegram-toast.is-current .hero-tg-cursor {
  animation: heroTgCursorClick 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroTgCursorClick {
  0% { opacity: 0; transform: translate(42px, 28px) scale(1); }
  18% { opacity: 1; transform: translate(32px, 18px) scale(1); }
  38% { opacity: 1; transform: translate(0px, -2px) scale(1); }
  45% { opacity: 1; transform: translate(0px, -2px) scale(0.82); }
  55%, 88% { opacity: 1; transform: translate(0px, -2px) scale(1); }
  100% { opacity: 0; transform: translate(16px, 12px) scale(1); }
}

.hero-tg-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 9999px;
  border: 2px solid #00e5ff;
  background: rgba(0, 229, 255, 0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

#hero-take-deal-btn.is-clicked {
  background: linear-gradient(90deg, #10b981, #059669) !important;
  border-color: #34d399 !important;
  color: #022c22 !important;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.55);
  transform: scale(0.96);
}

#hero-take-deal-btn.is-clicked .hero-tg-ripple {
  animation: heroTgRippleBurst 0.75s ease-out forwards;
}

@keyframes heroTgRippleBurst {
  0% { transform: scale(0.4); opacity: 0.95; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ==========================================================================
   Aleph Cyan / Deep Obsidian-Cyan Evolution Showcase (#evolution-showcase)
   ========================================================================== */
.direct-showcase-shell {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 229, 255, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 12% 88%, rgba(16, 185, 129, 0.14) 0%, transparent 44%),
    linear-gradient(155deg, var(--obsidian-cyan-top) 0%, var(--obsidian-cyan-mid) 52%, var(--obsidian-cyan-bot) 100%);
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 28px;
  box-shadow: 0 32px 80px -24px rgba(0, 20, 32, 0.9), 0 0 0 1px rgba(0, 229, 255, 0.08) inset;
}

.direct-step-pill {
  position: relative;
  overflow: hidden;
  background: #07151f;
  color: #e2e8f0;
  border: 1px solid rgba(0, 229, 255, 0.18);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  cursor: pointer;
}

.direct-step-pill:hover {
  background: #0d2332;
  border-color: rgba(0, 229, 255, 0.48);
  box-shadow: 0 0 22px -4px rgba(0, 229, 255, 0.25);
  color: #ffffff;
}

.direct-step-pill.is-active {
  background: #ecfeff;
  color: #082f49;
  border-color: #67e8f9;
  box-shadow: 0 14px 32px -8px rgba(0, 229, 255, 0.28);
  transform: translateY(-1px);
}

.direct-step-pill .pill-sub {
  color: #94a3b8;
}

.direct-step-pill.is-active .pill-sub {
  color: #155e75;
}

.direct-step-pill .pill-num {
  background: rgba(0, 229, 255, 0.14);
  color: #67e8f9;
  border: 1px solid rgba(0, 229, 255, 0.24);
}

.direct-step-pill.is-active .pill-num {
  background: #0891b2;
  color: #ffffff;
  border-color: #06b6d4;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.48);
}

.direct-step-pill .pill-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #00e5ff, #10b981);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
}

.direct-step-pill.is-active .pill-progress {
  opacity: 1;
  animation: pillProgressFill 5.5s linear forwards;
}

.direct-showcase-paused .direct-step-pill.is-active .pill-progress {
  animation-play-state: paused;
}

.direct-showcase-locked .direct-step-pill.is-active .pill-progress {
  animation: none;
  transform: scaleX(1);
  opacity: 0.9;
}

@keyframes pillProgressFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

#showcase-zoom-viewport {
  background: #f8feff;
  color: #0f172a;
  border: 1px solid rgba(103, 232, 249, 0.55);
  box-shadow: 0 24px 48px -16px rgba(0, 18, 28, 0.65);
  min-height: 410px;
}

.showcase-zoom-stage,
.showcase-zoom-canvas {
  transform-origin: var(--cam-origin, 50% 78%);
  will-change: transform;
  transition: opacity 0.28s ease;
}

.showcase-zoom-canvas.is-camera-active {
  animation: showcaseCameraPanZoom 4.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.direct-showcase-paused .showcase-zoom-canvas.is-camera-active {
  animation-play-state: paused;
}

@keyframes showcaseCameraPanZoom {
  0%, 16% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  36%, 84% {
    transform: scale(var(--cam-scale, 1.15)) translate3d(var(--cam-tx, 0px), var(--cam-ty, 0px), 0);
  }
  96%, 100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}

/* --- 4.5-Second Looped Micro-Animations Inside Showcase Scenes --- */
.showcase-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #00e5ff 50%, transparent 100%);
  box-shadow: 0 0 18px 3px rgba(0, 229, 255, 0.85);
  pointer-events: none;
  z-index: 10;
  animation: showcaseScanSweep 4.5s ease-in-out infinite;
}

@keyframes showcaseScanSweep {
  0% { top: 4%; opacity: 0.25; }
  36% { top: 88%; opacity: 1; }
  66% { top: 14%; opacity: 0.78; }
  100% { top: 4%; opacity: 0.25; }
}

.showcase-scan-row {
  animation: showcaseScanRowGlow 4.5s ease-out infinite;
  animation-delay: var(--row-delay, 0s);
}

@keyframes showcaseScanRowGlow {
  0%, 10% { opacity: 0.52; transform: translateX(-4px); }
  26%, 86% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0.52; transform: translateX(-4px); }
}

.showcase-fill-bar {
  width: 0%;
  animation: showcaseBarFillLoop 4.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  animation-delay: var(--bar-delay, 0s);
}

@keyframes showcaseBarFillLoop {
  0%, 6% { width: 0%; }
  34%, 88% { width: var(--target-w, 100%); }
  100% { width: 0%; }
}

.showcase-zoom-focus {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: showcaseZoomFocusLoop 4.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes showcaseZoomFocusLoop {
  0%, 28% {
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(8, 145, 178, 0.16);
  }
  42%, 84% {
    transform: scale(1.04);
    border-color: #00e5ff;
    box-shadow: 0 0 0 2.5px rgba(0, 229, 255, 0.85), 0 16px 34px -8px rgba(0, 229, 255, 0.44);
  }
  96%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(8, 145, 178, 0.16);
  }
}

.showcase-cursor {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 30;
  filter: drop-shadow(0 6px 12px rgba(8, 47, 73, 0.55));
  animation: showcaseCursorGlide 4.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes showcaseCursorGlide {
  0% { transform: translate(-64px, -44px) scale(1); opacity: 0; }
  14% { transform: translate(-52px, -36px) scale(1); opacity: 1; }
  36% { transform: translate(0px, 0px) scale(1); opacity: 1; }
  44% { transform: translate(0px, 0px) scale(0.8); opacity: 1; }
  54%, 86% { transform: translate(0px, 0px) scale(1); opacity: 1; }
  100% { transform: translate(24px, 16px) scale(1); opacity: 0; }
}

.showcase-btn-press {
  animation: showcaseBtnDepress 4.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes showcaseBtnDepress {
  0%, 38% { transform: scale(1); }
  44% { transform: scale(0.92); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.72); }
  54%, 88% { transform: scale(1.03); box-shadow: 0 0 20px rgba(0, 229, 255, 0.55); }
  100% { transform: scale(1); }
}

.showcase-click-ripple {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  border: 2.5px solid #00e5ff;
  background: rgba(0, 229, 255, 0.32);
  pointer-events: none;
  z-index: 25;
  opacity: 0;
  animation: showcaseClickRipple 4.5s ease-out infinite;
}

@keyframes showcaseClickRipple {
  0%, 41% { transform: scale(0.3); opacity: 0; }
  44% { transform: scale(0.55); opacity: 1; }
  70% { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Step 1 price strike & replacement */
.showcase-strike-price {
  position: relative;
  animation: showcaseStrikeAnim 4.5s ease-in-out infinite;
}

@keyframes showcaseStrikeAnim {
  0%, 24% { opacity: 1; text-decoration-color: transparent; color: #92400e; background-color: #fef3c7; }
  38%, 88% { opacity: 0.62; text-decoration: line-through; text-decoration-thickness: 2.5px; text-decoration-color: #dc2626; color: #64748b; background-color: #fee2e2; border-color: #fca5a5; }
  100% { opacity: 1; }
}

.showcase-new-price {
  animation: showcaseNewPricePop 4.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes showcaseNewPricePop {
  0%, 30% { opacity: 0.45; transform: scale(0.92); box-shadow: none; }
  44%, 88% { opacity: 1; transform: scale(1.08); box-shadow: 0 0 18px rgba(0, 229, 255, 0.55); }
  100% { opacity: 0.45; transform: scale(0.92); }
}

/* Step 3 cascade stress-test badges */
.showcase-cascade-row {
  animation: showcaseCascadePass 4.5s ease-out infinite;
  animation-delay: var(--cascade-delay, 0s);
}

@keyframes showcaseCascadePass {
  0%, 14% { opacity: 0.58; transform: translateX(-4px); border-color: #cbd5e1; background-color: #f1f5f9; color: #475569; }
  32%, 88% { opacity: 1; transform: translateX(0); border-color: #34d399; background-color: #ecfdf5; color: #064e3b; }
  100% { opacity: 0.58; transform: translateX(-4px); }
}

/* Step 4 PIN sequential green flash */
.showcase-pin-digit {
  animation: showcasePinFlash 4.5s ease-in-out infinite;
  animation-delay: var(--pin-delay, 0s);
}

@keyframes showcasePinFlash {
  0%, 10% { background-color: #f1f5f9; color: #0f172a; border-color: #cbd5e1; transform: scale(1); }
  20%, 78% { background-color: #d1fae5; color: #065f46; border-color: #10b981; transform: scale(1.08); box-shadow: 0 0 10px rgba(16, 185, 129, 0.35); }
  90%, 100% { background-color: #f1f5f9; color: #0f172a; border-color: #cbd5e1; transform: scale(1); }
}

/* Step 5 Moon 2x Concentric Radar & Stagger Cards */
.showcase-moon-radar {
  position: relative;
}

.showcase-moon-radar::before,
.showcase-moon-radar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid rgba(0, 229, 255, 0.85);
  animation: showcaseRadarPulse 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.showcase-moon-radar::after {
  animation-delay: 1.1s;
}

@keyframes showcaseRadarPulse {
  0% { transform: scale(0.85); opacity: 0.95; }
  100% { transform: scale(2.05); opacity: 0; }
}

.showcase-stagger-up {
  animation: showcaseStaggerSlideUp 4.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: var(--stagger-delay, 0s);
}

@keyframes showcaseStaggerSlideUp {
  0%, 10% { opacity: 0.32; transform: translateY(12px); }
  28%, 88% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0.32; transform: translateY(12px); }
}

/* Step 6 SVG Sparkline & PDF Button Shimmer */
.showcase-sparkline-path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: showcaseSparkDraw 4.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes showcaseSparkDraw {
  0%, 6% { stroke-dashoffset: 420; }
  48%, 88% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 420; }
}

.showcase-btn-shimmer {
  position: relative;
  overflow: hidden;
}

.showcase-btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: showcaseBtnGloss 3.2s ease-in-out infinite;
}

@keyframes showcaseBtnGloss {
  0%, 35% { left: -60%; }
  65%, 100% { left: 135%; }
}

/* ==========================================================================
   Scroll Reveal Across Sections (Zero-Stick Safe)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   VLM Scanner Laser Beam
   ========================================================================== */
.vlm-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #00e5ff 50%, transparent 100%);
  box-shadow: 0 0 18px 2px rgba(0, 229, 255, 0.65);
  pointer-events: none;
  animation: vlmBeamSweep 3.4s ease-in-out infinite;
}

@keyframes vlmBeamSweep {
  0%, 100% { top: 14%; opacity: 0.35; }
  50% { top: 82%; opacity: 0.95; }
}

/* ==========================================================================
   Preset Loss Audit Buttons
   ========================================================================== */
.preset-pill-btn {
  background: #121722;
  color: #e2e8f0;
  border: 1px solid #263147;
  transition: all 0.2s ease;
  cursor: pointer;
}

.preset-pill-btn:hover {
  border-color: rgba(0, 229, 255, 0.55);
  color: #ffffff;
}

.preset-pill-btn.is-active {
  background: rgba(0, 229, 255, 0.14);
  color: #00e5ff;
  border-color: #00e5ff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.22);
}

/* ==========================================================================
   Airy Paired Comparison Cards (#battle-matrix-section)
   ========================================================================== */
.compare-pair-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(16, 20, 31, 0.92) 0%, rgba(11, 15, 24, 0.96) 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.compare-pair-card:hover {
  border-color: rgba(0, 229, 255, 0.32);
  box-shadow: 0 20px 44px -24px rgba(0, 229, 255, 0.24);
}

.compare-side-legacy {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
}

.compare-side-aleph {
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.1) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 14px;
}

/* ==========================================================================
   Accessibility: Reduced Motion Support
   Interactive product showcases & VLM scan inside bounded containers stay alive;
   only background ping blinking is disabled under OS reduced-motion.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .animate-ping {
    animation: none !important;
  }
}

/* Mobile refinements (< 640px) */
@media (max-width: 639px) {
  .direct-showcase-shell {
    border-radius: 20px;
  }
}
