/* ============================================================
           ReasonKit Landing Page - Premium Responsive Design System
           ============================================================

           BREAKPOINTS:
           - xs:  < 480px   (small phones)
           - sm:  480-639px (large phones)
           - md:  640-767px (small tablets)
           - lg:  768-1023px (tablets/small laptops)
           - xl:  1024-1279px (laptops)
           - 2xl: 1280-1535px (desktops)
           - 3xl: 1536px+ (large screens)

           FONT OPTIMIZATION STRATEGY:
           - Fully self-hosted fonts (no external dependencies)
           - font-display: optional for critical fonts to prevent CLS
           - font-display: swap for non-critical fonts
           - Preloaded critical font files
           - Comprehensive fallback stacks
           - Font loading detection with progressive enhancement
           - CSS containment for improved rendering performance

           ============================================================ */

:root {
  /* Core Colors */
  --bg-void: #030508;
  --bg-deep: #0a0d14;
  --bg-surface: #111827;
  --bg-elevated: #1f2937;
  --bg-card: rgba(17, 24, 39, 0.92);
  --bg-card-hover: rgba(31, 41, 55, 0.95);

  /* Text */
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #8b949e; /* WCAG AA compliant: 4.8:1 contrast on #030508 */
  --text-dim: #4b5563;

  /* Accent Colors */
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.3);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.3);
  --pink: #ec4899;
  --pink-glow: rgba(236, 72, 153, 0.3);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.3);
  --orange: #f97316;
  --orange-glow: rgba(249, 115, 22, 0.3);
  --yellow: #fbbf24;
  --yellow-glow: rgba(251, 191, 36, 0.3);
  --red: #ef4444;

  /* Gradients */
  --gradient-hero: linear-gradient(
    135deg,
    #06b6d4 0%,
    #a855f7 50%,
    #ec4899 100%
  );
  --gradient-cyan-purple: linear-gradient(135deg, #06b6d4, #a855f7);
  --gradient-purple-pink: linear-gradient(135deg, #a855f7, #ec4899);
  --gradient-glow: radial-gradient(
    ellipse at center,
    rgba(6, 182, 212, 0.15),
    transparent 70%
  );

  /* Border */
  --border: rgba(75, 85, 99, 0.4);
  --border-accent: rgba(6, 182, 212, 0.3);
  --border-strong: rgba(148, 163, 184, 0.3);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px -12px var(--cyan-glow);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ============================================================
               FLUID RESPONSIVE SYSTEM
               ============================================================ */

  /* Fluid Typography Scale (scales from 320px to 1536px viewport) */
  --text-xs: clamp(0.65rem, 0.6rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-xl: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-3xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-4xl: clamp(1.75rem, 1.3rem + 2.25vw, 2.5rem);
  --text-5xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-6xl: clamp(2.25rem, 1.5rem + 3.75vw, 4rem);
  --text-hero: clamp(2rem, 1rem + 5vw, 4.5rem);

  /* Fluid Spacing Scale */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(0.75rem, 0.6rem + 0.75vw, 1rem);
  --space-lg: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-xl: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  --space-2xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-3xl: clamp(3rem, 2rem + 5vw, 6rem);
  --space-section: clamp(2.5rem, 1.5rem + 3vw, 5rem);

  /* Fluid Container Widths */
  --container-sm: min(95%, 640px);
  --container-md: min(92%, 768px);
  --container-lg: min(90%, 1024px);
  --container-xl: min(88%, 1280px);
  --container-2xl: min(85%, 1400px);

  /* Touch Target Sizes */
  --touch-target: clamp(44px, 10vw, 48px);
  --touch-target-sm: clamp(36px, 8vw, 44px);

  /* Border Radius Scale */
  --radius-sm: clamp(4px, 0.5vw, 6px);
  --radius-md: clamp(6px, 0.75vw, 10px);
  --radius-lg: clamp(10px, 1vw, 16px);
  --radius-xl: clamp(12px, 1.5vw, 24px);
  --radius-full: 9999px;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  color: #030508;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  z-index: 10001;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .glow-orb,
  .neural-node {
    animation: none !important;
  }
}

/* ============================================================
           GLOBAL FOCUS STATES - Accessibility Enhancement
           ============================================================ */

/* Universal focus-visible style for all interactive elements */

/* Remove default focus for mouse users, keep for keyboard */

/* Enhanced button focus states */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.floating-cta:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.2);
}

/* Card focus states */
.protocol-card:focus-visible,
.thinktool-card:focus-visible,
.testimonial-card:focus-visible,
.pricing-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

/* Link focus states */
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Nav link special focus */

/* Form input focus enhancement */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

/* Tab/accordion focus */
.faq-question:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  background: rgba(6, 182, 212, 0.1);
}

/* Social/icon links focus */

/* Logo focus */
.logo:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
  border-radius: var(--radius-sm);
}

/* ============================================================
           TAP TARGET SIZES - Mobile Accessibility (WCAG 2.5.5)
           Minimum 44x44px for touch targets
           ============================================================ */
@media (pointer: coarse) {
  /* Ensure all interactive elements have minimum tap target size */
  a,
  button,
  input,
  select,
  textarea,
  [role="button"] {
    min-height: 44px;
  }

  /* Links in text need padding for tap area */
  p a,
  li a,
  span a {
    display: inline-block;
    padding: 0.5rem 0.25rem;
    margin: -0.5rem -0.25rem;
  }

  /* Navigation links */

  /* Small buttons get expanded */

  .copy-btn {
    min-width: 44px;
    min-height: 44px;
  }

  /* Social/footer links */

  .footer a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* FAQ questions need tap area */
  .faq-question {
    min-height: 48px;
    padding: 1rem;
  }

  /* Card links/buttons */

  .pricing-card .btn-primary {
    min-height: 48px;
  }
}

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

/* Performance optimizations for font rendering */
body {
  /* Contain paint to improve rendering performance */
  contain: layout style paint;
}

/* Contain expensive elements */
.hero,
.section,
.card,
.nav {
  contain: layout style;
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif; /* Comprehensive fallback stack */
  background: var(--bg-void);
  background-image: url("/assets/brand/backgrounds/designed_not_dreamed_background.svg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga" 1; /* Enable ligatures for better text rendering */
  text-rendering: optimizeLegibility; /* Improve text rendering quality */
  position: relative;
}

/* Ensure smooth font loading experience */

/* Overlay to ensure text readability - sits above background image but below content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.82);
  z-index: -1;
  pointer-events: none;
}

/* Mobile-responsive background */
@media (max-width: 768px) {
  body {
    background-image: url("/assets/brand/backgrounds/designed_not_dreamed_mobile.svg");
    background-attachment: scroll; /* Better mobile performance */
  }
}

/* Reduced motion: Use simplified background for accessibility */
@media (prefers-reduced-motion: reduce) {
  body {
    background-image: url("/assets/brand/backgrounds/designed_not_dreamed_simplified.svg");
    background-attachment: scroll;
  }
}

/* Ensure all main content sections are above background */
main,
section,
.hero,
.section,
.content {
  position: relative;
  z-index: 1;
}

/* Enhanced text contrast for better readability */
h1,
h2,
h3,
h4,
h5 {
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 1px 4px rgba(0, 0, 0, 0.3);
}

p,
li {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Stronger backgrounds for content areas - subtle enhancement */
.section {
  position: relative;
}

/* Optional: Add subtle background to sections that need extra contrast */
/* PERFORMANCE: Removed backdrop-filter blur - very expensive for rendering */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.3);
  z-index: -1;
  pointer-events: none;
  border-radius: 0;
}

/* PERFORMANCE: Add content-visibility for below-fold sections */
.section:not(:first-of-type) {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* Selection */
::selection {
  background: var(--cyan);
  color: var(--bg-void);
}

/* Code blocks - consistent font stack */
code,
pre,
kbd {
  font-family:
    "JetBrains Mono", "IBM Plex Mono", "Consolas", "Monaco", monospace;
  font-feature-settings: "liga" 0; /* Disable ligatures in code */
  -webkit-font-feature-settings: "liga" 0;
  font-variant-ligatures: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ============================================================
           Scroll Progress Indicator
           ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-hero);
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow:
    0 0 10px var(--cyan-glow),
    0 0 20px var(--purple-glow);
}

/* ============================================================
           Animated Background
           ============================================================ */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  /* PERFORMANCE: Isolate rendering */
  contain: strict;
  will-change: auto;
}

.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* PERFORMANCE: Isolate rendering */
  contain: strict;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  /* Performance: containment prevents layout recalc */
  contain: strict;
  content-visibility: auto;
  will-change: transform;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: -200px;
  left: 20%;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: 40%;
  right: -100px;
}

.glow-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  bottom: -100px;
  left: 10%;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -30px) scale(1.05);
  }
  50% {
    transform: translate(20px, 40px) scale(0.95);
  }
  75% {
    transform: translate(-30px, 20px) scale(1.02);
  }
}

/* Neural Network Background Layer */
.neural-network {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  overflow: hidden;
  /* PERFORMANCE: Isolate rendering */
  contain: strict;
}

.neural-node {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-glow);
  /* Animation disabled for performance */
}

.neural-node::before,
.neural-node::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-glow), transparent);
  opacity: 0.5;
  /* Animation disabled for performance */
}

.neural-node::before {
  transform: rotate(45deg);
  transform-origin: left center;
}

.neural-node::after {
  transform: rotate(-30deg);
  transform-origin: left center;
}

.neural-node:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}
.neural-node:nth-child(2) {
  top: 25%;
  left: 85%;
  animation-delay: -3s;
}
.neural-node:nth-child(3) {
  top: 45%;
  left: 5%;
  animation-delay: -6s;
}
.neural-node:nth-child(4) {
  top: 55%;
  left: 92%;
  animation-delay: -9s;
}
.neural-node:nth-child(5) {
  top: 75%;
  left: 15%;
  animation-delay: -12s;
}
.neural-node:nth-child(6) {
  top: 85%;
  left: 80%;
  animation-delay: -4s;
}
.neural-node:nth-child(7) {
  top: 35%;
  left: 25%;
  animation-delay: -7s;
}
.neural-node:nth-child(8) {
  top: 65%;
  left: 70%;
  animation-delay: -10s;
}

.neural-node:nth-child(odd) {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple-glow);
}
.neural-node:nth-child(3n) {
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink-glow);
}

@keyframes nodeFloat {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  25% {
    transform: translate(20px, -15px);
    opacity: 0.8;
  }
  50% {
    transform: translate(-10px, 20px);
    opacity: 0.5;
  }
  75% {
    transform: translate(15px, 10px);
    opacity: 0.7;
  }
}

@keyframes linePulse {
  0%,
  100% {
    opacity: 0.3;
    width: 60px;
  }
  50% {
    opacity: 0.6;
    width: 100px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .neural-node,
  .neural-node::before,
  .neural-node::after,
  .glow-orb,
  .gradient {
    animation: none;
  }
  .gradient {
    background-position: 0% 50%;
  }
}

/* ============================================================
           Navigation
           ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.875rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 5, 8, 0.95);
  /* PERFORMANCE: Removed expensive backdrop-filter */
  border-bottom: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  padding: 0.6875rem 2rem;
  background: rgba(3, 5, 8, 0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
}

.logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  color: #06b6d4; /* Fallback color - always visible */
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .logo-text {
    background: linear-gradient(135deg, #06b6d4 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

/* Ripple effect on click */
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease,
    opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.btn:active::before {
  width: 300px;
  height: 300px;
  opacity: 0;
}

.btn-primary {
  background: var(--gradient-hero);
  background-size: 200% 200%;
  color: var(--bg-void);
  box-shadow: var(--shadow-glow);
  animation: btnGradientShift 6s ease-in-out infinite;
}

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

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 60px -8px var(--cyan-glow),
    0 0 100px -20px var(--purple-glow),
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}

/* Arrow animation on hover */
.btn-primary svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15);
}

.btn-secondary:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

/* GitHub Star Button */

.github-stars {
  background: rgba(251, 191, 36, 0.15);
  color: var(--yellow);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.75rem;
  min-width: 2rem;
  text-align: center;
}

/* Rust Badge */

/* Hero Terminal Animation */

/* Override for HTML demo content - allow HTML to render properly */

