/* ==================================================
   DESIGN TOKENS
   ================================================== */
:root {
  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Colors — Purple */
  --purple-primary: #A855F7;
  --purple-glow: #7C3AED;
  --purple-muted: #3B1F6A;

  /* Colors — Emerald */
  --emerald-primary: #10B981;
  --emerald-glow: #059669;
  --emerald-muted: #064E3B;

  /* Colors — Text */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #475569;

  /* Colors — Backgrounds */
  --bg-base: #080810;
  --bg-surface: #0D0D1A;
  --bg-border: #1A1A2E;

  /* Legacy aliases (backward compat) */
  --bg-primary: #080810;
  --bg-secondary: #0F0F1A;
  --border-color: #1A1A2E;

  /* Spacing Tokens (Uniform 30px sections / 10px elements) */
  --gap-component: 10px;
  --gap-section: 10px;
  --gap-content: 10px;
  /* Uniform section spacing */
  --section-gap: 30px;
  --section-gap-mob: 30px;
  /* Uniform 30px Mobile */

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Glow shadows */
  --glow-purple: 0 0 40px rgba(168, 85, 247, 0.35);
  --glow-emerald: 0 0 40px rgba(16, 185, 129, 0.35);

  /* Layout */
  --nav-height: 72px;
  --max-width: 1280px;
}



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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height, 72px);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: visible;
}

/* Revert cursor for touch screens so they behave normally */
@media (pointer: coarse) {

  html,
  body {
    cursor: auto;
  }
  .cursor-dot {
    display: none !important;
  }
}

/* Custom Cursor Styles */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #00F2FF;
  /* Neon Cyan */
  border-radius: 50%;
  pointer-events: none;
  z-index: 200000;
  margin-left: -5px;
  margin-top: -5px;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.6);
  /* No transform transition for full speed/zero lag */
  transition: background-color 0.4s ease, box-shadow 0.4s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-dot.hovering {
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  background-color: var(--purple-primary);
  box-shadow: 0 0 30px var(--purple-primary);
}

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

*:focus-visible {
  outline: 2px solid var(--purple-primary);
  outline-offset: 2px;
}

.gradient-text {
  background: linear-gradient(135deg, #A855F7 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Seamless Section Flow - No Dividers */
section {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Remove all divider styles */
.section-divider,
.divider-pulse,
.divider-morph,
.divider-orbs,
.divider-wave,
.divider-glow,
.proof-separator,
.team-separator {
  display: none !important;
}

.book-inner {
  position: relative;
  z-index: 5;
}

/* ==================================================
   NAVIGATION
   ================================================== */
nav#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 300;
  background: var(--bg-base);
  transition: background 400ms ease, box-shadow 400ms ease, border-bottom-color 400ms ease, transform 400ms ease, opacity 400ms ease;
  border-bottom: 1px solid transparent;
}

nav#main-nav.nav--scrolled {
  background: var(--bg-base);
  border-bottom-color: rgba(26, 26, 46, 0.5);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

nav#main-nav.nav--hidden {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo img,
.footer-logo img {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen !important;
  transition: mix-blend-mode 0.4s ease;
}

.footer-logo img {
  height: 40px;
}

.logo-dot {
  font-size: 10px;
  color: var(--emerald-primary);
  margin-left: 3px;
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--purple-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

body.light-mode .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle .sun-icon {
  display: block;
}

body.light-mode .theme-toggle .moon-icon {
  display: none;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.938rem;
  font-weight: 500;
  transition: color 200ms ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--purple-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6366F1, #4F46E5, #6366F1);
  background-size: 200% auto;
  animation: shimmerBtn 4s linear infinite;
  color: #fff;
  padding: 12px 30px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

@keyframes shimmerBtn {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: left 800ms ease;
  pointer-events: none;
}

.cta-button:hover::before {
  left: 150%;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 60px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

body.light-mode .cta-button {
  background: linear-gradient(135deg, #ff7b00, #ff4d00, #ff7b00);
  background-size: 200% auto;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 28px rgba(255, 123, 0, 0.35);
}

body.light-mode .cta-button:hover {
  box-shadow: 0 15px 35px rgba(255, 77, 0, 0.45);
}

.cta-phone {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  animation: ctaPhoneRing 3s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

@keyframes ctaPhoneRing {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(10deg) scale(1.1);
  }

  50% {
    transform: rotate(0deg) scale(1.2);
  }

  75% {
    transform: rotate(-10deg) scale(1.1);
  }
}

.cta-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-full);
  border: 2px solid rgba(168, 85, 247, 0.5);
  animation: ctaRingPulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes ctaRingPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 300ms ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  z-index: 250;
  border-bottom: 1px solid var(--border-color);
}

.mobile-panel a {
  padding: 0.75rem 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: color 200ms, background 200ms;
}

.mobile-panel a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-panel .mobile-cta {
  margin: 0.75rem 2rem 0.5rem;
  background: var(--purple-primary);
  color: #fff;
  border-radius: var(--radius-full);
  text-align: center;
  padding: 12px 24px;
  font-weight: 600;
}

.mobile-panel.open {
  display: flex;
  animation: slideDown 300ms ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 8px);
  /* Final upward step */
  padding-bottom: 80px;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(168,85,247,0.08)'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  box-shadow: inset 120px 0 120px -60px var(--bg-base), inset -120px 0 120px -60px var(--bg-base);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  transition: opacity 0.4s ease;
}

body.light-mode .hero-blob {
  opacity: 0.12;
  filter: blur(140px);
}

body.light-mode .hero-blob-a {
  background: rgba(255, 0, 110, 0.1);
  width: 400px;
  height: 400px;
}

body.light-mode .hero-blob-b {
  background: rgba(255, 234, 0, 0.12);
  width: 350px;
  height: 350px;
}

body.light-mode .hero-blob-c {
  background: rgba(255, 123, 0, 0.05);
  width: 250px;
  height: 250px;
}

.hero-blob-a {
  width: 600px;
  height: 600px;
  top: -10%;
  left: -10%;
  background: rgba(168, 85, 247, 0.12);
  animation: driftA 8s ease-in-out infinite alternate;
}

.hero-blob-b {
  width: 500px;
  height: 500px;
  bottom: -10%;
  right: -10%;
  background: rgba(16, 185, 129, 0.10);
  animation: driftB 10s ease-in-out infinite alternate;
}

.hero-blob-c {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(168, 85, 247, 0.06);
}

@keyframes driftA {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(40px, 30px);
  }
}

@keyframes driftB {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-30px, -40px);
  }
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: start;
}

/* LEFT COLUMN */
.hero-left {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--gap-content);
  max-width: 100%;
}

body.light-mode .hero-left {
  border-left: 4px solid #6366F1;
  padding-left: 32px;
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(20px);
}

.anim-fade-up.active {
  animation: fadeSlideUp 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Features List */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-component);
  padding: 6px 12px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-full);
  color: var(--purple-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-feature:hover {
  transform: translateX(5px);
  color: var(--text-primary);
}

.feature-dot {
  width: 6px;
  height: 6px;
  background: var(--purple-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--purple-primary);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero-h1 .h1-line {
  display: block;
  white-space: nowrap;
  overflow: visible;
  max-width: 100%;
  width: fit-content;
  font-size: clamp(28px, 4.5vw, 68px);
}

.hero-tagline {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: var(--gap-section);
  /* Standardized to 40px */
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hero-h1 {
    font-size: clamp(24px, 7.5vw, 40px);
    letter-spacing: -1px;
    line-height: 1.1;
  }

  .hero-labels {
    gap: 12px;
    margin-top: 0;
    margin-bottom: 30px;
  }

  .hero-feature {
    font-size: 14px;
  }
}

.hero-body {
  font-size: 18px;
  color: var(--text-secondary);
  width: 100%;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 0;
  /* Standardized gap below body text */
}

/* Hero Features/Labels List */
.hero-labels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Tightened internal gap */
  margin-top: 0;
  margin-bottom: 0;
  /* Gap above CTAs */
}

.hero-label-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-label-item:hover {
  transform: translateX(6px);
  color: var(--text-primary);
}

.label-dot {
  width: 7px;
  height: 7px;
  background: var(--purple-primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--purple-primary);
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero-labels {
    gap: 14px;
    margin-bottom: 24px;
  }

  .hero-label-item {
    font-size: 14px;
  }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
  margin-top: 20px;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  flex: 1;
  width: auto;
  justify-content: center;
  display: inline-flex;
}

/* Typewriter Cursor Effect */
.typewriter-cursor {
  position: relative;
  display: inline-block;
}

.typewriter-cursor::after {
  content: '|';
  position: relative;
  color: var(--emerald-primary);
  animation: blinkCaret 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blinkCaret {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.938rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
  }
  50% {
    box-shadow: 0 0 32px rgba(168, 85, 247, 0.6);
  }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.938rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  /* Text gradient trick */
  background-image: linear-gradient(135deg, #A855F7 0%, #7C3AED 50%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.btn-ghost:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
  transform: translateY(-1px);
}

/* ==================================================
   ANIMATION CONTAINER — Cursor-Reactive Fluid Physics
   ================================================== */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  will-change: transform;
  transform: translateZ(0);
  align-self: center;
  position: relative;
  min-height: 0;
}

.anim-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  will-change: transform;
  transform: translateZ(0);
  clip-path: inset(-40px -40px -330px -40px);
}

