/* ===================================================================
   TELECONNECT MARKETING — Design System & Global Styles
   =================================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  /* Brand Colors */
  --brand-orange: #FF6B2B;
  --brand-orange-hover: #FF8A50;
  --brand-orange-dark: #E55A1B;
  --brand-purple: #6B3FA0;
  --brand-purple-light: #8B5FC0;
  --brand-purple-dark: #5A2F8F;
  --brand-gradient: linear-gradient(135deg, #6B3FA0 0%, #FF6B2B 100%);
  --brand-gradient-reverse: linear-gradient(135deg, #FF6B2B 0%, #6B3FA0 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(107, 63, 160, 0.1) 0%, rgba(255, 107, 43, 0.1) 100%);
  
  /* Neutral Colors — Light Mode Defaults */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --bg-tertiary: #EEEEF0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFA;
  --bg-header: rgba(255, 255, 255, 0.92);
  --text-primary: #0D0B1A;
  --text-secondary: #4A4A5A;
  --text-tertiary: #7A7A8A;
  --text-inverse: #FFFFFF;
  --border-color: #E0E0E5;
  --border-color-light: #F0F0F3;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50px;
  --radius-circle: 50%;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --header-height: 120px;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg-primary: #0D0B1A;
  --bg-secondary: #13112A;
  --bg-tertiary: #1A1730;
  --bg-card: #1A1730;
  --bg-card-hover: #221F3A;
  --bg-header: rgba(13, 11, 26, 0.92);
  --text-primary: #F0F0F5;
  --text-secondary: #B0B0C0;
  --text-tertiary: #7A7A90;
  --text-inverse: #0D0B1A;
  --border-color: #2A2745;
  --border-color-light: #1F1D35;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* ===================================================================
   RESET & BASE
   =================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-tight);
  font-weight: 700;
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-padding {
  padding: var(--space-5xl) 0;
}

.section-heading {
  font-size: var(--fs-3xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-heading .highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subheading {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  line-height: var(--lh-relaxed);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 107, 43, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 43, 0.4);
}

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

.btn-secondary:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-secondary:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.btn-outline-orange {
  background: transparent;
  color: var(--brand-orange);
  border: 2px solid var(--brand-orange);
}

.btn-outline-orange:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ===================================================================
   SCROLL ANIMATIONS
   =================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.slide-left {
  transform: translateX(-30px);
}

.animate-on-scroll.slide-left.is-visible {
  transform: translateX(0);
}

.animate-on-scroll.slide-right {
  transform: translateX(30px);
}

.animate-on-scroll.slide-right.is-visible {
  transform: translateX(0);
}

.animate-on-scroll.scale-up {
  transform: scale(0.95);
}

.animate-on-scroll.scale-up.is-visible {
  transform: scale(1);
}

/* Staggered children */
.stagger-children > .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.stagger-children > .animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.stagger-children > .animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.stagger-children > .animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.stagger-children > .animate-on-scroll:nth-child(5) { transition-delay: 400ms; }
.stagger-children > .animate-on-scroll:nth-child(6) { transition-delay: 500ms; }

/* ===================================================================
   TOP BAR
   =================================================================== */
.top-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-sm) 0;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  transition: background-color var(--transition-slow), border-color var(--transition-slow);
}

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

.top-bar__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 500;
}

.top-bar__left span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar__right a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar__right a:hover {
  color: var(--brand-orange);
}

.top-bar__right .btn {
  padding: 6px 18px;
  font-size: var(--fs-xs);
}

/* ===================================================================
   HEADER / NAVIGATION
   =================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0;
  margin: 0;
}

.header__logo-icon {
  height: var(--header-height);
  width: auto;
  object-fit: contain;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__logo:hover .header__logo-icon {
  transform: scale(1.15);
}

/* Logo Day/Night Toggle */
.logo-light { display: none; }
.logo-dark { display: block; }

