/* ==========================================================================
   Awwwards-Grade Interactive 3D Digital Marketing Core Engine Styles
   ========================================================================== */

:root {
  --bg-primary: #05050a;
  --bg-secondary: #0a0a14;
  --bg-tertiary: #111122;
  --accent-cyan: #00f0ff;
  --accent-violet: #9d00ff;
  --accent-rose: #ff007f;
  --text-primary: #ffffff;
  --text-muted: #8a8fa3;
  --font-display: "Orbitron", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", monospace;
  --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
  --glow-violet: 0 0 20px rgba(157, 0, 255, 0.35);
}

/* Reset & Core defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-mono);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-violet);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Global Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Utility Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Cinematic Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #030307;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1),
    visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo img {
  height: 60px;
  width: auto;
  filter: invert(1);
  animation: pulseGlow 2s infinite ease-in-out;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.loader-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
  animation: loadProgress 3.5s forwards cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes loadProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.2));
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.7));
  }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 10, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(3, 3, 7, 0.95);
  border-bottom: 1px solid rgba(157, 0, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: height 0.4s ease;
}

.header.scrolled .navbar {
  height: 70px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: invert(1);
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  font-family: var(--font-display);
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
  padding: 10px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  transition: width 0.3s var(--transition-spring);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Premium Buttons */
.btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--text-primary);
  transition: all 0.4s var(--transition-spring);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-rose));
  box-shadow: var(--glow-violet);
  border: none;
}

.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: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(157, 0, 255, 0.6);
}

.btn-secondary {
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.02);
}

.btn-secondary:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: 0.3s ease;
}

/* Page Header (Inner pages) */
.page-header {
  padding: 180px 0 100px;
  background: linear-gradient(
    180deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Legal Content Section */
.legal-content {
  padding: 80px 0;
  font-family: var(--font-mono);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 50px;
}

.content-wrapper h2 {
  font-size: 22px;
  color: var(--accent-cyan);
  margin-top: 40px;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.content-wrapper p,
.content-wrapper ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-wrapper ul {
  padding-left: 20px;
}

.content-wrapper li {
  margin-bottom: 10px;
}

/* Interactive 3D Canvas Background & Spotlight Engine */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Home Page Specifics */
.scene-3d-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  perspective: 1200px;
}

/* 3D Room-like Hero Design */
.hero-3d-scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(
    circle at 50% 50%,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  overflow: hidden;
  transform-style: preserve-3d;
}

.grid-floor-3d {
  position: absolute;
  bottom: -150px;
  left: 50%;
  width: 200%;
  height: 600px;
  transform: translateX(-50%) rotateX(75deg);
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 0, 255, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  transform-origin: center bottom;
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 30%,
    black 20%,
    transparent 80%
  );
  z-index: 2;
  pointer-events: none;
  animation: gridFlow 12s infinite linear;
}

@keyframes gridFlow {
  0% {
    background-position-y: 0px;
  }
  100% {
    background-position-y: 600px;
  }
}

.hero-content-3d {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  transform-style: preserve-3d;
  padding-top: 100px;
}

/* 3D Extruded Header */
.extruded-title-wrap {
  perspective: 1000px;
  margin-bottom: 30px;
}

.extruded-title {
  font-size: clamp(40px, 7vw, 90px);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  transform-style: preserve-3d;
  transform: rotateX(15deg);
  text-shadow:
    0 1px 0 #ccc,
    0 2px 0 #c5c5c5,
    0 3px 0 #bbb,
    0 4px 0 #b0b0b0,
    0 5px 0 #a5a5a5,
    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-title span {
  display: block;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(14px, 2.5vw, 20px);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Interactive Floating Shapes */
.floating-shape {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(5px);
  z-index: 3;
  pointer-events: none;
  transform-style: preserve-3d;
}

.shape-1 {
  top: 20%;
  left: 10%;
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}
.shape-2 {
  top: 60%;
  right: 10%;
  border-color: var(--accent-violet);
  box-shadow: var(--glow-violet);
}
.shape-3 {
  top: 15%;
  right: 15%;
  border-color: var(--accent-rose);
}

/* Infinite Marquee Loop for Results */
.marquee-ticker {
  background: var(--bg-tertiary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  z-index: 12;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 40px;
  white-space: nowrap;
}

.marquee-item i {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Services 3D Grid Section */
.section-padding {
  padding: 120px 0;
  position: relative;
}

.section-header {
  max-width: 700px;
  margin-bottom: 80px;
}

.subtitle-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
  letter-spacing: 2px;
  background: rgba(0, 240, 255, 0.05);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* CSS 3D Card Flip */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card-wrapper {
  perspective: 1000px;
  height: 380px;
}

.service-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);
  cursor: pointer;
}

.service-card-wrapper:hover .service-card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.card-front {
  background: var(--bg-secondary);
  justify-content: flex-start;
  gap: 20px;
}

.card-front .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: rgba(157, 0, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
  font-size: 24px;
  border: 1px solid rgba(157, 0, 255, 0.2);
}

.card-front h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card-front p {
  color: var(--text-muted);
  font-size: 14px;
}

.card-back {
  background: var(--bg-tertiary);
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  text-align: center;
  border-color: var(--accent-cyan);
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.05);
}

.card-back h4 {
  color: var(--accent-cyan);
  font-size: 20px;
  margin-bottom: 15px;
}

.card-back p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}

/* Industry-Specific Selector */
.industry-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 40px;
}