.anim-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  border: none !important;
  outline: none !important;
}

.anim-ambient-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* n8n Hub — centered, rounded, breathing glow */
.anim-hub {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid rgba(168, 85, 247, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
  animation: hubBreathe 3s ease-in-out infinite alternate;
  gap: 4px;
  padding: 0 8px;
}

@media (max-width: 768px) {
  .anim-hub {
    width: 110px;
    height: 110px;
  }

  .hub-label {
    font-size: 22px;
    margin-bottom: 2px;
  }

  .hub-sub {
    font-size: 7.5px;
    letter-spacing: 0.2px;
    opacity: 0.8;
    width: 90%;
    margin: 0 auto;
    line-height: 1.1;
  }
}

.hub-label {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  display: block;
  text-align: center;
}

.hub-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1;
  display: block;
  text-align: center;
  white-space: nowrap;
  opacity: 0.8;
}

@keyframes hubBreathe {
  0% {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.25), 0 0 60px rgba(168, 85, 247, 0.08);
  }

  100% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.45), 0 0 80px rgba(168, 85, 247, 0.15);
  }
}

/* FLOAT ICONS — larger, better spaced */
.float-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--fi-color, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 16px color-mix(in srgb, var(--fi-color) 30%, transparent);
  will-change: transform;
  transition: box-shadow 400ms ease;
}

@media (max-width: 768px) {
  .float-icon {
    width: 42px;
    height: 42px;
  }

  .float-icon-label {
    font-size: 6px;
    bottom: -14px;
  }
}

.float-icon svg {
  pointer-events: none;
}

/* Showcase overlay — hidden, only pipeline strip shows */
.showcase-label {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
}

.anim-container.showcase-mode .showcase-label {
  opacity: 1;
}

.showcase-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  padding: 4px 14px;
}

.showcase-flow {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

/* Node labels — below each icon */
.float-icon-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Hero Flow Path Visualization (Overlay) */
.hero-flow-path {
  position: static;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 20;
  margin-top: 25px;
}

.flow-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(8, 8, 16, 0.6);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero-flow-path {
    width: 100%;
  }

  .flow-inner {
    padding: 5px 12px;
    gap: 6px;
    justify-content: center;
    transform: scale(0.8);
  }

  .flow-step {
    font-size: 0.55rem;
  }

  .flow-arrow {
    font-size: 0.6rem;
  }
}

.flow-step {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  animation: flowStepFade 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 133.33ms);
  opacity: 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.flow-arrow {
  color: var(--purple-primary);
  font-weight: 700;
  font-size: 0.8rem;
  animation: flowStepFade 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 133.33ms);
  opacity: 0;
}

.flow-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 150px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
  animation: flowTrail 4s linear infinite;
  animation-delay: 2s;
  pointer-events: none;
}

@keyframes flowStepFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flowTrail {
  0% {
    left: -150px;
  }

  100% {
    left: 100%;
  }
}

body.light-mode .flow-inner {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .flow-step {
  color: var(--text-primary);
}

body.light-mode .flow-arrow {
  color: var(--purple-primary);
}

/* Workflow run: glow state — NO animation property (avoids conflicting with JS transform) */
.float-icon.glow {
  box-shadow: 0 0 20px color-mix(in srgb, var(--fi-color) 65%, transparent), 0 0 40px color-mix(in srgb, var(--fi-color) 35%, transparent), 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  filter: brightness(1.1);
}

#fi-elevenlabs.glow {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.65), 0 0 40px rgba(255, 255, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Check badge — hidden by default, only visible when .completed */
.float-icon .check-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: scale(0);
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  pointer-events: none;
}

.float-icon.completed .check-badge {
  opacity: 1;
  transform: scale(1);
}

/* Pipeline complete text — at the TOP of the animation */
.pipeline-status {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  white-space: nowrap;
  max-width: calc(100% - 32px);
  pointer-events: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--emerald-primary);
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 600ms ease;
  text-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  padding: 6px 18px;
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .pipeline-status {
    top: 15px;
    font-size: 13px;
    padding: 4px 14px;
  }
}

.pipeline-status.visible {
  opacity: 1;
}



.pipeline-step {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  opacity: 0;
  animation: pipeStepIn 600ms ease forwards;
}

.pipeline-arrow {
  font-size: 10px;
  color: var(--purple-primary);
  opacity: 0;
  animation: pipeStepIn 600ms ease forwards;
}

@keyframes pipeStepIn {
  to {
    opacity: 1;
  }
}

.pipeline-step:nth-child(1) {
  animation-delay: 0.2s;
}

.pipeline-arrow:nth-child(2) {
  animation-delay: 0.4s;
}

.pipeline-step:nth-child(3) {
  animation-delay: 0.6s;
}

.pipeline-arrow:nth-child(4) {
  animation-delay: 0.8s;
}

.pipeline-step:nth-child(5) {
  animation-delay: 1.0s;
}

.pipeline-arrow:nth-child(6) {
  animation-delay: 1.2s;
}

.pipeline-step:nth-child(7) {
  animation-delay: 1.4s;
}

.pipeline-arrow:nth-child(8) {
  animation-delay: 1.6s;
}

.pipeline-step:nth-child(9) {
  animation-delay: 1.8s;
}

.pipeline-arrow:nth-child(10) {
  animation-delay: 2.0s;
}

.pipeline-step:nth-child(11) {
  animation-delay: 2.2s;
}

.pipeline-arrow:nth-child(12) {
  animation-delay: 2.4s;
}

.pipeline-step:nth-child(13) {
  animation-delay: 2.6s;
}

/* PULSE RINGS */
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 8;
}

.pulse-ring.active {
  animation: ringExpand 1s ease-out forwards;
}

#ring2.active {
  animation-delay: 0.15s;
}

#ring3.active {
  animation-delay: 0.3s;
}

@keyframes ringExpand {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* ==================================================
   SECTION 3 — SOCIAL PROOF STRIP
   ================================================== */
.proof-strip {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(12, 12, 24, 1) 50%, var(--bg-base) 100%);
  border-top: 1px solid rgba(168, 85, 247, 0.08);
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.proof-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom,
      var(--bg-base) 0%,
      transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proof-strip>* {
  position: relative;
  z-index: 1;
}

body.light-mode .proof-strip {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F1 50%, #FFFFFF 100%);
  border-color: rgba(255, 0, 110, 0.05);
}

/* Section Label */
.proof-section-label {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-indent: 4px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Stats Row */
.proof-stats {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: nowrap;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  flex: 1;
}

.proof-number {
  font-family: var(--font-display);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 600;
  color: var(--purple-primary);
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.35);
}

.proof-number--green {
  color: var(--emerald-primary);
}

.proof-label {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 200px;
  line-height: 1.4;
}

.proof-rule {
  border: none;
  height: 1px;
  width: 320px;
  margin: 40px auto;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.6) 30%, rgba(6, 182, 212, 0.6) 70%, transparent 100%);
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--border-color), transparent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* Modern Marquee Ticker */
.marquee-wrapper {
  position: relative;
  margin-top: 0;
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.marquee-item {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 8px 12px;
  position: relative;
  transition: color 400ms ease, text-shadow 400ms ease;
}

.marquee-item:hover {
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.marquee-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), var(--emerald-primary));
  border-radius: 2px;
  transition: width 400ms ease;
}

.marquee-item:hover::after {
  width: 60%;
}

.marquee-diamond {
  font-size: 6px;
  color: var(--purple-primary);
  opacity: 0.3;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(168, 85, 247, 0.4));
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Scroll Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Subheading Fade-in */
.fade-in {
  opacity: 0;
  transition: opacity 1.5s ease-out;
  transition-delay: 0.4s;
  /* wait for heading to type a bit */
}

.fade-in.active {
  opacity: 1;
}

/* Heading Reveal Animation */
.anim-typewriter {
  position: relative;
  display: inline-block;
}

.typewriter-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: revealLine 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   SECTION 4 — CASE STUDIES
   ================================================== */
.cs-section {
  padding-top: 10px;
  padding-bottom: var(--section-gap);
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
}

body.light-mode .cs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #6366F1, #ff7b00);
}

/* Header */
.cs-header {
  text-align: center;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-content);
}

.cs-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-primary);
}

.cs-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

/* Card */
.cs-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cs-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(16, 185, 129, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.cs-card:hover {
  transform: translateY(-8px) scale(1.01);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(168, 85, 247, 0.15), 0 0 40px rgba(16, 185, 129, 0.1);
}

.cs-card:hover::before {
  opacity: 1;
}

/* LIVE badge */
.cs-live-badge {
  position: static;
  flex-shrink: 0;
  z-index: 5;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-primary);
  border-radius: 50%;
  animation: liveBlink 1.5s ease-in-out infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Left Panel */
.cs-left {
  position: relative;
  background: var(--bg-surface);
  padding: 0;
}

/* Left accent bar */
.cs-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--purple-primary), var(--emerald-primary));
  border-radius: 3px 0 0 3px;
}

.cs-left-inner {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 16px;
}

/* Labels & headings */
.cs-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cs-h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.cs-problem {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.cs-built-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.cs-architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 12px 0;
}

.cs-arch-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 6px;
}