[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark { display: none; }

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.header__logo-text .brand-sub {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.header__logo-text .brand-tagline {
  font-size: 0.65rem;
  color: var(--brand-orange);
  font-weight: 500;
  font-style: italic;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.header__nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
}

.header__nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.header__nav-links a:hover,
.header__nav-links a.active {
  color: var(--brand-orange);
}

.header__nav-links a:hover::after,
.header__nav-links a.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__actions .btn {
  padding: 10px 24px;
  font-size: var(--fs-xs);
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--text-primary);
}

.theme-toggle:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.theme-toggle:hover svg {
  transform: rotate(30deg);
}

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

[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================================
   HERO SECTION — Video Carousel
   =================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: #000;
}

.hero::before { display: none; }

/* Carousel container */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Individual Slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Video Background */
.hero-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark Overlay */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(13, 11, 26, 0.82) 0%,
    rgba(255, 107, 43, 0.15) 50%,
    rgba(13, 11, 26, 0.75) 100%
  );
}

.hero-slide__overlay--purple {
  background: linear-gradient(
    135deg,
    rgba(13, 11, 26, 0.82) 0%,
    rgba(107, 63, 160, 0.2) 50%,
    rgba(13, 11, 26, 0.78) 100%
  );
}

.hero-slide__overlay--dark {
  background: linear-gradient(
    135deg,
    rgba(13, 11, 26, 0.88) 0%,
    rgba(13, 11, 26, 0.6) 50%,
    rgba(13, 11, 26, 0.85) 100%
  );
}

/* Slide Content */
.hero-slide__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  min-height: 650px;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 120px;
}

/* Badge */
.hero-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 107, 43, 0.2);
  border: 1px solid rgba(255, 107, 43, 0.3);
  color: #FF9C66;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
  width: fit-content;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.hero-slide__badge--purple {
  background: rgba(107, 63, 160, 0.2);
  border-color: rgba(107, 63, 160, 0.3);
  color: #B794D6;
}

.hero-slide__badge--gold {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
  color: #FFD699;
}

/* Title */
.hero-slide__title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.8s ease-out 0.35s both;
}

