/* ==========================================================================
   AWWARDS-LEVEL DIGITAL MARKETING AGENCY - PURE CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables & Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Premium Pastels & Dark Accents */
  --clr-bg: #f8f7fa;
  --clr-bg-alt: #ffffff;
  --clr-dark: #121217;
  --clr-dark-lighter: #1e1e26;
  --clr-text: #2d2d35;
  --clr-text-light: #6a6a75;

  /* Pastel Gradients */
  --grad-primary: linear-gradient(
    135deg,
    #ffd3e0 0%,
    #e0c3fc 50%,
    #8ec5fc 100%
  );
  --grad-text: linear-gradient(to right, #b485ff, #8ec5fc, #ff9eb5);
  --grad-glass: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  --grad-dark-glass: linear-gradient(
    145deg,
    rgba(30, 30, 38, 0.9) 0%,
    rgba(18, 18, 23, 0.9) 100%
  );

  /* Typography */
  --font-heading: "Syne", "Clash Display", "Poppins", sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", sans-serif;

  /* Spacing & Layout */
  --container-w: 1400px;
  --section-pad: clamp(4rem, 8vw, 10rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-pill: 100px;

  /* Transitions & Shadows */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.05);
  --shadow-hover: 0 20px 40px rgba(180, 133, 255, 0.15);

  /* Header Dimensions */
  --header-h: 90px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: initial; /* Handled by JS for smooth */
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Custom cursor */
}

::selection {
  background: #e0c3fc;
  color: var(--clr-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --------------------------------------------------------------------------
   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(--clr-dark);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-dark);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

body:hover .cursor-outline {
  background-color: rgba(224, 195, 252, 0.1);
}

a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(224, 195, 252, 0.3);
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-dark);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo img {
  height: 40px;
  margin-bottom: 20px;
  animation: pulse 2s infinite ease-in-out;
}

.loader-bar {
  width: 150px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--grad-primary);
  animation: loading 1.5s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   Typography Utilities
   -------------------------------------------------------------------------- */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(224, 195, 252, 0.2);
  border-radius: var(--radius-pill);
  color: #8a63d2;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn-primary {
  background: var(--clr-dark);
  color: #fff;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  color: var(--clr-dark);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Global Layout - Consistent Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(18, 18, 23, 0.85); /* Deep dark for contrast */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background: rgba(18, 18, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 50px;
  filter: invert(1);
  object-fit: contain;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 150%;
  left: 0;
  background: var(--clr-dark-lighter);
  min-width: 200px;
  border-radius: var(--radius-md);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-bounce);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-actions .btn-primary {
  background: #fff;
  color: var(--clr-dark);
  padding: 0.75rem 2rem;
}
.header-actions .btn-primary::before {
  background: var(--grad-primary);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: var(--transition-bounce);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  bottom: -8px;
}

.menu-toggle.active .hamburger {
  background: transparent;
}
.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Section 1: Hero (Index) - 3D & Glowing Elements
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* Animated Gradient Orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite alternate;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: #ffd3e0;
  top: -10%;
  left: -10%;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: #e0c3fc;
  bottom: -20%;
  right: -10%;
  animation-delay: -5s;
}
.orb-3 {
  width: 400px;
  height: 400px;
  background: #8ec5fc;
  top: 30%;
  left: 40%;
  animation-duration: 25s;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-title span {
  display: block;
}

.hero-desc {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--clr-text-light);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.play-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
}

.play-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--clr-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
}
.play-btn:hover .play-icon {
  background: var(--clr-dark);
  color: #fff;
  transform: scale(1.1);
}

/* 3D Floating Asset */
.hero-asset {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  perspective: 1000px;
}

.glass-panel {
  background: var(--grad-glass);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  animation: tiltFloat 6s infinite ease-in-out;
}

.glass-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.metric-bar {
  height: 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}