.cs-workflow-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cs-workflow-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: -22px; /* Pulls arrows into margin so text aligns with headers */
}

.cs-workflow-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 22px;
  overflow: hidden;
  text-overflow: clip;
}

.cs-workflow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-primary);
  font-weight: 700;
}

.cs-workflow-list li strong {
  color: var(--text-primary);
  display: inline-block;
  font-size: 13.5px;
  margin-right: 4px;
}

.cs-highlights {
  margin-top: 0;
  margin-bottom: 0;
}

.cs-highlights .cs-problem {
  font-size: 13px;
  margin-top: 6px;
}

/* Metric mini-cards */
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.cs-metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.cs-metric-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--purple-primary);
  letter-spacing: -0.3px;
}

.cs-metric-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Right Panel (Audio & Media Showcase) */
.cs-right-new {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--bg-base);
  border-left: 1px solid var(--border-color);
  padding: 32px 40px 40px 40px;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Techy Video Showcase */
.techy-video-showcase {
  position: relative;
  width: 100%;
  background: rgba(16, 16, 28, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 12px;
  padding: 12px 16px 16px 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.05), inset 0 0 20px rgba(168, 85, 247, 0.02);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.techy-video-showcase:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.15), inset 0 0 30px rgba(168, 85, 247, 0.05);
}

.techy-bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  z-index: 10;
  pointer-events: none;
  transition: all 0.3s ease;
}

.top-left {
  top: 0;
  left: 0;
  border-top-color: #A855F7;
  border-left-color: #A855F7;
  border-top-left-radius: 12px;
}

.top-right {
  top: 0;
  right: 0;
  border-top-color: #A855F7;
  border-right-color: #A855F7;
  border-top-right-radius: 12px;
}

.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom-color: #A855F7;
  border-left-color: #A855F7;
  border-bottom-left-radius: 12px;
}

.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-color: #A855F7;
  border-right-color: #A855F7;
  border-bottom-right-radius: 12px;
}

.techy-video-showcase:hover .techy-bracket {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 8px #A855F7);
}



.techy-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.media-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.15);
  background: #000;
  z-index: 2;
}

.media-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
  filter: contrast(1.05) brightness(1.05);
}

/* Audio Player */
.audio-showcase-card {
  background: rgba(16, 16, 28, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 400ms ease;
  position: relative;
  overflow: hidden;
}

.audio-showcase-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2), inset 0 0 0 1px rgba(168, 85, 247, 0.1);
  transform: translateY(-2px);
}

.audio-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audio-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audio-play-btn:hover {
  transform: scale(1.05);
}

.audio-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.audio-controls {
  display: flex;
  gap: 16px;
}

.audio-controls svg {
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.audio-controls svg:hover {
  color: var(--text-primary);
}

.audio-track-container {
  width: 100%;
}

.audio-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.audio-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--purple-primary);
  border-radius: 2px;
}

.audio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 16px;
}

.audio-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.audio-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Media Scroller */
.cs-media-slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  border-radius: 12px;
}

.cs-media-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.cs-media-track .media-item {
  min-width: 100%;
  flex-shrink: 0;
}

.cs-slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.cs-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cs-slide-dot.active {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
  transform: scale(1.3);
}

.call-log-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y;
  padding-bottom: 0;
}

.call-log-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.call-log-track.no-transition {
  transition: none;
}

.call-log-slide {
  flex: 0 0 100%;
  width: 100%;
  flex-shrink: 0;
  padding: 24px;
  box-sizing: border-box;
}



.call-log-dots {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  pointer-events: none;
}

.call-log-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.30);
  border: 1.5px solid rgba(124, 58, 237, 0.55);
  transition: background 0.3s ease, transform 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
  pointer-events: all;
  flex-shrink: 0;
}

.call-log-dots .dot.active {
  background: #7c3aed;
  border-color: #7c3aed;
  transform: scale(1.3);
}


.media-item {
  width: 100%;
  background: rgba(16, 16, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  transform-style: preserve-3d;
}

.media-item:hover {
  border-color: rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1), inset 0 0 15px rgba(0, 255, 255, 0.05);
  transform: translateY(-4px) rotateX(2deg) rotateY(-2deg) scale(1.02);
}

.media-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.2px;
}

.media-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.media-item-header .media-title {
  flex: 1;
  margin: 0;
}

.media-item-header .cs-slide-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  padding: 0;
}

.media-img-wrapper,
.media-video-wrapper {
  width: 100%;
  max-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-img,
.media-video {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 8px;
}


/* ==================================================
   SECTION 6 — ROI CALCULATOR
   ================================================== */
.roi-section {
  padding: var(--section-gap) 0;
  background: var(--bg-base);
}

.roi-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.roi-header {
  text-align: center;
  margin-bottom: var(--section-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-content);
}

.roi-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-primary);
}

.roi-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Two-column grid */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: var(--gap-section);
  /* Standardized to 40px */
}

/* Sliders */
.roi-sliders {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roi-slider-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

.roi-slider-label strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Number & Select Inputs */
.roi-input, .roi-select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.roi-input:focus, .roi-select:focus {
  border-color: var(--purple-primary);
}

.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 12px;
}

.roi-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.roi-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.roi-warning {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  color: #fca5a5;
  font-size: 14px;
  border-radius: 4px;
  line-height: 1.5;
}

.roi-warning.hidden {
  display: none;
}

.roi-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 16px;
}

/* Results grid */
.new-roi-grid-wrapper {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
}

.new-roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.roi-output-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi-output-box.full-width {
  grid-column: 1 / -1;
}

.box-red { border-left: 3px solid #ef4444; }
.box-purple { border-left: 3px solid var(--purple-primary); }
.box-green { border-left: 3px solid var(--emerald-primary); background: rgba(16, 185, 129, 0.05); }
.box-neutral { border-left: 3px solid #9ca3af; }

.roi-box-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.roi-box-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.roi-box-value.huge {
  font-size: 42px;
}

.red-text { color: #ef4444; }
.purple-text { color: var(--purple-primary); }
.green-text { color: var(--emerald-primary); }
.neutral-text { color: #e5e7eb; }

.roi-box-sub {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* CTA button */
.roi-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 8px;
}

/* ==================================================
   SECTION 6 — NEW ROI CALCULATOR
   ================================================== */
.roi-calculator-section {
  padding-top: 10px;
  padding-bottom: var(--section-gap);
  background: linear-gradient(180deg, #0A0A0F 0%, rgba(168, 85, 247, 0.08) 30%, rgba(6, 182, 212, 0.05) 70%, #0A0A0F 100%);
  position: relative;
  overflow: hidden;
}



.roi-calculator-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.roi-calculator-header {
  text-align: center;
  margin-bottom: 24px;
}

.roi-calculator-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--text-primary);
  margin: var(--gap-content) 0 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.roi-calculator-h2 span {
  background: linear-gradient(135deg, #A855F7 0%, #06B6D4 50%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roi-calculator-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 16px;
  font-weight: 500;
}

/* 3-Column Grid Layout */
.roi-calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: stretch;
}

/* Column Styling */
.roi-inputs-column,
.roi-manual-column,
.roi-rynex-column {
  background: linear-gradient(145deg, rgba(17, 17, 24, 0.95) 0%, rgba(17, 17, 24, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.roi-inputs-column:hover,
.roi-manual-column:hover,
.roi-rynex-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.roi-manual-column {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.08) 0%, rgba(17, 17, 24, 0.95) 50%, rgba(17, 17, 24, 0.9) 100%);
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(239, 68, 68, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.roi-rynex-column {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.12) 0%, rgba(17, 17, 24, 0.95) 50%, rgba(6, 182, 212, 0.05) 100%);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(168, 85, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Column Titles */
.roi-column-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.roi-column-title.warning {
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.roi-column-title.accent {
  color: #A855F7;
  border-color: rgba(168, 85, 247, 0.3);
}

.roi-column-title.success {
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
}

/* Input Groups */
/* ROI Input Groups — Glassmorphism */
.roi-input-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.roi-input-group:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.1);
  transform: translateX(4px);
}

.roi-input-group:last-child {
  margin-bottom: 0;
}

/* Productivity Pulse */
.roi-productivity-pulse {
  margin: 16px 0;
  padding: 14px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
}

.pulse-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pulse-icon {
  font-size: 18px;
}

.pulse-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 1;
}

.pulse-status {
  font-size: 10px;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }
}

.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.pulse-metric {
  text-align: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.pulse-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #06B6D4;
  font-family: 'JetBrains Mono', monospace;
}

.pulse-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pulse-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.pulse-fill {
  height: 100%;
  background: linear-gradient(90deg, #06B6D4 0%, #A855F7 100%);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Mini Stat (Burn Rate) */
.roi-mini-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 10px;
  margin: 12px auto;
  max-width: 320px;
}

.mini-stat-icon {
  font-size: 18px;
}

.mini-stat-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.mini-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #EF4444;
  font-family: 'JetBrains Mono', monospace;
}

.mini-stat-trend {
  font-size: 11px;
  font-weight: 600;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Quick Stats Row */
.roi-quick-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  margin: 12px auto;
  max-width: 320px;
}

.quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.quick-stat-icon {
  font-size: 16px;
}

.quick-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: #10B981;
  font-family: 'JetBrains Mono', monospace;
}

.quick-stat-divider {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

/* Live Comparison Badge */
.roi-live-comparison {
  margin: 16px auto;
  padding: 14px;
  max-width: 320px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 12px;
}

.comparison-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comparison-icon {
  font-size: 24px;
}

.comparison-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.comparison-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-value {
  font-size: 18px;
  font-weight: 800;
  color: #10B981;
  font-family: 'JetBrains Mono', monospace;
}

.comparison-mini-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  position: relative;
}

.comparison-fill {
  height: 100%;
  transition: width 0.5s ease;
}

.comparison-fill.manual {
  background: linear-gradient(90deg, #EF4444 0%, rgba(239, 68, 68, 0.6) 100%);
  border-radius: 4px 0 0 4px;
}

.comparison-fill.auto {
  background: linear-gradient(90deg, #10B981 0%, rgba(16, 185, 129, 0.6) 100%);
  border-radius: 0 4px 4px 0;
}

/* Input Summary Stats */
.roi-input-summary {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 12px;
}

.input-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.input-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.input-stat-icon {
  font-size: 20px;
}

.input-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.input-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.input-insight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.insight-badge {
  font-size: 10px;
  font-weight: 700;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.input-insight p {
  margin: 0;
}

.input-insight span {
  color: #F59E0B;
  font-weight: 700;
}

.roi-input-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Input Icons */
.input-icon {
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.input-icon.staff-icon { filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5)); }
.input-icon.money-icon { filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5)); }
.input-icon.time-icon { filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5)); }
.input-icon.calendar-icon { filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5)); }
.input-icon.error-icon { filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5)); }
.input-icon.cost-icon { filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.5)); }