.hero-slide__title .highlight {
  background: linear-gradient(135deg, #FF6B2B, #FF9C66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slide__title .highlight-purple {
  background: linear-gradient(135deg, #8B5FBF, #B794D6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slide__title .highlight-gold {
  background: linear-gradient(135deg, #FFD699, #FFC14D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-slide__subtitle {
  font-size: var(--fs-md);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
  animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

/* Stat Row */
.hero-slide__stat-row {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  animation: fadeSlideUp 0.8s ease-out 0.65s both;
}

.hero-slide__stat {
  display: flex;
  flex-direction: column;
}

.hero-slide__stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.hero-slide__stat-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.hero-slide__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* CTA Buttons */
.hero-slide__ctas {
  display: flex;
  gap: var(--space-md);
  animation: fadeSlideUp 0.8s ease-out 0.8s both;
}

.btn-secondary--light {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
}

.btn-secondary--light:hover {
  border-color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.btn-primary--purple {
  background: linear-gradient(135deg, #6B3FA0, #8B5FBF) !important;
  box-shadow: 0 4px 20px rgba(107, 63, 160, 0.3) !important;
}

.btn-primary--purple:hover {
  box-shadow: 0 8px 30px rgba(107, 63, 160, 0.5) !important;
}

/* Slide content transitions for active slide */
.hero-slide.active .hero-slide__badge,
.hero-slide.active .hero-slide__title,
.hero-slide.active .hero-slide__subtitle,
.hero-slide.active .hero-slide__stat-row,
.hero-slide.active .hero-slide__ctas {
  animation-play-state: running;
}

/* Hero Navigation Dots */
.hero-nav {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-nav__dots {
  display: flex;
  gap: var(--space-lg);
}

.hero-nav__dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  transition: all 0.3s ease;
}

.hero-nav__dot-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.hero-nav__dot.active .hero-nav__dot-label {
  color: rgba(255, 255, 255, 0.9);
}

.hero-nav__dot-progress {
  display: block;
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.hero-nav__dot-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--brand-gradient);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.hero-nav__dot.active .hero-nav__dot-progress::after {
  animation: progressFill 7s linear forwards;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.hero-scroll-indicator__line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--brand-orange);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero-slide__content {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 140px;
    justify-content: flex-end;
  }

  .hero-slide__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-slide__subtitle br {
    display: none;
  }

  .hero-slide__stat-row {
    gap: var(--space-md);
  }

  .hero-slide__stat-number {
    font-size: var(--fs-2xl);
  }

  .hero-slide__ctas {
    flex-direction: column;
  }

  .hero-slide__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-nav {
    bottom: 100px;
  }

  .hero-nav__dot-label {
    font-size: 0.55rem;
  }

  .hero-nav__dot-progress {
    width: 50px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* ===================================================================
   OUR SERVICES SECTION
   =================================================================== */
.services {
  background: var(--bg-secondary);
  transition: background-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: url('assets/images/services-bg.png') center/cover no-repeat;
  opacity: 0.12;
  animation: sectionBgDrift 25s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .services::before {
  opacity: 0.06;
  filter: hue-rotate(20deg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

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

.service-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-circle);
  background: var(--brand-gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--brand-gradient);
}

.service-card__icon svg {
  width: 36px;
  height: 36px;
  color: var(--brand-purple);
  transition: color var(--transition-base);
}

.service-card:hover .service-card__icon svg {
  color: #FFFFFF;
}

[data-theme="dark"] .service-card__icon {
  background: rgba(107, 63, 160, 0.2);
}

[data-theme="dark"] .service-card__icon svg {
  color: var(--brand-orange);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ===================================================================
   WHY CHOOSE US SECTION
   =================================================================== */
.why-us {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: url('assets/images/why-us-bg.png') center/cover no-repeat;
  opacity: 0.15;
  animation: sectionBgPulse 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .why-us::before {
  opacity: 0.06;
  filter: hue-rotate(20deg) brightness(1.2);
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.why-us-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.why-us-card:hover {
  background: var(--bg-card);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.why-us-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.why-us-card:nth-child(1) .why-us-card__icon { background: rgba(255, 107, 43, 0.12); color: var(--brand-orange); }
.why-us-card:nth-child(2) .why-us-card__icon { background: rgba(107, 63, 160, 0.12); color: var(--brand-purple); }
.why-us-card:nth-child(3) .why-us-card__icon { background: rgba(255, 71, 87, 0.12); color: #FF4757; }
.why-us-card:nth-child(4) .why-us-card__icon { background: rgba(46, 213, 115, 0.12); color: #2ED573; }

.why-us-card__icon svg {
  width: 32px;
  height: 32px;
}

.why-us-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.why-us-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ===================================================================
   OUTBOUND SALES SECTION
   =================================================================== */
.outbound {
  background: var(--bg-secondary);
  transition: background-color var(--transition-slow);
}

.outbound .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.outbound__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.outbound__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
}

.outbound__title .highlight {
  color: var(--brand-orange);
}

.outbound__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.outbound__check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.outbound__check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: var(--radius-circle);
  background: rgba(255, 107, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.outbound__check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--brand-orange);
}

.outbound__image {
  position: relative;
}

.outbound__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-lg);
}

/* ===================================================================
   INBOUND SERVICING SECTION
   =================================================================== */
.inbound {
  background: var(--bg-primary);
  transition: background-color var(--transition-slow);
}

.inbound .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.inbound__image {
  position: relative;
  order: -1;
}

.inbound__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.inbound__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.inbound__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
}

.inbound__title .highlight {
  color: var(--brand-purple);
}

.inbound__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.inbound__feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.inbound__feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: var(--radius-circle);
  background: rgba(107, 63, 160, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.inbound__feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--brand-purple);
}

/* ===================================================================
   SYSTEMS INFRASTRUCTURE SECTION
   =================================================================== */
.systems {
  background: var(--bg-secondary);
  transition: background-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.systems::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: url('assets/images/systems-bg.png') center/cover no-repeat;
  opacity: 0.12;
  animation: sectionBgDrift 30s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
}

.systems .container {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .systems::before {
  opacity: 0.05;
  filter: hue-rotate(30deg);
}

.systems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
}

.system-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.system-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .system-card__icon {
  background: rgba(107, 63, 160, 0.15);
}

.system-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-purple);
}

[data-theme="dark"] .system-card__icon svg {
  color: var(--brand-orange);
}

.system-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.system-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* ===================================================================
   CTA BANNER SECTION
   =================================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  margin: var(--space-xl) 0;
}

.cta-banner__inner {
  background: var(--brand-gradient);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl) var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3xl);
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(135deg, rgba(255,107,43,0.92), rgba(107,63,160,0.92)),
    url('assets/images/cta-callcentre.png');
  background-size: cover;
  background-position: center;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-circle);
  pointer-events: none;
}

.cta-banner__inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-circle);
  pointer-events: none;
}

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

