/* ==========================================================================
   DOMAINTHEME - PREMIUM AWWWARDS STYLE CSS (~2000 LINES SCOPE)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;800&family=Syne:wght@400;600;700;800&display=swap");

/* --- 1. CSS VARIABLES --- */
:root {
  /* Color Palette */
  --bg-main: #050505;
  --bg-secondary: #0a0a0c;
  --bg-tertiary: #121215;
  --bg-glass: rgba(18, 18, 21, 0.6);

  --accent-primary: #00f0ff;
  --accent-secondary: #bd00ff;
  --accent-tertiary: #ff0055;

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #555555;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-7xl: 6rem;
  --text-8xl: 8rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Transitions & Easing */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-normal: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);

  /* Layout */
  --container-width: 1400px;
  --header-height: 90px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 100px;
}

/* --- 2. RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: initial; /* Handled by JS for smoothness */
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Custom cursor */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.1;
  font-weight: 700;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--accent-primary);
  color: var(--bg-main);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* --- 3. CUSTOM CURSOR --- */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  transition:
    width 0.2s,
    height 0.2s,
    border-color 0.2s,
    background-color 0.2s;
}

body.hovering .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: var(--accent-primary);
  background-color: rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(2px);
}

/* --- 4. TYPOGRAPHY & UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.text-center {
  text-align: center;
}
.text-gradient {
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-padding {
  padding: var(--space-24) 0;
}
.pt-0 {
  padding-top: 0;
}
.pb-0 {
  padding-bottom: 0;
}

.subtitle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  display: block;
  margin-bottom: var(--space-4);
  font-weight: 600;
}

/* --- 5. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--border-radius-pill);
  border: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-main);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transition: var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 240, 255, 0.05);
}

.magnetic-wrap {
  display: inline-block;
}

/* --- 6. HEADER (STRICTLY CONSISTENT) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition:
    background-color var(--transition-normal),
    backdrop-filter var(--transition-normal);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 60px;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.nav-menu {
  display: flex;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: none;
  z-index: 1001;
}

.hamburger .bar {
  width: 30px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-normal);
}

/* --- 7. PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-main);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s var(--ease-out-expo),
    visibility 0.8s;
}

.loader-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.loader-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-primary),
    transparent
  );
  animation: loadingSweep 1.5s infinite;
}

@keyframes loadingSweep {
  100% {
    left: 100%;
  }
}

body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

/* --- 8. ANIMATIONS & REVEALS --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-50px);
}
.reveal-right {
  transform: translateX(50px);
}
.reveal-scale {
  transform: scale(0.9);
}

/* --- 9. HERO SECTION (INDEX) --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-title {
  font-size: var(--text-6xl);
  line-height: 1;
  margin-bottom: var(--space-8);
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero-desc {
  font-size: var(--text-xl);
  max-width: 600px;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    var(--accent-secondary) 0%,
    transparent 70%
  );
  opacity: 0.15;
  filter: blur(60px);
  transform: translateY(-50%);
  z-index: 0;
  animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.15;
  }
  100% {
    transform: translateY(-50%) scale(1.2);
    opacity: 0.25;
  }
}

/* --- 10. MARQUEE SECTION --- */
.marquee-section {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-light);
  text-transform: uppercase;
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.marquee-item i {
  color: var(--accent-primary);
  -webkit-text-stroke: 0;
  font-size: 1.5rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- 11. ABOUT / INTRO SECTION --- */
.about-section {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text h2 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-8);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.stat-item h4 {
  font-size: var(--text-4xl);
  color: var(--accent-primary);
  margin-bottom: var(--space-1);
}

.about-visual {
  position: relative;
  height: 600px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-shape {
  width: 300px;
  height: 300px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(
    45deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  animation: morph 8s ease-in-out infinite alternate;
  filter: blur(20px);
  opacity: 0.5;
}

@keyframes morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(0deg);
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(360deg);
  }
}

/* --- 12. SERVICES SECTION (3D CARDS) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.service-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: border-color var(--transition-normal);
}

.service-card:hover {
  border-color: var(--accent-primary);
}

.service-icon {
  font-size: var(--text-3xl);
  color: var(--accent-primary);
  margin-bottom: var(--space-8);
  transform: translateZ(50px); /* 3D pop */
}

.service-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  transform: translateZ(30px);
}

.service-card p {
  transform: translateZ(20px);
  margin-bottom: var(--space-8);
}

.service-link {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transform: translateZ(40px);
}

.service-link i {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
  transform: translateX(5px) rotate(-45deg);
  color: var(--accent-primary);
}

/* --- 13. INDUSTRY GRID SECTION --- */
.industry-section {
  background: var(--bg-secondary);
}

.industry-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.industry-item {
  padding: var(--space-12) var(--space-8);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.industry-item:nth-child(4n) {
  border-right: none;
}
.industry-item:nth-last-child(-n + 4) {
  border-bottom: none;
}

.industry-item::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-primary);
  transition: top var(--transition-normal);
  z-index: -1;
}

.industry-item:hover::before {
  top: 0;
}