/* Static terminal text styles */

/* ============================================================
           Hero Section
           ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

/* ------------------------------------------------------------
           Hero Ambient Background - Subtle RAPTOR-inspired orbs
           Lightweight CSS-only animation for visual depth
           ------------------------------------------------------------ */
.hero-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* PERFORMANCE: Isolate rendering */
  contain: strict;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  /* Blur replaced with radial gradient for performance */
}
.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 10%;
  left: 15%;
}
.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: 60%;
  right: 10%;
}
.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
}
.orb-4 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 30%;
  right: 25%;
}
.orb-5 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  bottom: 10%;
  right: 30%;
}
@keyframes float-orb-1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}
@keyframes float-orb-2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-25px, -30px) scale(1.1);
  }
}
@keyframes float-orb-3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(20px, -10px);
  }
  75% {
    transform: translate(-15px, 20px);
  }
}
/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .ambient-orb {
    animation: none;
  }
}

/* ------------------------------------------------------------
           Hero Background Image - Subtle tree visualization
           Complements ambient orbs for depth
           ------------------------------------------------------------ */
.hero-ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Use modern image formats with fallback - AVIF: 42KB, WebP: 104KB, PNG: 1.2MB */
  background-image: url("assets/launch/hero-tree.avif");
  background-image: image-set(
    url("assets/launch/hero-tree.avif") type("image/avif"),
    url("assets/launch/hero-tree.webp") type("image/webp"),
    url("assets/launch/hero-tree.png") type("image/png")
  );
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

/* ------------------------------------------------------------
           Install Tabs & Pillars
           ------------------------------------------------------------ */

/* ------------------------------------------------------------
           Integration Showcase Cards
           ------------------------------------------------------------ */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.125rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--cyan);
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.6s ease-out;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-badge .badge-early-access {
  color: var(--green);
  font-weight: 600;
}

.hero-badge .badge-separator {
  color: var(--text-muted);
  opacity: 0.5;
  margin: 0 0.125rem;
}

.hero-badge .badge-item {
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-badge .badge-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.hero-badge .badge-link:hover {
  color: var(--text-primary);
}

/* GitHub Stars Badge */
.github-stars-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 100px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.github-stars-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.github-stars-badge .github-icon {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.github-stars-badge .stars-count {
  color: var(--yellow);
  font-weight: 600;
}

/* Terminal Demo Animation */
.terminal-demo {
  margin: 2.5rem auto 2rem;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.terminal-window {
  background: #0d1117;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(75, 85, 99, 0.2);
  font-family: "JetBrains Mono", "Fira Code", monospace;
}

.terminal-header {
  background: linear-gradient(180deg, #21262d 0%, #161b22 100%);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-btn-red {
  background: #ff5f56;
}
.terminal-btn-yellow {
  background: #ffbd2e;
}
.terminal-btn-green {
  background: #27c93f;
}

.terminal-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.terminal-body {
  padding: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.terminal-line {
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
}

.terminal-prompt {
  color: var(--text-secondary);
  animation: terminalAppear 0.3s ease forwards;
}

.terminal-user {
  color: var(--cyan);
  margin-right: 0.5rem;
}

.typed-text {
  color: var(--text-primary);
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid var(--cyan);
  white-space: nowrap;
  animation:
    typing 2s steps(70, end) forwards,
    blinkCursor 0.5s step-end infinite;
}

.terminal-output {
  margin-top: 0.5rem;
}

.output-1 {
  animation: terminalAppear 0.3s ease 2.5s forwards;
}
.output-2 {
  animation: terminalAppear 0.3s ease 3s forwards;
}
.output-3 {
  animation: terminalAppear 0.3s ease 3.5s forwards;
}
.output-4 {
  animation: terminalAppear 0.3s ease 4s forwards;
}
.output-5 {
  animation: terminalAppear 0.3s ease 4.5s forwards;
}

.output-icon {
  margin-right: 0.375rem;
}

.output-label {
  color: var(--cyan);
  font-weight: 600;
}

.output-final {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.output-confidence {
  color: var(--green);
  font-weight: 600;
}

.output-recommendation {
  color: var(--text-primary);
}

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

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .terminal-line,
  .typed-text {
    animation: none;
    opacity: 1;
  }
  .typed-text {
    border-right: none;
  }
}

/* Terminal mobile responsiveness */
@media (max-width: 768px) {
  .terminal-demo {
    margin: 1.5rem 0.5rem;
  }
  .terminal-body {
    padding: 1rem;
    font-size: 0.7rem;
    overflow-x: auto;
  }
  .terminal-line {
    white-space: pre-wrap;
    word-break: break-word;
  }
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem auto 2rem;
  max-width: 800px;
  animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.trust-badge svg {
  color: var(--cyan);
  opacity: 0.8;
  flex-shrink: 0;
}

.trust-badge:hover svg {
  opacity: 1;
}

/* Trust badges mobile */
@media (max-width: 640px) {
  .trust-badges {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  .trust-badge {
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
  }
  .trust-badge svg {
    width: 14px;
    height: 14px;
  }
}

/* Social Proof Developers */
.social-proof-developers {
  display: flex;
  justify-content: center;
  margin: 1rem auto 2rem;
  animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

.developer-avatars {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(75, 85, 99, 0.25);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.developer-avatars:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--avatar-bg, linear-gradient(135deg, #06b6d4, #a855f7));
  border: 2px solid var(--bg-void);
  margin-left: -10px;
  transition: transform 0.2s ease;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:hover {
  transform: translateY(-2px) scale(1.1);
  z-index: 10;
}

.avatar-more {
  background: linear-gradient(135deg, #1f2937, #374151);
  color: var(--text-primary);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

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

.proof-subtext {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Social proof mobile */
@media (max-width: 640px) {
  .developer-avatars {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 16px;
  }
  .proof-text {
    align-items: center;
    text-align: center;
  }
  .avatar {
    width: 28px;
    height: 28px;
    margin-left: -8px;
  }
  .avatar:first-child {
    margin-left: 0;
  }
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.045em;
  /* PERFORMANCE: Removed fadeInUp animation - backwards fill mode kept element invisible, hurting LCP */
  color: var(--text-primary);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Mobile Typography Override for Maximum Impact */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 4.25rem; /* Forced larger size on mobile to dominate the screen */
    line-height: 1.05; /* Tighter leading for the two-line stack */
    letter-spacing: -0.05em; /* Tighter tracking for impact */
    margin-bottom: 2rem;
    padding: 0 1rem; /* Ensure text doesn't touch edges */
  }
}

/* Universal gradient text class - ANIMATED */
.gradient-subtle {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.55) 0%,
    rgba(34, 211, 238, 0.65) 25%,
    rgba(139, 92, 246, 0.5) 60%,
    rgba(168, 85, 247, 0.6) 85%,
    rgba(34, 211, 238, 0.65) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientFlowSubtle 10s ease-in-out infinite;
  filter: brightness(1.15) saturate(0.85);
  opacity: 0.9;
}

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

.gradient {
  background: linear-gradient(
    135deg,
    #06b6d4 0%,
    #22d3ee 15%,
    #a855f7 40%,
    #ec4899 60%,
    #f472b6 75%,
    #a855f7 90%,
    #06b6d4 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 8s ease-in-out infinite;
}

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

/* Static gradient for elements that shouldn't animate */

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
  /* PERFORMANCE: Isolate rendering */
  contain: strict;
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  /* PERFORMANCE: Removed animation to fix LCP - element was invisible during animation delay */
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* HERO INSTALL CTA - Super prominent one-liner */
.hero-install-cta {
  margin: var(--space-xl) 0 var(--space-lg);
  animation: fadeInUp 0.6s ease-out 0.25s backwards;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.install-oneliner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.12) 0%,
    rgba(17, 24, 39, 0.96) 100%
  );
  border: 2px solid var(--cyan);
  border-radius: 12px;
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--cyan);
  box-shadow:
    0 0 35px rgba(6, 182, 212, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.3);
  animation: heroInstallPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  text-align: center;
}

.install-oneliner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.1),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes heroInstallPulse {
  0%,
  100% {
    box-shadow:
      0 0 35px rgba(6, 182, 212, 0.25),
      0 8px 32px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow:
      0 0 50px rgba(6, 182, 212, 0.4),
      0 10px 36px rgba(0, 0, 0, 0.35);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  50%,
  100% {
    transform: translateX(100%);
  }
}

/* Install CTA hover state */
.install-oneliner:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow:
    0 0 55px rgba(6, 182, 212, 0.45),
    0 12px 42px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(6, 182, 212, 0.25);
  border-color: var(--cyan);
}

.install-oneliner:active {
  transform: translateY(0) scale(0.99);
  transition-duration: 0.1s;
}

/* Copy button enhanced interactions */
.install-oneliner:hover .copy-btn {
  background: rgba(6, 182, 212, 0.35);
  border-color: var(--cyan);
}

.install-oneliner code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 8px;
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(6, 182, 212, 0.3);
  border-color: var(--cyan);
  transform: scale(1.08);
}

.copy-btn:active {
  transform: scale(0.96);
}

.copy-btn.copied {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--green);
  color: var(--green);
}

.install-alt {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.install-alt code {
  color: var(--text-secondary);
  background: rgba(17, 24, 39, 0.6);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: var(--text-sm);
}

/* Install Meta - Stats + Details */
.install-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.install-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.install-stats .stat {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.install-stats strong {
  color: var(--text-primary);
  font-weight: 600;
}

.install-stats .stat-divider {
  width: 3px;
  height: 3px;
  background: var(--text-dim);
  border-radius: 50%;
  opacity: 0.4;
  flex-shrink: 0;
}

.install-stats-note {
  margin-top: 0.5rem;
  text-align: center;
}

.stat-note-subtle {
  font-size: 0.6875rem;
  color: var(--text-dim);
  opacity: 0.7;
}

.stat-link {
  color: var(--cyan);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.stat-link:hover {
  color: var(--purple);
  text-decoration: underline;
}

/* Verified Stat Styles */
.verified-stat,
.research-stat,
.performance-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.verified-icon {
  width: 12px;
  height: 12px;
  color: var(--green);
  flex-shrink: 0;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-left: 0.25rem;
}

.live-badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.benchmark-badge {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: help;
}

.trust-badge:hover {
  background: rgba(31, 41, 55, 0.7);
  border-color: var(--cyan);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.trust-badge .trust-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: currentColor;
  opacity: 0.9;
}

.trust-badge:hover .trust-icon {
  opacity: 1;
  color: var(--cyan);
}

.research-stat .stat-link {
  font-size: 0.8125rem;
  margin-left: 0.25rem;
}

@keyframes pulse-live {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.install-details {
  width: 100%;
  max-width: var(--container-sm);
}

.install-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  list-style: none;
  min-height: var(--touch-target-sm);
}

.install-details summary::-webkit-details-marker {
  display: none;
}

.install-details summary::after {
  content: "▾";
  font-size: var(--text-xs);
  transition: transform var(--transition-fast);
}

.install-details[open] summary::after {
  transform: rotate(180deg);
}

.install-details summary:hover {
  color: var(--text-secondary);
  border-color: var(--text-muted);
}

.install-options {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.install-option {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.install-option:hover {
  background: rgba(17, 24, 39, 0.65);
  border-color: var(--border-strong);
  transform: translateX(2px);
}

.install-option code {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: var(--text-sm);
  color: var(--text-primary);
  word-break: break-all;
  line-height: 1.4;
}

.install-option span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

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

/* Tool Pills */
.tools-preview {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap; /* Keep all tools on one line on desktop */
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
  min-width: 0; /* Allow flex shrinking if needed */
}

.tool-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.6875rem 1.375rem;
  background: var(
    --pill-bg,
    linear-gradient(
      180deg,
      rgba(17, 24, 39, 0.92) 0%,
      rgba(8, 12, 20, 0.78) 100%
    )
  );
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  --pill-glow: var(--cyan-glow);
}

.tool-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.tool-pill:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.45),
    0 0 32px -12px var(--pill-glow);
}

.tool-pill:hover::before {
  transform: translateX(100%);
}

.tool-pill.gigathink {
  border-color: rgba(251, 191, 36, 0.6);
  color: var(--yellow);
  --pill-glow: var(--yellow-glow);
  --pill-bg: linear-gradient(
    180deg,
    rgba(251, 191, 36, 0.14),
    rgba(10, 13, 20, 0.8)
  );
}
.tool-pill.gigathink:hover {
  background: linear-gradient(
    180deg,
    rgba(251, 191, 36, 0.2),
    rgba(10, 13, 20, 0.85)
  );
  border-color: var(--yellow);
}

.tool-pill.laserlogic {
  border-color: rgba(6, 182, 212, 0.6);
  color: var(--cyan);
  --pill-glow: var(--cyan-glow);
  --pill-bg: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.14),
    rgba(10, 13, 20, 0.8)
  );
}
.tool-pill.laserlogic:hover {
  background: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.2),
    rgba(10, 13, 20, 0.85)
  );
  border-color: var(--cyan);
}

.tool-pill.bedrock {
  border-color: rgba(249, 115, 22, 0.6);
  color: var(--orange);
  --pill-glow: var(--orange-glow);
  --pill-bg: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.14),
    rgba(10, 13, 20, 0.8)
  );
}
.tool-pill.bedrock:hover {
  background: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.2),
    rgba(10, 13, 20, 0.85)
  );
  border-color: var(--orange);
}