.cta-banner__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-lg);
}

.cta-banner__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.cta-banner__title .highlight {
  color: #FFD699;
}

.cta-banner__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-md);
  max-width: 500px;
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.cta-banner__actions .btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 36px;
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.cta-banner__actions .btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-banner__actions .btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 36px;
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  background: transparent;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-banner__actions .btn-cta-secondary:hover {
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ===================================================================
   BLOG SECTION
   =================================================================== */
.blog {
  background: var(--bg-primary);
  transition: background-color var(--transition-slow);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--brand-gradient-subtle);
}

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__tag {
  display: inline-block;
  background: var(--brand-gradient-subtle);
  color: var(--brand-purple);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

[data-theme="dark"] .blog-card__tag {
  background: rgba(107, 63, 160, 0.2);
  color: var(--brand-orange);
}

.blog-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: var(--lh-snug);
}

.blog-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-orange);
  transition: gap var(--transition-fast);
}

.blog-card__link:hover {
  gap: var(--space-sm);
}

.blog-card__link svg {
  width: 16px;
  height: 16px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .footer {
  background: #0A0919;
}

.footer__main {
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
}

.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer__brand-logo-icon {
  height: 128px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__brand-logo:hover .footer__brand-logo-icon {
  transform: scale(1.15);
}

.footer__brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__brand-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__brand-logo-text .brand-sub {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.footer__brand-tagline {
  font-size: var(--fs-sm);
  color: var(--brand-orange);
  font-weight: 600;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.footer__fsp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 107, 43, 0.1);
  border: 1px solid rgba(255, 107, 43, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-orange);
}

.footer__fsp svg {
  width: 16px;
  height: 16px;
}

.footer__column h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__column ul li {
  margin-bottom: var(--space-sm);
}

.footer__column ul li a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: all var(--transition-fast);
}

.footer__column ul li a::before {
  content: '›';
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 1.1em;
}

.footer__column ul li a:hover {
  color: var(--brand-orange);
  padding-left: 4px;
}

/* Contact info in footer */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.footer__contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-item a:hover {
  color: var(--brand-orange);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: #FFFFFF;
}

.footer__social a:nth-child(1) { background: #0077B5; }
.footer__social a:nth-child(2) { background: #1877F2; }
.footer__social a:nth-child(3) { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); }
.footer__social a:nth-child(4) { background: #25D366; }

.footer__social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.footer__social a svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid var(--border-color);
  padding: var(--space-lg) 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.footer__bottom-center {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__bottom-center svg {
  width: 16px;
  height: 16px;
  color: var(--brand-orange);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  color: var(--text-tertiary);
}

.footer__bottom-links a:hover {
  color: var(--brand-orange);
}

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

/* Tablet & Below */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 3rem;
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
  }

  .header__nav-links {
    gap: var(--space-lg);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero::before {
    width: 100%;
    clip-path: polygon(0 50%, 100% 35%, 100% 100%, 0 100%);
    opacity: 0.7;
  }

  .hero__content {
    order: 1;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__trust-badges {
    justify-content: center;
  }

  .hero__image {
    order: 2;
  }

  .hero__image img {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__float {
    display: none;
  }

  .services__grid,
  .why-us__grid,
  .systems__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outbound .container,
  .inbound .container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .inbound__image {
    order: 0;
  }

  .outbound__checklist,
  .inbound__features {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.5rem;
    --fs-3xl: 1.75rem;
    --header-height: 90px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section-padding {
    padding: var(--space-3xl) 0;
  }

  .top-bar {
    display: none;
  }

  /* Mobile Nav */
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-xl);
    flex-direction: column;
    gap: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__nav-links {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }

  .header__nav-links a {
    font-size: var(--fs-md);
    padding: var(--space-sm) 0;
    display: block;
    text-align: center;
  }

  .header__actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero__title {
    font-size: var(--fs-4xl);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__trust-badges {
    gap: var(--space-lg);
  }

  .services__grid,
  .why-us__grid,
  .systems__grid {
    grid-template-columns: 1fr;
  }

  .outbound__checklist,
  .inbound__features {
    grid-template-columns: 1fr;
  }

  .cta-banner__inner {
    padding: var(--space-2xl);
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner__actions .btn-cta-primary,
  .cta-banner__actions .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom .container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
  }

  .hero__trust-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ===================================================================
   MODAL / OVERLAY BASE (for Phase 2 — wizard & forms)
   =================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-spring);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

/* ===================================================================
   QUOTE WIZARD — Full 6-Step Modal
   =================================================================== */

/* Wizard Header */
.wizard-header {
  background: var(--brand-gradient);
  padding: var(--space-2xl) var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: #FFFFFF;
  position: relative;
}

.wizard-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.wizard-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.wizard-header__logo svg {
  width: 36px;
  height: 36px;
}

.wizard-header__logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.wizard-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.wizard-close svg {
  width: 18px;
  height: 18px;
}

.wizard-header__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.wizard-header__title .highlight {
  color: #FFD699;
}

.wizard-header__subtitle {
  font-size: var(--fs-sm);
  opacity: 0.85;
  max-width: 500px;
}

.wizard-header__badges {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-md);
}

.wizard-header__badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  opacity: 0.85;
}

.wizard-header__badge svg {
  width: 16px;
  height: 16px;
}

/* Step Progress Bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-2xl);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  gap: 0;
}

.wizard-progress__step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wizard-progress__step.active {
  color: var(--brand-orange);
}

.wizard-progress__step.completed {
  color: var(--brand-purple);
}

.wizard-progress__number {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-circle);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  transition: all var(--transition-base);
}

.wizard-progress__step.active .wizard-progress__number {
  background: var(--brand-gradient);
  color: #FFFFFF;
}

.wizard-progress__step.completed .wizard-progress__number {
  background: var(--brand-purple);
  color: #FFFFFF;
}

.wizard-progress__line {
  width: 40px;
  height: 2px;
  background: var(--border-color);
  margin: 0 var(--space-xs);
  flex-shrink: 0;
}

.wizard-progress__line.completed {
  background: var(--brand-purple);
}

/* Wizard Body */
.wizard-body {
  padding: var(--space-2xl);
  min-height: 350px;
}

.wizard-step {
  display: none;
  animation: fadeSlideUp 0.35s ease-out;
}

.wizard-step.active {
  display: block;
}

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

.wizard-step__badge {
  display: inline-block;
  background: var(--brand-gradient);
  color: #FFFFFF;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wizard-step__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.wizard-step__subtitle {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Selectable Cards Grid (Steps 1 & 2) */
.wizard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.wizard-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.wizard-card:hover {
  border-color: var(--brand-purple-light);
  background: var(--bg-card-hover);
}

.wizard-card.selected {
  border-color: var(--brand-purple);
  background: rgba(107, 63, 160, 0.08);
}

[data-theme="dark"] .wizard-card.selected {
  background: rgba(107, 63, 160, 0.15);
}

.wizard-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-circle);
  background: var(--brand-purple);
  display: none;
  align-items: center;
  justify-content: center;
}

.wizard-card.selected .wizard-card__check {
  display: flex;
}

.wizard-card__check svg {
  width: 14px;
  height: 14px;
  color: #FFFFFF;
}

.wizard-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--text-secondary);
}

.wizard-card.selected .wizard-card__icon svg {
  color: var(--brand-purple);
}

.wizard-card__label {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.wizard-card__sublabel {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Slider (Step 3) */
.wizard-slider-container {
  margin-bottom: var(--space-xl);
}

.wizard-slider__value {
  display: inline-block;
  background: var(--bg-tertiary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--brand-purple);
}

.wizard-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  background: var(--border-color);
  outline: none;
}

.wizard-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
  background: var(--brand-gradient);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(107, 63, 160, 0.3);
}

.wizard-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
  background: var(--brand-gradient);
  cursor: pointer;
  border: none;
}