.metric-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--grad-primary);
  border-radius: 6px;
}
.metric-bar.w-80::after {
  width: 80%;
}
.metric-bar.w-60::after {
  width: 60%;
}
.metric-bar.w-90::after {
  width: 90%;
}

/* --------------------------------------------------------------------------
   Section 2: Marquee Clients
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}
.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.marquee-inner {
  display: flex;
  width: 200%;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text-light);
  text-transform: uppercase;
  padding: 0 2rem;
  opacity: 0.5;
  transition: var(--transition-smooth);
}
.marquee-item:hover {
  opacity: 1;
  color: var(--clr-dark);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Section 3: About / Manifesto
   -------------------------------------------------------------------------- */
.about-section {
  padding: var(--section-pad) 0;
  background: var(--clr-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  color: #fff;
}
.about-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.stat-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-num {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #e0c3fc;
}
.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Section 4: Services (3D Tilt Cards)
   -------------------------------------------------------------------------- */
.services-section {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--clr-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  perspective: 1200px;
}

.service-card {
  background: var(--clr-bg-alt);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transform-style: preserve-3d;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--grad-primary);
  z-index: -1;
  opacity: 0;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.service-card:hover::before {
  opacity: 1;
  transform: scale(1.02);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(224, 195, 252, 0.2);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #8a63d2;
  transform: translateZ(30px);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transform: translateZ(40px);
}

.service-card p {
  color: var(--clr-text-light);
  margin-bottom: 1.5rem;
  transform: translateZ(20px);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transform: translateZ(30px);
}
.service-link i {
  transition: transform 0.3s;
}
.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Section 5: Industry Specific Tabs
   -------------------------------------------------------------------------- */
.industry-section {
  padding: var(--section-pad) 0;
  background: #fff;
}

.tabs-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tabs-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 1rem 2rem;
  border: none;
  background: var(--clr-bg);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--clr-text-light);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--clr-dark);
  color: #fff;
}

.tab-content {
  display: none;
  animation: fadeUp 0.5s ease forwards;
}
.tab-content.active {
  display: block;
}

.industry-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.industry-img {
  width: 100%;
  height: 400px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.industry-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   Section 6: Interactive ROI Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: var(--section-pad) 0;
  background: var(--clr-dark);
  color: #fff;
}
.calculator-section .section-title,
.calculator-section h3 {
  color: #fff;
}

.calc-wrapper {
  background: var(--clr-dark-lighter);
  padding: 4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

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: #e0c3fc;
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 15px rgba(224, 195, 252, 0.5);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.calc-result {
  background: var(--grad-primary);
  padding: 3rem;
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--clr-dark);
}
.calc-result p {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.result-val {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Section 7: Transparent Reporting (Dashboard Mockup)
   -------------------------------------------------------------------------- */
.report-section {
  padding: var(--section-pad) 0;
  background: var(--clr-bg);
  overflow: hidden;
}

.dashboard-mockup {
  margin-top: 4rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 2rem;
  position: relative;
}

.dash-header {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
}
.dash-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eee;
}
.dash-dot:nth-child(1) {
  background: #ff5f56;
}
.dash-dot:nth-child(2) {
  background: #ffbd2e;
}
.dash-dot:nth-child(3) {
  background: #27c93f;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.dash-card {
  background: var(--clr-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
}
.svg-chart-container {
  width: 100%;
  height: 200px;
}
.animated-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease-out;
}
.is-visible .animated-path {
  stroke-dashoffset: 0;
}

/* --------------------------------------------------------------------------
   Section 8: Testimonials
   -------------------------------------------------------------------------- */
.testimonial-section {
  padding: var(--section-pad) 0;
  background: #fff;
  text-align: center;
}

.testimonial-slider {
  margin-top: 4rem;
  max-width: 800px;
  margin-inline: auto;
  position: relative;
}
.testi-slide {
  display: none;
  padding: 2rem;
  animation: fadeScale 0.6s ease;
}
.testi-slide.active {
  display: block;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(224, 195, 252, 0.4);
  margin-bottom: 1rem;
}
.testi-text {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-family: var(--font-heading);
  line-height: 1.4;
  margin-bottom: 2rem;
}
.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testi-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-primary);
}
.testi-name {
  font-weight: 700;
  font-size: 1.1rem;
}
.testi-role {
  font-size: 0.9rem;
  color: var(--clr-text-light);
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eee;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.slider-dot.active {
  background: var(--clr-dark);
  transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   Section 9: Contact CTA
   -------------------------------------------------------------------------- */
.cta-section {
  padding: var(--section-pad) 0;
  background: var(--clr-bg);
}

.cta-box {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  text-align: center;
  color: var(--clr-dark);
  position: relative;
  overflow: hidden;
}
.cta-box .section-title {
  margin-bottom: 1rem;
}
.cta-box p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.cta-box .btn-primary {
  background: var(--clr-dark);
  color: #fff;
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}
.cta-box .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
}

/* --------------------------------------------------------------------------
   Section 10: Global Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #111115;
  color: #fff;
  padding: 6rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0.5;
}

.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);
} /* Ensure logo is white */
.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
}
.footer-socials a:hover {
  background: #e0c3fc;
  color: var(--clr-dark);
  transform: translateY(-5px);
}

