/* ==========================================================================
   QODEA TECHNOLOGY — CORPORATE TECH / ENGINEERING THEME
   ========================================================================== */

:root {
  /* Color Palette (Cyber Dark) */
  --bg-primary: #050507;
  --bg-secondary: #0a0b10;
  --bg-panel: rgba(15, 16, 26, 0.6);

  --text-primary: #ffffff;
  --text-secondary: #8a8d9b;
  --text-muted: #565869;

  --accent-primary: #00f3ff; /* Neon Cyan */
  --accent-secondary: #7000ff; /* Deep Purple */
  --accent-glow: rgba(0, 243, 255, 0.3);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 243, 255, 0.5);

  /* Typography */
  --font-heading: "Syncopate", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Fluid Sizing */
  --container-width: 1400px;
  --section-pad: clamp(4rem, 10vw, 8rem);

  /* Easing */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: auto; /* Handled by smooth scroll JS */
  font-size: 16px;
}
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* Custom cursor */
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0;
}
p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}
.section-padding {
  padding: var(--section-pad) 0;
}
.text-center {
  text-align: center;
}

/* Utilities */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
}
.section-subtitle {
  display: block;
  font-family: var(--font-body);
  color: var(--accent-primary);
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ==========================================================================
   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: 6px;
  height: 6px;
  background: var(--accent-primary);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background 0.2s;
}
.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--accent-primary);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader-content {
  width: 300px;
  text-align: center;
}
.loader-logo img {
  width: 150px;
  margin: 0 auto 2rem;
  filter: brightness(0) invert(1);
}
.progress-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-primary);
}
.loading-text {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition:
    background 0.4s ease,
    padding 0.4s ease;
}
.header.scrolled {
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(15px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
}
.hover-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mega Menu Dropdown */
.has-dropdown {
  position: relative;
}
.has-dropdown i {
  font-size: 0.7rem;
  margin-left: 5px;
  transition: transform 0.3s;
}
.has-dropdown:hover i {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  width: 500px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
  pointer-events: auto;
}
.mega-menu-inner {
  display: flex;
  gap: 3rem;
}
.mega-col h4 {
  font-size: 0.8rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}
.mega-col ul li {
  margin-bottom: 1rem;
}
.mega-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
}
.mega-col ul li a:hover {
  color: var(--text-primary);
  padding-left: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.btn-primary span {
  position: relative;
  z-index: 2;
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:hover {
  color: var(--text-primary);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 243, 255, 0.05);
}

/* Hamburger Menu */
.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: none;
}
.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
  transform-origin: right;
}

/* ==========================================================================
   HERO SECTION (Index)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
#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;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  line-height: 1;
  margin-bottom: -10px;
}
.hero-desc {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  max-width: 500px;
  margin: 2rem 0;
}
.hero-btns {
  display: flex;
  gap: 1rem;
}

/* Abstract Visuals */
.hero-visual {
  position: relative;
  height: 600px;
}
.abstract-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: 10%;
  right: 10%;
  opacity: 0.3;
}
.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-secondary);
  bottom: 10%;
  left: 10%;
  opacity: 0.3;
}