@media (max-width: 992px) {
  .industry-wrapper {
    grid-template-columns: 1fr;
  }
}

.industry-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.industry-btn {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 15px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
}

.industry-btn.active,
.industry-btn:hover {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.03);
  border-left-color: var(--accent-cyan);
}

.industry-content-panel {
  display: none;
  animation: panelFadeIn 0.5s forwards;
}

.industry-content-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .industry-content-panel.active {
    grid-template-columns: 1fr;
  }
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.industry-panel-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.industry-panel-text p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.industry-panel-metrics {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.industry-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.industry-metric-label {
  font-size: 13px;
  color: var(--text-muted);
}

.industry-metric-val {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* KPI Dashboard Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.kpi-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kpi-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kpi-label {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.kpi-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.kpi-card:hover::after {
  transform: scaleX(1);
}

/* Battle Plan / Process Section with Morphing SVGs */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--accent-cyan),
    var(--accent-violet),
    var(--accent-rose)
  );
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .process-timeline::before {
    left: 20px;
  }
}

.process-item {
  position: relative;
  width: 50%;
  padding: 40px;
  transform-style: preserve-3d;
}

.process-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.process-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

@media (max-width: 768px) {
  .process-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 60px;
  }
}

.process-badge {
  position: absolute;
  top: 45px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.process-item:nth-child(odd) .process-badge {
  right: -15px;
}

.process-item:nth-child(even) .process-badge {
  left: -15px;
}

@media (max-width: 768px) {
  .process-badge {
    left: 5px !important;
    right: auto !important;
  }
}

.process-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--accent-cyan);
}

.process-item p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Campaign Goal Matcher */
.matcher-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 50px;
}

.matcher-step {
  display: none;
}

.matcher-step.active {
  display: block;
}

.matcher-title {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
}

.matcher-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.matcher-option {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.matcher-option:hover,
.matcher-option.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.02);
}

.matcher-option input {
  pointer-events: none;
}

.matcher-nav-btns {
  display: flex;
  justify-content: space-between;
}

/* Interactive ROI Visualizer */
.roi-container {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .roi-container {
    grid-template-columns: 1fr;
  }
}

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.roi-form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.roi-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: var(--glow-cyan);
  transition: transform 0.1s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-select {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 15px;
  border-radius: 4px;
  font-family: var(--font-mono);
  outline: none;
}

