/* ==========================================================================
   PREMIUM LIGHT THEME & 3D SYSTEM STYLES
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent-primary: #ff5e36; /* Warm Orange Rocket Core */
  --accent-secondary: #00a8ff; /* Galactic Blue Orbit */
  --accent-rgb: 255, 94, 54;
  --accent-blue-rgb: 0, 168, 255;
  --font-heading: "Rajdhani", sans-serif;
  --font-body: "Poppins", sans-serif;
  --border-light: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(255, 94, 54, 0.15);
  --card-shadow: 0 15px 40px rgba(15, 23, 42, 0.04);
  --hover-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
  --spring-ease: cubic-bezier(0.43, 0.13, 0.23, 0.96);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Base Typo */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s var(--spring-ease);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s var(--spring-ease),
    transform 0.8s var(--spring-ease);
}

.loader-logo {
  text-align: center;
  position: relative;
}

.loader-logo img {
  height: 80px;
  animation: pulseGlow 1.5s infinite ease-in-out;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  margin-top: 15px;
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  animation: barLoad 1.5s infinite var(--spring-ease);
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(255, 94, 54, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 15px rgba(255, 94, 54, 0.3));
  }
}

@keyframes barLoad {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

/* Custom Cursor */
.custom-cursor {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
  mix-blend-mode: difference;
}

.custom-cursor-glow {
  width: 8px;
  height: 8px;
  background: var(--accent-secondary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
}

/* Scroll Progress */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.05);
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  width: 0%;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.4s var(--spring-ease);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 48px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s var(--spring-ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  padding: 16px;
  list-style: none;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s var(--spring-ease);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin-bottom: 8px;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  padding: 6px 12px;
  border-radius: 4px;
}

.dropdown-menu a:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: all 0.4s var(--spring-ease);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 94, 54, 0.25);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s var(--spring-ease);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 94, 54, 0.4);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

/* Page Header (Inner pages) */
.page-header {
  padding: 160px 0 80px 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 168, 255, 0.05),
      rgba(255, 94, 54, 0.05)
    ),
    var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.breadcrumbs {
  font-weight: 500;
  font-size: 0.95rem;
}

.breadcrumbs span {
  color: var(--accent-primary);
}

/* ==========================================================================
   HOMEPAGE SCENE - 3D CANVAS & SHAPES
   ========================================================================== */

.hero-3d-scene {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background:
    radial-gradient(
      circle at bottom left,
      rgba(255, 94, 54, 0.05),
      #ffffff 70%
    ),
    var(--bg-primary);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.perspective-grid-floor {
  position: absolute;
  bottom: -10%;
  left: -50%;
  width: 200%;
  height: 40%;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center bottom;
  transform: perspective(400px) rotateX(65deg);
  transform-origin: center bottom;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1000px;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-text-block {
  perspective: 1000px;
}

.smart-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 94, 54, 0.08);
  color: var(--accent-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 94, 54, 0.2);
}

.smart-greeting i {
  animation: bounceSlow 2s infinite ease-in-out;
}

@keyframes bounceSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* 3D Extruded headline */
.extruded-headline {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  text-transform: uppercase;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.extruded-headline span.deep-layer {
  display: block;
  color: var(--text-primary);
  text-shadow:
    0 1px 0 #ccc,
    0 2px 0 #c5c5c5,
    0 3px 0 #bbb,
    0 4px 0 #b5b5b5,
    0 5px 0 #aaa,
    0 6px 1px rgba(0, 0, 0, 0.1),
    0 0 5px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 3px 5px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.25),
    0 10px 10px rgba(0, 0, 0, 0.2),
    0 20px 20px rgba(0, 0, 0, 0.15);
}

.extruded-headline span.orange-glow {
  color: var(--accent-primary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* 3D Orbit system in hero */
.hero-visual-block {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.orbit-core {
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    var(--accent-primary) 0%,
    rgba(255, 94, 54, 0.4) 70%,
    transparent 100%
  );
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 94, 54, 0.6);
  position: relative;
  z-index: 5;
  animation: pulseCore 3s infinite alternate;
}

@keyframes pulseCore {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  100% {
    transform: scale(1.1);
    filter: brightness(1.2);
  }
}

.orbit-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(15, 23, 42, 0.15);
  border-radius: 50%;
  transform: rotateX(75deg);
  transform-style: preserve-3d;
  animation: spinRing 25s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border: 2px solid var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--card-shadow);
  color: var(--accent-secondary);
  font-size: 1.2rem;
  transform: rotateX(-75deg);
}

