/* Core Variables & Design System */
:root {
  --bg-dark: #05050a;
  --bg-card: rgba(12, 12, 28, 0.7);
  --bg-card-border: rgba(108, 92, 231, 0.2);
  --primary: #6c5ce7;
  --primary-glow: rgba(108, 92, 231, 0.6);
  --cyan: #00cec9;
  --cyan-glow: rgba(0, 206, 201, 0.6);
  --amber: #ffbe76;
  --white: #ffffff;
  --slate: #b2bec3;
  --font-sans: "Poppins", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --spring-physics: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Managed by high-end system cursor */
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-dark);
}

/* Typography Rules */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

ul,
li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

p {
  color: var(--slate);
  line-height: 1.6;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--white);
}

/* Mobile navigation ko desktop par hide karne ke liye */
.mobile-nav {
  display: none; /* Desktop par mukammal hide */
  position: fixed;
  top: 75px; /* Header ke niche */
  left: 0;
  width: 100%;
  background: rgba(5, 5, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108, 92, 231, 0.2);
  z-index: 999;
  padding: 30px;
  transform: translateY(-20px);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  pointer-events: none;
}

/* Jab mobile menu active ho */
.mobile-nav.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Mobile Toggle button ki styling (Desktop par hide rahega) */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition-smooth);
}

/* Responsive screen rules (Mobile aur Tablet ke liye) */
@media (max-width: 768px) {
  .nav {
    display: none; /* Mobile par desktop links hide ho jayein */
  }

  .header-actions .btn {
    display: none; /* Mobile par desktop button hide ho jaye */
  }

  .mobile-toggle {
    display: flex; /* Mobile par sirf toggle button show ho */
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: block;
  }
}

/* Mobile menu list styling */
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.mobile-nav ul li a {
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

.mono-text {
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 100px 0;
}

/* Interactive Cursor */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

.cursor-glow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s cubic-bezier(0.1, 0.8, 0.3, 1),
    height 0.3s cubic-bezier(0.1, 0.8, 0.3, 1),
    border-color 0.3s;
}

/* Click and hover scaling */
.custom-cursor.click {
  width: 15px;
  height: 15px;
  background-color: var(--amber);
}

.cursor-glow.click {
  width: 60px;
  height: 60px;
  border-color: var(--amber);
}

/* Audio Control Trigger */
.audio-control {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  background: rgba(10, 10, 20, 0.8);
  border: 1px solid var(--bg-card-border);
  padding: 10px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  transition: var(--spring-physics);
}

.audio-control i {
  color: var(--cyan);
}

/* Preloader Cinematic Element */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.preload-logo {
  max-height: 80px;
  margin-bottom: 25px;
  filter: invert(1);
  animation: breathing 3s ease-in-out infinite;
}

.loading-bar-container {
  width: 240px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 15px auto;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: width 4s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* HEADER AND NAV STYLING */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-height: 60px;
  display: block;
  filter: invert(1);
}

.nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--cyan);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--white);
}

/* BUTTON ENGINE */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  transition: var(--spring-physics);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: var(--white);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.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: 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
  background: rgba(10, 10, 25, 0.8);
  border: 1px solid var(--bg-card-border);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(108, 92, 231, 0.15);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* 3D HERO SCENE ARCHITECTURE */
.hero-3d {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  perspective: 1200px;
  background-color: var(--bg-dark);
}

