/* ==========================================================================
   MASTER STYLESHEET - Marketingsense Koch
   ========================================================================== */

:root {
  --bg-primary: #08080c;
  --bg-secondary: #0f0f15;
  --bg-tertiary: #161622;
  --accent-primary: #00f2fe;
  --accent-secondary: #7f00ff;
  --accent-glow: rgba(0, 242, 254, 0.15);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --glass-bg: rgba(15, 15, 21, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-heading: "Poppins", sans-serif;
  --font-body: "Roboto", sans-serif;
  --spring-ease: cubic-bezier(0.43, 0.13, 0.23, 0.96);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   ATMOSPHERE & DEPTH
   ========================================================================== */

/* Cursor Spotlight */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-primary);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(0, 242, 254, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

/* Dynamic Aurora / Nebula Background */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(127, 0, 255, 0.12) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(0, 242, 254, 0.12) 0%,
      transparent 40%
    );
  pointer-events: none;
}

/* Static Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}

/* Sound Indicator */
.sound-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  margin-right: 1.5rem;
}

.sound-btn {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.sound-btn:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-glow);
  color: var(--accent-primary);
}

/* Cinematic Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}

.loader-logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top: 2px solid var(--accent-primary);
  border-right: 2px solid var(--accent-secondary);
  border-radius: 50%;
  animation: rotate 1.5s linear infinite;
}

.loader-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: auto;
}

.loader-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transition: width 0.1s linear;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   HEADER & FOOTER (IDENTICAL ACCROSS ALL PAGES)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.3s;
}

.header-container {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    color 0.3s,
    text-shadow 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 8px var(--accent-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
}

.nav-toggle,
.nav-close {
  display: none;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 242, 254, 0.05);
  transform: translateY(-2px);
}

/* Footer Structuring */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-primary),
    var(--accent-secondary),
    transparent
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-about-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--accent-glow);
}

.footer-col-title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition:
    color 0.3s,
    padding-left 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-secondary);
}

.footer-contact ul li i {
  color: var(--accent-primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   HOMEPAGE (MINIMUM 10 CINEMATIC SECTIONS)
   ========================================================================== */

.section-padding {
  padding: 8rem 0;
  position: relative;
}

/* Shared Section Title Design */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* 1. Immersive 3D Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  perspective: 1200px;
  overflow: hidden;
  padding-top: 120px;
}

.hero-perspective {
  width: 100%;
  transform-style: preserve-3d;
}

.perspective-grid {
  position: absolute;
  bottom: -10%;
  left: 50%;
  width: 200%;
  height: 60%;
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: translateX(-50%) rotateX(75deg);
  z-index: -2;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  pointer-events: none;
  animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1000px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  transform-style: preserve-3d;
}

/* Extruded Headline */
.extruded-headline {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transform: translateZ(50px);
  text-shadow:
    1px 1px 0px #00a4ad,
    2px 2px 0px #00878f,
    3px 3px 0px #006b72,
    4px 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  transform: translateZ(30px);
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  transform: translateZ(20px);
}

/* 3D Generative Canvas Element */
.hero-scene-3d {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#generative-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* 2. Results Ticker */
.ticker-section {
  background-color: var(--bg-secondary);
  border-y: 1px solid var(--glass-border);
  overflow: hidden;
  padding: 2.5rem 0;
}

.ticker-wrap {
  display: flex;
  width: 100%;
}

.ticker-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker-slide 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.ticker-item i {
  color: var(--accent-primary);
  font-size: 1.5rem;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* 3. Services (With 3D Flips & Orbit) */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card-3d {
  perspective: 1000px;
  height: 400px;
  cursor: pointer;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--spring-ease);
  transform-style: preserve-3d;
}

.service-card-3d:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--glass-border);
}

.service-card-front {
  background: var(--bg-tertiary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.service-card-front h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card-front p {
  color: var(--text-secondary);
}

.service-card-back {
  background: linear-gradient(
    135deg,
    var(--bg-tertiary) 0%,
    var(--bg-primary) 100%
  );
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-card-back p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* 4. Industry-Specific (With Dynamic Filtering) */
.industry-filter-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: 0 0 15px var(--accent-glow);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.industry-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  transition: all 0.5s var(--spring-ease);
}

.industry-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-secondary);
}

.industry-icon {
  font-size: 2.5rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
}

.industry-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.industry-card p {
  color: var(--text-secondary);
}

/* 5. KPI Dashboard */
.kpi-section {
  background-color: var(--bg-secondary);
}

.dashboard-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.dashboard-visual {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.chart-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 300px;
  margin-bottom: 2rem;
}

