/* ==========================================================================
   MASTER STYLESHEET: Marketing-Services Plus / Marketing-Services Plus GMBH
   Premium Cyber-Tactical Digital Marketing Theme
   ========================================================================== */

/* --- ROOT VARIABLES --- */
:root {
  --bg-primary: #040209;
  --bg-secondary: #0a0616;
  --bg-tertiary: #110b24;
  --color-accent-cyan: #00f0ff;
  --color-accent-pink: #ff007f;
  --color-accent-purple: #8a2be2;
  --text-primary: #f5f3f7;
  --text-secondary: #a29db0;
  --text-muted: #625c70;
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Roboto Mono", monospace;
  --glass-border: rgba(0, 240, 255, 0.15);
  --glass-bg: rgba(10, 6, 22, 0.7);
  --spring-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --neon-glow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* --- RESET & BASIC STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: auto;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--spring-transition);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- SCROLL SYSTEM --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent-cyan);
  border-radius: 4px;
  box-shadow: inset 0 0 6px rgba(0, 240, 255, 0.5);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-accent-cyan),
    var(--color-accent-pink)
  );
  z-index: 10000;
  width: 0%;
}

/* --- CINEMATIC PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-content {
  text-align: center;
  width: 320px;
}

.loader-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  filter: invert(1) drop-shadow(0 0 10px var(--color-accent-cyan));
  animation: pulse 2s infinite ease-in-out;
}

.loader-text {
  font-family: var(--font-heading);
  color: var(--color-accent-cyan);
  font-size: 0.9rem;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  position: relative;
}

.loader-bar-container {
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--color-accent-cyan),
    var(--color-accent-pink)
  );
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--color-accent-cyan);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-accent-cyan);
  z-index: 999;
  cursor: pointer;
  box-shadow: var(--neon-glow);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--spring-transition);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 25px var(--color-accent-cyan);
}

/* --- GLOBAL GRADIENT SPOTLIGHT & TEXTURE --- */
.spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.08) 0%,
    rgba(255, 0, 127, 0.03) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  z-index: 9998;
}

/* --- HEADER / NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(4, 2, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-accent-cyan);
  text-shadow: var(--neon-glow);
}

.nav-logo img , .footer-logo img {
  height: 60px;
  filter: invert(1);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  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(--color-accent-cyan),
    var(--color-accent-pink)
  );
  transition: var(--spring-transition);
}

.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: 1.5rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--spring-transition);
}

/* --- PREMIUM GLITCH BUTTON --- */
.btn {
  position: relative;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  overflow: hidden;
  transition: var(--spring-transition);
}

.btn-primary-glitch {
  background: linear-gradient(
    90deg,
    var(--color-accent-cyan),
    var(--color-accent-pink)
  );
  border: 1px solid transparent;
  box-shadow: var(--neon-glow);
}

.btn-primary-glitch .text {
  position: relative;
  z-index: 2;
}

.btn-primary-glitch .glitch-layers {
  display: none;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 25px var(--color-accent-cyan),
    0 0 10px var(--color-accent-pink);
}

.btn:active {
  transform: translateY(1px);
}

/* --- 3D SCENE & PERSPECTIVE GRID HERO --- */
.hero-scene-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.perspective-grid-floor {
  position: absolute;
  width: 200%;
  height: 200%;
  top: 20%;
  left: -50%;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(75deg) translateY(-30%);
  animation: grid-flow 25s infinite linear;
  pointer-events: none;
  z-index: 1;
}

@keyframes grid-flow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1500px;
  }
}

.aurora-glow-1 {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.3) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(40px);
  animation: float 12s infinite ease-in-out;
  pointer-events: none;
}

.aurora-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.25) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(60px);
  animation: float 18s infinite ease-in-out reverse;
  pointer-events: none;
}

/* --- FLOATING 3D SHAPES --- */
.shape-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.floating-mesh {
  position: absolute;
  border: 1px solid var(--glass-border);
  background: rgba(0, 240, 255, 0.03);
  border-radius: 4px;
  width: 40px;
  height: 40px;
  animation: rotate3d 12s infinite linear;
}