.node-1 {
  top: 0;
  left: 50%;
  margin-left: -24px;
}
.node-2 {
  bottom: 0;
  left: 50%;
  margin-left: -24px;
}
.node-3 {
  top: 50%;
  left: 0;
  margin-top: -24px;
}
.node-4 {
  top: 50%;
  right: 0;
  margin-top: -24px;
}

@keyframes spinRing {
  0% {
    transform: rotateX(70deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(70deg) rotateZ(360deg);
  }
}

/* ==========================================================================
   RESULTS TICKER & MARQUEE
   ========================================================================== */

.ticker-section {
  background: var(--bg-secondary);
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  width: 200%;
  animation: ticketScroll 30s linear infinite;
}

.ticker-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-around;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker-item span {
  color: var(--accent-primary);
}

@keyframes ticketScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SERVICES & 3D FLIP CARDS
   ========================================================================== */

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  display: inline-block;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.section-title {
  font-size: 3rem;
  letter-spacing: -1px;
}

.orange-glow {
  color: var(--accent-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.service-card-3d {
  perspective: 1000px;
  height: 400px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-3d:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}

.card-front {
  background: var(--bg-primary);
}

.card-back {
  background: var(--bg-secondary);
  transform: rotateY(180deg);
  border-color: var(--accent-primary);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-primary);
}

.service-title {
  font-size: 1.8rem;
  margin: 20px 0 10px 0;
}

.service-desc {
  font-size: 0.95rem;
}

.card-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   INDUSTRY SELECTOR
   ========================================================================== */

.industry-selector-section {
  background: var(--bg-secondary);
}

.industry-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.industry-tab {
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s var(--spring-ease);
}

.industry-tab.active,
.industry-tab:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
}

.industry-content-container {
  position: relative;
  min-height: 400px;
}

.industry-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeInUp 0.6s var(--spring-ease) forwards;
}

.industry-panel.active {
  display: grid;
}

.industry-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--hover-shadow);
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-checklist {
  list-style: none;
  margin-top: 24px;
}

.industry-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
}

.industry-checklist li i {
  color: var(--accent-secondary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   KPI DASHBOARD & NEON ODOMETERS
   ========================================================================== */

.dashboard-section {
  background: var(--bg-primary);
  position: relative;
}

.dashboard-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--spring-ease);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-secondary);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-secondary);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
}

.dashboard-preview {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.chart-legend {
  display: flex;
  gap: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.chart-bars-container {
  display: flex;
  height: 250px;
  align-items: flex-end;
  justify-content: space-around;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 16px;
}

.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12%;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar-fill {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(
    to top,
    var(--accent-secondary),
    rgba(0, 168, 255, 0.4)
  );
  height: 0%;
  transition: height 1.5s var(--spring-ease);
}

.chart-bar-col:nth-child(even) .chart-bar-fill {
  background: linear-gradient(
    to top,
    var(--accent-primary),
    rgba(255, 94, 54, 0.4)
  );
}

.chart-bar-label {
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   INTERACTIVE ROI VISUALIZER
   ========================================================================== */

.roi-section {
  background: var(--bg-secondary);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.roi-controls {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
}

.slider-group {
  margin-bottom: 32px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.slider-label span:last-child {
  color: var(--accent-primary);
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 5px;
  background: var(--bg-tertiary);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 94, 54, 0.3);
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-display-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-primary);
  border: 2px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--hover-shadow);
}

.roi-display-results h3 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.roi-metric-big {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--accent-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

/* ==========================================================================
   CAMPAIGN GOAL MATCHER
   ========================================================================== */

.matcher-section {
  background: var(--bg-primary);
}

.matcher-card {
  background: var(--bg-secondary);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.matcher-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.matcher-steps-indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.step-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-light);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  z-index: 2;
  transition: all 0.3s var(--spring-ease);
}

.step-bubble.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
}

.matcher-step {
  display: none;
  animation: fadeIn 0.4s var(--spring-ease);
}

.matcher-step.active {
  display: block;
}

.matcher-step h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.option-btn {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s var(--spring-ease);
}

.option-btn:hover,
.option-btn.selected {
  border-color: var(--accent-primary);
  background: rgba(255, 94, 54, 0.04);
}

.matcher-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* ==========================================================================
   PROCESS & HOW IT WORKS
   ========================================================================== */

.process-section {
  background: var(--bg-secondary);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-light);
}

