/* 
==========================================================================
   AWWARDS-LEVEL DIGITAL MARKETING AGENCY STYLES
   PURE CSS - NO FRAMEWORKS
========================================================================== 
*/

:root {
  /* Colors */
  --bg-dark: #050505;
  --bg-card: rgba(25, 25, 25, 0.6);
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --accent: #4d00ff; /* Electric Purple */
  --accent-glow: rgba(77, 0, 255, 0.5);
  --accent-secondary: #00ffcc; /* Neon Cyan */
  --border-color: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-head: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Layout */
  --container-width: 1300px;
  --section-pad: 120px;

  /* Transitions */
  --trans-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --trans-slow: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Custom Cursor enabled */
}

/* ==========================================================================
   GLOBAL UTILITIES & TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.huge-title {
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.section-eyebrow {
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.highlight {
  color: var(--accent-secondary);
  font-style: italic;
  position: relative;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 700px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: var(--section-pad) 0;
}

.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mb-5 {
  margin-bottom: 3rem;
}
.w-100 {
  width: 100%;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.pt-0 {
  padding-top: 0;
}
.pt-150 {
  padding-top: 150px;
}
.max-w-m {
  max-width: 800px;
}
.max-w-lg {
  max-width: 1000px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Custom Cursor */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s,
    height 0.3s,
    background-color 0.3s,
    border-color 0.3s;
}
body:hover .cursor-dot {
  opacity: 1;
}
/* Hover states for cursor */
.cursor-hover .cursor-outline {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.04;
  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)'/%3E%3C/svg%3E");
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  cursor: none;
  border: none;
  transition: var(--trans-fast);
}

.btn-primary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary .btn-fill {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: var(--trans-fast);
  z-index: 0;
  border-radius: 50%;
}

.btn-primary:hover .btn-fill {
  top: 0;
  border-radius: 0;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-large {
  padding: 1.5rem 3.5rem;
  font-size: 1.3rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--bg-dark);
}

/* ==========================================================================
   HEADER & NAVIGATION (STRICTLY IDENTICAL STRUCTURE STYLING)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--trans-fast);
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo img {
  height: 40px;
  filter: brightness(0) invert(1); /* Forces white logo */
}

