/* ==========================================================================
   AWARDS-LEVEL DIGITAL MARKETING PLATFORM DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg-dark: #07070d;
  --bg-panel: #0e0e1a;
  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --secondary: #7f00ff;
  --secondary-glow: rgba(127, 0, 255, 0.3);
  --accent: #ff007f;
  --accent-glow: rgba(255, 0, 127, 0.3);
  --text-main: #f0f1f9;
  --text-muted: #9ba0be;
  --font-family: "Poppins", sans-serif;
  --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
  --perspective: 1500px;
}

/* Reset & Utilities */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-dark);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Scroll Progress Bar */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-width, 0%);
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
  z-index: 10000;
}

/* 100% Clean Console & Cursor */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s;
}

.custom-cursor-glow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary-glow);
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  transition: opacity 0.8s var(--transition-smooth);
}

.preloader-content {
  text-align: center;
  width: 300px;
}

.preloader-logo {
  height: 60px;
  margin: 0 auto;
  margin-bottom: 2rem;
  animation: pulse 2s infinite ease-in-out;
}

.preloader-bar-container {
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.preloader-text {
  font-size: 0.75rem;
  letter-spacing: 0.25rem;
  color: var(--text-muted);
}

/* Sound Toggle */
.sound-toggle {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition:
    transform 0.3s,
    border-color 0.3s;
}

.sound-toggle:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.35s var(--transition-spring);
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary span {
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.02);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

.full-width {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1.5rem 0;
  transition:
    background 0.3s,
    padding 0.3s;
}

.header.scrolled {
  background: rgba(7, 7, 13, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1002;
}

.bar {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition:
    transform 0.3s,
    top 0.3s,
    opacity 0.3s;
}

.bar-top {
  top: 0;
}
.bar-middle {
  top: 11px;
}
.bar-bottom {
  top: 22px;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.6s var(--transition-smooth);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 2rem 0;
}

.mobile-nav a {
  font-size: 1.8rem;
  font-weight: 700;
}

/* Page Header Layout */
.page-header {
  padding: 12rem 0 6rem;
  background: radial-gradient(
    circle at top,
    var(--secondary-glow) 0%,
    transparent 70%
  );
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    var(--text-main) 0%,
    var(--text-muted) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

/* Section Header Typography Formatting */
.section-header {
  margin-bottom: 4rem;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.3rem;
  color: var(--primary);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Section 1: Hero Scene */
.hero-section {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.hero-3d-scene {
  position: absolute;
  inset: 0;
  perspective: var(--perspective);
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-floor {
  position: absolute;
  width: 200%;
  height: 100%;
  bottom: -50%;
  left: -50%;
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(75deg);
  transform-origin: center bottom;
  animation: move-grid 20s infinite linear;
}

@keyframes move-grid {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1000px;
  }
}

.shapes-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 0.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Section 2: Industry Filter CSS */
.industry-section {
  padding: 6rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.industry-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.industry-btn {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 0.8rem 2rem;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.industry-btn:hover,
.industry-btn.active {
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Section 3: Services Grid and Card Flip */
.services-section {
  padding: 4rem 0 8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card-wrapper {
  perspective: 1000px;
  height: 380px;
}

.service-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--transition-smooth);
}

.service-card:hover {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-back {
  transform: rotateY(180deg);
  border-color: var(--secondary);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.card-front h3,
.card-back h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-front p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.flip-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-back ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.card-back li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.card-back li::before {
  content: "⚡";
  margin-right: 0.5rem;
}

/* Section 4: Results Ticker */
.ticker-section {
  background: var(--bg-panel);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  overflow: hidden;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-animation 30s linear infinite;
  gap: 4rem;
}

.ticker-item {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.ticker-item i {
  color: var(--accent);
}

@keyframes ticker-animation {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Section 5: KPI Dashboard Panel */
.kpi-section {
  padding: 8rem 0;
  position: relative;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.kpi-panel-info {
  max-width: 500px;
}

.kpi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.kpi-stat-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 4px;
}

.odometer {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.odometer::after {
  content: "%";
}

.kpi-stat-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dashboard-shell {
  background: #020205;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.shell-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shell-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.shell-header .title-tab {
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  color: var(--text-muted);
  margin-left: 1rem;
}

.shell-body {
  padding: 4rem 3rem;
}

.bar-chart-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 250px;
  gap: 2rem;
}

.chart-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.chart-bar {
  width: 100%;
  height: 0%;
  background: linear-gradient(0deg, var(--secondary), var(--primary));
  border-radius: 4px 4px 0 0;
  transition: height 1.5s var(--transition-smooth);
  box-shadow: 0 0 15px var(--primary-glow);
}

.chart-column span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Section 6: Process Lifecycle Sequence */
.process-section {
  padding: 8rem 0;
  background: radial-gradient(
    circle at center,
    rgba(127, 0, 255, 0.05) 0%,
    transparent 70%
  );
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.process-step {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 4px;
  position: relative;
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.process-step h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section 7: Campaign Goal Matcher Dynamic Card */
.matcher-section {
  padding: 8rem 0;
}

.matcher-shell {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

.matcher-steps {
  margin-top: 3rem;
  min-height: 250px;
}

.matcher-step {
  display: none;
}

.matcher-step.active {
  display: block;
}

.matcher-step h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.matcher-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.option-card:hover {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.03);
}

.matcher-results {
  text-align: center;
}

.rec-badge {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #000;
  font-weight: 800;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.rec-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.matcher-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.matcher-progress {
  height: 4px;
  width: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease-out;
}

/* Section 8: Before & After Split Slider */
.before-after-section {
  padding: 8rem 0;
}

.comparison-container {
  width: 100%;
  max-width: 1000px;
  height: 500px;
  margin: 4rem auto 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-before,
.comparison-after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.comparison-before img,
.comparison-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-before {
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.label {
  position: absolute;
  bottom: 2rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.before-label {
  left: 2rem;
  color: var(--accent);
}

.after-label {
  right: 2rem;
  color: var(--primary);
}

.slider-handle {
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: var(--primary);
  left: 50%;
  top: 0;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-line {
  width: 100%;
  height: 100%;
}

.slider-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  border: 2px solid var(--primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
}

/* Section 9: ROI Calculator */
.roi-section {
  padding: 8rem 0;
}

.roi-shell {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.roi-input-side {
  padding: 4rem 3rem;
}

.roi-results-side {
  padding: 4rem 3rem;
  background: rgba(255, 255, 255, 0.01);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-group {
  margin-top: 3rem;
}

.calc-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

input[type="range"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 10px;
  appearance: none;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
}

.range-vals {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.high-val {
  color: var(--primary);
  font-weight: 700;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.result-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 4px;
}

.glow-box {
  border-color: var(--primary);
  box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.05);
}

.res-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.res-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.roi-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Section 10: Testimonial Deck Slider System */
.testimonials-section {
  padding: 8rem 0;
  overflow: hidden;
}

.testimonial-deck-container {
  max-width: 800px;
  margin: 4rem auto 0;
}

.testimonial-deck {
  position: relative;
  height: 350px;
}

.deck-card {
  position: absolute;
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  pointer-events: none;
  transition:
    transform 0.6s var(--transition-spring),
    opacity 0.6s;
}

.deck-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 10;
}

.deck-card.prev {
  opacity: 0.5;
  transform: translateY(-20px) scale(0.95);
  z-index: 5;
}

.deck-card.next {
  opacity: 0.5;
  transform: translateY(20px) scale(0.95);
  z-index: 5;
}

.card-quote {
  font-size: 1.3rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
}

.card-author {
  display: flex;
  flex-direction: column;
}

.card-author strong {
  font-size: 1.1rem;
  color: var(--primary);
}

.card-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.deck-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.deck-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.deck-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Section 11: 3D Vortex Dynamic CTA Background */
.cta-section {
  padding: 12rem 0;
  position: relative;
  overflow: hidden;
}

.vortex-background {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(127, 0, 255, 0.15) 0%,
      transparent 80%
    ),
    linear-gradient(45deg, #07070d 0%, #0c0024 100%);
  z-index: 0;
}

.position-relative {
  position: relative;
  z-index: 1;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.glow-tag {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* AI Chat Widget */
.chat-widget-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 25px var(--primary-glow);
  position: relative;
}

.chat-pulse {
  position: absolute;
  inset: -5px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  animation: ping 2s infinite ease-out;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 480px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: all 0.4s var(--transition-spring);
}

.chat-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-panel-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.online-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.panel-branding h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.panel-branding span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.panel-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.chat-panel-messages {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  max-width: 80%;
  padding: 0.85rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.chat-msg.bot {
  background: rgba(255, 255, 255, 0.03);
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--primary-glow);
  align-self: flex-end;
  color: var(--primary);
}

.chat-panel-options {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-opt {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem;
  border-radius: 4px;
  font-family: var(--font-family);
  font-size: 0.8rem;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-opt:hover {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.02);
}

/* Footer Section Grid */
.footer {
  background: var(--bg-panel);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 1rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--text-main);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-info i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Custom Contact Form layout */
.contact-page-section {
  padding: 8rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  margin-top: 4rem;
}

.contact-info-block {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 3rem;
  border-radius: 4px;
}

.contact-info-block h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info-block p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-methods {
  list-style: none;
}

.contact-methods li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-methods i {
  font-size: 1.5rem;
  color: var(--primary);
}

.contact-methods h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-methods span,
.contact-methods a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem;
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 4px;
  font-family: var(--font-family);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Submission Popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 13, 0.95);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.popup:target {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 3rem;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.popup-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.popup-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.popup-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Page Content Subpages */
.page-content {
  padding: 8rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.content-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.content-wrapper ul {
  list-style: square;
  margin-left: 2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* Animations */
.animate-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    transform 0.8s var(--transition-smooth),
    opacity 0.8s;
}

.animate-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .roi-shell {
    grid-template-columns: 1fr;
  }
  .roi-results-side {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2rem;
  }
}
