/* ==========================================================================
   CSS VARIABLES & THEME SETUP
   Theme: Vertical Flow Studio (Cinematic, White + Subtle Gradients)
   ========================================================================== */
:root {
  /* Colors */
  --clr-bg-main: #ffffff;
  --clr-bg-alt: #f8f9fa;
  --clr-dark: #0a0a0a;
  --clr-dark-lighter: #1a1a1a;
  --clr-text-main: #1a1a1a;
  --clr-text-muted: #666666;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
  --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #222222 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-subtle: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.02) 100%
  );
  --gradient-glow: radial-gradient(
    circle at center,
    rgba(79, 172, 254, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Teko", sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1300px;
  --container-padding: 0 2rem;

  /* Transitions & Animations */
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-cinematic: 1.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Index */
  --z-background: -1;
  --z-normal: 1;
  --z-header: 100;
  --z-cursor: 9999;
  --z-popup: 1000;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--clr-bg-main);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
  position: relative;
}

/* ==========================================================================
   CINEMATIC SCROLL SNAPPING (Vertical Flow Studio)
   ========================================================================== */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-section {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0; /* Fallback padding */
}

/* Fallback for non-index pages */
body:not(.index-page) .snap-section {
  min-height: auto;
  scroll-snap-align: none;
  padding: var(--section-padding);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(79, 172, 254, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: var(--z-cursor);
  transition:
    width 0.3s,
    height 0.3s;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.title-large {
  font-size: clamp(3rem, 6vw, 6rem);
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.title-medium {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.title-medium::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  margin-top: 15px;
  border-radius: 2px;
}

.subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--clr-text-muted);
  max-width: 700px;
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

.text-center .title-medium::after {
  margin: 15px auto 0;
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  z-index: 1;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--clr-dark);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  z-index: -1;
  transition: opacity var(--transition-fast);
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 172, 254, 0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--clr-dark);
  border: 2px solid var(--clr-dark);
}

.btn-outline:hover {
  background: var(--clr-dark);
  color: #fff;
}

/* ==========================================================================
   HEADER (Identical across all pages)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: var(--z-header);
  transition: var(--transition-fast);
  background: var(--clr-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 101;
}

.logo-img {
  height: 45px;
  object-fit: contain;
  transition: var(--transition-fast);
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-actions .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-actions .btn-primary:hover {
  border-color: transparent;
}

.nav-toggle,
.nav-close {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   FOOTER (Identical across all pages)
   ========================================================================== */
.footer {
  background: var(--clr-dark);
  color: #fff;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: end;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--gradient-accent);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #4facfe;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: #4facfe;
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
  align-items: flex-start;
}

.footer-contact i {
  color: #4facfe;
  margin-top: 5px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS (FIXED VISIBILITY ISSUE)
   ========================================================================== */
.animate-element {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-cinematic);
  will-change: opacity, transform;
}

/* Fixed: Now targets direct element AND children with animate-element class */
.animate-element.in-view,
.in-view .animate-element {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(79, 172, 254, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
  }
}

/* ==========================================================================
   INDEX SECTIONS (10 Sections)
   ========================================================================== */

/* 1. Hero Section */
.hero-section {
  background: var(--gradient-primary);
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  height: 100%;
}

.hero-text {
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.9;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  color: var(--clr-dark);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-text h1 span {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
}

.cube-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.abstract-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: linear-gradient(
    45deg,
    rgba(79, 172, 254, 0.5),
    rgba(0, 242, 254, 0.5)
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 8s ease-in-out infinite alternate;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(79, 172, 254, 0.3);
}

@keyframes morphShape {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--clr-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--clr-dark);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--clr-dark);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

