/* ==========================================================================
   AWWARDS-LEVEL PREMIUM DIGITAL MARKETING THEME
   Comprehensive Design System & Utility Classes
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. CSS Variables & Theme Configuration
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg-base: #050507;
  --color-bg-surface: #0a0a0e;
  --color-bg-glass: rgba(255, 255, 255, 0.02);
  --color-bg-glass-hover: rgba(255, 255, 255, 0.05);

  --color-text-primary: #ffffff;
  --color-text-secondary: #8a8a93;
  --color-text-muted: #55555c;

  --color-accent-primary: #00f0ff;
  --color-accent-secondary: #7000ff;
  --color-accent-tertiary: #ff0055;

  --color-border-subtle: rgba(255, 255, 255, 0.05);
  --color-border-light: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-primary: "Orbitron", sans-serif;
  --font-secondary: "Rajdhani", sans-serif;

  /* Spacing System */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  /* Transitions & Easing */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-expo);
  --transition-slow: 0.8s var(--ease-expo);

  /* Layout & Grid */
  --container-max-width: 1400px;
  --container-padding: 5vw;
  --header-height: 90px;

  /* Z-Index Layers */
  --z-negative: -1;
  --z-base: 1;
  --z-above: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-cursor: 9999;
}

/* --------------------------------------------------------------------------
   02. Modern Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important; /* Force custom cursor */
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-accent-secondary);
  color: var(--color-text-primary);
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* --------------------------------------------------------------------------
   03. Custom Cursor System
   -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: var(--z-cursor);
  pointer-events: none;
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-primary);
  transition:
    width 0.2s,
    height 0.2s;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-light);
  transition:
    width 0.3s var(--ease-spring),
    height 0.3s var(--ease-spring),
    background-color 0.3s,
    border-color 0.3s;
}

/* Cursor Hover States */
.cursor-hover .cursor-dot {
  width: 0;
  height: 0;
}

.cursor-hover .cursor-outline {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 240, 255, 0.1);
  border-color: var(--color-accent-primary);
  backdrop-filter: blur(2px);
}

/* --------------------------------------------------------------------------
   04. Typography & Headings
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  letter-spacing: 1px;
}

.heading-massive {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.9;
}

.heading-1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}
.heading-2 {
  font-size: clamp(2rem, 4vw, 4rem);
}
.heading-3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.heading-4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-accent-primary),
    var(--color-accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border-light);
  transition: var(--transition-base);
}

.text-stroke:hover {
  color: var(--color-text-primary);
  -webkit-text-stroke: 1px transparent;
}

.subtitle {
  font-family: var(--font-primary);
  color: var(--color-accent-primary);
  font-size: 0.875rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   05. Layout & Container Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.overflow-hidden {
  overflow: hidden;
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-sm {
  gap: var(--space-sm);
}
.gap-md {
  gap: var(--space-md);
}
.gap-lg {
  gap: var(--space-lg);
}

.grid {
  display: grid;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --------------------------------------------------------------------------
   06. Buttons & Interactions
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
  z-index: var(--z-base);
  border-radius: 2px;
}

.btn-primary {
  background: transparent;
  color: var(--color-accent-primary);
  border: 1px solid var(--color-accent-primary);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
  z-index: var(--z-negative);
}

.btn-primary:hover {
  color: var(--color-bg-base);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   07. Global Backgrounds & Canvas
   -------------------------------------------------------------------------- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-negative);
  pointer-events: none;
  opacity: 0.4;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  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.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* --------------------------------------------------------------------------
   08. Header / Navigation (Strict Adherence to Original Base)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  transition: var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition: padding var(--transition-base);
}

.header.scrolled .header-container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.logo-img {
  height: 48px;
  transition: var(--transition-base);
}

.logo-img:hover {
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-close {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 2rem;
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   09. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  max-width: 900px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

/* --------------------------------------------------------------------------
   10. Marquee Section
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
  transform: rotate(-1.5deg) scale(1.02);
  z-index: var(--z-above);
}

.marquee-inner {
  display: flex;
  width: 200%;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  padding: 0 2rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-item span {
  color: var(--color-text-primary);
  -webkit-text-stroke: 0;
}

.marquee-item i {
  color: var(--color-accent-primary);
  font-size: 1.5rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   11. Core Services Section (3D Glassmorphism)
   -------------------------------------------------------------------------- */