.generative-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.grid-floor-3d {
  position: absolute;
  bottom: -150px;
  left: -50%;
  width: 200%;
  height: 600px;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  transform: rotateX(75deg);
  z-index: 2;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  pointer-events: none;
  animation: grid-scroll 20s linear infinite;
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content-3d {
  max-width: 720px;
  z-index: 11;
}

.tagline-glow {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.extruded-heading {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 30px;
  transform-style: preserve-3d;
}

.extruded-heading .word {
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions-group {
  display: flex;
  gap: 20px;
}

/* Floating 3D Orbit system (icons around glowing core) */
.orbit-container-3d {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%) rotateY(-30deg) rotateX(15deg);
  width: 400px;
  height: 400px;
  transform-style: preserve-3d;
  z-index: 15;
  pointer-events: none;
}

.glowing-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    var(--cyan),
    var(--primary-glow),
    transparent
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 50px var(--cyan-glow);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(60deg);
}

.ring-1 {
  width: 220px;
  height: 220px;
  animation: orbit-spin 12s linear infinite;
}
.ring-2 {
  width: 320px;
  height: 320px;
  animation: orbit-spin-reverse 18s linear infinite;
}
.ring-3 {
  width: 420px;
  height: 420px;
  animation: orbit-spin 25s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
}

.node-seo {
  top: 0%;
  left: 50%;
}
.node-ppc {
  top: 50%;
  left: 100%;
}
.node-social {
  top: 100%;
  left: 50%;
}

/* Scroll progress overlay tracking metrics */
.scroll-depth-indicator {
  position: absolute;
  bottom: 40px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
}

.depth-line {
  width: 60px;
  height: 1px;
  background-color: var(--slate);
}

/* INFINITE RESULTS TICKER */
.ticker-section {
  background: #080814;
  border-top: 1px solid rgba(108, 92, 231, 0.15);
  border-bottom: 1px solid rgba(108, 92, 231, 0.15);
  padding: 20px 0;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  width: max-content;
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: scroll-ticker 30s linear infinite;
  padding-right: 60px;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-accent {
  color: var(--cyan);
  font-weight: bold;
}

/* SERVICES SECTION WITH 3D COMPLIANT CARD ROTATION */
.services-section {
  position: relative;
  background: radial-gradient(
    circle at 10% 20%,
    #06060c 0%,
    var(--bg-dark) 90%
  );
}

.section-header {
  max-width: 680px;
  margin: 0 auto 60px;
}

.block-tag {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: 600;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

/* 3D Card Architecture */
.card-3d-wrap {
  perspective: 1000px;
  height: 380px;
}

.card-3d-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);
}

.card-3d-wrap:hover .card-3d-inner,
.card-3d-wrap.flipped .card-3d-inner {
  transform: rotateY(180deg);
}

.card-3d-front,
.card-3d-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-3d-back {
  transform: rotateY(180deg);
  background: linear-gradient(
    135deg,
    rgba(12, 12, 28, 0.95),
    rgba(108, 92, 231, 0.2)
  );
  border-color: var(--cyan);
}

.card-icon-glow {
  width: 65px;
  height: 65px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--cyan);
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(0, 206, 201, 0.15);
}

.card-3d-front h3,
.card-3d-back h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-action-hint {
  margin-top: auto;
  font-size: 0.65rem;
  color: var(--slate);
  opacity: 0.7;
}

/* VERTICAL ADAPTIVE SECTORS SELECTORS */
.industry-selector-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(12, 12, 28, 0.6);
  border: 1px solid var(--bg-card-border);
  color: var(--slate);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--spring-physics);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--primary-glow);
}

.industry-display-window {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}

.industry-content {
  display: none;
  padding: 50px;
}

.industry-content.active {
  display: block;
  animation: panel-fade 0.5s ease forwards;
}

.industry-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.industry-info-col h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.checklist-metrics {
  list-style: none;
  margin-top: 30px;
}

.checklist-metrics li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.checklist-metrics li i {
  color: var(--cyan);
}

/* Mock System Terminal Interface */
.mock-terminal {
  background: #020205;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.terminal-bar {
  background: #0a0a14;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot.red {
  background: #ff7675;
}
.term-dot.yellow {
  background: #ffeaa7;
}
.term-dot.green {
  background: #55efc4;
}

.terminal-bar span {
  font-size: 0.75rem;
  margin-left: 10px;
  color: var(--slate);
}

.terminal-body {
  padding: 24px;
  font-size: 0.85rem;
  color: #55efc4;
}

.terminal-body p {
  margin-bottom: 10px;
  color: #55efc4;
}

.terminal-pulse {
  width: 8px;
  height: 15px;
  background-color: #55efc4;
  display: inline-block;
  animation: cursor-blink 1s steps(2, start) infinite;
}

/* KPI DASHBOARD CARDS */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--slate);
  margin-bottom: 20px;
}

.kpi-number-wrap {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 25px;
}

.kpi-value {
  color: var(--white);
  text-shadow: 0 0 20px var(--primary-glow);
}

.kpi-symbol {
  color: var(--cyan);
}

/* Dashboard visualizations */
.chart-mini-container {
  height: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 10px;
}

.bar-chart-mini {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 100%;
}