.chart-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.chart-bar {
  width: 60px;
  height: 0;
  background: linear-gradient(
    to top,
    var(--accent-secondary),
    var(--accent-primary)
  );
  border-radius: 10px 10px 0 0;
  position: relative;
  transition: height 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chart-bar::after {
  content: attr(data-val);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  color: var(--accent-primary);
}

.kpi-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.kpi-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
}

.kpi-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

/* 6. Campaign Goal Matcher */
.matcher-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 4rem;
  border-radius: 24px;
  position: relative;
}

.matcher-step {
  display: none;
}

.matcher-step.active {
  display: block;
  animation: step-fade 0.5s ease;
}

@keyframes step-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.matcher-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.option-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 1.5rem;
  border-radius: 15px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s;
  text-align: left;
}

.option-btn:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 242, 254, 0.05);
}

.recommendation-card {
  background: linear-gradient(
    135deg,
    rgba(127, 0, 255, 0.2) 0%,
    rgba(0, 242, 254, 0.2) 100%
  );
  border: 1px solid var(--accent-primary);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
}

/* 7. Before & After Results */
.slider-container {
  max-width: 900px;
  margin: 0 auto;
  height: 500px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-before {
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=80");
}

.slide-after {
  background-image: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1200&q=80");
  width: 50%;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--accent-primary);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px var(--accent-primary);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
}

/* 8. Process Section (Morphing Road Map) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  z-index: -1;
}

.process-step {
  text-align: center;
}

.process-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin: 0 auto 2rem;
  transition: all 0.5s var(--spring-ease);
}

.process-step:hover .process-badge {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px var(--accent-glow);
}

.process-step h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-secondary);
}

/* 9. ROI Calculator */
.roi-section {
  background-color: var(--bg-secondary);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.roi-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 4rem;
  border-radius: 24px;
}

.roi-group {
  margin-bottom: 2.5rem;
}

.roi-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.roi-range {
  width: 100%;
  -webkit-appearance: none;
  background: var(--bg-secondary);
  height: 6px;
  border-radius: 3px;
  outline: none;
}

.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-primary);
}

.roi-visual {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 4rem;
  border-radius: 24px;
  text-align: center;
}

.roi-result-num {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  line-height: 1;
}

/* 10. Testimonials (3D Card Deck) */
.testimonial-deck {
  height: 450px;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-card-3d {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.6s var(--spring-ease),
    opacity 0.6s;
  cursor: grab;
}

.testimonial-card-3d:active {
  cursor: grabbing;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
}

.testimonial-author h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.testimonial-author p {
  color: var(--text-secondary);
}

/* ==========================================================================
   AI CHAT WIDGET
   ========================================================================== */

#chat-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border: none;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.5rem;
  box-shadow: 0 5px 25px rgba(0, 242, 254, 0.4);
  transition: transform 0.3s;
}

#chat-trigger:hover {
  transform: scale(1.1);
}

.chat-widget {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 380px;
  height: 500px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0) translateY(100px);
  opacity: 0;
  transform-origin: bottom right;
  transition: all 0.5s var(--spring-ease);
}

.chat-widget.active {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.chat-header {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-body {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  max-width: 80%;
  padding: 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

.chat-message.bot {
  background: var(--bg-secondary);
  align-self: flex-start;
}

.chat-message.user {
  background: var(--accent-secondary);
  color: #fff;
  align-self: flex-end;
}

.chat-choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.chat-choice-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.chat-choice-btn:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 242, 254, 0.05);
}

/* ==========================================================================
   PAGES SPECIFICS
   ========================================================================== */

.page-header-section {
  padding: 12rem 0 6rem;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.page-header-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
}

.breadcrumbs {
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

.breadcrumbs a {
  color: var(--accent-primary);
  text-decoration: none;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 3rem 0 1.5rem;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Contact Page Design */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 4rem;
  border-radius: 24px;
}

.contact-info-panel h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-panel p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-details-list {
  list-style: none;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-details-list li i {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-details-list li h4 {
  font-family: var(--font-heading);
  margin-bottom: 0.3rem;
}

.contact-details-list li p,
.contact-details-list li a {
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-form-wrapper {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 4rem;
  border-radius: 24px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form .form-group {
  margin-bottom: 2rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-primary);
}

.btn-full {
  width: 100%;
}

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 4rem;
  border-radius: 24px;
  max-width: 500px;
  text-align: center;
}

.popup-icon {
  font-size: 4rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.popup h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.popup p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (320px - 1440px)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .dashboard-wrapper,
  .roi-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-container,
  .industry-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .extruded-headline {
    font-size: 3rem;
  }

  .services-container,
  .industry-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    transition: right 0.5s var(--spring-ease);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .nav-toggle,
  .nav-close {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
  }

  .nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }

  .extruded-headline {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