.tool-pill.proofguard {
  border-color: rgba(16, 185, 129, 0.6);
  color: var(--green);
  --pill-glow: var(--green-glow);
  --pill-bg: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.14),
    rgba(10, 13, 20, 0.8)
  );
}
.tool-pill.proofguard:hover {
  background: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.2),
    rgba(10, 13, 20, 0.85)
  );
  border-color: var(--green);
}

.tool-pill.brutalhonesty {
  border-color: rgba(236, 72, 153, 0.6);
  color: var(--pink);
  --pill-glow: var(--pink-glow);
  --pill-bg: linear-gradient(
    180deg,
    rgba(236, 72, 153, 0.14),
    rgba(10, 13, 20, 0.8)
  );
}
.tool-pill.brutalhonesty:hover {
  background: linear-gradient(
    180deg,
    rgba(236, 72, 153, 0.2),
    rgba(10, 13, 20, 0.85)
  );
  border-color: var(--pink);
}

.tool-svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px currentColor);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon animations on hover */
.tool-pill:hover .tool-svg-icon {
  filter: drop-shadow(0 0 12px currentColor);
  transform: scale(1.1);
}

/* GigaThink - Radiant expansion (ideas radiating outward) */
.tool-pill.gigathink .tool-svg-icon {
  color: var(--yellow);
  animation: iconPulse 3s ease-in-out infinite;
}
.tool-pill.gigathink:hover .tool-svg-icon {
  animation: iconSpin 0.8s ease-out;
}

/* LaserLogic - Precise targeting animation */
.tool-pill.laserlogic .tool-svg-icon {
  color: var(--cyan);
}
.tool-pill.laserlogic:hover .tool-svg-icon {
  animation: iconTarget 0.6s ease-out;
}

/* BedRock - Solid grounding shake */
.tool-pill.bedrock .tool-svg-icon {
  color: var(--orange);
}
.tool-pill.bedrock:hover .tool-svg-icon {
  animation: iconShake 0.4s ease-out;
}

/* ProofGuard - Shield pulse */
.tool-pill.proofguard .tool-svg-icon {
  color: var(--green);
}
.tool-pill.proofguard:hover .tool-svg-icon {
  animation: iconShield 0.5s ease-out;
}

/* BrutalHonesty - Intense flash */
.tool-pill.brutalhonesty .tool-svg-icon {
  color: var(--pink);
}
.tool-pill.brutalhonesty:hover .tool-svg-icon {
  animation: iconFlash 0.4s ease-out;
}

@keyframes iconPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px currentColor);
  }
  50% {
    filter: drop-shadow(0 0 12px currentColor);
  }
}

@keyframes iconSpin {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1.1) rotate(360deg);
  }
}

@keyframes iconTarget {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes iconShake {
  0%,
  100% {
    transform: translateX(0) scale(1.1);
  }
  20% {
    transform: translateX(-2px) scale(1.1);
  }
  40% {
    transform: translateX(2px) scale(1.1);
  }
  60% {
    transform: translateX(-1px) scale(1.1);
  }
  80% {
    transform: translateX(1px) scale(1.1);
  }
}

@keyframes iconShield {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    filter: drop-shadow(0 0 20px currentColor);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes iconFlash {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 0.5;
    transform: scale(1.2);
    filter: drop-shadow(0 0 25px currentColor);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* ============================================================
           Section Base
           ============================================================ */
.section {
  position: relative;
  z-index: 1;
  padding: var(--space-section) 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Ensure no double spacing between sections */
.section + .section {
  padding-top: 0;
}

/* First section after hero should have normal padding */
.hero + .section,
.hero ~ .section:first-of-type {
  padding-top: var(--space-section);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.875rem;
  opacity: 0.9;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================================
           Problem Section
           ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.75rem;
  width: 100%;
}

.problem-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.96) 0%,
    rgba(8, 12, 20, 0.92) 100%
  );
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 2.25rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  opacity: 0.25;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.problem-card:hover {
  transform: translateY(-4px) scale(1.005);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.45),
    0 0 60px -15px var(--cyan-glow);
  background: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.1) 0%,
    rgba(10, 13, 20, 0.88) 100%
  );
}

.problem-card:hover::before {
  opacity: 1;
  height: 4px;
  box-shadow: 0 0 25px var(--cyan-glow);
}

.problem-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.problem-question {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.problem-response {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.18) 0%,
    rgba(6, 182, 212, 0.08) 100%
  );
  border-left: 3px solid var(--cyan);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--text-secondary);
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.problem-missing {
  color: var(--pink);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.problem-list {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.problem-cost {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  font-size: 0.9375rem;
  color: var(--red);
  line-height: 1.6;
}

.problem-cost strong {
  font-weight: 700;
}

/* ============================================================
           Tools Section
           ============================================================ */
.tools-section {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 182, 212, 0.02) 50%,
    transparent 100%
  );
}

.tool-showcase {
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
  padding: 1.5rem 0;
}

.tool-showcase:last-child {
  margin-bottom: 0;
}

.tool-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Icon at the top - larger and more prominent */
.tool-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.95) 0%,
    rgba(8, 12, 20, 0.8) 100%
  );
  border: 2px solid var(--border-strong);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.tool-icon-wrapper svg {
  width: 40px;
  height: 40px;
}

.tool-icon-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    100px 50px at 20% 0%,
    rgba(255, 255, 255, 0.15),
    transparent 60%
  );
  opacity: 0.7;
  pointer-events: none;
}

/* Tool meta - name and tagline */
.tool-meta {
  width: 100%;
}

.tool-meta h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.tool-meta .tagline {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
}

/* Research badge - full width, prominent, emphasized */
.research-badge {
  width: 100%;
  font-size: 0.9375rem;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 0;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.12) 0%,
    rgba(168, 85, 247, 0.08) 100%
  );
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 12px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(6, 182, 212, 0.1);
  position: relative;
  overflow: hidden;
}

.research-badge::before {
  content: "🎓";
  font-size: 1.25em;
  opacity: 0.9;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.research-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #a855f7, #06b6d4);
  background-size: 200% 100%;
  animation: researchGlow 3s ease-in-out infinite;
}

.research-badge a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(6, 182, 212, 0.4);
  transition: all var(--transition-fast);
}

.research-badge a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

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

/* ============================================================
           Why Now Section
           ============================================================ */
.why-now-section {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 182, 212, 0.03) 50%,
    transparent 100%
  );
}

.why-now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.why-now-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all var(--transition-base);
}

.why-now-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.why-now-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.why-now-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.why-now-detail {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
           Origin Story Section - Card-Based Design (Like Integration Cards)
           ============================================================ */

.tool-problem {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.16) 0%,
    rgba(239, 68, 68, 0.05) 100%
  );
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.18);
  line-height: 1.6;
}

.tool-problem strong {
  color: var(--red);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

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

  .tool-header {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .tool-icon-wrapper {
    width: 72px;
    height: 72px;
  }

  .tool-icon-wrapper svg {
    width: 36px;
    height: 36px;
  }

  .tool-meta h3 {
    font-size: 1.75rem;
  }

  .tool-meta .tagline {
    font-size: 1rem;
  }

  .research-badge {
    font-size: 0.875rem;
    padding: 0.875rem 1rem;
  }
}

.comparison-box {
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.96) 0%,
    rgba(8, 12, 20, 0.94) 100%
  );
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

/* "Without" box - faded, crossed out feel */
.comparison-box.without {
  opacity: 0.65;
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(
    180deg,
    rgba(239, 68, 68, 0.08) 0%,
    rgba(8, 12, 20, 0.85) 100%
  );
}

.comparison-box.without::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(239, 68, 68, 0.3));
}

.comparison-box.without:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* "With" box - prominent, glowing, hero treatment */
.comparison-box.with {
  border-color: rgba(16, 185, 129, 0.65);
  background: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.12) 0%,
    rgba(8, 12, 20, 0.92) 100%
  );
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.42),
    0 0 45px -18px var(--green-glow),
    inset 0 1px 0 rgba(16, 185, 129, 0.18);
  transform: scale(1.01);
}

.comparison-box.with::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.8;
    box-shadow: 0 0 10px var(--green-glow);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px var(--green-glow);
  }
}

.comparison-box.with:hover {
  transform: scale(1.015) translateY(-2px);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.45),
    0 0 60px -12px var(--green-glow),
    inset 0 1px 0 rgba(16, 185, 129, 0.25);
}

/* Animated shine effect on with box */
.comparison-box.with::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20%,
  100% {
    left: 150%;
  }
}

.comparison-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.comparison-box.without .comparison-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.comparison-box.with .comparison-label {
  color: var(--green);
}

.comparison-box.with .comparison-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.comparison-content {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.8;
  white-space: pre-wrap;
  color: var(--text-secondary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.comparison-box.with .comparison-content {
  color: var(--text-primary);
}

.tool-insight {
  margin-top: 2rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.18) 0%,
    rgba(168, 85, 247, 0.08) 100%
  );
  border-left: 3px solid var(--purple);
  border-radius: 0 10px 10px 0;
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.2);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tool-insight strong {
  color: var(--purple);
}

@media (prefers-reduced-motion: reduce) {
  .tool-pill,
  .problem-card,
  .comparison-box {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(17, 24, 39, 0.95);
  }
}

/* ============================================================
           Process Section
           ============================================================ */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.75) 0%,
    rgba(8, 12, 20, 0.65) 100%
  );
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
  transform: translateX(6px);
  background: linear-gradient(
    180deg,
    rgba(31, 41, 55, 0.75) 0%,
    rgba(17, 24, 39, 0.65) 100%
  );
  border-color: var(--border-accent);
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.step-icon {
  font-size: 2rem;
  width: 64px;
  text-align: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.step-arrow {
  color: var(--text-dim);
  font-size: 1.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.process-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}

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

.process-why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cyan);
}

.process-why-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ============================================================
           Profiles Section
           ============================================================ */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.profile-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cyan-purple);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.profile-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.profile-card:hover::before {
  transform: scaleX(1);
}

.profile-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.profile-time {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.profile-use {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.profile-example {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.profile-tools {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 500;
  margin-top: 0.5rem;
  opacity: 0.85;
}

/* ============================================================
           Install Widget & Terminal
           ============================================================ */

/* Unified Tab Design System - Applied to install-tabs */
.install-tabs {
  display: flex;
  gap: 0.25rem;
  background: rgba(15, 17, 26, 0.8);
  border: 1px solid rgba(51, 51, 51, 0.5);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.5rem 0.5rem 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.install-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.stat-divider {
  color: var(--border);
}

/* ============================================================
           Pricing Section
           ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
           Benchmark Section
           ============================================================ */

.benchmark-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-base);
}

.benchmark-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

/* ============================================================
           Competitor Comparison Section
           ============================================================ */
.comparison-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-void) 100%);
}

.comparison-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: rgba(6, 182, 212, 0.05);
}

/* Comparison Cards for /compare/ page */
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-base);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: var(--cyan);
}

.comparison-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.comparison-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comparison-pros,
.comparison-cons {
  padding: 1rem;
  border-radius: 8px;
}