.process-node {
  position: relative;
  z-index: 2;
}

.process-marker {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: var(--accent-primary);
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  transition: all 0.3s var(--spring-ease);
}

.process-node:hover .process-marker {
  background: var(--accent-primary);
  color: #ffffff;
  transform: scale(1.1);
}

.process-node h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   TESTIMONIALS 3D STACKED DECK
   ========================================================================== */

.testimonials-section {
  background: var(--bg-primary);
  position: relative;
}

.deck-container {
  position: relative;
  height: 450px;
  max-width: 600px;
  margin: 0 auto;
  perspective: 1000px;
}

.testimonial-card-3d {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.5s;
  transform-origin: center bottom;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.client-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.deck-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ==========================================================================
   BEFORE & AFTER RESULTS SLIDER
   ========================================================================== */

.ba-section {
  background: var(--bg-secondary);
}

.ba-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--hover-shadow);
  user-select: none;
}

.ba-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-overlay-label {
  position: absolute;
  top: 24px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-weight: 700;
  border-radius: 4px;
  font-size: 0.85rem;
  z-index: 10;
}

.ba-before .ba-overlay-label {
  left: 24px;
}
.ba-after .ba-overlay-label {
  right: 24px;
}

.ba-after {
  width: 50%;
  z-index: 2;
  overflow: hidden;
}

.ba-after img {
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--accent-primary);
  z-index: 11;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(255, 94, 54, 0.4);
}

/* ==========================================================================
   CONTACT FORM & TRANSMISSION
   ========================================================================== */

.contact-section {
  background: var(--bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--bg-secondary);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  display: flex;
  gap: 20px;
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-primary);
}

.contact-form-container {
  background: var(--bg-secondary);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 48px 16px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--border-glow);
}

.form-group i {
  position: absolute;
  right: 20px;
  top: 48px;
  color: var(--text-muted);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-group input {
  width: auto;
}

/* AI Chat Widget */
.ai-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ai-chat-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 94, 54, 0.4);
  animation: pulseCore 3s infinite alternate;
}

.ai-chat-panel {
  display: none;
  width: 350px;
  height: 500px;
  background: var(--bg-primary);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--hover-shadow);
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 15px;
  animation: slideUp 0.4s var(--spring-ease) forwards;
}

.ai-chat-header {
  background: var(--accent-primary);
  color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 80%;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.chat-msg.bot {
  background: var(--bg-secondary);
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--accent-primary);
  color: #ffffff;
  align-self: flex-end;
}

.ai-chat-footer {
  padding: 15px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}

.ai-chat-footer input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  outline: none;
}

.ai-chat-footer button {
  background: var(--accent-primary);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: var(--bg-primary);
  padding: 48px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  max-width: 500px;
  box-shadow: var(--hover-shadow);
  border: 1px solid var(--border-light);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

.popup-icon {
  font-size: 4rem;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

/* ==========================================================================
   FOOTER (UNIFIED ACROSS ALL PAGES)
   ========================================================================== */

.footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 48px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-socials a:hover {
  background: var(--accent-primary);
  color: #ffffff;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact i {
  color: var(--accent-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-secondary);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
  cursor: pointer;
  z-index: 999;
}

/* Legal Content Section */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px 0;
}

.legal-content p {
  margin-bottom: 20px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container,
  .services-grid,
  .dashboard-wrapper,
  .roi-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .extruded-headline {
    font-size: 3rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