.wizard-slider__labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

/* Chips (Steps 3, 4, 5) */
.wizard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.wizard-chip {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--bg-card);
}

.wizard-chip:hover {
  border-color: var(--brand-purple-light);
}

.wizard-chip.selected {
  border-color: var(--brand-purple);
  background: rgba(107, 63, 160, 0.08);
  color: var(--brand-purple);
}

[data-theme="dark"] .wizard-chip.selected {
  background: rgba(107, 63, 160, 0.2);
  color: var(--brand-purple-light);
}

.wizard-chip__sublabel {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Wizard Form Fields (Steps 5 & 6) */
.wizard-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.wizard-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.wizard-field.full-width {
  grid-column: 1 / -1;
}

.wizard-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.wizard-field label .required {
  color: var(--brand-orange);
}

.wizard-field input,
.wizard-field select,
.wizard-field textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  outline: none;
}

.wizard-field input:focus,
.wizard-field select:focus,
.wizard-field textarea:focus {
  border-color: var(--brand-purple);
}

.wizard-field input::placeholder,
.wizard-field textarea::placeholder {
  color: var(--text-tertiary);
}

.wizard-field textarea {
  min-height: 100px;
  resize: vertical;
}

.wizard-field select {
  cursor: pointer;
}

.wizard-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  padding: var(--space-md) 0;
}