/* Column Title Icon */
.title-icon {
  font-size: 20px;
  margin-right: 4px;
}

/* Slider Wrap */
.roi-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.roi-slider {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.roi-slider:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Glassy Track Style */
.roi-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 10px;
}

/* Remove individual track colors for seamless look, use thumbs for variation */
.roi-slider.staff-slider { --glow-color: var(--purple-primary); }
.roi-slider.salary-slider { --glow-color: var(--emerald-primary); }
.roi-slider.time-slider { --glow-color: #06B6D4; }
.roi-slider.days-slider { --glow-color: #F59E0B; }
.roi-slider.error-slider { --glow-color: #EF4444; }
.roi-slider.cost-slider { --glow-color: #EC4899; }

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 
              0 0 15px var(--glow-color), 
              inset 0 -2px 5px rgba(0,0,0,0.2),
              inset 0 2px 5px rgba(255,255,255,0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: -7px;
  border: 2px solid #fff;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--glow-color), 
              0 0 40px var(--glow-color),
              inset 0 -2px 5px rgba(0,0,0,0.2),
              inset 0 2px 5px rgba(255,255,255,1);
}

.roi-slider::-webkit-slider-thumb:active {
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--glow-color), 
              inset 0 -2px 5px rgba(0,0,0,0.2);
}

.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 15px var(--glow-color);
  transition: all 0.3s ease;
}

/* Slider Value Input */
.roi-slider-value {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}

.roi-currency {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.roi-number-input {
  width: 80px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}

.roi-number-input:focus {
  outline: none;
  border-color: var(--purple-primary);
  background: rgba(168, 85, 247, 0.1);
}

.roi-unit {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Cost Breakdown Items */
.roi-cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  flex: 1;
}

.roi-cost-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.roi-cost-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.roi-cost-item.animated {
  animation: slideIn 0.5s ease forwards;
  opacity: 0;
}

.roi-cost-item.animated:nth-child(1) { animation-delay: 0.1s; }
.roi-cost-item.animated:nth-child(2) { animation-delay: 0.2s; }
.roi-cost-item.animated:nth-child(3) { animation-delay: 0.3s; }

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

/* Cost Icon Wraps */
.roi-cost-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.roi-cost-icon-wrap.staff {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  box-shadow: none;
}

.roi-cost-icon-wrap.time {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  box-shadow: none;
}

.roi-cost-icon-wrap.error {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  box-shadow: none;
}

.roi-cost-item:hover .roi-cost-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.roi-cost-icon {
  font-size: 20px;
  line-height: 1;
}

.roi-cost-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.roi-cost-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.roi-cost-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roi-cost-formula {
  font-size: 11px;
  color: var(--text-muted);
}

/* Cost Ring Visual */
.roi-cost-visual {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.cost-ring-container {
  position: relative;
  width: 140px;
  height: 140px;
}

.cost-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8;
}

.ring-progress {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 0.8s ease;
}

.ring-progress.staff {
  stroke: #A855F7;
  opacity: 0.8;
}

.ring-progress.time {
  stroke: #06B6D4;
  opacity: 0.6;
}

.ring-progress.error {
  stroke: #EF4444;
  opacity: 0.4;
}

.ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  padding: 0 8px;
}

.ring-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.ring-value {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.2;
}

/* Total Box */
.roi-total-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  margin: 16px 0;
}

.roi-total-box.warning {
  background: var(--bg-surface);
  border-color: var(--bg-border);
}

.roi-total-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.roi-total-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

/* Counting Number Animation */
.counting {
  transition: all 0.3s ease;
}

.counting.updated {
  animation: numberPop 0.3s ease;
}

@keyframes numberPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: #A855F7; }
  100% { transform: scale(1); }
}

.counting-large {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Pulse Animation for Total Box (Disabled) */
.roi-total-box.pulse {
  animation: none;
}

@keyframes boxPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.1);
  }
}

/* Title with Logo */
.roi-title-with-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.roi-logo-small {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.4));
}

.roi-title-with-logo .roi-column-title {
  margin: 0;
  padding: 0;
  border: none;
  flex: 1;
}

/* Cost Breakdown Bars */
.roi-cost-bars {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cost-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cost-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cost-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.cost-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

.cost-bar-fill.staff-bar {
  background: var(--purple-primary);
}

.cost-bar-fill.time-bar {
  background: var(--text-muted);
}

.cost-bar-fill.error-bar {
  background: var(--text-muted);
}

/* Insight Box */
.roi-insight-box {
  margin-top: 16px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.insight-icon {
  font-size: 24px;
  line-height: 1;
}

.insight-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--text-secondary);
}

.insight-text strong {
  color: #F59E0B;
  font-weight: 600;
}

.insight-text span {
  color: var(--text-muted);
}

/* ROI Timeline */
.roi-timeline {
  margin: 16px auto;
  padding: 14px;
  max-width: 320px;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 12px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-badge {
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.timeline-track {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: visible;
}

.timeline-progress {
  height: 100%;
  background: linear-gradient(90deg, #A855F7 0%, #10B981 100%);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.timeline-markers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
}

.marker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0A0A0F;
  border: 2px solid var(--text-muted);
  transition: all 0.3s ease;
}

.marker::after {
  content: attr(data-label);
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

.marker.start {
  left: 0;
  border-color: #A855F7;
}

.marker.breakeven {
  border-color: #10B981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.marker.end {
  right: 0;
  border-color: #06B6D4;
}

/* 5-Year Projection */
.roi-projection {
  margin-top: 16px;
  padding: 14px;
  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: 12px;
}

.projection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.projection-value {
  font-size: 18px;
  font-weight: 700;
  color: #10B981;
  font-family: 'JetBrains Mono', monospace;
}

.projection-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
}

.projection-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #A855F7 100%);
  border-radius: 5px;
  transition: width 1s ease;
}

.projection-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.projection-note span {
  color: #A855F7;
  font-weight: 700;
}

/* Rynex Breakdown */
.roi-rynex-breakdown {
  margin-bottom: 16px;
  flex: 1;
}

.roi-rynex-breakdown .roi-cost-item {
  margin-bottom: 8px;
}

.roi-rynex-breakdown .roi-cost-item:last-child {
  margin-bottom: 0;
}

/* Toggle Switch */
.roi-toggle-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.roi-toggle-label input {
  display: none;
}

.roi-toggle-slider {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  position: relative;
  transition: background 0.3s ease;
}

.roi-toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.roi-toggle-label input:checked + .roi-toggle-slider {
  background: var(--purple-primary);
}

.roi-toggle-label input:checked + .roi-toggle-slider::after {
  transform: translateX(20px);
}

.roi-toggle-text {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Big Stats Row */
.roi-big-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.big-stat {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.big-stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #A855F7;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, #A855F7 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 4px;
}

.big-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Automation Benefits */
.roi-benefits {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.15);
  transform: translateX(4px);
}

.benefit-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

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

.benefit-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.benefit-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Year Boxes */
.roi-year-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.roi-year-box {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}

.roi-year-box.big {
  padding: 20px 12px;
}

.roi-year-box.big .roi-year-value {
  font-size: 22px;
}

.roi-year-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--purple-primary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.roi-year-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}

.roi-year-sub {
  font-size: 10px;
  color: var(--text-muted);
}

/* Savings Divider */
.roi-savings-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

/* Horizontal Savings Section */
.roi-savings-section {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 32px;
  margin-top: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.roi-savings-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #10B981;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 1px;
}

.roi-savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.roi-savings-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.roi-savings-card.projection-card {
  background: var(--bg-surface);
  border-color: var(--bg-border);
}

.savings-card-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.projection-card .savings-card-label {
  color: #A855F7;
}