.chart-bar {
  width: 14px;
  background-color: var(--primary-glow);
  border-radius: 4px;
  height: var(--height);
  transition: height 1s ease;
}

.chart-bar.glow-bar {
  background-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.line-chart-mini {
  width: 150px;
  height: 50px;
  margin: 0 auto;
}

.mini-svg-line {
  width: 100%;
  height: 100%;
}

.donut-chart-mini {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(
    var(--cyan) var(--percentage),
    rgba(255, 255, 255, 0.05) 0
  );
}

.donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: #0b0b18;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--slate);
}

/* 3D TESTIMONIALS STACKED CARD DECK */
.testimonials-section {
  background: radial-gradient(
    circle at 90% 10%,
    #06060c 0%,
    var(--bg-dark) 90%
  );
}

.testimonial-deck-wrapper {
  position: relative;
  height: 480px;
  max-width: 650px;
  margin: 0 auto;
}

.testimonial-deck {
  position: relative;
  width: 100%;
  height: 400px;
  transform-style: preserve-3d;
}

.t-deck-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 32, 0.95);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--spring-physics);
  opacity: 0;
  transform: translateY(40px) scale(0.9) translateZ(-100px);
  pointer-events: none;
}

.t-deck-card.active {
  opacity: 1;
  transform: translateY(0) scale(1) translateZ(0);
  pointer-events: all;
  z-index: 5;
}

.t-deck-card.next {
  opacity: 0.6;
  transform: translateY(-20px) scale(0.95) translateZ(-50px);
  z-index: 4;
}

.t-deck-card.prev-stacked {
  opacity: 0.2;
  transform: translateY(-40px) scale(0.9) translateZ(-100px);
  z-index: 3;
}

.t-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.t-client-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
}

.t-client-meta h4 {
  font-size: 1.25rem;
}

.t-card-body p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
}

.t-card-footer {
  color: var(--amber);
  font-size: 0.75rem;
}

.t-deck-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-icon-only {
  width: 50px;
  height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* BEFORE & AFTER CONVERSIONS SLIDER */
.comparison-slider-wrapper {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
}

.comparison-before,
.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-after {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--cyan);
  z-index: 2;
}

.comparison-after .comp-img {
  width: 100vw;
  max-width: none;
}

.comp-label {
  position: absolute;
  bottom: 30px;
  background-color: rgba(5, 5, 10, 0.9);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.75rem;
  border: 1px solid var(--bg-card-border);
}

.before-label {
  right: 30px;
}
.after-label {
  left: 30px;
  width: max-content;
}

.comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--cyan);
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.handle-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #05050a;
  border: 2px solid var(--cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.handle-bar {
  width: 2px;
  height: 45%;
  background-color: var(--cyan);
}

/* ROI CALCULATOR GROUPINGS */
.roi-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 30px;
  padding: 60px;
}

.slider-group {
  margin-top: 40px;
}

.slider-label-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.input-range-custom {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.input-range-custom::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transition: var(--spring-physics);
}

.input-range-custom::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-output-card {
  background: rgba(10, 10, 20, 0.9);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.output-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan-glow);
  margin: 20px 0;
}

.roi-disclaimer {
  font-size: 0.85rem;
  margin-bottom: 30px;
}

.chart-projection {
  margin-top: 40px;
}

.projection-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.projection-fill {
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.projection-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--slate);
}

/* CAMPAIGN GOAL OPTIMIZATION MATCHER */
.matcher-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  min-height: 380px;
  position: relative;
}

.matcher-step {
  display: none;
}

.matcher-step.active {
  display: block;
  animation: panel-fade 0.5s ease forwards;
}

.matcher-step h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.option-btn {
  background: rgba(10, 10, 20, 0.8);
  border: 1px solid var(--bg-card-border);
  color: var(--white);
  padding: 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: var(--spring-physics);
}

.option-btn:hover {
  border-color: var(--cyan);
  background: rgba(108, 92, 231, 0.15);
}