.wizard-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-purple);
  cursor: pointer;
}

/* Section headers within steps */
.wizard-section-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

/* Wizard Footer */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-2xl);
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.wizard-footer .btn {
  min-width: 120px;
  justify-content: center;
}

.wizard-footer .btn-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
  cursor: pointer;
}

.wizard-footer .btn-back:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.wizard-footer .btn-next {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 107, 43, 0.3);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.wizard-footer .btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 43, 0.4);
}

.wizard-footer .btn-next svg,
.wizard-footer .btn-back svg {
  width: 16px;
  height: 16px;
}

/* Trust Bar at bottom of wizard */
.wizard-trust {
  background: var(--brand-gradient);
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  gap: var(--space-2xl);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.wizard-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #FFFFFF;
}

.wizard-trust__item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.wizard-trust__item-text {
  font-size: var(--fs-xs);
  font-weight: 600;
}

.wizard-trust__item-text span {
  display: block;
  font-weight: 400;
  opacity: 0.75;
  font-size: 0.7rem;
}

/* Thank You Screen */
.wizard-thankyou {
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
}

.wizard-thankyou__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-circle);
  background: rgba(46, 213, 115, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-thankyou__icon svg {
  width: 40px;
  height: 40px;
  color: #2ED573;
}

.wizard-thankyou h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.wizard-thankyou h2 .highlight {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wizard-thankyou p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-thankyou__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* ===================================================================
   CALLBACK FORM MODAL
   =================================================================== */
.callback-modal .modal {
  max-width: 1000px;
}

/* Callback Header */
.callback-header {
  background: var(--brand-gradient);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: #FFFFFF;
  position: relative;
}

.callback-header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.callback-header__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.callback-header h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.callback-header h2 .highlight {
  color: #FFD699;
}

.callback-header p {
  font-size: var(--fs-sm);
  opacity: 0.85;
}

.callback-header__badges {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.callback-header__mini-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  opacity: 0.9;
}

.callback-header__mini-badge svg {
  width: 16px;
  height: 16px;
}

/* Callback Body */
.callback-body {
  padding: var(--space-2xl);
}

.callback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

.callback-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.callback-section__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-color);
  margin-bottom: var(--space-sm);
}

.callback-section__header-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .callback-section__header-icon {
  background: rgba(107, 63, 160, 0.15);
}

.callback-section__header-icon svg {
  width: 18px;
  height: 18px;
  color: var(--brand-purple);
}

[data-theme="dark"] .callback-section__header-icon svg {
  color: var(--brand-orange);
}

.callback-section__header-text h3 {
  font-size: var(--fs-base);
  font-weight: 700;
}

.callback-section__header-text p {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

/* Callback Form Fields */
.callback-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.callback-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.callback-field label .required {
  color: var(--brand-orange);
}

.callback-field input,
.callback-field select,
.callback-field textarea {
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
  outline: none;
}

.callback-field input:focus,
.callback-field select:focus,
.callback-field textarea:focus {
  border-color: var(--brand-purple);
}

.callback-field textarea {
  min-height: 80px;
  resize: vertical;
}

/* Phone input with country prefix */
.callback-phone-group {
  display: flex;
  gap: 4px;
}

.callback-phone-prefix {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.callback-phone-prefix span {
  font-size: 1.2em;
}

.callback-phone-group input {
  flex: 1;
  min-width: 0;
}

/* Radio Button Group */
.callback-radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.callback-radio {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--fs-sm);
}

.callback-radio:hover {
  border-color: var(--brand-purple-light);
}

.callback-radio.selected {
  border-color: var(--brand-purple);
  background: rgba(107, 63, 160, 0.06);
}

.callback-radio input[type="radio"] {
  accent-color: var(--brand-purple);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.callback-radio__time {
  font-weight: 600;
}

.callback-radio__range {
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
  margin-left: auto;
}

/* ASAP Checkbox */
.callback-asap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}

.callback-asap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-purple);
  cursor: pointer;
}