.savings-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.savings-card-row.highlight {
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 8px;
}

.savings-card-percent {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #10B981;
  text-align: right;
  margin-top: auto;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mini Projection in Card */
.projection-mini {
  text-align: center;
  margin: 12px 0;
}

.projection-mini-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #A855F7;
  font-family: 'JetBrains Mono', monospace;
}

.projection-mini-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.projection-mini-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0;
}

.projection-mini-fill {
  height: 100%;
  background: linear-gradient(90deg, #A855F7 0%, #10B981 100%);
  border-radius: 3px;
  transition: width 1s ease;
}

.projection-mini-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

.projection-mini-note span {
  color: #A855F7;
  font-weight: 700;
}

/* Old Savings Box (hidden) */
.roi-savings-box {
  display: none;
}

/* CTA */
.roi-calculator-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
}

.roi-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--accent-teal) 100%);
  color: white;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roi-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
  .roi-calculator-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .roi-inputs-column {
    grid-column: 1 / -1;
  }
  
  .roi-savings-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .roi-savings-card.projection-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .roi-calculator-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .roi-inputs-column,
  .roi-manual-column,
  .roi-rynex-column {
    padding: 24px;
  }
  
  .roi-big-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .big-stat-value {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .roi-section {
    padding: 60px 0;
  }
  
  .roi-calculator-h2 {
    font-size: 28px;
  }
  
  .roi-calculator-lead {
    font-size: 15px;
  }
  
  .roi-inputs-column,
  .roi-manual-column,
  .roi-rynex-column {
    padding: 20px;
  }
  
  .roi-input-group {
    padding: 10px;
  }
  
  .roi-input-summary {
    padding: 12px;
  }
  
  .input-stat-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .roi-cost-breakdown {
    gap: 8px;
  }
  
  .roi-cost-item {
    padding: 8px;
  }
  
  .cost-icon-wrap {
    width: 36px;
    height: 36px;
  }
  
  .cost-ring-container {
    width: 120px;
    height: 120px;
  }
  
  .ring-center {
    width: 75%;
    padding: 0 6px;
  }
  
  .ring-label {
    font-size: 8px;
  }
  
  .ring-value {
    font-size: 11px;
  }
  
  .roi-total-box {
    padding: 12px;
  }
  
  .roi-total-value {
    font-size: 24px;
  }
  
  .roi-cost-bars {
    gap: 8px;
  }
  
  .roi-insight-box {
    padding: 12px;
  }
  
  .roi-benefits {
    gap: 8px;
  }
  
  .benefit-item {
    padding: 10px;
  }
  
  .roi-productivity-pulse {
    padding: 12px;
    margin: 12px 0;
  }
  
  .pulse-metrics {
    gap: 8px;
  }
  
  .pulse-value {
    font-size: 14px;
  }
  
  .roi-live-comparison {
    padding: 12px;
    margin: 12px auto;
  }
  
  .comparison-value {
    font-size: 16px;
  }
  
  .roi-mini-stat {
    padding: 10px 12px;
    margin: 10px auto;
  }
  
  .mini-stat-value {
    font-size: 14px;
  }
  
  .roi-quick-stats {
    padding: 10px;
    margin: 10px auto;
    gap: 12px;
  }
  
  .quick-stat-value {
    font-size: 12px;
  }
  
  .roi-year-boxes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .roi-big-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 16px 0;
  }
  
  .big-stat {
    padding: 16px;
  }
  
  .big-stat-value {
    font-size: 26px;
  }
  
  .roi-savings-section {
    padding: 24px;
  }
  
  .roi-savings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .roi-savings-card.projection-card {
    grid-column: auto;
  }
  
  .roi-timeline {
    padding: 12px;
    margin: 12px auto;
  }
  
  .timeline-header {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }
  
  .roi-title-with-logo {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .roi-logo-small {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .roi-calculator-inner {
    padding: 0 12px;
  }
  
  .roi-calculator-h2 {
    font-size: 24px;
  }
  
  .roi-column-title {
    font-size: 12px;
  }
  
  .roi-slider-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .roi-slider {
    width: 100%;
  }
  
  .roi-number-input {
    width: 100%;
    text-align: center;
  }
  
  .cost-bar-row {
    flex-direction: column;
  }
  
  /* Footer mobile styles */
  .footer-inner {
    padding: 0 1rem;
  }
  
  .footer-nav {
    padding: 20px 24px;
    gap: 24px;
  }
  
  .footer-nav-label {
    font-size: 11px;
  }
  
  .nav-link {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .footer-bottom {
    padding-top: 24px;
  }
  
  .footer-legal {
    font-size: 12px;
  }
  
  .footer-legal-links {
    gap: 12px;
  }
  
  .cost-bar-bg {
    width: 100%;
  }
  
  .savings-card-row {
    font-size: 13px;
  }
  
  .savings-card-percent {
    font-size: 22px;
  }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .roi-calculator-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
  
  .roi-inputs-column,
  .roi-manual-column,
  .roi-rynex-column {
    padding: 16px;
  }
  
  .roi-input-group {
    margin-bottom: 8px;
    padding: 8px;
  }
  
  .roi-column-title {
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .roi-calculator-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .roi-inputs-column {
    grid-column: 1 / -1;
  }
  
  .roi-input-summary .input-stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .roi-calculator-grid {
    gap: 32px;
  }
  
  .roi-inputs-column,
  .roi-manual-column,
  .roi-rynex-column {
    padding: 32px;
  }
  
  .big-stat-value {
    font-size: 36px;
  }
}

/* High DPI / Retina screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .cost-ring-svg {
    shape-rendering: geometricPrecision;
  }
}

/* Dark mode adjustments for OLED */
@media (prefers-color-scheme: dark) {
  .roi-inputs-column,
  .roi-manual-column,
  .roi-rynex-column {
    background: linear-gradient(145deg, rgba(10, 10, 14, 0.98) 0%, rgba(10, 10, 14, 0.9) 100%);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .roi-input-group,
  .roi-cost-item,
  .benefit-item,
  .cost-bar-fill,
  .timeline-progress,
  .projection-mini-fill {
    transition: none !important;
  }
  
  .cost-icon-wrap.pulse {
    animation: none;
  }
}

/* Print styles */
@media print {
  .roi-section {
    background: white !important;
    color: black !important;
  }
  
  .roi-inputs-column,
  .roi-manual-column,
  .roi-rynex-column {
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}

/* ==================================================
   SECTION 7 — INDUSTRIES
   ================================================== */
.ind-section {
  padding-top: 10px;
  padding-bottom: var(--section-gap);
  background: var(--bg-base);
  position: relative;
}

body.light-mode .ind-section {
  border-top: 8px solid #ffea00;
}

.ind-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.ind-header {
  text-align: center;
  margin-bottom: var(--gap-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-content);
}

.ind-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0;
}

.ind-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

/* Tab pills */
.ind-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 0;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.ind-tab {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 200ms ease;
}

.ind-tab:hover {
  color: var(--text-primary);
}

.ind-tab.active {
  background: var(--purple-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

.ind-tab:focus-visible {
  outline: 2px solid var(--purple-primary);
  outline-offset: 2px;
}

/* Panels */
.ind-panel {
  display: none;
}

.ind-panel.active {
  display: block;
  animation: panelFadeIn 300ms ease forwards;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cascade Animations for Right Panel Flow */
.ind-panel.active .pipe-node,
.ind-panel.active .pipe-arrow,
.ind-panel.active .pipe-branch {
  opacity: 0;
  transform: translateY(10px);
  animation: nodeCascade 400ms ease forwards;
}

@keyframes nodeCascade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ind-panel.active .pipe-flow>*:nth-child(1) {
  animation-delay: 100ms;
}

.ind-panel.active .pipe-flow>*:nth-child(2) {
  animation-delay: 200ms;
}

.ind-panel.active .pipe-flow>*:nth-child(3) {
  animation-delay: 300ms;
}

.ind-panel.active .pipe-flow>*:nth-child(4) {
  animation-delay: 400ms;
}

.ind-panel.active .pipe-flow>*:nth-child(5) {
  animation-delay: 500ms;
}

.ind-panel.active .pipe-flow>*:nth-child(6) {
  animation-delay: 600ms;
}

.ind-panel.active .pipe-flow>*:nth-child(7) {
  animation-delay: 700ms;
}

.ind-panel.active .pipe-flow>*:nth-child(8) {
  animation-delay: 800ms;
}

.ind-panel.active .pipe-flow>*:nth-child(9) {
  animation-delay: 900ms;
}

.ind-panel.active .pipe-flow>*:nth-child(10) {
  animation-delay: 1000ms;
}

.ind-panel.active .pipe-flow>*:nth-child(11) {
  animation-delay: 1100ms;
}

.ind-panel.active .pipe-flow>*:nth-child(12) {
  animation-delay: 1200ms;
}

.ind-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}

/* Content */
.cs-steps {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
}

.cs-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple-primary);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 4px;
}

.ind-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ind-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.ind-problem {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Compliance note */
.ind-compliance {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--emerald-primary);
  padding-left: 16px;
  background: rgba(16, 185, 129, 0.04);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}

/* Stack tags */
.ind-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ind-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  letter-spacing: 0.3px;
}

/* Footer note */
.ind-footer {
  font-size: 13px;
  color: var(--emerald-primary);
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  margin-top: 16px;
}

/* Pipeline Visualization */
.ind-viz {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pipe-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 280px;
}

.pipe-node {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}

.pipe-node:hover {
  transform: translateY(-2px) scale(1.02);
  z-index: 2;
}

/* Vibrant Colors */
.pipe-purple {
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.pipe-purple:hover {
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
  border-color: #A855F7;
}

.pipe-green {
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.pipe-green:hover {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
  border-color: #10B981;
}

.pipe-orange {
  border: 1px solid rgba(242, 101, 34, 0.5);
  box-shadow: 0 0 15px rgba(242, 101, 34, 0.15);
}

.pipe-orange:hover {
  box-shadow: 0 0 25px rgba(242, 101, 34, 0.4);
  border-color: #F26522;
}

.pipe-blue {
  border: 1px solid rgba(66, 133, 244, 0.5);
  box-shadow: 0 0 15px rgba(66, 133, 244, 0.15);
}

.pipe-blue:hover {
  box-shadow: 0 0 25px rgba(66, 133, 244, 0.4);
  border-color: #4285F4;
}

.pipe-cyan {
  border: 1px solid rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.pipe-cyan:hover {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
  border-color: #06b6d4;
}

.pipe-pink {
  border: 1px solid rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.15);
}

.pipe-pink:hover {
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
  border-color: #ec4899;
}

.pipe-yellow {
  border: 1px solid rgba(234, 179, 8, 0.5);
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.15);
}

.pipe-yellow:hover {
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.4);
  border-color: #eab308;
}

.pipe-muted {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.pipe-muted:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.pipe-arrow {
  width: 2px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  margin: 6px 0;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  color: transparent;
  /* hides the text */
  user-select: none;
}

.pipe-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--purple-primary);
  box-shadow: 0 0 10px var(--purple-primary);
  animation: dataFlow 1.5s infinite linear;
  border-radius: 2px;
}

.pipe-branch {
  display: flex;
  gap: 24px;
  width: 100%;
  justify-content: center;
  padding: 4px 0;
}

.pipe-branch-left,
.pipe-branch-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 1;
}

.pipe-arrow-sm {
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  margin: 4px 0;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  color: transparent;
  user-select: none;
}

.pipe-branch-left .pipe-arrow-sm {
  transform: rotate(25deg);
}

.pipe-branch-right .pipe-arrow-sm {
  transform: rotate(-25deg);
}

.pipe-arrow-sm::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 10px var(--emerald-primary);
  animation: dataFlow 1.5s infinite linear;
  border-radius: 2px;
}