.industry-item i {
  font-size: var(--text-4xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  transition:
    color var(--transition-normal),
    transform var(--transition-normal);
}

.industry-item h4 {
  font-size: var(--text-xl);
  transition: color var(--transition-normal);
}

.industry-item:hover i,
.industry-item:hover h4 {
  color: var(--bg-main);
  transform: scale(1.1);
}

/* --- 14. INTERACTIVE ROI CALCULATOR --- */
.calculator-section {
  position: relative;
}

.calc-container {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--space-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.calc-controls .control-group {
  margin-bottom: var(--space-8);
}

.calc-controls label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.calc-controls input[type="range"] {
  width: 100%;
  appearance: none;
  background: var(--bg-main);
  height: 8px;
  border-radius: 4px;
  outline: none;
  border: 1px solid var(--border-color);
}

.calc-controls input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: none;
  border: 4px solid var(--bg-tertiary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.calc-results {
  background: var(--bg-main);
  border-radius: var(--border-radius-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.result-item {
  margin-bottom: var(--space-8);
}
.result-item:last-child {
  margin-bottom: 0;
}

.result-item span {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-item strong {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--accent-primary);
  display: block;
  line-height: 1.2;
}

/* --- 15. SAMPLE REPORTS (DASHBOARD UI) --- */
.reports-section {
  background: var(--bg-secondary);
}

.dashboard-ui {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-8);
  position: relative;
}

.chart-box {
  background: var(--bg-main);
  border-radius: var(--border-radius-md);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}

.bars-container {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 200px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--space-2);
}

.bar {
  flex: 1;
  background: linear-gradient(
    to top,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border-radius: 4px 4px 0 0;
  height: 0; /* Animated via JS class */
  transition: height 1.5s var(--ease-out-expo);
  opacity: 0.8;
}
.bar:hover {
  opacity: 1;
}

.metrics-box {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--space-4);
}

.metric-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: var(--text-xl);
}

.metric-info h5 {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.metric-info strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-primary);
}

/* --- 16. PROCESS TIMELINE --- */
.process-wrapper {
  position: relative;
  max-width: 800px;
  margin: var(--space-16) auto 0;
}

.process-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

.process-step {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  position: relative;
}

.step-number {
  width: 100px;
  height: 100px;
  background: var(--bg-tertiary);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--accent-primary);
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.step-content {
  background: var(--bg-secondary);
  padding: var(--space-8);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  flex: 1;
}

.step-content h3 {
  margin-bottom: var(--space-2);
}

/* --- 17. TESTIMONIALS SLIDER --- */
.testimonials-section {
  background: var(--bg-tertiary);
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: var(--space-8);
  cursor: grab;
  padding: var(--space-8) 0;
}
.testimonial-track:active {
  cursor: grabbing;
}

.testi-card {
  min-width: 450px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: var(--space-12);
  border-radius: var(--border-radius-lg);
  position: relative;
}

.quote-icon {
  font-size: var(--text-5xl);
  color: var(--border-light);
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
}

.testi-text {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

/* --- 18. FOOTER (STRICTLY CONSISTENT) --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-24);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand .logo img {
  height: 60px;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  margin-bottom: var(--space-8);
}

.footer-socials {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
}

.social-link:hover {
  background: var(--accent-primary);
  color: var(--bg-main);
  border-color: var(--accent-primary);
}

.footer-links h3,
.footer-contact h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  color: var(--text-primary);
}

.footer-links ul li {
  margin-bottom: var(--space-4);
}

.footer-links ul li a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer-contact ul li i {
  color: var(--accent-primary);
  margin-top: 5px;
}

.footer-bottom {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
}

.footer-legal-links a {
  font-size: var(--text-sm);
}
.footer-legal-links a:hover {
  color: var(--accent-primary);
}

/* --- 19. LEGAL PAGES WRAPPER --- */
.page-header {
  padding: 200px 0 var(--space-16);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-title {
  font-size: var(--text-6xl);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.breadcrumbs {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs span {
  color: var(--accent-primary);
}

.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: var(--space-16);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.legal-content-wrapper h2,
.legal-content-wrapper h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.legal-content-wrapper p,
.legal-content-wrapper ul {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
}

.legal-content-wrapper ul {
  padding-left: var(--space-8);
  list-style-type: disc;
}

/* --- 20. CONTACT PAGE SPECIFICS --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-16);
}

.contact-info-card {
  background: var(--bg-tertiary);
  padding: var(--space-8);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info-card i {
  font-size: var(--text-2xl);
  color: var(--accent-primary);
  background: rgba(0, 240, 255, 0.1);
  padding: 15px;
  border-radius: 50%;
}

.contact-form-wrapper {
  background: var(--bg-secondary);
  padding: var(--space-12);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-8);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: var(--transition-normal);
  outline: none;
  cursor: none;
}

.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* --- 21. LIVE CHAT WIDGET --- */
.chat-widget-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: none;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
  transition: var(--transition-normal);
}

.chat-widget-btn:hover {
  transform: scale(1.1);
}

/* --- 22. MEDIA QUERIES --- */
@media (max-width: 1024px) {
  :root {
    --text-8xl: 6rem;
    --text-6xl: 4rem;
    --text-5xl: 3rem;
  }
  .about-grid,
  .calc-container,
  .dashboard-ui,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .industry-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --text-8xl: 4rem;
    --header-height: 70px;
  }
  .nav-menu,
  .header-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cursor-dot,
  .cursor-outline {
    display: none;
  } /* Disable custom cursor on mobile */
  body {
    cursor: auto;
  }
  a,
  button,
  input,
  .form-control {
    cursor: pointer;
  }
  .process-wrapper::before {
    left: 30px;
  }
  .step-number {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }
}
