/* ==========================================================================
   MASTER DESIGN SYSTEM & CUSTOM VARIABLE ENGINE
   ========================================================================== */
:root {
  --bg-primary: #05020c;
  --bg-secondary: #0c051a;
  --bg-tertiary: #130928;
  --bg-glass: rgba(12, 5, 26, 0.65);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-focus: rgba(6, 182, 212, 0.4);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;

  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-pink: #ec4899;
  --accent-pink-glow: rgba(236, 72, 153, 0.35);

  --font-primary: "Poppins", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & SYSTEM FOUNDATION
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  font-family: var(--font-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ==========================================================================
   LAYOUT CONTAINERS & GLASS SYSTEM
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}
.glass-panel:hover {
  border-color: var(--border-glass-focus);
  box-shadow: 0 8px 32px 0 rgba(6, 182, 212, 0.15);
}

/* Generative Background Canvas & Texture */
#generativeCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.film-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.5)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   TYPOGRAPHY & GLOBAL HEADINGS
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-glow {
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Section Header Structure */
.section-header {
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--accent-purple);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: rgba(139, 92, 246, 0.1);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ==========================================================================
   SHARED HEADER SYSTEM
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 2, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo, .footer-logo-link img {
  height: 40px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-smooth);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Sound Toggler */
.sound-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sound-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
}
.bar {
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  transition: var(--transition-spring);
}

/* Mobile Nav Overlay Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.mobile-nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ==========================================================================
   BUTTONS ENGINE
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #6d28d9);
  color: var(--text-primary);
  border: none;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition-smooth);
  z-index: -1;
}
.btn-primary:hover::before {
  left: 0;
}
.btn-glow {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}
.btn-secondary:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   CINEMATIC PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-in-out;
}
.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
}
.logo-assembly {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}
.preloader-logo {
  height: 60px;
}
.logo-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  100% {
    left: 100%;
  }
}

.preloader-track {
  width: 250px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.preloader-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-cyan);
  position: absolute;
  top: 0;
  left: 0;
}
.preloader-text {
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

/* ==========================================================================
   SCROLL PROGRESS TRACKER
   ========================================================================== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 101;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
}

/* ==========================================================================
   DYNAMIC INTERACTIVE CUSTOM CURSOR
   ========================================================================== */
.custom-cursor {
  width: 20px;
  height: 20px;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s cubic-bezier(0.23, 1, 0.32, 1);
  display: block;
}
.cursor-core {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  margin: 7px;
}
.cursor-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-purple);
  border-radius: 50%;
  opacity: 0.5;
  animation: cursorPulse 2s infinite ease-in-out;
}
@keyframes cursorPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* ==========================================================================
   SECTION 1: 3D HERO AREA DESIGN
   ========================================================================== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}

.hero-3d-scene {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transform-style: preserve-3d;
}

/* Receding 3D Grid Floor */
.grid-floor {
  position: absolute;
  bottom: -30%;
  left: -50%;
  width: 200%;
  height: 150%;
  background-image:
    linear-gradient(to right, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(75deg) translateZ(-100px);
  mask-image: linear-gradient(to top, black 10%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, black 10%, transparent 80%);
}

.floating-shapes-container {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-depth-layer {
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* Smart Greeting Time Badge */
.smart-greeting-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--accent-purple);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* Extruded text with CSS 3D Depth */
.extruded-headline {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.text-3d {
  display: block;
  position: relative;
  color: var(--text-primary);
}
.text-3d::before {
  content: attr(data-text);
  position: absolute;
  top: 2px;
  left: 2px;
  color: var(--bg-secondary);
  text-shadow:
    1px 1px var(--accent-purple),
    2px 2px var(--accent-purple);
  z-index: -1;
}
.text-3d.accent {
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheading {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.4rem);
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-actions-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION 2: LIVE METRIC TICKER MARQUEE
   ========================================================================== */
.marquee-ticker-section {
  background: #060312;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}
.ticker-wrapper {
  overflow: hidden;
  width: 100%;
}
.ticker-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scrollTicker 30s linear infinite;
}
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker-item {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   SECTION 3: CAMPAIGN MATCHING QUIZ
   ========================================================================== */
.interactive-matcher-section {
  padding: 8rem 0;
}
.matcher-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.matcher-steps-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}
.step-indicator {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}
.step-indicator.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.matcher-step-panel {
  display: none;
}
.matcher-step-panel.active {
  display: block;
  animation: panelEnter 0.5s ease;
}
@keyframes panelEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.matcher-step-panel h3 {
  margin-bottom: 2rem;
}

.matcher-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.matcher-option input {
  display: none;
}

.option-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-spring);
  height: 100%;
}
.option-card i {
  font-size: 2.5rem;
  color: var(--accent-purple);
  margin-bottom: 1rem;
  transition: var(--transition-spring);
}
.option-card h4 {
  margin-bottom: 0.5rem;
}
.option-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.matcher-option input:checked + .option-card {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
  transform: translateY(-5px);
}
.matcher-option input:checked + .option-card i {
  color: var(--accent-cyan);
}

.budget-selector-wrapper {
  padding: 2rem 0;
}
.budget-value-display {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  text-align: center;
}
.custom-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-purple);
  cursor: pointer;
  transition: var(--transition-spring);
}
.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.matcher-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.matcher-result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.matcher-result-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.result-box .result-icon {
  font-size: 3.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}