@keyframes dataFlow {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(200%);
    opacity: 0;
  }
}

.pipe-branch .pipe-node {
  font-size: 12px;
  padding: 10px 12px;

}

/* ==================================================
   SECTION 8 — TEAM
   ================================================== */
.team-section {
  padding: var(--section-gap) 0;
  background: var(--bg-base);
  overflow: hidden;
  position: relative;
}

.team-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* Header */
.team-header {
  text-align: center;
  margin-bottom: var(--section-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-content);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.team-header:hover {
  transform: translateY(-5px);
}

.team-header:hover .team-h2 {
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.team-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-primary);
}

.team-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.6;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}

/* Card */
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  overflow: hidden;
  max-width: 340px;
  margin: 0 auto;
}

.team-card p {
  font-size: 15px;
  line-height: 1.6;
}

.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top, rgba(168, 85, 247, 0.1), transparent 70%);
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
              0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Photo circle with animated gradient border */
.avatar-container {
  position: relative;
  z-index: 2;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.team-card:hover .avatar-container {
  transform: scale(1.15);
}

.avatar-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, var(--purple-primary), #10B981, #06b6d4, var(--purple-primary));
  animation: borderSpin 4s linear infinite;
  z-index: 0;
}

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

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
}



.team-initial {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.team-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.team-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.verified-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  /* Adjusted to IG proportions */
  height: 20px;
  filter: drop-shadow(0 0 6px rgba(0, 149, 246, 0.3));
}

.verified-badge svg {
  width: 100%;
  height: 100%;
}

.team-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-primary);
  margin-top: -12px;
  /* Pulls role closer to name */
}

.team-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 320px;
}

/* Skill tags */
.team-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.team-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  letter-spacing: 0.3px;
}

/* LinkedIn button */
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-top: 4px;
  transition: all 200ms ease;
}

.team-linkedin:hover {
  color: var(--text-primary);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.08);
}

/* Hiring card */
.team-card-hiring {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.85;
}

.team-card-hiring:hover {
  opacity: 1;
}

.team-hiring-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.team-photo-hiring {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: transparent !important;
}

/* ==================================================
   SECTION 9 — BOOKING / CONTACT
   ================================================== */
.book-section {
  position: relative;
  padding-top: 10px;
  padding-bottom: var(--section-gap);
  background: var(--bg-surface);
  overflow: hidden;
}

.book-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.book-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.book-header {
  text-align: center;
  margin-bottom: var(--section-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-content);
}

.book-h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.book-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 900px;
  line-height: 1.6;
  margin: 16px auto 0;
}

/* Grid */
.book-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.form-input {
  background: var(--bg-base);
  border: 1px solid #1A1A2E;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  outline: none;
  width: 100%;
  height: 42px;
}

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

.form-input:focus {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-input.has-error {
  border-color: #F87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

/* Select */
.form-select-wrap {
  position: relative;
}

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

.form-select option {
  background: var(--bg-base);
  color: var(--text-primary);
}

/* Textarea */
.form-textarea {
  min-height: 80px;
  max-height: 100px;
  resize: vertical;
  height: auto;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
}

/* Error messages */
.form-error {
  font-size: 12px;
  color: #F87171;
  min-height: 16px;
  line-height: 1;
}

/* Submit button */
.book-submit {
  width: 100%;
  justify-content: center;
  position: relative;
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 12px 32px;
  font-size: 15px;
}

.book-submit.loading .btn-text {
  opacity: 0;
}

.book-submit.loading .btn-spinner {
  display: block;
}

.btn-spinner {
  display: none;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

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

/* ==================================================
   SECTION 9 — TABBED BOOKING SYSTEM (Buldrr Style)
   ================================================== */
.book-tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.book-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(168, 85, 247, 0.3);
  background: transparent;
  color: var(--text-primary);
}

.book-tab-btn:hover {
  border-color: var(--purple-primary);
  background: rgba(168, 85, 247, 0.1);
}

.book-tab-btn svg {
  opacity: 0.7;
}

/* Active States: Schedule a call (White) vs Form (Outline) */
.book-tab-btn.active[data-target="book-calendar"] {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.book-tab-btn.active[data-target="book-calendar"] svg {
  opacity: 1;
  color: #000;
}

.book-tab-btn.active[data-target="book-form-section"] {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--purple-primary);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.book-container {
  max-width: 1000px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  overflow: visible;
  box-shadow: none;
}

.book-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all 500ms ease;
}

.book-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Calendar Sub-Nav (Meeting Types) */
.cal-sub-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cal-sub-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cal-sub-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.cal-sub-btn.active {
  background: var(--purple-primary);
  color: #fff;
  border-color: var(--purple-primary);
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.cal-embed-container {
  width: 100%;
  background: var(--bg-surface);
  height: 750px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.cal-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cal-loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(168, 85, 247, 0.1);
  border-top-color: var(--purple-primary);
  border-radius: 50%;
  animation: calSpin 1s linear infinite;
}

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

.cal-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.cal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

/* Decorative Background Effects */
.book-section {
  background: radial-gradient(circle at 50% 50%, rgba(15, 15, 30, 1) 0%, rgba(5, 5, 10, 1) 100%);
  position: relative;
  overflow: hidden;
}

.book-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  filter: blur(100px);
}

.book-glow-1 {
  top: -200px;
  left: -200px;
  animation: orbFloat 20s infinite ease-in-out;
}

.book-glow-2 {
  bottom: -200px;
  right: -200px;
  animation: orbFloat 25s infinite ease-in-out reverse;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(100px, 50px) scale(1.1);
  }

  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }
}

.book-form-centered {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 40px 40px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .book-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .book-header {
    margin-bottom: 24px;
  }

  .book-h2 {
    font-size: 32px;
  }

  .book-sub {
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .book-form {
    gap: 12px;
  }

  .form-input {
    height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .form-textarea {
    min-height: 70px;
    max-height: 90px;
  }

  .book-submit {
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 10px 28px;
    font-size: 14px;
  }

  .book-tab-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
    gap: 12px;
    margin-bottom: 24px;
  }

  .book-tab-btn {
    justify-content: center;
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .cal-embed-container {
    height: 650px;
  }
  
  .cal-sub-nav {
    flex-wrap: wrap;
    padding: 15px 10px;
  }
  
  .cal-sub-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}

/* Success state — Restored and Enhanced */
.book-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 30px;
  background: rgba(16, 185, 129, 0.05);
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(10px);
  min-height: 450px;
  animation: successReveal 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.book-success.show {
  display: flex !important;
}

@keyframes successReveal {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.book-success-icon {
  width: 90px;
  height: 90px;
  background: var(--emerald-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin-bottom: 28px;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
  animation: checkPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s;
  opacity: 0;
  transform: scale(0.4);
}

@keyframes checkPop {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.book-success-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.book-success-msg {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 380px;
  line-height: 1.6;
  font-weight: 500;
}



/* Right - Direct Booking */
.book-direct {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.book-direct-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
}

.book-direct-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: -8px;
}

/* Voice Agent Embed */
.book-voice-embed {
  height: 500px;
  background: var(--bg-surface);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  animation: voicePulse 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.book-voice-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes voicePulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.5);
  }
}

/* Email block */
.book-email-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  width: 100%;
}

.book-email {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 6px;
}

.book-email:hover {
  color: var(--emerald-primary);
}

.book-email-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .book-email-block {
    margin-top: 16px;
    padding-top: 12px;
  }
  
  .book-email {
    font-size: 16px;
  }

  .book-email-note {
    font-size: 12px;
  }
}