.recommendation-badge {
  display: inline-block;
  background-color: rgba(0, 206, 201, 0.15);
  color: var(--cyan);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* 3D VORTEX CTA TRANSITION */
.vortex-cta {
  position: relative;
  overflow: hidden;
  background-color: #030308;
  border-top: 1px solid rgba(108, 92, 231, 0.15);
}

.vortex-3d-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1400px;
  height: 1400px;
  transform: translate(-50%, -50%) rotateX(60deg);
  background-image:
    radial-gradient(circle, transparent 20%, #030308 70%),
    repeating-radial-gradient(
      ellipse,
      rgba(108, 92, 231, 0.15) 0px,
      transparent 40px
    );
  z-index: 1;
  animation: vortex-rotation 30s linear infinite;
  pointer-events: none;
}

.relative-z {
  position: relative;
  z-index: 10;
}

.vortex-content-box {
  max-width: 800px;
  margin: 0 auto;
}

.vortex-title {
  font-size: 3.5rem;
  margin-bottom: 25px;
}

.vortex-desc {
  font-size: 1.25rem;
  margin-bottom: 45px;
}

/* CONTACT PAGE SPECIFICS */
.page-header {
  background: linear-gradient(180deg, #0a0a14, #05050a);
  padding: 120px 0 60px;
  border-bottom: 1px solid rgba(108, 92, 231, 0.15);
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin-bottom: 30px;
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.21fr 0.79fr;
  gap: 60px;
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 50px;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 35px;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: rgba(5, 5, 10, 0.8);
  border: 1px solid var(--bg-card-border);
  border-radius: 10px;
  padding: 15px;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--spring-physics);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.contact-info-container {
  background: rgba(12, 12, 28, 0.3);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 50px;
}

.contact-methods {
  margin-top: 40px;
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.method-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.3rem;
}

.method-details h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

/* SUBPAGE LEGAL CONTENT STYLING */
.legal-content .content-wrapper {
  max-width: 850px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 60px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.legal-content p {
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* POPUP MODULE */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.popup:target {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background-color: #0b0b18;
  border: 1px solid var(--cyan);
  border-radius: 24px;
  padding: 50px;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 30px var(--cyan-glow);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  color: var(--slate);
}

.popup-content i {
  font-size: 4rem;
  color: var(--cyan);
  margin-bottom: 25px;
}

.popup-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.popup-content p {
  margin-bottom: 30px;
}

/* AI CHATBOT HOVER MODULE */
.ai-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.ai-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 25px var(--cyan-glow);
  position: relative;
}

.pulse-status {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background-color: #55efc4;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
}

.ai-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 480px;
  background-color: #0c0c1c;
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: var(--spring-physics);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ai-chat-box.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ai-chat-header {
  background: rgba(10, 10, 25, 0.9);
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-avatar-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar-info i {
  font-size: 1.4rem;
  color: var(--cyan);
}

.ai-avatar-info h4 {
  font-size: 0.95rem;
}

.status-text {
  font-size: 0.6rem;
  color: #55efc4;
}

.ai-close-btn {
  background: none;
  border: none;
  color: var(--slate);
  font-size: 1.5rem;
}

.ai-chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-bubble {
  padding: 12px 18px;
  border-radius: 15px;
  max-width: 80%;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-bubble.ai {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble.user {
  background-color: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.ai-chat-options {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-opt-btn {
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid var(--bg-card-border);
  color: var(--cyan);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-align: left;
}

/* FOOTER STRUCTURE */
.footer {
  background-color: #030308;
  border-top: 1px solid rgba(108, 92, 231, 0.15);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  max-height: 60px;
  filter: invert(1);
  margin-bottom: 25px;
}

.footer-about p {
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
}

.social-links a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.footer-title {
  font-size: 1.15rem;
  margin-bottom: 25px;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a {
  color: var(--slate);
}

.footer-list a:hover {
  color: var(--cyan);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--slate);
}

.contact-info i {
  color: var(--cyan);
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* KEYFRAMES */
@keyframes grid-scroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1000px;
  }
}

@keyframes orbit-spin {
  0% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
  }
}

@keyframes orbit-spin-reverse {
  0% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
  }
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes cursor-blink {
  from,
  to {
    background-color: transparent;
  }
  50% {
    background-color: #55efc4;
  }
}

@keyframes panel-fade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathing {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes vortex-rotation {
  0% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg);
  }
}

/* RESPONSIVE LAYOUT BREAKPOINTS */
@media (max-width: 1024px) {
  .contact-grid,
  .roi-grid-container,
  .industry-grid-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .orbit-container-3d {
    display: none;
  }
  .extruded-heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .extruded-heading {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
}