.services-section {
  background: var(--color-bg-base);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  perspective: 1500px;
}

.service-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  transform-style: preserve-3d;
  transition:
    transform 0.6s var(--ease-out),
    border-color 0.4s;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(0, 240, 255, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-accent-primary);
  margin-bottom: 2rem;
  transform: translateZ(40px); /* 3D effect */
  transition: transform 0.4s;
}

.service-card h3 {
  font-size: 1.5rem;
  transform: translateZ(30px);
}

.service-card p {
  color: var(--color-text-secondary);
  transform: translateZ(20px);
}

/* --------------------------------------------------------------------------
   12. ROI Calculator Section
   -------------------------------------------------------------------------- */
.calculator-section {
  background: linear-gradient(
    180deg,
    var(--color-bg-base) 0%,
    var(--color-bg-surface) 100%
  );
}

.calculator-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--color-border-light);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.range-slider {
  width: 100%;
  margin: 2.5rem 0;
  -webkit-appearance: none;
  height: 6px;
  background: var(--color-border-light);
  border-radius: 3px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  box-shadow: 0 0 15px var(--color-accent-primary);
  transition: transform 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-output {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  color: var(--color-accent-secondary);
  margin: 1rem 0;
  text-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}

/* --------------------------------------------------------------------------
   13. Campaign Reports / Data Visuals
   -------------------------------------------------------------------------- */
.reports-section {
  padding: var(--space-xl) 0;
}

.reports-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-box {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-base);
}

.stat-box:hover {
  background: var(--color-bg-glass-hover);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-primary);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   14. Form / Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-list i {
  font-size: 1.5rem;
  color: var(--color-accent-primary);
  background: rgba(0, 240, 255, 0.1);
  padding: 1rem;
  border-radius: 50%;
}

.contact-info-list h4 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-light);
  color: var(--color-text-primary);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--color-accent-primary);
  background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* --------------------------------------------------------------------------
   15. Footer (Strict Original Structure)
   -------------------------------------------------------------------------- */
.footer {
  background: #020202;
  border-top: 1px solid var(--color-border-subtle);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-about-text {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-subtle);
}

.social-links a:hover {
  background: var(--color-accent-primary);
  color: var(--color-bg-base);
  border-color: var(--color-accent-primary);
}

.footer-col-title {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-text-primary);
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-text-secondary);
  position: relative;
  padding-left: 0;
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-accent-primary);
  padding-left: 10px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--color-text-secondary);
}

.footer-contact i {
  color: var(--color-accent-primary);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   16. Legal Pages Styles
   -------------------------------------------------------------------------- */
.page-header-section {
  padding: 12rem 0 6rem;
  background: linear-gradient(
    180deg,
    rgba(112, 0, 255, 0.1) 0%,
    var(--color-bg-base) 100%
  );
  border-bottom: 1px solid var(--color-border-subtle);
}

.page-header-desc {
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 1rem auto;
}

.breadcrumbs {
  margin-top: 2rem;
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--color-accent-primary);
}

.breadcrumbs i {
  margin: 0 0.5rem;
  font-size: 0.75rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-bg-surface);
  padding: 4rem;
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
}

.legal-content h2 {
  color: var(--color-accent-primary);
  margin: 3rem 0 1.5rem;
  font-size: 1.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 0.5rem;
}

.legal-content p {
  margin-bottom: 1.5rem;
  color: #a0a0aa;
}

.legal-content strong {
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   17. Reveal Animations & Utility Classes
   -------------------------------------------------------------------------- */
.animate-in {
  opacity: 0;
  will-change: transform, opacity;
}

.animate-in[data-animation="fade-in-up"] {
  transform: translateY(50px);
}

.animate-in[data-animation="fade-in-left"] {
  transform: translateX(-50px);
}

.animate-in[data-animation="fade-in-right"] {
  transform: translateX(50px);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

/* --------------------------------------------------------------------------
   18. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: block;
    z-index: var(--z-fixed);
  }
  .header-actions .btn {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-base);
    z-index: var(--z-modal);
  }

  .nav-menu.active {
    right: 0;
  }
  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .nav-link {
    font-size: 1.5rem;
  }
  .nav-close {
    display: block;
  }

  .reports-container,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .calculator-wrapper {
    padding: 2rem;
  }
}