.main-navigation .nav-list {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.nav-link .link-text {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-link::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--accent-secondary);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-link:hover .link-text {
  transform: translateY(-100%);
}
.nav-link:hover::after {
  transform: translateY(-100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1002;
}

.menu-toggle .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  left: 0;
  transition: var(--trans-fast);
}

.menu-toggle .line-1 {
  top: 30%;
}
.menu-toggle .line-2 {
  top: 70%;
}

.menu-toggle.active .line-1 {
  top: 50%;
  transform: rotate(45deg);
}
.menu-toggle.active .line-2 {
  top: 50%;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-menu-overlay.active {
  clip-path: circle(150% at 100% 0%);
}

.mobile-nav-list {
  text-align: center;
}

.mobile-nav-list li {
  margin-bottom: 2rem;
}
.mobile-nav-list a {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  transition: var(--trans-fast);
}
.mobile-nav-list a:hover {
  color: var(--accent-secondary);
  -webkit-text-stroke: 0px;
}

.mobile-contact {
  margin-top: 3rem;
  text-align: center;
  color: var(--text-muted);
}

/* ==========================================================================
   HERO SECTION (INDEX)
   ========================================================================== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -20%;
  left: -10%;
  animation: floatOrb 10s infinite alternate;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -10%;
  right: 10%;
  animation: floatOrb 15s infinite alternate-reverse;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.line-wrap {
  display: block;
  overflow: hidden;
}

.line-inner {
  display: block;
  transform: translateY(100%);
  animation: textReveal 1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.line-wrap:nth-child(1) .line-inner {
  animation-delay: 0.5s;
}
.line-wrap:nth-child(2) .line-inner {
  animation-delay: 0.6s;
}
.line-wrap:nth-child(3) .line-inner {
  animation-delay: 0.7s;
}

@keyframes textReveal {
  to {
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.visual-card-1 {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 250px;
  padding: 1.5rem;
  z-index: 2;
}

.visual-card-2 {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 280px;
  padding: 1.5rem;
  z-index: 1;
}

.card-header {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-header i {
  color: var(--accent-secondary);
}
.stat-number {
  font-size: 3rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.stat-graph {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 60px;
}
.stat-graph .bar {
  width: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px 4px 0 0;
}
.bar.h-20 {
  height: 20%;
}
.bar.h-40 {
  height: 40%;
}
.bar.h-70 {
  height: 70%;
  background: var(--accent);
}
.bar.h-100 {
  height: 100%;
  background: var(--accent-secondary);
}

.float-anim {
  animation: floatBox 6s ease-in-out infinite;
}
.float-anim-reverse {
  animation: floatBox 8s ease-in-out infinite reverse;
}

@keyframes floatBox {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  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: 20px;
    opacity: 0;
  }
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */
.marquee-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #000;
  overflow: hidden;
}

.marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-container.speed-fast .marquee-track {
  animation-duration: 10s;
}

.marquee-item {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.marquee-item .dot {
  color: var(--accent-secondary);
  font-size: 1rem;
  margin-left: 2rem;
  -webkit-text-stroke: 0;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-list {
  margin-top: 2rem;
}
.feature-list li {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
}
.feature-list i {
  color: var(--accent-secondary);
  background: rgba(0, 255, 204, 0.1);
  padding: 8px;
  border-radius: 50%;
  font-size: 0.9rem;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.5s;
}

.image-wrapper:hover img {
  filter: grayscale(0%) contrast(1.1);
}

.shape-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: var(--accent);
  filter: blur(80px);
  z-index: -1;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.dark-bg {
  background-color: #030303;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: 20px;
  transition: var(--trans-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(77, 0, 255, 0.2),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-secondary);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: #fff;
  position: relative;
  z-index: 1;
}
.service-link i {
  transition: transform 0.3s;
}
.service-card:hover .service-link i {
  transform: translateX(5px);
  color: var(--accent-secondary);
}

/* ==========================================================================
   REPORTS / DATA VIZ SECTION
   ========================================================================== */
.reports-flex {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.reports-content {
  flex: 1;
}
.reports-visual {
  flex: 1;
  width: 100%;
}

.chart-container {
  padding: 2.5rem;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}
.badge {
  background: rgba(0, 255, 204, 0.2);
  color: var(--accent-secondary);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.bar-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 250px;
}

.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 15%;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px 5px 0 0;
  height: 0; /* Animated via JS */
  transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
}

.highlight-bar {
  background: linear-gradient(0deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calc-wrapper {
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.calc-wrapper::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: var(--accent);
  filter: blur(150px);
  opacity: 0.2;
  z-index: 0;
}

.calc-header {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.input-group {
  margin-bottom: 2.5rem;
  position: relative;
}
.input-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.input-group label span {
  color: var(--accent-secondary);
}

.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
}
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent-secondary);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

.result-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.revenue-number {
  font-size: 4rem;
  font-family: var(--font-head);
  font-weight: 800;
  margin: 1rem 0;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.industry-item {
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: 15px;
  transition: var(--trans-fast);
}

.industry-item:hover {
  background: #fff;
  color: #000;
}

.industry-item i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: var(--trans-fast);
}
.industry-item:hover i {
  color: var(--accent);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.test-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.test-card:nth-child(2) {
  transform: translateY(30px);
}

.rating {
  color: #ffd700;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.quote {
  color: #fff;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.avatar {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.client-info h5 {
  margin-bottom: 2px;
}
.client-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Client Logos */
.client-logo {
  color: rgba(255, 255, 255, 0.4);
  font-size: 2.5rem;
  margin: 0 3rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-box {
  background: #111;
  border: 1px solid var(--border-color);
  padding: 6rem 2rem;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(77, 0, 255, 0.4) 0%,
    transparent 70%
  );
  z-index: 0;
}
.cta-box > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FOOTER (STRICTLY IDENTICAL)
   ========================================================================== */
.site-footer {
  background: #000;
  padding-top: 6rem;
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}
.footer-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 15px;
}
.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-menu li {
  margin-bottom: 1rem;
}
.hover-underline {
  position: relative;
  color: var(--text-muted);
  transition: color 0.3s;
}
.hover-underline::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: var(--accent-secondary);
  transition: width 0.3s;
}
.hover-underline:hover {
  color: #fff;
}
.hover-underline:hover::after {
  width: 100%;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}
.footer-contact-info i {
  margin-top: 5px;
  color: var(--accent-secondary);
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-to-top {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: var(--trans-fast);
}
.scroll-to-top:hover {
  background: #fff;
  color: #000;
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.page-hero {
  padding-top: 8rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  padding: 3rem;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.icon-circle {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 1.2rem;
}

.custom-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.input-group {
  position: relative;
}
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.input-group label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--text-muted);
  transition: 0.3s ease;
  pointer-events: none;
}

.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-secondary);
  transition: 0.4s ease;
}

.input-group input:focus ~ .focus-border,
.input-group textarea:focus ~ .focus-border,
.input-group input:not(:placeholder-shown) ~ .focus-border,
.input-group textarea:not(:placeholder-shown) ~ .focus-border {
  width: 100%;
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -15px;
  font-size: 0.8rem;
  color: var(--accent-secondary);
}

.input-group select option {
  background: var(--bg-dark);
}

/* Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.success-popup:target {
  opacity: 1;
  visibility: visible;
}
.popup-inner {
  padding: 4rem;
  text-align: center;
  max-width: 500px;
  position: relative;
  transform: translateY(50px);
  transition: 0.4s;
}
.success-popup:target .popup-inner {
  transform: translateY(0);
}
.success-icon {
  font-size: 4rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
}
.close-popup {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: #fff;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-content h2 {
  margin-top: 3rem;
  font-size: 1.8rem;
}
.legal-content p {
  margin-bottom: 1.5rem;
  color: #ccc;
}
.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1.5rem;
  color: #ccc;
}
.legal-content ul li {
  margin-bottom: 10px;
}

/* Mock Live Chat */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #fff;
  cursor: none;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(77, 0, 255, 0.4);
  transition: transform 0.3s;
}
.chat-widget:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   ANIMATION CLASSES & PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader.hidden {
  transform: translateY(-100%);
}
.preloader-text {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 5px;
  margin-bottom: 20px;
}
.preloader-text span {
  animation: pulse 1s infinite alternate;
}
.preloader-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.progress-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.progress-bar {
  width: 0;
  height: 100%;
  background: #fff;
  transition: width 2s cubic-bezier(0.76, 0, 0.24, 1);
}

@keyframes pulse {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.fade-in {
  opacity: 0;
  transition: 1.5s ease;
}
.in-view {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 4.5rem;
  }
  .about-grid,
  .contact-grid,
  .calc-grid {
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .main-navigation {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }
  .hero-visual {
    display: none;
  }

  .about-grid,
  .reports-flex,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }
  .huge-title {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.5rem;
  }

  .services-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .custom-form .form-row {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    height: 150px;
  }
  .chart-container,
  .calc-wrapper,
  .contact-info,
  .test-card {
    padding: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-contact-info li {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .mobile-nav-list a {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .btn {
    padding: 1rem 1.5rem;
  }
}