.result-box h2 {
  font-size: 2.5rem;
  margin: 1rem 0;
}
.result-box .result-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.result-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* ==========================================================================
   SECTION 4: SERVICES DECK & ORBIT SYSTEM
   ========================================================================== */
.services-section {
  padding: 8rem 0;
}

.orbit-container {
  position: relative;
  width: 460px;
  height: 460px;
  margin: 0 auto 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-center-core {
  position: relative;
  width: 100px;
  height: 100px;
  z-index: 5;
}
.orbit-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-cyan);
  border-radius: 50%;
  animation: ripple 3s infinite linear;
}
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.orbit-path {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform-style: preserve-3d;
}
.path-inner {
  width: 240px;
  height: 240px;
  animation: rotateInner 20s linear infinite;
}
.path-outer {
  width: 400px;
  height: 400px;
  animation: rotateOuter 35s linear infinite;
}

@keyframes rotateInner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotateOuter {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.orbit-satellite {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-spring);
  cursor: pointer;
}
.orbit-satellite::after {
  content: attr(data-label);
  position: absolute;
  bottom: -25px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0;
  transition: var(--transition-smooth);
}
.orbit-satellite:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}
.orbit-satellite:hover::after {
  opacity: 1;
}

.icon-seo {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.icon-ppc {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.icon-social {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.icon-content {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.icon-email {
  top: 15%;
  left: 15%;
}
.icon-analytics {
  bottom: 15%;
  right: 15%;
}

/* Service Cards 3D Grid */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card-3d {
  height: 380px;
  perspective: 1000px;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}
.service-card-3d:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.card-back {
  transform: rotateY(180deg);
  justify-content: center;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
}

.service-card-3d h3 {
  margin-bottom: 1rem;
}
.service-card-3d p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.flip-hint {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-list {
  list-style: none;
  margin-bottom: 2rem;
}
.spec-list li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.spec-list li::before {
  content: "✓";
  color: var(--accent-cyan);
  font-weight: bold;
}

/* ==========================================================================
   SECTION 5: DYNAMIC ROI VISUALIZER
   ========================================================================== */
.roi-visualizer-section {
  padding: 8rem 0;
}
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.roi-controls {
  padding: 3rem;
}
.control-group {
  margin-bottom: 2.2rem;
}
.control-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.input-slider-combo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.input-slider-combo input[type="number"] {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: 600;
}

.roi-projection-output {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.projection-stats-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}
.stat-bubble {
  flex: 1;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}
.bubble-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.bubble-number {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

.roi-primary-chart {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 2rem 0;
}
.chart-label-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.chart-label-overlay h3 {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.chart-value-display {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.progress-ring-svg {
  transform: rotate(-90deg);
}
.progress-ring-bar {
  stroke-dasharray: 628;
  stroke-dashoffset: 628;
  transition: stroke-dashoffset 0.35s;
  transform-origin: 50% 50%;
}

.roi-summary-panel {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}
.metric-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-purple);
}
.roi-disclaimer {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
}

/* ==========================================================================
   SECTION 6: INDUSTRY-SPECIFIC SERVICES
   ========================================================================== */
.industry-selector-section {
  padding: 8rem 0;
}
.industry-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.industry-tab {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-spring);
}
.industry-tab.active,
.industry-tab:hover {
  background: var(--accent-purple);
  color: var(--text-primary);
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.industry-content-panel {
  padding: 4rem;
}
.industry-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.industry-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    to right,
    var(--text-primary),
    var(--text-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.industry-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.priority-badges-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.visualization-metric-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.metric-bar-group .bar-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.metric-bar-group .bar-track {
  background: rgba(255, 255, 255, 0.05);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.metric-bar-group .bar-fill {
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  height: 100%;
  width: 0%;
  transition: width 1s cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* ==========================================================================
   SECTION 7: ANIMATED KPI DASHBOARD
   ========================================================================== */
.kpi-dashboard-section {
  padding: 8rem 0;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.kpi-card {
  padding: 3rem;
}
.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.kpi-header h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.trend-indicator {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}
.trend-indicator.upward {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.trend-indicator.downward {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981; /* Representing overall optimization */
}

.mini-chart-container {
  height: 100px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}
.bar-chart-visual {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}
.chart-column {
  background: linear-gradient(to top, var(--accent-purple), var(--accent-cyan));
  border-radius: 4px;
  width: 100%;
  height: 0%;
  transition: height 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.line-chart-visual {
  height: 100px;
  margin-bottom: 1.5rem;
}
.sparkline-svg {
  width: 100%;
  height: 100%;
}

.odometer-container {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.kpi-context {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   SECTION 8: PROCESS ROADMAP
   ========================================================================== */
.process-section {
  padding: 8rem 0;
}
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
}
.timeline-indicator-line {
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
}
.timeline-line-fill {
  width: 100%;
  background: var(--accent-cyan);
  height: 0%;
  transition: height 1s ease;
}

.process-node {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}
.node-marker {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  z-index: 2;
  transition: var(--transition-spring);
}
.process-node:hover .node-marker {
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
  color: var(--text-primary);
}

.node-content {
  flex: 1;
  padding: 2.5rem;
}
.node-content h3 {
  margin-bottom: 0.75rem;
}
.node-content p {
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 9: 3D TESTIMONIALS STACK
   ========================================================================== */
.testimonials-section {
  padding: 8rem 0;
}
.testimonials-3d-stack-wrapper {
  position: relative;
  max-width: 650px;
  height: 400px;
  margin: 4rem auto 0;
}
.testimonials-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.testimonial-item-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-spring);
  transform-origin: bottom center;
  pointer-events: none;
  opacity: 0;
}
.testimonial-item-card.active-card {
  pointer-events: auto;
  opacity: 1;
  transform: translateZ(0) scale(1);
  z-index: 3;
}
.testimonial-item-card.next-card {
  opacity: 0.6;
  transform: translateY(-20px) translateZ(-50px) scale(0.95);
  z-index: 2;
}
.testimonial-item-card.hidden-card {
  opacity: 0.2;
  transform: translateY(-40px) translateZ(-100px) scale(0.9);
  z-index: 1;
}

.testimonial-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.user-avatar-placeholder {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-cyan);
}
.user-meta h4 {
  font-size: 1rem;
}
.user-meta span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}
.rating-stars {
  color: #eab308;
}

.testimonials-nav-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}
.stack-control-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-spring);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-control-btn:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
}

/* ==========================================================================
   SECTION 10: BEFORE & AFTER SLIDER
   ========================================================================== */
.before-after-section {
  padding: 8rem 0;
}
.before-after-slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 480px;
  margin: 4rem auto 0;
  overflow: hidden;
  user-select: none;
}

.ba-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-before {
  background: #0d061e;
  z-index: 1;
}

.ba-after {
  background: #140730;
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

.ba-content-visual {
  text-align: center;
  width: 100%;
  padding: 0 4rem;
}
.ba-card-mockup {
  max-width: 450px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  padding: 3rem;
  border-radius: 16px;
}
.ba-card-mockup h3 {
  margin-bottom: 1.5rem;
}
.mock-metric {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.mock-metric.bad {
  color: #ef4444;
}
.mock-metric.good {
  color: var(--accent-cyan);
}
.mock-status-indicator {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.side-badge {
  position: absolute;
  top: 2rem;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}
.badge-left {
  left: 2rem;
  background: #ef4444;
  color: #fff;
}
.badge-right {
  right: 2rem;
  background: var(--accent-cyan);
  color: #000;
}

/* Handle system design */
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent-cyan);
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
}
.handle-line {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
}
.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-cyan);
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   SECTION 11: 3D VORTEX TUNNEL & HIGH-IMPACT CTA
   ========================================================================== */
.cta-vortex-section {
  position: relative;
  padding: 12rem 0;
  overflow: hidden;
  text-align: center;
}
#vortexCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
.vortex-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 30%, var(--bg-primary) 85%);
  z-index: -1;
}

.cta-container h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.cta-container p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}
.cta-actions-row {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   SHARED FOOTER SYSTEM
   ========================================================================== */
.footer {
  position: relative;
  padding: 6rem 0 3rem;
  background: #04020a;
  border-top: 1px solid var(--border-glass);
  overflow: hidden;
}

.footer-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}
.footer-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.shape-1 {
  top: -10%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
}
.shape-2 {
  bottom: -10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--accent-cyan);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.footer-about-text {
  color: var(--text-secondary);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-link {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-spring);
  text-decoration: none;
}
.social-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}
.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 1rem;
}
.footer-col ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}
.footer-col ul li a:hover {
  color: var(--text-primary);
}