.comparison-pros {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.comparison-cons {
  background: rgba(107, 114, 128, 0.15);
  border: 1px solid rgba(107, 114, 128, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.comparison-pros h4,
.comparison-cons h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.comparison-pros ul,
.comparison-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-pros li,
.comparison-cons li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.comparison-verdict {
  padding: 1.25rem;
  background: rgba(17, 24, 39, 0.95);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.comparison-verdict strong {
  color: var(--cyan);
  display: block;
  margin-bottom: 0.5rem;
}

.comparison-verdict {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

  .comparison-table-wrapper {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 800px;
  }
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.highlight-col {
  background: rgba(6, 182, 212, 0.08);
}

.comparison-table thead .highlight-col {
  background: rgba(6, 182, 212, 0.15);
}

.rk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-hero);
  color: #030508;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.check {
  color: #10b981;
  font-weight: 700;
}

.partial {
  color: #eab308;
  font-weight: 700;
}

.x {
  color: #ef4444;
  font-weight: 700;
}

.comparison-note {
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.5rem;
  background: rgba(107, 114, 128, 0.1);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.comparison-note a {
  color: var(--cyan);
  text-decoration: underline;
}

.comparison-note a:hover {
  color: var(--purple);
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }

  .rk-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
}

/* ============================================================
           Testimonial Section
           ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
  width: 100%;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 0.875rem;
  right: 1.25rem;
  font-size: 3.5rem;
  font-family: Georgia, serif;
  color: var(--cyan);
  opacity: 0.12;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(6, 182, 212, 0.1);
}

.testimonial-quote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-quote strong {
  color: var(--text-primary);
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
}

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

.pricing-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(
    180deg,
    rgba(6, 182, 212, 0.1) 0%,
    var(--bg-card) 100%
  );
  box-shadow:
    0 0 0 1px rgba(6, 182, 212, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured:hover {
  box-shadow:
    0 0 0 1px rgba(6, 182, 212, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.3),
    0 0 60px -15px var(--cyan-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-hero);
  color: var(--bg-void);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Unified Tab Design System - Applied to billing-btn */
.billing-btn {
  padding: 0.625rem 1.25rem;
  background: rgba(15, 17, 26, 0.8);
  border: 1px solid rgba(51, 51, 51, 0.5);
  border-bottom: 2px solid transparent;
  border-radius: 6px;
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.billing-btn:hover {
  border-color: rgba(0, 217, 255, 0.3);
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.03);
}

.billing-btn.active {
  color: #00d9ff;
  background: rgba(0, 217, 255, 0.08);
  border-color: #00d9ff;
  border-bottom-color: #00d9ff;
  box-shadow: 0 -2px 8px rgba(0, 217, 255, 0.15);
}

.billing-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d9ff, #8b5cf6);
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.5);
}

.billing-btn.active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.1) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
  border-radius: 6px;
  opacity: 1;
  pointer-events: none;
}

.save-badge {
  background: var(--green);
  color: var(--bg-void);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

/* Currency switch buttons */
.currency-switch {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.currency-btn {
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: transparent;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-btn:hover {
  border-color: rgba(0, 217, 255, 0.3);
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.03);
}

.currency-btn.active {
  color: #00d9ff;
  background: rgba(0, 217, 255, 0.1);
  border-color: #00d9ff;
}

.section-subhead {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.trial-note {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* ============================================================
           Email Capture Section
           ============================================================ */
.email-capture-section {
  padding: 3.5rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.08),
    rgba(168, 85, 247, 0.08)
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.email-capture-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.email-capture-content {
  flex: 1;
  min-width: 280px;
}

.email-capture-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.email-capture-content p {
  color: var(--text-secondary);
}

.email-form {
  flex: 1;
  min-width: 280px;
}

.email-input-group {
  display: flex;
  gap: 0.75rem;
}

.email-input-group input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
}

.email-input-group input:focus,
.email-input-group input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.email-input-group button {
  white-space: nowrap;
}

.email-privacy {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

/* ============================================================
           Enterprise Form Styles with Visible Labels
           ============================================================ */
.contact-form-container {
  margin-bottom: 1.5rem;
}

.enterprise-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.form-group input:focus + .form-label,
.form-group input:not(:placeholder-shown) + .form-label {
  color: var(--cyan);
}

@media (max-width: 600px) {
  .email-capture-container {
    flex-direction: column;
    text-align: center;
  }

  .email-input-group {
    flex-direction: column;
  }
}

/* ============================================================
           Citation Links & Research References
           ============================================================ */

/* stat-link moved to install-stats section above */

/* ============================================================
           Trust Signals
           ============================================================ */
.trust-signals {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-signal-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-icon {
  font-size: 1.25rem;
}

/* ============================================================
           Pricing CTA Enhancements
           ============================================================ */
.pricing-cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.pricing-value-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

.risk-reversal {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
}

.risk-reversal strong {
  color: var(--green);
  font-weight: 600;
}

/* ============================================================
           FAQ Section
           ============================================================ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-item[open] {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.1);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: background var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: rgba(6, 182, 212, 0.05);
}

.faq-question {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  font-weight: 300;
  transition: transform var(--transition-base);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.faq-answer p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.faq-answer a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.faq-answer a:hover {
  color: var(--purple);
  text-decoration: underline;
}

/* ============================================================
           Research Citations Section
           ============================================================ */
.research-citations {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.citation-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.citation-item:hover {
  border-color: var(--border-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.citation-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 8px;
}

.citation-content {
  flex: 1;
}

.citation-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.citation-authors {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.citation-title {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 0.25rem;
}

.citation-venue {
  font-size: 0.875rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.citation-details {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(6, 182, 212, 0.05);
  border-left: 3px solid var(--cyan);
  border-radius: 0 6px 6px 0;
}

.citation-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.citation-links a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.citation-links a:hover {
  color: var(--purple);
  gap: 0.5rem;
}

.research-note {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1) 0%,
    rgba(168, 85, 247, 0.05) 100%
  );
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  text-align: center;
}

.research-note p {
  color: var(--text-secondary);
  margin: 0;
}

.research-note a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.research-note a:hover {
  color: var(--purple);
  text-decoration: underline;
}

/* ============================================================
           Research Evidence Showcase
           ============================================================ */
.research-evidence-showcase {
  --evidence-glow: rgba(6, 182, 212, 0.15);
  position: relative;
  margin: 4rem auto;
  max-width: 1000px;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.6) 0%,
    rgba(168, 85, 247, 0.4) 50%,
    rgba(16, 185, 129, 0.5) 100%
  );
  box-shadow:
    0 20px 60px -15px rgba(6, 182, 212, 0.25),
    0 0 80px -30px rgba(168, 85, 247, 0.2);
  animation: evidenceGlow 4s ease-in-out infinite alternate;
}

@keyframes evidenceGlow {
  0% {
    box-shadow:
      0 20px 60px -15px rgba(6, 182, 212, 0.25),
      0 0 80px -30px rgba(168, 85, 247, 0.2);
  }
  100% {
    box-shadow:
      0 25px 70px -15px rgba(168, 85, 247, 0.3),
      0 0 90px -25px rgba(6, 182, 212, 0.25);
  }
}

.research-evidence-inner {
  background: linear-gradient(
    145deg,
    var(--bg-surface) 0%,
    rgba(10, 13, 20, 0.98) 100%
  );
  border-radius: 18px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.research-evidence-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.5) 25%,
    rgba(168, 85, 247, 0.5) 50%,
    rgba(16, 185, 129, 0.5) 75%,
    transparent 100%
  );
}

/* Academic Badge Header */

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Image Container */
.research-evidence-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.research-evidence-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.research-evidence-showcase:hover .research-evidence-image img {
  transform: scale(1.02);
}

.research-evidence-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

/* Stats Comparison Grid */
.research-stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.research-stat-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.research-stat-card--winner {
  background: linear-gradient(
    145deg,
    rgba(16, 185, 129, 0.12) 0%,
    rgba(6, 182, 212, 0.08) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.research-stat-card--winner:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
}

.research-stat-card--loser {
  background: linear-gradient(
    145deg,
    rgba(236, 72, 153, 0.08) 0%,
    rgba(168, 85, 247, 0.04) 100%
  );
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.research-stat-card--loser:hover {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.15);
}

/* VS Divider */
.research-vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.research-vs-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.research-vs-badge .vs-text {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  border: 2px solid var(--border-accent);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.research-vs-badge .improvement-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--cyan);
  padding: 0.35rem 0.75rem;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  white-space: nowrap;
}

/* Insight Footer */
.research-evidence-insight {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(
    90deg,
    rgba(6, 182, 212, 0.08) 0%,
    rgba(168, 85, 247, 0.04) 50%,
    rgba(16, 185, 129, 0.06) 100%
  );
  border-radius: 10px;
  border-left: 3px solid var(--cyan);
}

.research-evidence-insight p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.research-evidence-insight strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .research-evidence-showcase {
    margin: 2.5rem 1rem;
    border-radius: 16px;
  }

  .research-evidence-inner {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .research-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .research-vs-divider {
    flex-direction: row;
    padding: 0.5rem 0;
  }

  .research-stat-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .research-evidence-inner {
    padding: 1.25rem;
  }

  .research-evidence-insight {
    padding: 1rem;
  }

  .research-evidence-insight p {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .trust-signals {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .citation-item {
    flex-direction: column;
    gap: 1rem;
  }

  .citation-number {
    align-self: flex-start;
  }
}

/* ============================================================
           Featured Blog Section
           ============================================================ */
.featured-blog-section {
  padding: 4rem 2rem;
  background: var(--bg-deep);
}

.featured-blog-section .section-header {
  margin-bottom: 3rem;
}

.featured-article-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  display: block;
  text-decoration: none;
  transition: var(--transition-base);
}

.featured-article-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.featured-article-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-article-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.featured-article-card .excerpt {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.featured-article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.featured-article-card .featured-article-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #d1d5db !important; /* Light gray for WCAG AA contrast (5.5:1) against #101725 background */
}

@media (max-width: 768px) {
  .featured-article-card {
    padding: 1.5rem;
  }
  .featured-article-card h3 {
    font-size: 1.5rem;
  }
  .featured-article-meta {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* ============================================================
           CTA Section
           ============================================================ */
.cta-section {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 182, 212, 0.1),
    transparent 60%
  );
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.75rem;
  letter-spacing: -0.025em;
}

.cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-list li::before {
  content: "→";
  color: var(--cyan);
}

/* ============================================================
           Back to Top Button
           ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  color: var(--cyan);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--cyan);
  color: var(--bg-void);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 5rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================
           Floating CTA
           ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(3, 5, 8, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  backdrop-filter: blur(4px);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 30px var(--cyan-glow);
}

.floating-cta-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--gradient-hero);
  color: #030508;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 25px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.floating-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--cyan-glow);
}

@media (max-width: 640px) {
  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .floating-cta-content {
    justify-content: center;
  }

  .floating-cta-text {
    display: none;
  }
}

/* ============================================================
           Value Estimator (Illustrative Calculator - No Guarantees)
           ============================================================ */
.value-estimator-section {
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 100%);
}

.value-estimator-disclaimer {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1rem 1.5rem;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 8px;
  color: #eab308;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

.value-estimator-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.value-estimator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.estimator-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.estimator-input-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.estimator-input-group input[type="number"] {
  padding: 0.875rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.estimator-input-group input[type="number"]:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

.estimator-input-group input[type="range"] {
  width: 100%;
  height: 8px;
  background: var(--bg-surface);
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
}

.estimator-input-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--gradient-hero);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.estimator-input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.range-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cyan);
}

.input-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.estimator-btn {
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.estimator-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.estimator-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.estimator-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cyan);
  display: inline-block;
}

.estimator-results {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.estimator-results h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.estimator-results h3 em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
}

.estimator-results h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.roi-breakdown {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.savings-category {
  margin-bottom: 1rem;
}

.savings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.savings-item:last-child {
  border-bottom: none;
}

.savings-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
}

.savings-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.savings-value.highlight {
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 700;
}

.savings-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-top: 1rem;
  border-top: 2px solid var(--border);
}

.savings-total .savings-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.roi-recommendation {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--cyan);
  border-radius: 8px;
}

.roi-recommendation h4 {
  margin-bottom: 0.5rem;
  color: var(--cyan);
}