.roi-results {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.roi-stat-main {
  text-align: center;
}

.roi-stat-val {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.roi-chart-mock {
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.roi-chart-bar {
  flex: 1;
  background: linear-gradient(0deg, var(--accent-violet), var(--accent-cyan));
  border-radius: 2px 2px 0 0;
  transition: height 0.6s var(--transition-spring);
  height: 10%;
  position: relative;
}

.roi-chart-bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--text-muted);
}

/* 3D Testimonials Pile */
.testimonials-room {
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.test-pile-deck {
  position: relative;
  width: 450px;
  height: 320px;
}

@media (max-width: 480px) {
  .test-pile-deck {
    width: 100%;
    max-width: 320px;
  }
}

/* Prevent native browser drag feedback overlay */
.test-pile-card,
.test-pile-card * {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.test-pile-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  cursor: grab;
  transition:
    transform 0.5s var(--transition-spring),
    opacity 0.5s ease;
  user-select: none;
}

.test-card-content {
  font-style: italic;
  font-size: 15px;
  color: var(--text-primary);
}

.test-author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.test-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bg-primary);
}

.test-author-name h4 {
  font-size: 14px;
  color: var(--accent-cyan);
}

.test-author-name p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Before / After Drag Slider */
.results-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .results-slider-wrap {
    height: 300px;
  }
}

.image-split {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.before-panel {
  background-color: #0b0c16;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.after-panel {
  background-color: #120c1f;
  background-image: radial-gradient(
    var(--accent-cyan) 0.5px,
    transparent 0.5px
  );
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%; /* Adjusted by script */
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--accent-cyan);
}

.image-panel-inner {
  width: 800px;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .image-panel-inner {
    width: 100%;
    height: 300px;
  }
}

.panel-title-card {
  background: rgba(3, 3, 7, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 4px;
  text-align: center;
}

.panel-title-card h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.after-panel .panel-title-card h4 {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.panel-title-card p {
  font-size: 32px;
  font-family: var(--font-display);
  font-weight: 900;
}

.slider-drag-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--accent-cyan);
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
  pointer-events: none;
}

.slider-drag-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--bg-primary);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-weight: bold;
  box-shadow: var(--glow-cyan);
}

/* 3D Infinite Vortex Background CTA section */
.vortex-cta-section {
  position: relative;
  overflow: hidden;
  background: #030307;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.vortex-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.45;
  pointer-events: none;
}

.vortex-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Form Styles */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 15px 0;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
  transition: border-bottom-color 0.3s ease;
}

.form-group textarea {
  resize: none;
}

.form-group label {
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: -15px;
  font-size: 11px;
  color: var(--accent-cyan);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent-cyan);
}

/* AI Chat Widget */
.ai-chat-launcher {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-rose));
  box-shadow: var(--glow-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  border: none;
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s var(--transition-spring);
}

.ai-chat-launcher:hover {
  transform: scale(1.1) rotate(15deg);
}

.ai-chat-widget {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 380px;
  height: 500px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  z-index: 998;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  visibility: hidden;
  transition: all 0.4s var(--transition-spring);
}

.ai-chat-widget.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

@media (max-width: 480px) {
  .ai-chat-widget {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 95px;
  }
}

.ai-chat-header {
  background: var(--bg-tertiary);
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-chat-header h3 {
  font-size: 14px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-chat-header h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #00ff66;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00ff66;
}

.ai-chat-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s;
}

.ai-chat-close:hover {
  color: #fff;
}

.ai-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-message.bot {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.chat-message.user {
  background: var(--accent-violet);
  color: #fff;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.ai-chat-input-area {
  padding: 15px 20px;
  background: var(--bg-tertiary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 10px;
}

.ai-chat-input-area input {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 15px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  outline: none;
}

.ai-chat-input-area button {
  background: var(--accent-cyan);
  border: none;
  color: var(--bg-primary);
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
}

.ai-chat-input-area button:hover {
  transform: scale(1.05);
}

/* Contact Info Blocks */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 50px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card-detail h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-card-detail p,
.contact-card-detail a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}

.contact-card-detail a:hover {
  color: var(--accent-cyan);
}

/* Contact Form Block Wrapper */
.contact-form-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 50px;
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 30px;
  }
}

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 7, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  padding: 50px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: var(--glow-cyan);
  transform: scale(0.9);
  transition: transform 0.4s var(--transition-spring);
}

.popup.active .popup-content {
  transform: scale(1);
}

.popup-icon {
  font-size: 50px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.popup-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.popup-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  z-index: 99;
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-5px);
}

/* Footer Section */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 80px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: invert(1);
  object-fit: contain;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--accent-cyan);
}