/* Security Note */
.callback-security {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: var(--space-md);
}

.callback-security svg {
  width: 18px;
  height: 18px;
  color: var(--brand-purple);
  flex-shrink: 0;
}

/* Callback Submit Button */
.callback-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 14px;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(255, 107, 43, 0.3);
  margin-top: var(--space-md);
}

.callback-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 43, 0.4);
}

.callback-submit svg {
  width: 18px;
  height: 18px;
}

/* Callback Trust Strip */
.callback-trust {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg) var(--space-2xl);
  background: var(--brand-gradient-subtle);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

[data-theme="dark"] .callback-trust {
  background: rgba(107, 63, 160, 0.08);
}

.callback-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
}

.callback-trust__item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .callback-trust__item-icon {
  background: rgba(107, 63, 160, 0.15);
}

.callback-trust__item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--brand-orange);
}

.callback-trust__item-text {
  font-size: var(--fs-xs);
  font-weight: 600;
}

.callback-trust__item-text span {
  display: block;
  font-weight: 400;
  color: var(--text-tertiary);
  font-size: 0.7rem;
}

/* ===================================================================
   MODAL RESPONSIVE
   =================================================================== */
@media (max-width: 768px) {
  .modal {
    max-height: 95vh;
    border-radius: var(--radius-lg);
  }

  .modal-overlay {
    padding: var(--space-sm);
  }

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

  .wizard-header__badges {
    display: none;
  }

  .wizard-progress {
    overflow-x: auto;
    padding: var(--space-md);
    gap: 0;
  }

  .wizard-progress__step span:not(.wizard-progress__number) {
    display: none;
  }

  .wizard-body {
    padding: var(--space-lg);
  }

  .wizard-fields {
    grid-template-columns: 1fr;
  }

  .wizard-footer {
    padding: var(--space-md);
  }

  .wizard-trust {
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .callback-grid {
    grid-template-columns: 1fr;
  }

  .callback-trust {
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .callback-header__badges {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
}

/* ===================================================================
   CINEMATIC MODULE: Kinetic Marquee — Trust Band
   =================================================================== */
.tc-marquee-band {
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.marquee-row {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  padding: 0;
}

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

/* Dark band style */
.marquee-dark-band {
  background: linear-gradient(135deg, #0D0B1A, #1A1730);
  padding: 16px 0;
}

.marquee-dark-band .marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 24px;
  text-transform: uppercase;
}

.marquee-dark-band .marquee-item .sep {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brand-orange);
  border-radius: 2px;
  margin-left: 24px;
  transform: rotate(45deg);
  opacity: 0.6;
}

/* Tag pills style */
.marquee-tags-band {
  background: var(--bg-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.marquee-tags-band .marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  background: var(--brand-gradient-subtle);
  color: var(--text-secondary);
  padding: 6px 18px;
  border-radius: 100px;
  margin: 0 6px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

[data-theme="dark"] .marquee-tags-band .marquee-item {
  background: rgba(255, 107, 43, 0.08);
  border-color: rgba(255, 107, 43, 0.15);
}

/* ===================================================================
   CINEMATIC MODULE: Spotlight Border Cards
   =================================================================== */
.service-card::before,
.system-card::before,
.why-us-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 43, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::before,
.system-card:hover::before,
.why-us-card:hover::before {
  opacity: 1;
}

.service-card,
.system-card,
.why-us-card {
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .service-card::before,
[data-theme="dark"] .system-card::before,
[data-theme="dark"] .why-us-card::before {
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 43, 0.15), transparent);
}

/* ===================================================================
   CINEMATIC MODULE: Odometer Counter
   =================================================================== */
.odometer {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  overflow: hidden;
  height: 1.15em;
  display: flex;
  justify-content: flex-start;
  line-height: 1;
}

.odo-digit {
  display: inline-block;
  overflow: hidden;
  height: 1.15em;
  position: relative;
}

.odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.odo-strip span {
  display: block;
  height: 1.15em;
  line-height: 1.15;
}

.stat-suffix {
  font-weight: 900;
  color: #FFFFFF;
  vertical-align: top;
}

/* ===================================================================
   CINEMATIC: Cursor Glow (ambient)
   =================================================================== */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cursor-glow.visible {
  opacity: 1;
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(107, 63, 160, 0.05) 0%, transparent 70%);
}

@media (max-width: 768px) {
  .cursor-glow { display: none; }
}

/* ===================================================================
   CINEMATIC: 3D Tilt Cards
   =================================================================== */
.service-card,
.system-card,
.why-us-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.service-card:hover,
.system-card:hover,
.why-us-card:hover {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 107, 43, 0.06);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .system-card:hover,
[data-theme="light"] .why-us-card:hover {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 40px rgba(107, 63, 160, 0.05);
}

/* ===================================================================
   CINEMATIC: Animated Gradient Border Glow
   =================================================================== */
.service-card::after,
.system-card::after,
.why-us-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 43, 0) 0%,
    rgba(255, 107, 43, 0.4) 50%,
    rgba(107, 63, 160, 0) 100%
  );
  -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.4s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::after,
.system-card:hover::after,
.why-us-card:hover::after {
  opacity: 1;
}

/* ===================================================================
   CINEMATIC: Text Scramble Decode
   =================================================================== */
.scramble-text .char {
  display: inline-block;
  transition: color 0.1s;
}

.scramble-text .char.resolved {
  color: var(--brand-orange);
}

.scramble-text .char.scrambling {
  color: var(--text-tertiary);
  font-family: 'Outfit', sans-serif;
}

/* Service cards inner content z-index fix */
.service-card__icon,
.service-card__title,
.service-card__desc,
.system-card__icon,
.system-card__title,
.system-card__desc,
.why-us-card__icon,
.why-us-card__title,
.why-us-card__desc {
  position: relative;
  z-index: 2;
}

/* ===================================================================
   CINEMATIC: Image Hover Zoom + Glow
   =================================================================== */
.cinematic-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  will-change: transform;
}