.contact-info li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--text-secondary);
}
.contact-info li i {
  color: var(--accent-cyan);
  margin-top: 0.3rem;
}
.contact-info li a {
  text-decoration: none;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  margin-top: 4rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   AI ASSISTANT CHAT WIDGET
   ========================================================================== */
.ai-chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chat-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-purple);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trigger-glow-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-purple);
  border-radius: 50%;
  animation: ripple 2s infinite linear;
}

.chat-viewport {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 480px;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-viewport.active {
  display: flex;
}

.chat-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.agent-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.agent-avatar {
  width: 35px;
  height: 35px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}
.agent-status h4 {
  font-size: 0.9rem;
}
.agent-status span {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  max-width: 80%;
}
.chat-bubble.received {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  align-self: flex-start;
}
.chat-bubble.sent {
  background: var(--accent-purple);
  color: #fff;
  align-self: flex-end;
}

.chat-footer-options {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-glass);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.chat-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: left;
  transition: var(--transition-smooth);
}
.chat-option-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
}

/* ==========================================================================
   SUBPAGE & LEGAL CONTENT LAYOUTS
   ========================================================================== */
.subpage {
  background: var(--bg-primary);
}
.page-header {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1rem auto 0;
}
.breadcrumbs {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}
.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.page-content {
  padding-bottom: 8rem;
}
.content-wrapper {
  padding: 4rem;
}
.content-wrapper p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}
.content-wrapper h2 {
  font-size: 1.6rem;
  margin: 3rem 0 1.5rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}
.content-wrapper h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-purple);
}

/* ==========================================================================
   CONTACT WORKSPACE DESIGN
   ========================================================================== */
.contact-section {
  padding-bottom: 8rem;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  padding: 4rem;
}
.contact-info-panel h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.contact-info-panel p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-method {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.method-icon {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
}
.method-details h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.method-details p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}
.method-details a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.method-details a:hover {
  color: var(--accent-cyan);
}

.contact-form-wrapper {
  padding: 4rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.form-row {
  display: flex;
  gap: 2rem;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group.full-width {
  width: 100%;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

/* Cinematic Popup Design */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 2, 12, 0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.popup:target {
  display: flex;
  opacity: 1;
}
.popup-content {
  max-width: 450px;
  padding: 4rem;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  text-decoration: none;
  color: var(--text-secondary);
}
.popup-icon {
  font-size: 4rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
}
.popup-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.popup-content p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   RESPONSIVE LAYOUT CALIBRATION
   ========================================================================== */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 2rem;
  }
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .roi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .testimonials-3d-stack-wrapper {
    height: 480px;
  }
  .before-after-slider-container {
    height: 380px;
  }
}