/* ==================================================
   SECTION 10 — FOOTER (Enhanced Centered Layout)
   ================================================== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(10, 10, 14, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0 20px;
  overflow: hidden;
}

/* Footer Glow Blobs */
.footer-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--purple-primary);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: footerFloat 20s infinite alternate;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: var(--emerald-primary);
  bottom: -100px;
  right: 10%;
  animation: footerFloat 15s infinite alternate-reverse;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  bottom: -50px;
  left: 10%;
  animation: footerFloat 25s infinite linear;
}

@keyframes footerFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 40px) scale(0.9); }
}

.footer-inner {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Centered Brand Section */
.footer-brand-center {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 52px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(168, 85, 247, 0.3));
}



.footer-tagline {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--purple-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.25);
}

/* Horizontal Navigation */
.footer-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 64px;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
}

.footer-nav-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 0;
  border: none;
}

.footer-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.1);
  transform: translateX(4px);
}

.nav-link:hover svg {
  opacity: 1;
}

.footer-rule {
  display: none;
}

.footer-divider {
  width: 1px;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

/* Footer Bottom */
.footer-bottom {
  border-top: none;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  /* Stacked and centered */
  align-items: center;
  gap: 24px;
}

.footer-legal {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  /* Center legal text */
}

.footer-legal-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.1);
}

/* Back to Top */
.footer-btt {
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  /* Forced White arrow */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  margin-top: 12px;
  /* Added margin for center spacing */
}

.footer-btt svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  /* Forced White stroke */
  stroke-width: 3px;
  /* Slightly thicker for visibility */
}

.footer-btt:hover {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 60px 0 30px;
  }
  
  .footer-inner {
    padding: 0 1.5rem;
  }
  
  .footer-brand-center {
    margin-bottom: 32px;
  }
  
  .footer-logo-img {
    height: 44px;
  }
  
  .footer-tagline {
    font-size: 14px;
    max-width: 100%;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
    width: 100%;
    max-width: 400px;
    margin-bottom: 24px;
  }
  
  .footer-nav-section {
    align-items: center;
    width: 100%;
  }
  
  .footer-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  
  .nav-link {
    justify-content: center;
    width: 100%;
  }
  
  .nav-link:hover {
    transform: translateY(-2px);
  }
  
  .footer-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  }
  
  .footer-socials {
    gap: 10px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding-top: 20px;
  }
  
  .footer-legal-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Closing statement */
.footer-statement {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid #1A1A2E;
  border-bottom: 1px solid #1A1A2E;
  margin-bottom: 24px;
}

.footer-statement .gradient-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Legal bar */
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms;
}

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

.footer-legal-sep {
  opacity: 0.4;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

/* TABLET & LANDSCAPE: <=1024px */
@media (max-width: 1024px) {

  /* Hide links and show hamburger earlier to prevent overlap */
  .nav-center,
  .nav-right,
  .cta-button {
    display: none !important;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* MOBILE: <=768px */
@media (max-width: 768px) {
  :root {
    --gap-section: 10px;
    --gap-content: 10px;
    --section-gap: 30px;
    --section-gap-mob: 30px;
  }

  /* Nav hidden at 1024px now */

  /* Reposition ElevenLabs Widget on Mobile to avoid overlap */
  elevenlabs-convai {
    position: fixed !important;
    right: auto !important;
    left: 12px !important;
    bottom: 12px !important;
    z-index: 9999 !important;
    width: calc(100vw - 12px) !important;
    height: calc(100vh - 12px) !important;
    pointer-events: none;
  }

  elevenlabs-convai * {
    pointer-events: auto;
  }

  .nav-hamburger {
    display: flex;
  }

  nav#main-nav {
    padding: 0 1.25rem;
  }

  .logo img {
    height: 34px;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) - 10px);
    /* Final upward step */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding: 0 1.25rem;
  }

  .hero-left {
    align-items: center;
    gap: var(--gap-content);
  }

  .hero-h1 {
    letter-spacing: -1px;
    margin: var(--gap-content) 0;
  }

  .hero-tagline {
    font-size: 11px;
    margin-bottom: var(--section-gap-mob);
    /* 25px */
    letter-spacing: 1px;
  }

  .hero-body {
    margin: 0 auto;
    font-size: 15px;
    text-align: center;
    max-width: 85%;
    line-height: 1.6;
    padding: 0 8px;
  }

  .hero-labels {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--gap-content);
    margin: var(--gap-content) auto var(--section-gap);
    width: fit-content;
  }

  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 24px auto 0;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-right {
    min-height: 420px;
    max-height: 480px;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
  }

  .anim-container {
    border-radius: 0;
    background: transparent;
    border: none;
    overflow: visible;
    padding-bottom: 0;
    max-width: 100vw;
    max-height: 420px;
    margin: 0 auto;
  }

  /* Social proof */
  .proof-strip {
    padding: 24px 0 16px;
  }

  .proof-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proof-divider {
    display: none;
  }

  .proof-number {
    font-size: 32px;
  }

  /* Case Studies */
  .cs-section {
    padding: var(--section-gap-mob) 0;
    overflow: hidden;
  }

  .cs-header {
    margin-bottom: var(--section-gap);
    gap: var(--gap-content);
  }

  .cs-sub {
    padding: 0 1rem;
    margin-top: 0;
  }

  .cs-card {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .cs-left-inner {
    padding: 24px 24px 32px;
    height: auto;
    justify-content: flex-start;
  }

  .cs-right {
    padding: 24px;
    min-height: 240px;
  }

  .cs-live-badge {
    top: 12px;
    right: 16px;
    font-size: 10px;
    padding: 3px 10px;
  }

  .cs-label {
    padding-right: 60px;
    display: block;
  }

  .cs-architecture-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cs-top-meta {
    padding-right: 70px;
  }

  .cs-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .cs-h3 {
    font-size: 18px;
  }


  /* ROI Calculator */
  .roi-section {
    padding: var(--section-gap-mob) 0;
  }

  .roi-header {
    margin-top: 0;
    margin-bottom: var(--section-gap);
    gap: var(--gap-content);
  }

  .roi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0;
  }

  .roi-results-card {
    padding: 24px 20px;
  }

  .roi-big-number {
    font-size: 36px;
    letter-spacing: -1px;
  }

  /* Industries */
  .ind-section {
    padding: var(--section-gap-mob) 0;
    overflow-x: hidden;
  }
  
  .ind-inner {
    padding: 0 1.25rem;
  }

  .ind-header {
    margin-bottom: var(--section-gap);
    gap: var(--gap-content);
    position: relative;
    z-index: 1;
  }

  .ind-h2 {
    margin-bottom: 0;
  }

  .ind-sub {
    margin-bottom: 0;
  }

  .ind-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .cs-steps li {
    text-align: left;
    justify-content: flex-start;
  }
  
  .ind-tags {
    justify-content: center;
  }
  
  .ind-header {
    text-align: center;
  }

  .ind-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 4px;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .ind-tabs::-webkit-scrollbar {
    display: none;
  }

  .ind-tab {
    flex: 0 0 auto;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: var(--radius-full);
  }

  .ind-viz {
    min-height: auto;
    margin-top: 32px;
    padding: 24px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
  }
  
  .pipe-flow {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 0;
  }
  
  .pipe-branch {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    justify-content: center;
  }
  
  .pipe-branch-left,
  .pipe-branch-right {
    min-width: 0;
    flex: 1;
  }
  
  .pipe-node {
    font-size: 10px;
    padding: 6px 8px;
    min-height: 36px;
  }
  
  .pipe-arrow-sm {
    height: 16px;
    transform: rotate(0deg) !important;
  }

  /* Team */
  .team-section {
    padding: var(--section-gap-mob) 0;
  }

  .team-header {
    margin-bottom: var(--section-gap);
    gap: var(--gap-content);
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: var(--gap-section) auto 0;
    /* Standardized to 30px on mobile */
  }

  .team-card:last-child {
    max-width: 100%;
  }

  /* Booking */
  .book-section {
    padding: var(--section-gap-mob) 0;
  }

  .book-header {
    margin-bottom: var(--section-gap);
    gap: var(--gap-content);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .book-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .book-voice-embed {
    height: 400px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 15px 0 25px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }

  .gallery-inner {
    padding: 0 20px;
  }

  .gallery-header {
    margin-bottom: 10px;
    gap: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .gallery-marquee-container {
    padding: 12px 0;
  }
}

/* Back to Top logic handled in main footer section */



/* ==================================================
   prefers-reduced-motion
   ================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .anim-fade-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .float-icon {
    display: none !important;
  }

  .anim-canvas {
    display: none !important;
  }

  .pulse-ring {
    display: none !important;
  }

  .marquee-track {
    animation: none !important;
  }
}

body.light-mode .pipe-node {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

.gallery-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 0 30px;
  overflow: visible;
}

.gallery-header {
  text-align: center;
  margin-bottom: 15px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gallery-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  margin: 0;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.gallery-header.active .gallery-h2 {
  opacity: 1;
  transform: translateY(0);
}

.gallery-h2 span {
  color: var(--purple-primary);
}

.gallery-p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.gallery-header.active .gallery-p {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee Logic */
.gallery-swiper-container {
  width: 100%;
  padding: var(--gap-content) 0;
  overflow: visible;
  position: relative;
}

.gallery-swiper {
  width: 100%;
  padding-bottom: var(--section-gap) !important;
}

.gallery-swiper .swiper-slide {
  width: 420px;
  max-width: 420px;
  background-position: center;
  background-size: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.4;
  transform: scale(0.85);
  filter: blur(0);
}

/* Pagination & Navigation styling */
.gallery-swiper .swiper-pagination {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 20;
}

.gallery-controls {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.swiper-pagination-bullet {
  background: var(--purple-primary) !important;
  opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  box-shadow: 0 0 10px var(--purple-primary);
}

.gallery-nav-buttons {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  position: static;
  width: 50px;
  height: 50px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 50%;
  color: var(--purple-primary);
  transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
  background: var(--purple-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.gallery-marquee:hover {
  animation-play-state: paused;
}



.gallery-card {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card-wrapper {
  background: transparent;
  border: none;
  border-radius: 24px;
  overflow: visible;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-wrapper.text-centric {
  padding: 40px 32px;
  text-align: center;
}

.gallery-card:hover .gallery-card-wrapper {
  transform: translateY(-8px) scale(1.02);
  box-shadow: none;
  border: none;
  background: transparent;
}

/* Desktop Large - Full width display */
@media (min-width: 1400px) {
  .gallery-swiper .swiper-slide {
    width: 450px;
    max-width: 450px;
  }

  .gallery-card {
    max-width: 450px;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .gallery-swiper .swiper-slide {
    width: 380px;
    max-width: 380px;
  }

  .gallery-card {
    max-width: 380px;
  }
}

@media (max-width: 1024px) {
  .gallery-swiper .swiper-slide {
    width: 340px;
    max-width: 340px;
  }

  .gallery-card {
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .gallery-swiper .swiper-slide {
    width: 320px;
    max-width: 320px;
  }

  .gallery-card {
    max-width: 320px;
  }

  .gallery-card-wrapper.text-centric {
    padding: 32px 24px;
    min-height: 280px;
  }

  .gallery-title {
    font-size: 24px;
  }

  .gallery-desc {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .gallery-swiper-container {
    padding: 0 20px;
  }

  .gallery-swiper {
    overflow: hidden !important;
  }

  .gallery-swiper .swiper-slide {
    width: 100%;
    max-width: 100%;
  }

  .gallery-card {
    width: 100%;
    max-width: 100%;
  }

  .gallery-card-wrapper.text-centric {
    padding: 20px 16px;
    min-height: auto;
  }

  .gallery-title {
    font-size: 22px;
  }

  .gallery-desc {
    font-size: 13px;
  }

  .gallery-preview {
    max-width: 100%;
    width: 100%;
  }

  .gallery-preview img,
  .preview-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .gallery-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .stat-item {
    font-size: 10px;
    padding: 5px 10px;
  }
}

/* Gallery Navigation Buttons */
.gallery-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 20;
}

.gallery-progress-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.gallery-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--purple-primary);
  box-shadow: 0 0 10px var(--purple-primary);
  transition: width 0.3s ease;
}

.gallery-nav-centered {
  display: flex;
  gap: 20px;
  pointer-events: auto;
}

.gallery-nav { display: none !important; }

/* Premium Minimalist Active State */
.gallery-swiper .swiper-slide-active {
  opacity: 1;
  filter: blur(0);
  z-index: 10;
  pointer-events: auto;
  transform: scale(1);
}

.gallery-swiper .swiper-slide-active .gallery-card-wrapper {
  border: none;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  transform: scale(1);
}

/* Active slide enhanced glow */
.gallery-swiper .swiper-slide-active .gallery-tag {
  transform: scale(1.08);
}

.gallery-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gallery-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.gallery-card:hover .gallery-tag {
  transform: scale(1.05);
}

/* Vibrant Accent Colors */
.accent-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.05) 100%);
  border-color: rgba(168, 85, 247, 0.4);
  color: #C4B5FD;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.accent-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
  border-color: rgba(6, 182, 212, 0.4);
  color: #67E8F9;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.accent-pink {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0.05) 100%);
  border-color: rgba(236, 72, 153, 0.4);
  color: #F9A8D4;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}

.accent-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.05) 100%);
  border-color: rgba(249, 115, 22, 0.4);
  color: #FDBA74;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.accent-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86EFAC;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1.2;
}

.gallery-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 280px;
}