.shape-1 {
  top: 25%;
  left: 10%;
  animation-duration: 15s;
}
.shape-2 {
  top: 65%;
  left: 85%;
  animation-duration: 20s;
  width: 60px;
  height: 60px;
}
.shape-3 {
  top: 15%;
  right: 15%;
  animation-duration: 10s;
}

@keyframes rotate3d {
  0% {
    transform: rotate3d(1, 1, 1, 0deg) translateY(0);
  }
  50% {
    transform: rotate3d(1, 1, 1, 180deg) translateY(-20px);
  }
  100% {
    transform: rotate3d(1, 1, 1, 360deg) translateY(0);
  }
}

/* --- HERO TEXT AND DEPTH SYSTEM --- */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
  transform-style: preserve-3d;
}

.hero-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-pink);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.hero-headline-3d {
  font-size: 4.5rem;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-primary);
  transform-style: preserve-3d;
  text-shadow:
    0 1px 0 #00d2df,
    0 2px 0 #00b5c1,
    0 3px 0 #0099a3,
    0 4px 0 #007c85,
    0 10px 20px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* --- INTERACTIVE STATS / ODOMETER TICKER --- */
.ticker-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

.ticker-wrap {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.ticker-items {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

.ticker-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: 4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ticker-item span {
  color: var(--color-accent-cyan);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- SECTION GENERAL STYLING --- */
.section-padding {
  padding: 8rem 0;
}

.section-header {
  margin-bottom: 5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-pink);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  text-transform: uppercase;
}

/* --- SERVICES CARD FLIP & ORBIT --- */
.services-section {
  position: relative;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* 3D Flip Card Architecture */
.service-card-scene {
  height: 420px;
  perspective: 1500px;
}

.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);
}

.service-card-scene:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
}

.service-card-front {
  background: var(--bg-secondary);
  justify-content: flex-start;
}

.service-card-back {
  background: var(--bg-tertiary);
  transform: rotateY(180deg);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-icon {
  font-size: 3rem;
  color: var(--color-accent-cyan);
  margin-bottom: 2rem;
  text-shadow: var(--neon-glow);
}

.service-card-front h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card-front p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card-back h3 {
  margin-bottom: 1.5rem;
  color: var(--color-accent-pink);
}

/* --- INDUSTRY SELECTOR SYSTEM --- */
.industry-filter-container {
  background: var(--bg-secondary);
  padding: 6rem 0;
  border-top: 1px solid var(--glass-border);
}

.filter-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--spring-transition);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
  box-shadow: var(--neon-glow);
}

.industry-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.industry-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 6px;
  transition: var(--spring-transition);
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-pink);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.2);
}

/* --- KPI DASHBOARD / METRICS SYSTEM --- */
.kpi-section {
  background: var(--bg-tertiary);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.kpi-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-accent-cyan),
    var(--color-accent-pink)
  );
}

.kpi-number-container {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-accent-cyan);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.kpi-label {
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

/* --- MORPHING SVG PROCESS SECTION --- */
.process-section {
  background: var(--bg-primary);
}

.process-steps-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.process-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 3rem 2rem;
  position: relative;
}

.process-step-num {
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0, 240, 255, 0.08);
}

/* --- BEFORE / AFTER DRAG-SLIDER --- */
.results-section {
  background: var(--bg-secondary);
}

.slider-container {
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--glass-border);
}

.before-img,
.after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-img img,
.after-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-img {
  z-index: 1;
}

.after-img {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.drag-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--color-accent-cyan);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.drag-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border: 2px solid var(--color-accent-cyan);
  border-radius: 50%;
  color: var(--color-accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--neon-glow);
  pointer-events: none;
}

/* --- 3D TESTIMONIAL CARD DECK --- */
.testimonials-section {
  background: var(--bg-primary);
}

.deck-container {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}

.testimonial-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--spring-transition);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--color-accent-pink);
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.client-info h4 {
  color: var(--color-accent-cyan);
  margin-bottom: 0.25rem;
}