/* 2. Intro Section */
.intro-section {
  background: var(--clr-bg-main);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-box {
  background: var(--clr-bg-alt);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.stat-box:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.stat-num {
  font-size: 3.5rem;
  font-family: var(--font-secondary);
  color: var(--clr-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* 3. Services Overview */
.services-section {
  background: var(--clr-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--clr-bg-alt);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--clr-dark);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.service-card p {
  color: var(--clr-text-muted);
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon {
  background: #fff;
  transform: scale(1.1);
}

/* 4. Service ROI Calculator */
.calc-section {
  background: var(--clr-dark);
  color: #fff;
}

.calc-section .title-medium,
.calc-section .subtitle {
  color: #fff;
}

.calc-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.calc-group span.val {
  color: #4facfe;
  font-weight: 700;
}

/* 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: #4facfe;
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 15px rgba(79, 172, 254, 0.5);
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.calc-results {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.result-item {
  text-align: center;
}

.result-item h4 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.result-value {
  font-size: 3.5rem;
  font-family: var(--font-secondary);
  color: #fff;
  line-height: 1;
}

.result-value.highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4.5rem;
}

/* 5. Industries Section */
.industries-section {
  background: var(--clr-bg-main);
}

.pillars-wrapper {
  display: flex;
  height: 500px;
  gap: 1rem;
  margin-top: 4rem;
}

.pillar {
  flex: 1;
  background: var(--clr-bg-alt);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: flex var(--transition-smooth);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.pillar:hover {
  flex: 3;
}

.pillar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.4);
  transition: var(--transition-smooth);
  z-index: 0;
}

.pillar:hover .pillar-bg {
  filter: grayscale(0%) brightness(0.6);
  transform: scale(1.05);
}

.pillar-content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4facfe;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.pillar p {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  max-height: 0;
  overflow: hidden;
}

.pillar:hover p {
  opacity: 1;
  transform: translateY(0);
  max-height: 100px;
  margin-top: 1rem;
}

/* 6. Sample Campaign Reports */
.reports-section {
  background: var(--clr-bg-alt);
}

.dashboard-mockup {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-header {
  background: var(--clr-dark);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-dots {
  display: flex;
  gap: 8px;
}

.dash-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.dash-dots span:nth-child(2) {
  background: #ffbd2e;
}
.dash-dots span:nth-child(3) {
  background: #27c93f;
}

.dash-tabs {
  display: flex;
  gap: 1rem;
}

.dash-tab {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-fast);
}

.dash-tab.active,
.dash-tab:hover {
  background: var(--gradient-accent);
}

.dashboard-body {
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.chart-area {
  position: relative;
  height: 300px;
  border-bottom: 2px solid var(--clr-bg-alt);
  border-left: 2px solid var(--clr-bg-alt);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1rem;
}

.bar {
  width: 40px;
  background: var(--gradient-primary);
  border-radius: 5px 5px 0 0;
  transition: height 1s ease-out;
  position: relative;
}

.bar:hover {
  background: var(--gradient-accent);
}

.bar::after {
  content: attr(data-val);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition-fast);
}

.bar:hover::after {
  opacity: 1;
}

.metrics-area {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.metric-card {
  background: var(--clr-bg-alt);
  padding: 1.5rem;
  border-radius: 15px;
}

.metric-card h5 {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.metric-card .val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-dark);
}

.metric-card .trend {
  color: #27c93f;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 7. The Process */
.process-section {
  background: var(--clr-bg-main);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  height: 100%;
  width: 2px;
  background: var(--clr-bg-alt);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 50px;
  width: 2px;
  background: var(--gradient-accent);
  height: 0%;
  transition: height 0.5s ease-out;
}

.timeline-item {
  position: relative;
  padding-left: 120px;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 41px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 4px solid var(--clr-bg-alt);
  border-radius: 50%;
  z-index: 2;
  transition: var(--transition-fast);
}

.timeline-item.active .timeline-dot {
  border-color: #4facfe;
  box-shadow: 0 0 0 5px rgba(79, 172, 254, 0.2);
}

.timeline-content {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--clr-dark);
}

/* 8. Testimonials */
.testimonials-section {
  background: var(--clr-dark);
  color: #fff;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}

.testimonials-section .title-medium,
.testimonials-section .subtitle {
  color: #fff;
}

.testi-track {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  width: max-content;
  animation: scrollTesti 30s linear infinite;
  align-self: flex-start;
}

.testi-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTesti {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 20px;
  width: 450px;
  flex-shrink: 0;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(79, 172, 254, 0.2);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.testi-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ccc;
}

.author-info h5 {
  font-size: 1.1rem;
  margin: 0;
}

.author-info span {
  font-size: 0.9rem;
  color: #4facfe;
}

/* 9. About Section */
.about-section {
  background: var(--clr-bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 500px;
  background: var(--gradient-primary);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.about-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: var(--clr-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  text-align: center;
  animation: rotateBadge 15s linear infinite;
  border: 10px solid #fff;
}

@keyframes rotateBadge {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.about-content ul {
  margin-top: 2rem;
}

.about-content li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-content li i {
  color: #4facfe;
  font-size: 1.2rem;
}

/* 10. CTA Section */
.cta-section {
  background: var(--gradient-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  border-radius: 50%;
  z-index: 0;
  animation: pulse-glow 4s infinite alternate;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--clr-dark);
}

/* ==========================================================================
   LEGAL PAGES & CONTACT PAGE STYLES
   ========================================================================== */
.page-header {
  padding: 180px 0 80px;
  background: var(--clr-dark);
  color: #fff;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--clr-bg-main);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.page-title {
  font-size: 3.5rem;
  font-family: var(--font-secondary);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 4rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--clr-dark);
}

.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--clr-text-muted);
}

/* Contact Page Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.contact-info-panel {
  background: var(--clr-dark);
  color: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-details-list {
  margin-top: 2rem;
}

.contact-details-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-details-list i {
  font-size: 1.5rem;
  color: #4facfe;
  margin-top: 5px;
}

.contact-details-list h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-details-list p,
.contact-details-list a {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form-wrapper {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--clr-bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--clr-dark);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.1);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content,
  .intro-grid,
  .calc-wrapper,
  .dashboard-body,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-visual {
    height: 400px;
  }

  .pillars-wrapper {
    flex-direction: column;
    height: auto;
  }

  .pillar {
    height: 150px;
  }

  .pillar:hover {
    height: 250px;
  }

  .testi-card {
    width: 350px;
  }
}

@media (max-width: 768px) {
  /* Disable snap on mobile for better usability */
  .snap-container {
    scroll-snap-type: none;
    overflow-y: visible;
    height: auto;
  }

  .snap-section {
    min-height: auto;
    padding: 80px 0;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--clr-dark);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 2rem;
  }

  .chart-area {
    height: 200px;
  }

  .bar {
    width: 25px;
  }
}