.roi-recommendation p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.result-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.result-item.highlight {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1) 0%,
    rgba(168, 85, 247, 0.1) 100%
  );
  border-color: var(--cyan);
}

.result-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.result-value {
  display: inline-block; /* Changed from block - prevents full-width gradient rectangle */
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback for non-webkit browsers */
}

.result-note {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.results-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(107, 114, 128, 0.1);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .value-estimator-card {
    padding: 1.5rem;
  }

  .result-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .result-value {
    font-size: 1.5rem;
  }
}

/* ============================================================
           Footer
           ============================================================ */
footer {
  position: relative;
  z-index: 1;
  padding: 3.5rem 2rem 1.75rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 2fr repeat(2, 1fr);
  }
}

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

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 300px;
}

.footer-links h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

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

.crab-emoji {
  display: inline-block;
  font-style: normal;
  margin-left: 0.25rem;
  font-size: 1em;
}

/* ============================================================
           Utilities
           ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive Mobile Menu - Enhanced */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10001;
}

.mobile-menu-toggle:hover {
  background: var(--bg-elevated);
  border-color: var(--cyan);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu-toggle[aria-expanded="true"] {
  background: var(--bg-elevated);
  border-color: var(--cyan);
}

.mobile-menu-toggle[aria-expanded="true"]::after {
  content: "✕";
  position: absolute;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(3, 5, 8, 0.98);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease;
    z-index: 10000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    min-height: 48px;
    display: flex;
    align-items: center;
    transition: all var(--transition-fast);
    background: transparent;
    border: 1px solid transparent;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: var(--bg-elevated);
    border-color: var(--border-accent);
    color: var(--cyan);
    transform: translateX(4px);
  }

  .nav-links a:active {
    transform: translateX(4px) scale(0.98);
  }

  /* Close button for mobile menu (optional enhancement) */
  .nav-links::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    z-index: -1;
  }

  .nav-links.active::before {
    opacity: 1;
  }
}

/* ============================================================
           Interactive Demo Section
           ============================================================ */

/* ============================================================
           Pre-Rendered Demo Showcase (Maximum Impact)
           ============================================================ */

.demo-showcase {
  margin-top: 3rem;
  animation: fadeIn 0.6s ease-out;
}

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

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

.fact {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Demo Verdict */
.demo-verdict {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  border: 2px solid var(--border-accent);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
  }
  50% {
    box-shadow:
      0 0 30px rgba(6, 182, 212, 0.2),
      0 0 40px rgba(168, 85, 247, 0.1);
  }
}

.verdict-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

/* Try Your Own Section */

/* Install Widget Styles (moved from inline) */
.install-tabs {
  display: flex;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}
.trust-bar {
  margin: 3rem 0;
  text-align: center;
  padding: 1.5rem 0;
}

.trust-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0.75;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  cursor: default;
}

.trust-icon {
  flex-shrink: 0;
  opacity: 0.8;
  transition: all var(--transition-fast);
  stroke: currentColor;
  width: 24px;
  height: 24px;
}

.trust-icon.brand-icon {
  opacity: 0.75;
}

.trust-item:hover .trust-icon.brand-icon {
  opacity: 1;
  transform: scale(1.15);
}

.trust-item:hover {
  color: var(--cyan);
  opacity: 1;
  transform: translateY(-2px);
}

.trust-item:hover .trust-icon {
  opacity: 1;
  transform: scale(1.1);
  stroke: var(--cyan);
}

.trust-logos span:not(.trust-item) {
  transition: all var(--transition-fast);
}

.trust-logos span:not(.trust-item):hover {
  color: var(--cyan);
  opacity: 1;
}