.client-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- ROI VISUALIZATION SYSTEM --- */
.roi-section {
  background: var(--bg-tertiary);
}

.roi-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 4rem;
}

.roi-slider-group {
  margin-bottom: 3rem;
}

.roi-label-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.roi-label-wrap span {
  font-family: var(--font-heading);
  font-weight: 700;
}

.roi-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  outline: none;
}

.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent-cyan);
  cursor: pointer;
  box-shadow: var(--neon-glow);
}

.roi-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
}

.roi-stat-box h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.roi-stat-box .roi-val {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--color-accent-pink);
}

/* --- CAMPAIGN GOAL MATCHER (QUIZ) --- */
.matcher-section {
  background: var(--bg-primary);
}

.matcher-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 4rem;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.quiz-step h3 {
  margin-bottom: 2rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-option {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--spring-transition);
  font-family: var(--font-heading);
}

.quiz-option:hover,
.quiz-option.selected {
  border-color: var(--color-accent-cyan);
  background: rgba(0, 240, 255, 0.05);
}

/* --- CONTACT SECTION & PAGE --- */
.contact-page-section {
  background: var(--bg-primary);
}

.contact-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--color-accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-accent-cyan);
  font-size: 1.2rem;
  box-shadow: var(--neon-glow);
}

.info-text h4 {
  margin-bottom: 0.5rem;
}

.info-text p,
.info-text a {
  color: var(--text-secondary);
}

.contact-form-block {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-cyan);
  box-shadow: var(--neon-glow);
}

/* --- LEGAL CONTENT --- */
.legal-content {
  background: var(--bg-primary);
}

.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.legal-content-wrapper p {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.legal-content-wrapper h2 {
  color: var(--text-primary);
  margin: 3rem 0 1.5rem;
}

.legal-content-wrapper ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.legal-content-wrapper li {
  margin-bottom: 0.75rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 3rem;
  position: relative;
  z-index: 10;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about p {
  color: var(--text-secondary);
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--spring-transition);
}

.footer-social a:hover {
  color: var(--color-accent-cyan);
  border-color: var(--color-accent-cyan);
  box-shadow: var(--neon-glow);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent-cyan);
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--color-accent-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--bg-tertiary);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.separator {
  color: var(--text-muted);
}

/* --- AI CHAT WIDGET --- */
.ai-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
}

.chat-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--color-accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-accent-cyan);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--neon-glow);
  transition: var(--spring-transition);
}

.chat-box {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 320px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-accent-cyan);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
}

.chat-header {
  background: var(--bg-tertiary);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.chat-body {
  padding: 1rem;
  height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.msg-ai {
  background: var(--bg-tertiary);
  align-self: flex-start;
}

.msg-user {
  background: var(--color-accent-cyan);
  color: var(--bg-primary);
  align-self: flex-end;
}

.chat-options-box {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--glass-border);
}

.chat-opt-btn {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

/* --- POPUP / FORM SUCCESS --- */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 2, 9, 0.9);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: var(--bg-secondary);
  border: 1px solid var(--color-accent-cyan);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  max-width: 450px;
}

.popup-icon {
  font-size: 3rem;
  color: var(--color-accent-cyan);
  margin-bottom: 1.5rem;
}

/* --- RESPONSIVE ADAPTABILITY --- */
@media (max-width: 1024px) {
  .hero-headline-3d {
    font-size: 3.5rem;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-headline-3d {
    font-size: 2.75rem;
  }
  .contact-page-wrapper {
    grid-template-columns: 1fr;
  }
  .roi-output-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .hero-headline-3d {
    font-size: 2rem;
  }
  .btn {
    padding: 0.6rem 1.2rem;
  }
}

/* --- LEGAL PAGE SENSITIVE STRIPPING ACCENT --- */
body.legal-page .nav-menu,
body.legal-page .header-actions .btn,
body.legal-page .footer-links {
  pointer-events: none;
  opacity: 0.35;
}