.hero-stats {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, -55%);
  }
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat-row i {
  font-size: 2.5rem;
  color: var(--accent-primary);
}
.stat-num {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-primary);
  border-radius: 12px;
  position: relative;
}
.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 18px;
    opacity: 0;
  }
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 11, 16, 0.5);
  overflow: hidden;
}
.marquee-container {
  display: flex;
  width: max-content;
}
.marquee-track {
  display: flex;
  animation: scrollMarquee 30s linear infinite;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--text-muted);
  color: transparent;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover {
  color: var(--accent-primary);
  -webkit-text-stroke: 0;
}
.marquee-item i {
  font-size: 1rem;
  color: var(--accent-secondary);
}
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SERVICES (3D Cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  perspective: 1000px;
}
.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.3s;
}
.service-card:hover {
  border-color: rgba(0, 243, 255, 0.3);
}
.card-inner {
  transform: translateZ(30px);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-features {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}
.service-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent-primary);
  font-size: 0.7rem;
}
.card-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--accent-primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.service-card:hover .card-glow {
  opacity: 0.15;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.process-content p {
  max-width: 400px;
  margin-top: 1rem;
  font-size: 1.2rem;
}
.process-steps {
  position: relative;
  padding-left: 3rem;
}
.process-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}
.process-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    to bottom,
    var(--accent-primary),
    var(--accent-secondary)
  );
  id: progress-fill;
}
.step-item {
  position: relative;
  margin-bottom: 4rem;
}
.step-item:last-child {
  margin-bottom: 0;
}
.step-number {
  position: absolute;
  left: -4.5rem;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-secondary);
  z-index: 2;
  transition: all 0.3s;
}
.step-item.active .step-number {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}
.step-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* ==========================================================================
   INDUSTRIES GRID
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.industry-box {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  cursor: none;
}
.industry-box .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}
.industry-box:hover .bg-img {
  opacity: 0.4;
  filter: grayscale(0%);
  transform: scale(1.05);
}
.industry-box .content {
  position: relative;
  z-index: 1;
}
.industry-box i {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: block;
  transition: color 0.3s;
}
.industry-box:hover i {
  color: var(--accent-primary);
}
.industry-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.industry-box p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.industry-box:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   CALCULATOR UI
   ========================================================================== */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding: 4rem;
}
.slider-group {
  margin-bottom: 2.5rem;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 1px;
}
.slider-header span {
  color: var(--accent-primary);
  font-size: 1rem;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: none;
  margin-top: -10px;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
  border: 2px solid var(--accent-primary);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
input[type="range"]:focus {
  outline: none;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}
.result-box span {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}
.result-box h3 {
  font-size: 2.5rem;
}

/* ==========================================================================
   SAMPLE REPORTS (Data Viz)
   ========================================================================== */
.dashboard-mockup {
  padding: 0;
  overflow: hidden;
  margin-top: 3rem;
}
.dash-header {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.dash-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
  margin-right: 6px;
}
.dash-dots span:nth-child(2) {
  background: #ffbd2e;
}
.dash-dots span:nth-child(3) {
  background: #27c93f;
}
.dash-title {
  margin-left: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.dash-body {
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.chart-container h4 {
  margin-bottom: 2rem;
  font-size: 1rem;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 200px;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  position: relative;
}
.bar {
  flex: 1;
  background: linear-gradient(
    to top,
    rgba(0, 243, 255, 0.2),
    var(--accent-primary)
  );
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 1.5s var(--ease-out-expo);
  position: relative;
  cursor: none;
}
.bar::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.bar:hover::before {
  opacity: 1;
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.metric-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.metric-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: block;
}
.metric-card h4 {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pos {
  color: #27c93f;
  font-size: 1rem;
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testi-slider-container {
  margin-top: 4rem;
  overflow: hidden;
  position: relative;
}
.testi-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s var(--ease-out-expo);
  cursor: none;
}
.testi-card {
  min-width: 400px;
  padding: 3rem;
  border-radius: 24px;
  position: relative;
}
.quote-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 2rem;
  right: 2rem;
}
.testi-card p {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
}
.client-info h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.client-info span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.slider-controls {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: flex-end;
}
.slider-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
.slider-controls button:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5rem;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(15, 16, 26, 0.9),
    rgba(112, 0, 255, 0.1)
  );
  border-color: rgba(112, 0, 255, 0.3);
}
.cta-content h2 {
  margin-bottom: 1.5rem;
}
.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}
.cta-graphic {
  display: flex;
  justify-content: center;
}
.radar-scan {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 243, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.radar-scan::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    var(--accent-primary) 100%
  );
  transform-origin: 0 0;
  animation: radarScan 2s linear infinite;
}
@keyframes radarScan {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.page-header {
  padding: 200px 0 100px;
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(0, 243, 255, 0.05) 0%,
    transparent 50%
  );
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}
.contact-info {
  padding: 4rem 3rem;
}
.contact-info h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}
.info-block {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-primary);
  font-size: 1.2rem;
}
.info-text h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.info-text p,
.info-text a {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-form-container {
  padding: 4rem;
}
.cyber-form h3 {
  margin-bottom: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.input-group {
  position: relative;
  margin-bottom: 2.5rem;
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
  cursor: none;
}
.input-group textarea {
  resize: none;
}
.input-group label {
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  pointer-events: none;
  transition: 0.3s ease;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
}
.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
  top: -20px;
  color: var(--accent-primary);
  font-size: 0.6rem;
}
.input-group select {
  appearance: none;
  color: var(--text-secondary);
}
.input-group select:focus {
  color: var(--text-primary);
}
.input-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.w-100 {
  width: 100%;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page .page-header {
  padding: 150px 0 50px;
}
.text-content {
  padding: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.text-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--accent-primary);
}
.text-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.text-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.text-content ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.text-content strong {
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER (EXACT)
   ========================================================================== */
.footer {
  background: #020203;
  padding: 6rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 6rem;
  margin-bottom: 4rem;
}
.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}
.footer-brand p {
  font-size: 1rem;
  max-width: 400px;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
.social-links a:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-primary);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h3 {
  font-size: 0.9rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}
.footer-col ul li {
  margin-bottom: 1rem;
}
.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-col ul li a:hover {
  color: var(--text-primary);
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.contact-list i {
  margin-top: 4px;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.legal-links {
  display: flex;
  gap: 1.5rem;
}
.legal-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.legal-links a:hover {
  color: var(--text-primary);
}

/* Live Chat */
.live-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: none;
  transition: transform 0.3s;
}
.live-chat-btn:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries pad out CSS structure)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-desc {
    margin: 2rem auto;
  }
  .hero-visual {
    display: none;
  }
  .process-wrapper {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    padding: 3rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .nav-list {
    display: none; /* Mobile menu handles this */
  }
  .menu-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-body {
    grid-template-columns: 1fr;
  }
  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-group {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .testi-card {
    min-width: 100%;
    padding: 2rem;
  }
  .text-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .calc-results {
    grid-template-columns: 1fr;
  }
  .contact-info {
    padding: 2rem 1.5rem;
  }
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  .stat-num {
    font-size: 2rem;
  }
}

/* Mobile Menu Active State */
.nav-wrapper.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 990;
}
.nav-wrapper.active .nav-list {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 1.5rem;
  gap: 2rem;
}
.nav-wrapper.active .mega-menu {
  display: none;
}
.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  body,
  a,
  button,
  input,
  select,
  textarea,
  .industry-box,
  .testi-track,
  .bar {
    cursor: auto;
  }
}