.footer-col h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-links a:hover {
  color: #e0c3fc;
  padding-left: 5px;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact li {
  display: flex;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.6);
  align-items: flex-start;
}
.footer-contact i {
  color: #e0c3fc;
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Floating Live Chat Widget
   -------------------------------------------------------------------------- */
.live-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 10px 20px rgba(224, 195, 252, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--clr-dark);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition-bounce);
}
.live-chat-btn:hover {
  transform: scale(1.1) rotate(-10deg);
}

/* --------------------------------------------------------------------------
   Internal Pages (Legal & Contact) Additions
   -------------------------------------------------------------------------- */
.page-header {
  padding: calc(var(--header-h) + 6rem) 0 4rem;
  background: var(--clr-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.breadcrumbs {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs a {
  color: #fff;
}
.breadcrumbs a:hover {
  color: #e0c3fc;
}

.legal-content {
  padding: var(--section-pad) 0;
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.legal-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 2rem;
}
.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--clr-text-light);
}
.legal-content strong {
  color: var(--clr-dark);
}
.legal-content a {
  color: #8a63d2;
  text-decoration: underline;
}

/* Contact Page Specific */
.contact-section {
  padding: var(--section-pad) 0;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-form {
  background: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--clr-bg);
  font-family: inherit;
  transition: var(--transition-smooth);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8a63d2;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(138, 99, 210, 0.1);
}
.checkbox-group {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--clr-text-light);
}
.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--clr-dark);
}
.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.contact-details p {
  color: var(--clr-text-light);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Animations (Keyframes & Utilities)
   -------------------------------------------------------------------------- */
@keyframes loading {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}
@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(30px, 50px) rotate(10deg);
  }
}
@keyframes tiltFloat {
  0%,
  100% {
    transform: translateY(-50%) rotateX(5deg) rotateY(-5deg);
  }
  50% {
    transform: translateY(-52%) rotateX(-2deg) rotateY(2deg);
  }
}
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Reveal Classes (Triggered by JS) */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.is-visible.reveal-up,
.is-visible.reveal-left,
.is-visible.reveal-right {
  opacity: 1;
  transform: translate(0, 0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 5rem;
  }
  .hero-title {
    font-size: clamp(3rem, 6vw, 4rem);
  }
  .hero-asset {
    display: none;
  }
  .about-grid,
  .industry-card,
  .calc-wrapper,
  .dash-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .nav-list,
  .header-actions .btn-primary {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header.nav-open .nav-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--clr-dark-lighter);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cursor-dot,
  .cursor-outline {
    display: none;
  } /* Disable custom cursor on mobile */
  body {
    cursor: auto;
  }
}