.cinematic-image:hover {
  transform: scale(1.03);
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 107, 43, 0.08);
}

[data-theme="light"] .cinematic-image:hover {
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.12),
    0 0 40px rgba(107, 63, 160, 0.06);
}

/* ===================================================================
   CINEMATIC: Blog Card Enhancements
   =================================================================== */
.blog-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(255, 107, 43, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

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

.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 43, 0) 0%,
    rgba(255, 107, 43, 0.4) 50%,
    rgba(107, 63, 160, 0) 100%
  );
  -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.4s ease;
  pointer-events: none;
  z-index: 1;
}

.blog-card:hover::after {
  opacity: 1;
}

.blog-card:hover {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 107, 43, 0.06);
}

.blog-card__body,
.blog-card__image {
  position: relative;
  z-index: 2;
}

/* ===================================================================
   CINEMATIC: CTA Banner Pulse Glow
   =================================================================== */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255, 107, 43, 0.15); }
  50% { box-shadow: 0 0 80px rgba(255, 107, 43, 0.25), 0 0 120px rgba(107, 63, 160, 0.1); }
}

.cta-banner__inner {
  animation: ctaPulse 4s ease-in-out infinite;
}

/* ===================================================================
   CINEMATIC: Outbound/Inbound Check Items Hover
   =================================================================== */
.outbound__check-item,
.inbound__feature-item {
  transition: transform 0.2s ease, color 0.2s ease;
}

.outbound__check-item:hover,
.inbound__feature-item:hover {
  transform: translateX(6px);
  color: var(--brand-orange);
}

.outbound__check-icon,
.inbound__feature-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.outbound__check-item:hover .outbound__check-icon,
.inbound__feature-item:hover .inbound__feature-icon {
  transform: scale(1.15);
  background: rgba(255, 107, 43, 0.2);
}

/* ===================================================================
   CINEMATIC: Section Background Animations
   =================================================================== */
@keyframes sectionBgDrift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.05) translate(-10px, -5px);
  }
  100% {
    transform: scale(1.02) translate(5px, 3px);
  }
}

@keyframes sectionBgPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.12;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.18;
  }
}