/* Light Glow Preview Images */
.gallery-preview {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.gallery-preview.light-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(6, 182, 212, 0.2), rgba(236, 72, 153, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-preview {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.gallery-card:hover .gallery-preview.light-glow::before {
  opacity: 1;
}

.preview-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(1.1) contrast(1.05);
  transition: all 0.4s ease;
  display: block;
}

.gallery-card:hover .preview-img {
  opacity: 1;
  filter: brightness(1.2) contrast(1.1);
  transform: scale(1.05);
}

.gallery-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.stat-item {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card:hover .stat-item {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .gallery-nav {
    padding: 0 12px;
    top: 42%;
  }
}

.gallery-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.4s ease;
  z-index: 20;
  opacity: 0.6;
}

.gallery-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .gallery-nav-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-nav {
    padding: 0 12px;
    top: 42%;
  }
}

body.light-mode .gallery-nav-btn:hover {
  background: var(--purple-primary);
  border-color: #fff;
  transform: scale(1.15);
  box-shadow: var(--glow-purple);
  color: #fff;
}

/* Swiper Override */
.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Reusable Glow Border Wrap - Exact Video Match */
.glow-border-wrap {
  padding: 2.5px;
  background: conic-gradient(from var(--angle),
      #7C3AED, #EC4899, #F97316,
      #06B6D4, #FACC15, #7C3AED);
  animation: rotateBorder 3s linear infinite,
    glowPulse 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  /* Follow parent radius */
}

.voice-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 21px;
  overflow: hidden;
  background: #080810;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.voice-placeholder:hover .placeholder-img {
  opacity: 0.8;
}

.placeholder-overlay {
  position: absolute;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.placeholder-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.placeholder-overlay p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

body.light-mode .voice-placeholder {
  background: #FFFFFF;
}

body.light-mode .placeholder-overlay h4 {
  color: #080810;
}

body.light-mode .placeholder-overlay p {
  color: rgba(0, 0, 0, 0.5);
}

/* Screenshot Lightbox Modal */
.screenshot-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 8, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screenshot-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.3);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 100001;
}

.modal-close:hover {
  color: var(--purple-primary);
  transform: rotate(90deg);
}

.modal-caption {
  position: absolute;
  bottom: 24px;
  width: 100%;
  text-align: center;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.5px;
}
/* Hub Pulse Flash */
.anim-container.hub-pulse .anim-hub {
  animation: hubPulseFlash 0.8s ease-out;
}

/* Static fallback for devices where animation fails */
.anim-container.static-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px;
}

.anim-container.static-fallback .anim-canvas {
  display: none;
}

.anim-container.static-fallback .floating-icon {
  position: relative !important;
  transform: none !important;
  animation: gentleFloat 3s ease-in-out infinite;
}

.anim-container.static-fallback .floating-icon:nth-child(2n) {
  animation-delay: 0.5s;
}

.anim-container.static-fallback .floating-icon:nth-child(3n) {
  animation-delay: 1s;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes hubPulseFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    box-shadow: 0 0 50px 20px rgba(168, 85, 247, 0.4);
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    box-shadow: 0 0 100px 40px rgba(168, 85, 247, 0);
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ==================================================
   GLOBAL SECTION TYPOGRAPHY OVERRIDES
   ================================================== */
.cs-h2, .roi-h2, .ind-h2, .team-h2, .book-h2, .gallery-h2 {
  font-size: 48px !important;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  white-space: nowrap;
}

.cs-sub, .roi-sub, .ind-sub, .team-sub, .book-sub, .gallery-p {
  font-size: 18px !important;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 16px;
}

@media (max-width: 768px) {
  nav#main-nav, nav#main-nav.nav--scrolled {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .cs-h2, .roi-h2, .ind-h2, .team-h2, .book-h2, .gallery-h2 {
    font-size: 32px !important;
    white-space: normal;
  }
  
  .cs-sub, .roi-sub, .ind-sub, .team-sub, .book-sub, .gallery-p {
    font-size: 16px !important;
  }

  .desktop-br {
    display: none !important;
  }

  .hero-labels {
    margin-bottom: 24px !important;
  }

  .hero-ctas {
    flex-direction: column;
    margin-top: 0 !important;
    gap: 12px !important;
  }
  
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost {
    width: 100% !important;
  }
}