/* Install Stats - Social Proof */
.install-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.install-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.install-stats strong {
  color: var(--text-primary);
  font-weight: 600;
}
.install-stats .stat-divider {
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .install-stats {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .install-stats .stat-divider:last-of-type {
    display: none;
  }
}

/* ============================================================
   Interactive Hero Demo Styles
   ============================================================ */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Terminal Animation Styles */

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Demo Responsive */

/* Testimonial Avatar Images */
.testimonial-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar-img {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.testimonial-handle {
  font-size: 0.8125rem;
  color: var(--cyan);
  text-decoration: none;
  opacity: 0.85;
  transition: all 0.2s ease;
}

.testimonial-handle:hover {
  opacity: 1;
  color: var(--purple);
  text-decoration: underline;
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Mobile-First Approach with Progressive Enhancement
   ============================================================ */

/* ----- Extra Large Screens (1280px+) - Consolidated ----- */
@media (min-width: 1280px) {
  .section {
    padding: 4rem 3rem;
    max-width: 1400px;
  }
  .hero-content {
    max-width: 1400px;
    padding: 0 3rem;
  }
  .hero-subtitle {
    max-width: 1100px;
  }
  .pricing-grid {
    gap: 2.5rem;
    max-width: 1400px;
  }
  .problem-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
}

/* ----- Ultra Wide Screens (1600px+) ----- */
@media (min-width: 1600px) {
  .section {
    padding: 7rem 4rem;
    max-width: 1600px;
  }
  .hero-content {
    max-width: 1600px;
    padding: 0 4rem;
  }
  .hero-subtitle {
    max-width: 1200px;
  }
  .pricing-grid {
    max-width: 1400px;
  }
  .problem-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
}

/* ----- Large Screens / Small Laptops (1024px - 1279px) ----- */
@media (max-width: 1279px) {
  .section {
    padding: 5rem 2rem;
  }
}

/* ----- Tablets Landscape (769px - 1023px) ----- */
@media (max-width: 1023px) {
  .hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
}

/* ----- Tablets Portrait (641px - 768px) ----- */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(3, 5, 8, 0.98);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background var(--transition-fast);
  }
  .nav-links a:hover {
    background: var(--bg-elevated);
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
  }

  /* Hero */
  .hero {
    padding: 6rem 1.5rem 3rem;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .hero-badge {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  .hero-badge span:nth-child(2),
  .hero-badge span:nth-child(4) {
    display: none;
  }

  /* Hero Install CTA - Mobile */
  .hero-install-cta {
    margin: 1.5rem 0 1.5rem;
  }
  .install-oneliner {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  .install-oneliner code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .copy-btn {
    padding: 0.4rem;
    flex-shrink: 0;
  }
  .install-alt {
    font-size: 0.8rem;
  }
  .install-meta {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  .install-option {
    padding: 0.6rem 0.75rem;
  }
  .install-option code {
    font-size: 0.7rem;
  }

  /* Install Widget - deprecated, keeping for fallback */
  .install-tabs {
    flex-wrap: wrap;
  }

  /* Terminal Demo */

  /* Tools Preview */
  .tools-preview {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .tool-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(17, 24, 39, 0.95);
  }

  /* Trust Bar */
  .trust-bar {
    padding: 1rem;
  }
  .trust-logos {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .trust-item {
    font-size: 0.85rem;
    padding: 0.375rem 0.5rem;
    gap: 0.375rem;
  }
  .trust-icon {
    width: 18px;
    height: 18px;
  }
  .trust-logos span:not(.trust-item) {
    font-size: 0.85rem;
  }

  /* Section Headers */
  .section {
    padding: 4rem 1.5rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }

  /* Problem Cards */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .problem-card {
    padding: 1.5rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(17, 24, 39, 0.95);
  }

  /* Tools Grid */
  .comparison-box {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(17, 24, 39, 0.95);
  }

  /* Integration Cards */

  /* Process Steps */

  /* Profiles */
  .profiles-grid {
    grid-template-columns: 1fr;
  }

  /* Benchmarks */

  /* Testimonials */

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  .pricing-card.featured {
    transform: none;
    margin: 0;
  }
  .billing-toggle {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
  }
  .billing-btn {
    width: 100%;
    justify-content: center;
  }

  /* Email Capture */
  .email-capture-container {
    flex-direction: column;
    text-align: center;
  }
  .email-input-group {
    flex-direction: column;
  }
  .email-input-group input,
  .email-input-group button {
    width: 100%;
  }

  /* Demo Section */

  /* Footer */
  .footer-links {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ----- Mobile Large (481px - 640px) ----- */
@media (max-width: 640px) {
  html {
    font-size: 15px;
  }
  .hero {
    padding: 5rem 1rem 2rem;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .install-stats {
    flex-direction: column;
    gap: 0.25rem;
  }
  .install-stats .stat-divider {
    display: none;
  }
  .section {
    padding: 3rem 1rem;
  }
  .section-eyebrow {
    font-size: 0.7rem;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .tool-showcase {
    padding: 1.5rem 1.25rem;
  }

  .tool-header {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .tool-icon-wrapper {
    width: 64px;
    height: 64px;
  }

  .tool-icon-wrapper svg {
    width: 32px;
    height: 32px;
  }

  .tool-meta h3 {
    font-size: 1.5rem;
  }

  .research-badge {
    font-size: 0.8125rem;
    padding: 0.75rem 1rem;
  }
  .testimonial-card {
    padding: 1.25rem;
  }
  .featured-article-card {
    padding: 1.5rem;
  }
  .cta-section {
    padding: 2rem 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Mobile Small (< 480px) ----- */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  nav {
    padding: 0 1rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .hero {
    padding: 4.5rem 0.75rem 2rem;
  }
  .hero h1 {
    font-size: 1.25rem;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 0.8rem;
  }
  .hero-badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }
  /* Hero Install CTA - Small Mobile */
  .install-oneliner {
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
    border-radius: 8px;
  }
  .install-alt {
    font-size: 0.75rem;
  }
  .install-alt code {
    font-size: 0.7rem;
    padding: 0.15rem 0.35rem;
  }
  .install-stats {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }
  .install-option code {
    font-size: 0.6rem;
  }
  .section {
    padding: 2.5rem 0.75rem;
  }
  .problem-card,
  .tool-showcase,
  .process-step,
  .profile-card,
  .benchmark-card {
    padding: 1rem;
  }
  .pricing-card {
    padding: 1.5rem 1rem;
  }
  .pricing-price {
    font-size: 2rem;
  }
  .pricing-features li {
    font-size: 0.85rem;
  }
  .email-capture-section {
    padding: 2rem 0.75rem;
  }
  .footer {
    padding: 2rem 0.75rem 1rem;
  }
}

/* ----- Touch Device Optimizations ----- */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .billing-btn {
    min-height: 48px;
    min-width: 48px;
  }
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .glow-orb {
    animation: none;
  }
}

/* ============================================================
           HIGH-CONTRAST INDUSTRIAL MODE (Accessibility Protocol)
           ============================================================
           "Engineering rigorousness" includes usability under harsh conditions.
           Pure black background, pure white text, 100% saturation borders.
           ============================================================ */
@media (prefers-contrast: high) {
  :root {
    /* Pure Black Background (WCAG AAA compliance) */
    --bg-void: #000000;
    --bg-deep: #000000;
    --bg-surface: #000000;
    --bg-elevated: #1a1a1a;
    --bg-card: #000000;
    --bg-card-hover: #1a1a1a;

    /* Pure White Text (Maximum contrast) */
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: #ffffff;
    --text-dim: #ffffff;

    /* 100% Saturation Borders (No glows, pure colors) */
    --border: #ffffff;
    --border-accent: #06b6d4;
    --border-strong: #ffffff;

    /* Accent Colors - 100% saturation, no transparency */
    --cyan: #00ffff;
    --cyan-glow: #00ffff;
    --purple: #ff00ff;
    --purple-glow: #ff00ff;
    --pink: #ff00ff;
    --pink-glow: #ff00ff;
    --green: #00ff00;
    --green-glow: #00ff00;
    --orange: #ff8800;
    --orange-glow: #ff8800;
    --yellow: #ffff00;
    --yellow-glow: #ffff00;
    --red: #ff0000;

    /* Remove all gradients - use solid colors only */
    --gradient-hero: #00ffff;
    --gradient-cyan-purple: #00ffff;
    --gradient-purple-pink: #ff00ff;
    --gradient-glow: transparent;

    /* Remove shadows and glows */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-glow: none;
  }

  /* Remove all background effects */
  body {
    background: #000000 !important;
    color: #ffffff !important;
  }

  /* Remove glass morphism effects */
  .card,
  .protocol-card,
  .thinktool-card,
  .testimonial-card {
    background: #000000 !important;
    backdrop-filter: none !important;
    border: 2px solid #ffffff !important;
  }

  /* Remove gradient text fills */
  .hero h1,
  .section-header h2,
  h1,
  h2,
  h3,
  h4,
  h5 {
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    color: #ffffff !important;
  }

  /* Remove all glows and ambient effects */
  .glow-orb,
  .neural-node {
    display: none !important;
  }

  /* Buttons - solid borders, no gradients */
  .btn-primary,
  .btn-secondary,
  .floating-cta {
    background: #000000 !important;
    border: 2px solid #00ffff !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .floating-cta:hover {
    background: #00ffff !important;
    color: #000000 !important;
  }

  /* Code blocks - high contrast */
  .code-block,
  pre,
  code {
    background: #000000 !important;
    border: 2px solid #00ffff !important;
    color: #ffffff !important;
  }

  /* Links - always visible */
  a {
    color: #00ffff !important;
    text-decoration: underline !important;
  }

  a:hover,
  a:focus {
    color: #ffffff !important;
    background: #00ffff !important;
  }

  /* Focus indicators - maximum visibility */

  /* Remove all animations and transitions */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ----- Print Styles ----- */
@media print {
  .bg-grid,
  .bg-glow,
  nav,
  .mobile-menu-toggle {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .hero h1,
  .section-header h2 {
    -webkit-text-fill-color: black;
    background: none;
  }
  .section {
    page-break-inside: avoid;
  }
}

/* ----- Landscape Mode Fixes ----- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 2rem;
  }
  .glow-orb {
    display: none;
  }
}

/* ----- Safe Area Insets (Notched Devices) ----- */
@supports (padding: env(safe-area-inset-bottom)) {
  nav {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .footer {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .section {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* ============================================================
   Integrations Grid - 3 Column Layout
   ============================================================ */

.integrations-section {
  padding: 3rem 2rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.integrations-header {
  text-align: center;
  margin-bottom: 2rem;
}

.integrations-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

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

/* Demo Showcase Header */
.demo-showcase-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.demo-showcase-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.demo-showcase-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.demo-showcase-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Animated Terminal Showcase */
.animated-terminal-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem auto;
  max-width: 950px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(6, 182, 212, 0.08),
    rgba(168, 85, 247, 0.05),
    rgba(236, 72, 153, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 80px -20px rgba(6, 182, 212, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.animated-terminal-wrapper:hover {
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 100px -25px rgba(6, 182, 212, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.animated-terminal-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Variance Badge on Tool Pills */

@keyframes variancePulse {
  0%,
  100% {
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
  }
}

/* Insight Box - Summary Stats */
.insight-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08),
    rgba(6, 182, 212, 0.05)
  );
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

.insight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2),
    rgba(6, 182, 212, 0.15)
  );
  border-radius: 12px;
  color: #10b981;
}

.insight-icon svg {
  width: 26px;
  height: 26px;
}

.insight-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.insight-content strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #10b981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.insight-content span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Hero Demo Showcase - Full Width Section */
.hero-demo-showcase {
  padding: 4rem 2rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 182, 212, 0.02) 50%,
    transparent 100%
  );
  margin: 3rem 0;
}

.hero-demo-showcase .tools-preview {
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: nowrap; /* Force single line on desktop */
  overflow-x: auto; /* Allow horizontal scroll on very small screens if needed */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar on Firefox */
  -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
}

.hero-demo-showcase .tools-preview::-webkit-scrollbar {
  display: none; /* Hide scrollbar on Chrome/Safari */
}

/* Medium screens: Slightly reduce size to ensure all 5 tools fit on one line */
@media (max-width: 1200px) and (min-width: 769px) {
  .hero-demo-showcase .tools-preview {
    flex-wrap: nowrap; /* Still keep on one line */
    padding: 0 1rem; /* Add padding to prevent edge clipping */
  }
  .hero-demo-showcase .tool-pill {
    font-size: 0.875rem;
    padding: 0.625rem 1.125rem;
    gap: 0.5rem;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .demo-showcase-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .animated-terminal-wrapper {
    margin: 1.5rem 1rem;
    border-radius: 12px;
  }

  .insight-box {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.25rem;
    margin: 1.5rem 1rem 0;
  }

  .insight-content strong {
    font-size: 1rem;
  }

  .insight-content span {
    font-size: 0.85rem;
  }

  .hero-demo-showcase {
    padding: 2.5rem 1rem;
    margin: 2rem 0;
  }

  .hero-demo-showcase .tools-preview {
    gap: 0.5rem;
    flex-wrap: wrap; /* Allow wrapping on mobile */
  }
}

@media (max-width: 480px) {
  .animated-terminal-wrapper {
    margin: 1rem 0.5rem;
    border-radius: 10px;
    border-width: 1px;
  }

  .insight-box {
    margin: 1rem 0.5rem 0;
    padding: 0.875rem 1rem;
    border-radius: 10px;
  }
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================================
   Integration Category Cards - Premium Three Column Layout
   ============================================================ */

.integration-category-card {
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.8) 0%,
    rgba(10, 15, 25, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.integration-category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0.6;
  transition: opacity 0.3s;
}

.integration-category-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.integration-category-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.integration-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 45px -10px rgba(0, 0, 0, 0.45),
    0 0 35px -8px rgba(6, 182, 212, 0.12);
}

.integration-category-card:hover::before {
  opacity: 1;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.category-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.category-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.category-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2),
    rgba(6, 182, 212, 0.2)
  );
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 4px;
  color: var(--green);
  margin-left: auto;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.category-list li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: color 0.2s;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list li:hover {
  color: var(--text-primary);
}

.category-list li strong {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.category-list li code {
  font-size: 0.75rem;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Superscript style for category badges - attached to the item name */
.category-badge-superscript {
  display: inline;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  vertical-align: super;
  line-height: 0;
  opacity: 0.7;
  margin-left: 0.2rem;
  position: relative;
  top: -0.4em;
  transition: opacity 0.2s;
  font-style: normal;
}

.category-list li:hover .category-badge-superscript,
.category-list li:hover sup.category-badge-superscript {
  opacity: 0.9;
}

/* Ensure proper alignment when superscript is used */
.category-list li strong {
  position: relative;
}

/* Responsive adjustments for category cards */
@media (max-width: 900px) {
  .integration-category-card {
    padding: 1.5rem;
  }
  .category-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
  .category-list li code {
    margin-top: 0.25rem;
  }
}

/* ============================================================
   UNIFIED RESPONSIVE DESIGN SYSTEM
   Master responsive overrides for all screen sizes
   ============================================================ */

/* ----- 3XL: Ultra-Wide Screens (1536px+) ----- */
@media (min-width: 1536px) {
  .hero-content {
    max-width: 1600px;
    padding: 0 4rem;
  }
  .hero-subtitle {
    max-width: 1200px;
    line-height: 1.75;
  }
  .section {
    padding: var(--space-section) 5rem;
    max-width: 1600px;
  }
  .install-oneliner {
    font-size: var(--text-xl);
    padding: var(--space-lg) var(--space-xl);
  }
  .problem-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  .pricing-grid {
    max-width: 1400px;
  }
  .value-preview-container {
    max-width: 1200px;
  }
}

/* ----- 2XL: Large Desktops (1280-1535px) ----- */
@media (min-width: 1280px) and (max-width: 1535px) {
  .hero-content {
    max-width: 1400px;
    padding: 0 3rem;
  }
  .hero-subtitle {
    max-width: 1100px;
    line-height: 1.75;
  }
  .section {
    padding: var(--space-section) 4rem;
    max-width: 1400px;
  }
  .problem-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  }
  .value-preview-container {
    max-width: 1100px;
  }
}

/* ----- XL: Laptops (1024-1279px) ----- */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-content {
    max-width: 1200px;
    padding: 0 2.5rem;
  }
  .hero-subtitle {
    max-width: 1000px;
    line-height: 1.7;
  }
  .section {
    padding: var(--space-2xl) 3rem;
    max-width: 1200px;
  }
  .value-preview-container {
    max-width: 1000px;
  }
}

/* ----- LG: Tablets Landscape & Small Laptops (768-1023px) ----- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    padding: 6rem 2rem 4rem;
  }
  .hero-content {
    max-width: 900px;
    padding: 0 2rem;
  }
  .hero-subtitle {
    max-width: 850px;
    line-height: 1.7;
  }
  .section {
    padding: var(--space-2xl) 2rem;
  }
  .install-oneliner {
    padding: var(--space-md) var(--space-lg);
  }
}

/* ----- MD: Tablets Portrait (640-767px) ----- */
@media (min-width: 640px) and (max-width: 767px) {
  nav {
    padding: 0 1.5rem;
  }
  .hero {
    padding: 5.5rem 1.5rem 3rem;
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 {
    font-size: var(--text-4xl);
  }
  .hero-subtitle {
    font-size: var(--text-base);
  }
  .hero-badge {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
  }
  .section {
    padding: var(--space-xl) 1.5rem;
  }
  .install-oneliner {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-base);
  }
  .install-option code {
    font-size: var(--text-xs);
  }
}

/* ----- SM: Large Phones (480-639px) ----- */
@media (min-width: 480px) and (max-width: 639px) {
  nav {
    padding: 0 1rem;
    height: 60px;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(3, 5, 8, 0.98);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: var(--space-md);
    flex-direction: column;
    gap: var(--space-sm);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
  }
  .hero {
    padding: 5rem 1rem 2.5rem;
    min-height: auto;
  }
  .hero h1 {
    font-size: var(--text-3xl);
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: var(--text-sm);
    line-height: 1.5;
  }
  .hero-badge {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
  }
  .hero-badge span:nth-child(2),
  .hero-badge span:nth-child(4),
  .hero-badge span:nth-child(6) {
    display: none;
  }
  .hero-install-cta {
    margin: var(--space-lg) 0 var(--space-md);
  }
  .install-oneliner {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    gap: var(--space-xs);
    border-width: 1.5px;
  }
  .install-alt {
    font-size: var(--text-xs);
  }
  .install-meta {
    margin-top: var(--space-md);
  }
  .install-stats {
    font-size: var(--text-xs);
  }
  .install-details summary {
    font-size: var(--text-xs);
  }
  .install-option {
    padding: var(--space-sm);
  }
  .install-option code {
    font-size: var(--text-xs);
  }
  .section {
    padding: var(--space-xl) 1rem;
  }
}

/* ----- XS: Small Phones (<480px) ----- */
@media (max-width: 479px) {
  html {
    font-size: 14px;
  }
  nav {
    padding: 0 0.75rem;
    height: 56px;
  }
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  .logo-text {
    font-size: 1rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(3, 5, 8, 0.98);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: var(--space-md);
    flex-direction: column;
    gap: var(--space-sm);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
  }
  .hero {
    padding: 4.5rem 0.75rem 2rem;
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.15;
    word-break: break-word;
    hyphens: auto;
  }
  .hero-subtitle {
    font-size: var(--text-sm);
    line-height: 1.45;
    margin-bottom: var(--space-md);
  }
  .hero-subtitle br {
    display: none;
  }
  .hero-badge {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.65rem;
    margin-bottom: var(--space-lg);
  }
  .hero-badge span:nth-child(2),
  .hero-badge span:nth-child(4),
  .hero-badge span:nth-child(6) {
    display: none;
  }
  .hero-install-cta {
    margin: var(--space-md) 0;
    padding: 0 var(--space-xs);
  }
  .install-oneliner {
    padding: var(--space-sm);
    font-size: clamp(0.65rem, 2.5vw, 0.8rem);
    gap: var(--space-xs);
    border-width: 1.5px;
    border-radius: var(--radius-md);
    width: 100%;
  }
  .install-oneliner code {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 40px);
  }
  .copy-btn {
    min-width: 36px;
    min-height: 36px;
  }
  .install-alt {
    font-size: 0.7rem;
    margin-top: var(--space-xs);
  }
  .install-alt code {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .install-meta {
    margin-top: var(--space-sm);
    gap: var(--space-xs);
  }
  .install-stats {
    font-size: 0.7rem;
    gap: var(--space-xs);
  }
  .install-stats .stat-divider {
    display: none;
  }
  .install-stats .stat {
    padding: 2px 6px;
    background: rgba(17, 24, 39, 0.5);
    border-radius: var(--radius-sm);
  }
  .install-details {
    width: 100%;
  }
  .install-details summary {
    font-size: 0.7rem;
    padding: var(--space-xs) var(--space-sm);
  }
  .install-options {
    gap: var(--space-xs);
  }
  .install-option {
    padding: var(--space-xs) var(--space-sm);
  }
  .install-option code {
    font-size: 0.6rem;
    line-height: 1.3;
  }
  .install-option span {
    font-size: 0.6rem;
  }
  .section {
    padding: var(--space-xl) 0.75rem;
  }
  .section-header h2 {
    font-size: var(--text-2xl);
  }
  .section-header p {
    font-size: var(--text-sm);
  }
}

/* ----- Touch Device Optimizations ----- */
@media (hover: none) and (pointer: coarse) {
  /* Ensure all interactive elements meet touch target size */
  .btn,
  .nav-links a,
  .copy-btn,
  .install-details summary,
  .mobile-menu-toggle {
    min-height: var(--touch-target);
    min-width: var(--touch-target);
  }

  /* Remove hover effects that don't work well on touch */
  .install-oneliner:hover,
  .copy-btn:hover,
  .install-option:hover {
    transform: none;
  }

  /* Add active states for touch feedback */
  .copy-btn:active {
    transform: scale(0.95);
    background: rgba(6, 182, 212, 0.4);
  }

  .install-option:active {
    background: rgba(17, 24, 39, 0.8);
  }

  /* Larger tap targets for links */
  .nav-links a {
    padding: var(--space-md);
  }
}

/* ----- Reduced Motion Preference ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .install-oneliner {
    animation: none;
  }

  .install-oneliner::before {
    animation: none;
  }

  .glow-orb {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* High-contrast mode handled globally above */

/* ----- Landscape Phone Optimization ----- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 4rem 2rem 2rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
  }

  .hero-subtitle {
    margin-bottom: var(--space-sm);
  }

  .hero-badge {
    margin-bottom: var(--space-sm);
  }

  .hero-install-cta {
    margin: var(--space-sm) 0;
  }

  .install-meta {
    margin-top: var(--space-sm);
  }

  .glow-orb {
    opacity: 0.2;
  }
}

/* ============================================================
   ENHANCED MOBILE RESPONSIVENESS - COMPREHENSIVE IMPROVEMENTS
   ============================================================ */

/* Mobile Navigation - Enhanced */
@media (max-width: 900px) {
  nav {
    padding: 0.75rem 1rem;
    height: auto;
    min-height: 64px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 1.1rem;
  }
}

/* Mobile Hero Section - Enhanced */
@media (max-width: 768px) {
  .hero {
    padding: 5rem 1rem 3rem;
    min-height: auto;
  }

  .hero-content {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .hero-badge {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    justify-content: center;
  }

  .hero-install-cta {
    margin: 2rem 0;
    padding: 0 0.5rem;
  }

  .install-oneliner {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .install-oneliner code {
    font-size: 0.8rem;
    word-break: break-all;
  }

  .copy-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }
}

/* Mobile Sections - Enhanced Spacing */
@media (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
    text-align: center;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .section-header p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.6;
  }
}

/* Mobile Cards - Enhanced */
@media (max-width: 768px) {
  .problem-card,
  .tool-showcase,
  .pricing-card,
  .process-step,
  .profile-card,
  .benchmark-card,
  .integration-category-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .card h3,
  .tool-showcase h3 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .card p,
  .tool-showcase p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
  }
}

/* Mobile Grids - Enhanced */
@media (max-width: 768px) {
  .problem-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Mobile Buttons - Enhanced Touch Targets */
@media (max-width: 768px) {
  .btn,
  .btn-primary,
  .btn-secondary {
    min-height: 48px;
    min-width: 120px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
  }
}

/* Mobile Typography - Enhanced Readability */
@media (max-width: 768px) {
  body {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.7;
  }

  h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    line-height: 1.2;
  }

  h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.3;
  }

  h3 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    line-height: 1.4;
  }

  h4 {
    font-size: clamp(1.1rem, 3.5vw, 1.25rem);
    line-height: 1.5;
  }

  p {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  li {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.7;
    margin-bottom: 0.5rem;
  }
}

/* Mobile Demo Showcase - Enhanced */
@media (max-width: 768px) {
  .demo-showcase-header {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .demo-showcase-eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .demo-showcase-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.3;
  }
}

/* Mobile Integrations Section - Enhanced */
@media (max-width: 768px) {
  .integrations-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .integrations-eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .integrations-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.3;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .integration-category-card {
    padding: 1.5rem;
  }
}

/* Mobile Trust Bar - Enhanced */
@media (max-width: 768px) {
  .trust-bar {
    padding: 1rem 0.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .trust-label {
    font-size: 0.75rem;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .trust-logos {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .trust-item {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    min-height: 36px;
  }
}

/* Mobile Origin Story - Enhanced */

/* Mobile Footer - Enhanced */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 1rem 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile Small (< 480px) - Extra Enhancements */
@media (max-width: 480px) {
  .hero {
    padding: 4rem 0.75rem 2rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.2;
  }

  .section {
    padding: 2.5rem 0.75rem;
  }

  .problem-card,
  .tool-showcase,
  .pricing-card {
    padding: 1.25rem;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 100%;
  }

  .install-oneliner {
    flex-direction: column;
    align-items: stretch;
  }

  .install-oneliner code {
    width: 100%;
    text-align: center;
  }

  .copy-btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* Mobile Landscape - Optimizations */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    padding: 3rem 1rem 2rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    margin-bottom: 1rem;
  }

  .nav-links {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
}

/* ----- Print Styles ----- */
@media print {
  .bg-grid,
  .bg-glow,
  .noise-overlay,
  nav,
  .mobile-menu-toggle,
  .copy-btn,
  .install-details {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    padding: 2rem;
    min-height: auto;
  }

  .install-oneliner {
    border: 2px solid #000;
    color: #000;
    background: #f0f0f0;
    box-shadow: none;
    animation: none;
  }
}

/* ============================================================
   HYPER-RESPONSIVE ENHANCEMENT SYSTEM
   Maximum screen utilization for all monitor sizes
   ============================================================ */

/* ----- Ultra Wide Screens (1920px+) - Full Screen Experience ----- */
@media (min-width: 1920px) {
  :root {
    --space-section: clamp(5rem, 8vh, 8rem);
    --text-hero: clamp(3.5rem, 4vw, 5.5rem);
  }

  .section {
    padding: var(--space-section) 5rem;
    max-width: 1800px;
    margin: 0 auto;
  }

  .hero {
    padding: 10rem 4rem 6rem;
  }

  .hero-content {
    max-width: 1800px;
    padding: 0 5rem;
  }

  .hero h1 {
    font-size: var(--text-hero);
    letter-spacing: -0.03em;
    line-height: 1.05;
  }

  .hero-subtitle {
    font-size: 1.35rem;
    max-width: 1000px;
    line-height: 1.8;
  }

  .hero-badge {
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    gap: 1rem;
  }

  /* Maximize grid utilization */
  .problem-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .pricing-grid {
    gap: 3rem;
    max-width: 1600px;
  }

  /* Floating CTA larger on big screens */
  .floating-cta {
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
  }
}

/* ----- 4K / Ultra-Wide Monitors (2560px+) ----- */
@media (min-width: 2560px) {
  :root {
    --space-section: clamp(6rem, 10vh, 12rem);
    --text-hero: clamp(4rem, 3.5vw, 6rem);
  }

  html {
    font-size: 18px;
  }

  .section {
    padding: var(--space-section) 8rem;
    max-width: 2200px;
  }

  .hero {
    padding: 14rem 6rem 8rem;
  }

  .hero-content {
    max-width: 2200px;
    padding: 0 8rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    max-width: 1200px;
  }

  /* Larger cards for big screens */
  .problem-card,
  .thinktool-card {
    padding: 2.5rem;
  }

  /* 5-column layout for integrations */

  /* Footer expanded */
}

/* ----- Cinematic Ultra-Wide (3440px+) ----- */
@media (min-width: 3440px) {
  html {
    font-size: 20px;
  }

  .section {
    max-width: 2800px;
    padding: var(--space-section) 10rem;
  }

  .hero-content {
    max-width: 2800px;
  }
}

/* ============================================================
   ENHANCED CONTAINER SYSTEM
   Intelligent width adaptation
   ============================================================ */

/* Smart containers that adapt to content and viewport */

/* ============================================================
   DYNAMIC SPACING UTILITIES
   Viewport-aware breathing room
   ============================================================ */

/* Vertical rhythm that scales */

/* Horizontal space that breathes */

/* ============================================================
   MUST-HAVE VISUAL URGENCY SYSTEM
   Creates FOMO and engagement
   ============================================================ */

/* Attention-grabbing pulse for CTAs */
@keyframes urgency-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(6, 182, 212, 0);
  }
}

/* Limited availability badge animation */
@keyframes limited-glow {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 4px var(--cyan));
  }
  50% {
    filter: brightness(1.15) drop-shadow(0 0 12px var(--cyan));
  }
}

/* ============================================================
   ENGAGEMENT ENHANCEMENT - Micro-interactions
   ============================================================ */

/* Smooth reveal on scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

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

/* Interactive hover states that invite clicks */

/* ============================================================
   CAPTIVATING HERO ENHANCEMENTS
   First impression optimization
   ============================================================ */

/* Stronger gradient text effect */

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

/* Hero stats that pop */

/* ============================================================
   PERSUASIVE LAYOUT COMPONENTS
   Trust-building elements
   ============================================================ */

/* Social proof counter */

/* Credibility badge strip */

/* ============================================================
   OPTIMAL MOBILE TOUCH EXPERIENCE
   ============================================================ */

@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn-primary,
  .btn-secondary {
    min-height: var(--touch-target);
    padding: 1rem 1.5rem;
  }

  /* Remove hover effects on touch - use active instead */

  /* Swipe-friendly scroll areas */
}

/* ============================================================
   PRINT OPTIMIZATION (for sharing)
   ============================================================ */

@media print {
  .floating-cta,
  .neural-network,
  .bg-glow,
  .bg-grid,
  nav,
  .hero-ambient {
    display: none !important;
  }

  .section {
    page-break-inside: avoid;
    padding: 2rem;
  }

  .hero h1 {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-size: 2rem !important;
  }
}

/* ============================================================
   SCROLL-DRIVEN ANIMATIONS (2026 CSS Standard)
   ============================================================
   Uses animation-timeline for GPU-accelerated, 60fps scroll effects
   ============================================================ */

@supports (animation-timeline: scroll()) {
  /* Fade-in sections as they enter viewport */
  .section,
  .feature-card,
  .testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    animation: scrollFadeIn linear forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

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

  /* Parallax effect for hero background */
  .hero-ambient,
  .neural-network {
    animation: parallaxScroll linear forwards;
    animation-timeline: scroll();
    animation-range: 0vh 100vh;
  }

  @keyframes parallaxScroll {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(-50px);
    }
  }

  /* Progress bar tied to scroll */
  .scroll-progress {
    transform-origin: left;
    animation: scrollProgress linear forwards;
    animation-timeline: scroll();
  }

  @keyframes scrollProgress {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
}

/* Reduced motion: disable all scroll animations */
@media (prefers-reduced-motion: reduce) {
  .section,
  .feature-card,
  .testimonial-card,
  .hero-ambient,
  .neural-network,
  .scroll-progress {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   PROGRESSIVE FONT LOADING (FOUT Prevention)
   ============================================================
   Uses .fonts-loaded class added by smart-loader.js
   ============================================================ */

/* Before fonts load: use system fonts */
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* After fonts load: smooth transition to web fonts */
.fonts-loaded body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

/* Prevent FOIT (Flash of Invisible Text) */
.fonts-loaded .hero h1,
.fonts-loaded .hero h2,
.fonts-loaded .section-title {
  opacity: 1;
}

/* Subtle fade-in for text after fonts load */
@supports (font-variation-settings: normal) {
  .fonts-loaded body {
    font-family: "Inter var", "Inter", system-ui, sans-serif;
  }
}

/* ============================================================
   QUALITY-TIER ADAPTIVE STYLING
   ============================================================
   data-quality-tier: ultra | high | standard | low
   Set by smart-loader.js based on connection quality
   ============================================================ */

/* Ultra tier: enable all premium effects */
[data-quality-tier="ultra"] .feature-card,
[data-quality-tier="ultra"] .testimonial-card {
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Low tier: disable expensive effects */
[data-quality-tier="low"] *,
.reduce-motion * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

[data-quality-tier="low"] .hero-ambient,
[data-quality-tier="low"] .neural-network,
[data-quality-tier="low"] .ambient-orb,
.reduce-motion .hero-ambient,
.reduce-motion .neural-network,
.reduce-motion .ambient-orb {
  display: none !important;
}

/* ============================================================
   MEMORY-AWARE OPTIMIZATIONS
   ============================================================
   data-memory-mode: aggressive | adaptive | conservative
   Set by ResourceAwareExecutor based on heap usage
   ============================================================ */

[data-memory-mode="conservative"] .feature-card,
[data-memory-mode="conservative"] .testimonial-card {
  will-change: auto;
  transform: none;
}

[data-memory-mode="conservative"] .hero-ambient,
[data-memory-mode="conservative"] .ambient-orb {
  opacity: 0.3;
}

/* ============================================================
   BATTERY-AWARE OPTIMIZATIONS
   ============================================================
   data-power-mode: low
   Set when battery < 20% and not charging
   ============================================================ */

[data-power-mode="low"] * {
  animation-play-state: paused !important;
}

[data-power-mode="low"] .hero-ambient,
[data-power-mode="low"] .neural-network,
[data-power-mode="low"] .ambient-orb {
  display: none !important;
}

/* ============================================================
   ENHANCED CSS CONTAINMENT
   ============================================================
   Improve rendering performance with layout isolation
   ============================================================ */

.feature-card,
.testimonial-card,
.tool-pill,
.step-card,
.comparison-box,
[data-dynamic] {
  contain: layout style paint;
}

/* Size containment for cards with known dimensions */
.pricing-card,
.demo-card {
  contain: layout style paint size;
}

/* Content visibility for off-screen sections */
.section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* ============================================================
   TAILWIND-STYLE UTILITY CLASSES
   ============================================================
   Common color utilities for inline usage
   ============================================================ */

/* Text Colors - WCAG AA compliant */
.text-cyan-400 {
  color: #22d3ee;
}
.text-cyan-300 {
  color: #67e8f9;
}
.text-purple-400 {
  color: #c084fc;
}
.text-purple-300 {
  color: #d8b4fe;
}
.text-amber-400 {
  color: #fbbf24;
}
.text-amber-300 {
  color: #fcd34d;
}
.text-emerald-400 {
  color: #34d399;
}
.text-emerald-300 {
  color: #6ee7b7;
}
.text-orange-400 {
  color: #fb923c;
}
.text-orange-300 {
  color: #fdba74;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-gray-300 {
  color: #d1d5db;
}

/* Hover states */
.hover\:text-cyan-300:hover {
  color: #67e8f9;
}
.hover\:text-purple-300:hover {
  color: #d8b4fe;
}
.hover\:text-amber-300:hover {
  color: #fcd34d;
}
.hover\:text-emerald-300:hover {
  color: #6ee7b7;
}
.hover\:text-orange-300:hover {
  color: #fdba74;
}

/* Underline decorations - full opacity for accessibility */
.underline {
  text-decoration: underline;
}
.decoration-cyan-400\/30 {
  text-decoration-color: rgba(34, 211, 238, 0.3);
}
.decoration-purple-400\/30 {
  text-decoration-color: rgba(192, 132, 252, 0.3);
}
.decoration-amber-400\/30 {
  text-decoration-color: rgba(251, 191, 36, 0.3);
}
.decoration-emerald-400\/30 {
  text-decoration-color: rgba(52, 211, 153, 0.3);
}
.decoration-orange-400\/30 {
  text-decoration-color: rgba(251, 146, 60, 0.3);
}

/* ============================================================
   BEFORE/AFTER COMPARISON SECTION
   ============================================================
   Visual comparison of raw AI vs ReasonKit structured output
   ============================================================ */

.before-after-section {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    var(--bg-void) 0%,
    var(--bg-deep) 50%,
    var(--bg-void) 100%
  );
}

.before-after-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.before-after-card {
  flex: 1;
  max-width: 480px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.before-after-card:hover {
  transform: translateY(-4px);
}

.before-card {
  border-color: rgba(239, 68, 68, 0.3);
}

.before-card:hover {
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.after-card {
  border-color: rgba(16, 185, 129, 0.3);
}

.after-card:hover {
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.card-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.before-label {
  color: #ef4444;
}

.after-label {
  color: #10b981;
}

.terminal-mockup {
  background: #0d1117;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.terminal-mockup.success {
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.terminal-header-mini {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-header-mini .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-header-mini .dot.red {
  background: #ff5f56;
}
.terminal-header-mini .dot.yellow {
  background: #ffbd2e;
}
.terminal-header-mini .dot.green {
  background: #27c93f;
}

.terminal-content {
  padding: 1rem 1.25rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.terminal-content .prompt {
  color: #7ee787;
  margin-bottom: 0.75rem;
}

.terminal-content .response {
  color: var(--text-secondary);
}

.terminal-content .response p {
  margin-bottom: 0.5rem;
}

.terminal-content .response .mt {
  margin-top: 0.75rem;
}

.bad-response {
  opacity: 0.9;
}

.confidence-fake {
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 6px;
  color: #fca5a5;
  font-size: 0.75rem;
}

.good-response .section-label {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 0.375rem;
}

.good-response .section-label:first-child {
  margin-top: 0;
}

.reasoning-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0.5rem;
}

.reasoning-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.reasoning-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.verdict {
  margin-top: 1rem;
  padding: 0.625rem 0.875rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  color: #6ee7b7;
  font-size: 0.8125rem;
}

.confidence-real {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.trace-link {
  color: var(--cyan);
  cursor: pointer;
  text-decoration: underline;
}

.issues-list,
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.issues-list li,
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.issues-list li:last-child,
.benefits-list li:last-child {
  border-bottom: none;
}

.issue-icon,
.benefit-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.transform-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.arrow-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.before-after-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.before-after-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.before-after-cta strong {
  color: var(--text-primary);
}

/* Mobile responsive */
@media (max-width: 900px) {
  .before-after-container {
    flex-direction: column;
    align-items: center;
  }

  .before-after-card {
    max-width: 100%;
  }

  .transform-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .transform-arrow svg {
    width: 36px;
    height: 36px;
  }

  .arrow-label {
    transform: rotate(-90deg);
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .before-after-section {
    padding: 4rem 1rem;
  }

  .before-after-card {
    padding: 1rem;
  }

  .terminal-content {
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
  }

  .issues-list li,
  .benefits-list li {
    font-size: 0.8125rem;
  }
}

/* ============================================================================
   STICKY CTA BAR - Appears after scrolling past hero
   ============================================================================ */
.sticky-cta-bar {
  position: fixed;
  top: 64px; /* Below main nav */
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sticky-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sticky-cta-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.sticky-cta-message .star-icon {
  color: var(--cyan);
}

.sticky-cta-message strong {
  color: var(--text-primary);
  font-weight: 600;
}

.sticky-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sticky-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(6, 182, 212, 0.3);
}

.sticky-cta-button svg {
  width: 16px;
  height: 16px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .sticky-cta-container {
    padding: 0.625rem 1rem;
    gap: 1rem;
  }

  .sticky-cta-message {
    font-size: 0.8125rem;
  }

  .sticky-cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .sticky-cta-message {
    display: none; /* Hide message on very small screens */
  }

  .sticky-cta-container {
    justify-content: center;
  }
}

/* ============================================================================
   TESTIMONIALS CAROUSEL
   ============================================================================ */
.testimonials-carousel {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(168, 85, 247, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.testimonials-heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
  background: rgba(17, 24, 39, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--cyan);
  opacity: 0.3;
  line-height: 0;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--avatar-bg);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  z-index: 10;
}

.carousel-nav:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(156, 163, 175, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot.active {
  background: var(--cyan);
  width: 24px;
  border-radius: 4px;
}

.carousel-dots .dot:hover:not(.active) {
  background: rgba(156, 163, 175, 0.6);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .testimonials-carousel {
    margin: 3rem auto;
    padding: 2rem 1rem;
  }

  .testimonials-heading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .carousel-container {
    padding: 0 2.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-quote {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 2rem;
  }

  .carousel-nav {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================================
   EXIT-INTENT POPUP - Appears when user tries to leave
   ============================================================================ */
.exit-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exit-popup-backdrop.active {
  opacity: 1;
}

.exit-intent-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 9999;
  background: linear-gradient(135deg, rgba(10, 13, 20, 0.98), rgba(17, 24, 39, 0.98));
  border-radius: 16px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 80px rgba(6, 182, 212, 0.15);
  max-width: 480px;
  width: 90%;
  padding: 2.5rem 2rem;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.exit-intent-popup.active {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(75, 85, 99, 0.2);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.exit-popup-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  transform: rotate(90deg);
}

.exit-popup-content {
  text-align: center;
}

.exit-popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.exit-popup-icon svg {
  width: 48px;
  height: 48px;
  color: var(--cyan);
  stroke-width: 2;
}

.exit-popup-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exit-popup-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.exit-popup-benefits {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.exit-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.exit-benefit-item:not(:last-child) {
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
}

.exit-benefit-item svg {
  flex-shrink: 0;
  color: var(--cyan);
}

.exit-popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.exit-popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.exit-popup-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .exit-intent-popup {
    max-width: 400px;
    padding: 2rem 1.5rem;
  }

  .exit-popup-title {
    font-size: 1.5rem;
  }

  .exit-popup-subtitle {
    font-size: 0.9375rem;
  }

  .exit-popup-benefits {
    padding: 1.25rem;
  }

  .exit-benefit-item {
    font-size: 0.875rem;
    padding: 0.625rem 0;
  }

  .exit-popup-cta {
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .exit-intent-popup {
    max-width: 340px;
    padding: 1.75rem 1.25rem;
  }

  .exit-popup-icon svg {
    width: 40px;
    height: 40px;
  }

  .exit-popup-title {
    font-size: 1.375rem;
  }

  .exit-popup-benefits {
    padding: 1rem;
  }

  .exit-benefit-item {
    font-size: 0.8125rem;
  }

  .exit-popup-cta {
    width: 100%;
    justify-content: center;
  }

  .exit-popup-close {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================================
   INLINE CTAs - Strategically placed throughout homepage
   ============================================================================ */
.inline-cta {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(168, 85, 247, 0.08));
  border-radius: 16px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  text-align: center;
}

.inline-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.inline-cta-variant .inline-cta-content {
  flex-direction: row;
  text-align: left;
  justify-content: space-between;
}

.inline-cta-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.inline-cta-icon svg {
  color: var(--cyan);
}

.inline-cta-text {
  flex: 1;
}

.inline-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.inline-cta-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.inline-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.inline-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.inline-cta-button-secondary {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  box-shadow: none;
}

.inline-cta-button-secondary:hover {
  background: rgba(6, 182, 212, 0.25);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
}

.inline-cta-button-outline {
  background: transparent;
  border: 1px solid rgba(156, 163, 175, 0.3);
  color: var(--text-secondary);
  box-shadow: none;
}

.inline-cta-button-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.05);
}

.inline-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .inline-cta {
    margin: 3rem auto;
    padding: 2rem 1.5rem;
  }

  .inline-cta-variant .inline-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .inline-cta-title {
    font-size: 1.375rem;
  }

  .inline-cta-subtitle {
    font-size: 0.9375rem;
  }

  .inline-cta-button {
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
  }

  .inline-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .inline-cta-buttons .inline-cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .inline-cta {
    margin: 2.5rem auto;
    padding: 1.75rem 1.25rem;
  }

  .inline-cta-title {
    font-size: 1.25rem;
  }

  .inline-cta-subtitle {
    font-size: 0.875rem;
  }

  .inline-cta-icon {
    width: 48px;
    height: 48px;
  }

  .inline-cta-icon svg {
    width: 28px;
    height: 28px;
  }
}
