﻿/* 
  AXXELER.IN - DESIGN SYSTEM 
  Typography: Poppins
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* DARK MODE (Default) */
  --primary: #6A5BFF;
  --accent-light: #8B7EFF;
  --accent-dark: #4A3ECC;
  --accent-glow: rgba(106,91,255,0.25);
  
  --bg-black: #000000;
  --bg-dark: #080810;
  --bg-dark2: #0D0D1A;
  --bg-dark3: #121222;
  
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(106,91,255,0.25);
  
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.35);
  
  --nav-bg: transparent;
  --nav-bg-scrolled: rgba(0,0,0,0.85);
  --menu-bg: rgba(0,0,0,0.97);
  --outline-text-color: rgba(255,255,255,0.4);
  --glass-hover: rgba(255,255,255,0.15);

  --nav-height: 80px;
  --logo-filter: grayscale(100%) brightness(200%);
}

[data-theme="light"] {
  /* LIGHT MODE */
  --bg-black: #ffffff;
  --bg-dark: #f8f9fa;
  --bg-dark2: #ffffff;
  --bg-dark3: #f8f9fa;
  
  --surface: rgba(0,0,0,0.04);
  --surface2: rgba(0,0,0,0.07);
  --border: rgba(0,0,0,0.1);
  --border-accent: rgba(106,91,255,0.3);
  
  --text-primary: #111111;
  --text-secondary: rgba(0,0,0,0.65);
  --text-muted: rgba(0,0,0,0.45);
  
  --nav-bg-scrolled: rgba(255,255,255,0.95);
  --menu-bg: rgba(255,255,255,0.98);
  --outline-text-color: rgba(0,0,0,0.2);
  --glass-hover: rgba(0,0,0,0.05);
  --logo-filter: grayscale(100%) brightness(20%);
}

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  /* Cursor hidden for custom cursor */
}

@media (pointer: fine) {
  body {
    cursor: none;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* CUSTOM CURSOR */
.custom-cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}

.custom-cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(106,91,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  will-change: width, height, transform;
}

.custom-cursor-ring.hovered {
  width: 50px;
  height: 50px;
  border-color: var(--primary);
}

@media (max-width: 600px) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none;
  }
  body {
    cursor: auto;
  }
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
}

.h1-hero {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .h1-hero {
    line-height: 1.25;
    letter-spacing: 0;
    font-size: clamp(36px, 10vw, 48px);
  }
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.body-text {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 400;
  color: var(--text-secondary);
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0;
}

.pricing-price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.result-metric {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.result-metric span.symbol {
  color: var(--primary);
}

.outline-text {
  -webkit-text-stroke: 2px var(--outline-text-color);
  color: transparent;
}

@media (max-width: 600px) {
  .outline-text {
    -webkit-text-stroke: 1px var(--outline-text-color);
  }
}

/* LAYOUT & SPACING */
.container {
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 600px) {
  section {
    padding: 70px 0;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-dense {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: var(--bg-black);
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-dense {
    grid-template-columns: 1fr;
    gap: 24px; /* Give some space on mobile */
    background-color: transparent;
  }
}

/* COMPONENTS */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  padding: 14px 32px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(106,91,255,0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 32px;
  font-weight: 500;
}

.btn-secondary:hover {
  background-color: var(--surface2);
  border-color: var(--border-accent);
}

/* Service Card */
.service-card {
  background-color: var(--bg-dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

@media (max-width: 900px) {
  .service-card {
    border-radius: 20px;
    padding: 32px;
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #a395ff);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 40px rgba(106,91,255, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card .num-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: block;
  transition: color 0.3s ease;
}

.service-card:hover .num-label {
  color: var(--primary);
}

.service-card .icon-box {
  width: 52px;
  height: 52px;
  background-color: rgba(106,91,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.service-tag {
  font-size: 11px;
  padding: 4px 12px;
  background-color: rgba(106,91,255,0.1);
  color: var(--accent-light);
  border-radius: 50px;
  font-weight: 500;
}

/* Pricing Card */
.pricing-card {
  background-color: var(--bg-dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(106,91,255,0.05) 0%, var(--bg-dark2) 100%);
  transform: translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 50px;
}

.pricing-features {
  margin-top: 24px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgba(106,91,255,0.15);
  color: var(--primary);
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Result Card */
.result-card {
  background-color: var(--bg-dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.result-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.result-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.result-card:hover::after {
  transform: scaleX(1);
}

/* Testimonial Card */
.testi-card {
  background-color: var(--bg-dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
}

.testi-quote-mark {
  font-size: 32px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  font-family: serif;
}

.testi-stars {
  position: absolute;
  top: 36px;
  right: 36px;
  color: var(--primary);
  font-size: 14px;
  letter-spacing: 2px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a395ff);
  box-shadow: 0 4px 10px rgba(106,91,255,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

/* Form Card */
.form-card {
  background-color: var(--bg-dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 44px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(106,91,255,0.05);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control option {
  background-color: var(--bg-dark2);
  color: var(--text-primary);
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

.nav.scrolled {
  background-color: var(--nav-bg-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001; /* Above mobile menu */
}

.logo-img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1001;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--surface2);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 11px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--menu-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 16px 0;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: block; }
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-black);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(106,91,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106,91,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(106,91,255,0.18) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
  padding: 40px 0;
  isolation: isolate;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(106,91,255,0.12);
  border: 1px solid rgba(106,91,255,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 24px auto 40px;
  line-height: 1.6;
}

.automation-dashboard {
  position: absolute;
  inset: 8px -220px auto;
  z-index: -1;
  height: min(60vw, 560px);
  min-height: 460px;
  pointer-events: none;
  opacity: var(--hero-network-opacity, 0.7);
}

.dashboard-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flow-line {
  fill: none;
  stroke: var(--hero-network-line, rgba(106, 91, 255, 0.42));
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 16;
  animation: dashboardFlow 2.6s linear infinite;
  opacity: 0.9;
}

.line-two {
  animation-delay: -0.9s;
}

.line-three {
  animation-delay: -1.5s;
}

.line-four {
  animation-delay: -2s;
}

.line-five {
  animation-delay: -0.5s;
}

.workflow-node {
  filter: drop-shadow(0 18px 36px var(--hero-node-shadow, rgba(0, 0, 0, 0.28))) drop-shadow(0 0 18px var(--hero-network-glow, rgba(106, 91, 255, 0.28)));
  animation: nodeBreath 5.5s ease-in-out infinite;
}

.node-crm,
.node-router {
  animation-delay: -1.4s;
}

.node-zoho {
  animation-delay: -2.3s;
}

.node-email {
  animation-delay: -3.1s;
}

.node-shell {
  fill: var(--hero-node-bg, rgba(12, 15, 30, 0.72));
  stroke: var(--hero-node-border, rgba(255, 255, 255, 0.16));
  stroke-width: 1.25;
}

.node-icon {
  fill: var(--primary);
  opacity: 0.92;
}

.icon-sheets {
  fill: #22c55e;
}

.icon-crm {
  fill: #6a5bff;
}

.icon-zoho {
  fill: #f97316;
}

.icon-email {
  fill: #00a8ff;
}

.icon-router {
  fill: #111827;
}

.node-icon-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-title {
  fill: var(--hero-node-title, rgba(255, 255, 255, 0.92));
  font: 700 14px Poppins, sans-serif;
}

.node-meta {
  fill: var(--hero-node-meta, rgba(255, 255, 255, 0.52));
  font: 500 11px Poppins, sans-serif;
}

.flow-pulse {
  fill: var(--hero-network-pulse, #00d4ff);
  filter: drop-shadow(0 0 12px var(--hero-network-pulse-glow, rgba(0, 212, 255, 0.9)));
}

.pulse-one {
  offset-path: path("M82 156 C224 84 318 94 410 140 S668 178 832 150");
  animation: dashboardPulse 4.4s linear infinite;
}

.pulse-two {
  offset-path: path("M84 330 C262 424 414 426 558 378 S720 314 850 342");
  animation: dashboardPulse 4.6s linear infinite -1.6s;
}

@keyframes dashboardFlow {
  to { stroke-dashoffset: -26; }
}

@keyframes dashboardPulse {
  0% { offset-distance: 0%; opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@keyframes nodeBreath {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

[data-theme="light"] {
  --hero-network-opacity: 0.58;
  --hero-network-line: rgba(82, 67, 220, 0.32);
  --hero-network-glow: rgba(82, 67, 220, 0.22);
  --hero-network-pulse: #4f46e5;
  --hero-network-pulse-glow: rgba(79, 70, 229, 0.55);
  --hero-node-bg: rgba(255, 255, 255, 0.82);
  --hero-node-border: rgba(17, 24, 39, 0.12);
  --hero-node-title: rgba(17, 24, 39, 0.86);
  --hero-node-meta: rgba(17, 24, 39, 0.52);
  --hero-node-shadow: rgba(17, 24, 39, 0.14);
}

@media (max-width: 600px) {
  .automation-dashboard {
    inset: 18px -300px auto;
    height: 500px;
    min-height: 500px;
    opacity: var(--hero-network-mobile-opacity, 0.34);
  }

  .node-crm,
  .node-email {
    opacity: 0;
  }

  .workflow-node {
    animation: none;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero-stats {
    gap: 24px;
    margin-top: 40px;
  }
  /* Neutralize the scaled/offset "Most Popular" pricing card once cards stack,
     so it never extends past the viewport on small screens. */
  .grid-2 > .service-card[style*="scale"] {
    transform: none !important;
    top: 0 !important;
  }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
}

.scroll-indicator .line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--primary));
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}

/* MARQUEE */
.marquee-container {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  align-items: center;
  gap: 40px;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 50%;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CLIENT LOGO MARQUEE */
.client-logo-marquee {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite reverse;
  align-items: center;
  gap: 60px;
  width: max-content;
  padding: 20px 0;
}

.client-logo-item {
  height: 70px;
  width: 160px;
  object-fit: contain;
  filter: grayscale(0%) brightness(1.1) contrast(1.15);
  opacity: 0.95;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.client-logo-item:hover {
  filter: grayscale(0%) brightness(1.25) contrast(1.2);
  opacity: 1;
  transform: scale(1.08);
}

/* PROBLEM SECTION */
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--bg-dark2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 40px rgba(106,91,255, 0.15);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #a395ff);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-icon {
  font-size: 28px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(106,91,255,0.2) 0%, rgba(106,91,255,0.05) 100%);
  border: 1px solid rgba(106,91,255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--primary);
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.problem-card:hover .problem-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(106,91,255,0.3) 0%, rgba(106,91,255,0.1) 100%);
  box-shadow: 0 10px 20px rgba(106,91,255, 0.2);
}

.problem-card .card-title {
  margin-bottom: 0;
}

.problem-consequence, .problem-solution {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  margin-top: 4px;
}

.problem-consequence {
  background-color: rgba(255, 107, 107, 0.08);
  color: #ff6b6b;
  border-left: 3px solid #ff6b6b;
}

.problem-consequence::before {
  content: '✕';
  font-weight: 800;
  margin-top: 1px;
}

.problem-solution {
  background-color: rgba(81, 207, 102, 0.08);
  color: #51cf66;
  border-left: 3px solid #51cf66;
}

.problem-solution::before {
  content: '✓';
  font-weight: 800;
  margin-top: 1px;
}
.problem-example {
  background-color: var(--surface2);
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  font-style: italic;
  margin-top: 40px;
  max-width: 800px;
}

/* PROCESS SECTION */
.process-section {
  background-color: var(--bg-dark);
}

.process-timeline {
  position: relative;
  max-width: 800px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(106,91,255,0.1));
}

@media (max-width: 600px) {
  .process-timeline::before {
    left: 24px;
  }
}

.process-step {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

@media (max-width: 600px) {
  .process-step {
    gap: 20px;
  }
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 64px;
  height: 64px;
  background-color: var(--bg-dark2);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .step-number {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
}

.process-step:hover .step-number {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(106,91,255,0.5);
}

.step-content {
  padding-top: 10px;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-details {
  background-color: var(--surface);
  padding: 20px;
  border-radius: 12px;
  margin-top: 16px;
}

.step-details ul {
  margin-top: 12px;
}

.step-details li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}
.step-details li::before {
  content: '→';
  color: var(--primary);
}

/* WHY US SECTION */
.why-section {
  background-color: var(--bg-dark);
}

.why-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
  background-color: var(--bg-dark2);
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(106,91,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106,91,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-floating-badge {
  position: absolute;
  background-color: var(--menu-bg);
  padding: 16px 24px;
  border-radius: 8px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.badge-1 { top: 12%; left: 8%; animation-delay: 0s; }
.badge-2 { top: 42%; right: 6%; animation-delay: 1s; }
.badge-3 { bottom: 12%; left: 14%; animation-delay: 2s; }

@media (max-width: 768px) {
  .why-visual {
    min-height: auto;
    padding: 32px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-visual .logo-mask {
    position: relative !important;
    width: 160px !important;
    height: 160px !important;
    margin: 0 auto 8px;
  }

  .why-floating-badge,
  .badge-1,
  .badge-2,
  .badge-3 {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }
}

@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

.badge-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.badge-sub {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}

.why-text h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.why-text p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* FAQ SECTION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-icon {
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* CTA BANNER */
.cta-banner {
  background-color: var(--bg-dark2);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(106,91,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.trust-line {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* CONTACT SECTION / PAGE */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail .icon {
  width: 48px;
  height: 48px;
  background-color: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-detail h5 {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 16px;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background-color: var(--accent-light);
  box-shadow: 0 10px 30px rgba(106,91,255,0.4);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg-dark2);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--border);
  text-align: center;
  max-width: 400px;
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

/* FOOTER */
.footer {
  background-color: var(--bg-black);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 300px;
}

.footer-contact {
  margin-bottom: 24px;
}

.footer-contact a {
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.footer-legal {
  display: flex;
  gap: 24px;
}

@media (max-width: 600px) {
  .footer {
    padding: 56px 0 28px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.team-photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--surface2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  background: var(--bg-dark2);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(106,91,255,0.22), rgba(34,197,94,0.1)),
    var(--bg-dark2);
  color: var(--accent-light);
}

.team-photo-placeholder svg {
  width: 72px;
  height: 72px;
  stroke-width: 1.6;
}

.team-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.team-highlights li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.team-highlights li::before,
.product-list li::before,
.icon-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background-color: rgba(106,91,255,0.14);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 12 4 4L19 6' stroke='%236A5BFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* Product page */
.product-module {
  padding: 80px 0;
}

.product-panel {
  background: var(--bg-dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 24px 0;
}

.product-list li,
.icon-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-secondary);
}

.product-list strong,
.icon-list strong {
  color: var(--text-primary);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(106,91,255,0.12);
  border: 1px solid rgba(106,91,255,0.22);
  margin-bottom: 20px;
}

.icon-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
}

.inline-icon-wrap {
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.inline-icon {
  display: block;
  color: currentColor;
}

@media (max-width: 900px) {
  .product-card-grid {
    grid-template-columns: 1fr;
  }

  .product-panel {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .product-module {
    padding: 64px 0;
  }

  .product-panel {
    padding: 24px;
    border-radius: 16px;
  }
}

/* ANIMATIONS (Scroll reveals) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Lead Magnet Button */
.floating-lead-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(106,91,255,0.4);
  z-index: 99;
  transition: all 0.3s ease;
}
.floating-lead-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(106,91,255,0.6);
  background-color: var(--accent-light);
}
@media (max-width: 768px) {
  .floating-lead-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px;
    border-radius: 50%;
  }
  .floating-lead-btn span {
    display: none;
  }
}

/* Lead Magnet Modal */
.lead-magnet-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lead-magnet-modal.active {
  display: flex;
  opacity: 1;
}
.lead-modal-content {
  background-color: var(--bg-dark);
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  border: 1px solid var(--surface2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.lead-magnet-modal.active .lead-modal-content {
  transform: translateY(0);
}
.lead-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 24px; cursor: pointer;
  transition: color 0.3s;
}
.lead-modal-close:hover {
  color: var(--text-primary);
}
.lead-modal-header h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.lead-modal-header p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* FAQ SECTION */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-black);
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  max-height: 800px;
  margin-top: 16px;
  opacity: 1;
}

/* VALUES SECTION */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* VIDEO PLAYER MOCK */
.video-player-mock {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-dark2);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  cursor: pointer;
}

.video-player-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.5;
}

.video-player-mock:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(106,91,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 10px 30px rgba(106,91,255,0.4);
}

.video-player-mock:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(106,91,255,1);
}

.video-play-btn svg {
  margin-left: 6px;
  width: 32px;
  height: 32px;
}

/* PRE-FOOTER CTA */
.pre-footer-cta {
  background: linear-gradient(135deg, var(--bg-dark2) 0%, rgba(106,91,255,0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ========================================================= */
/* ADVANCED UI/UX UPGRADES */
/* ========================================================= */

/* 1. MOUSE-TRACKING GLOW CARDS */
.glow-card {
  position: relative;
  background-color: var(--bg-dark2);
  border-radius: 12px;
  border: 1px solid var(--surface);
  overflow: hidden;
}

.glow-card::before {
  content: ";
  position: absolute;
  top: var(--y, 0);
  left: var(--x, 0);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(106, 91, 255, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card > * {
  position: relative;
  z-index: 1;
}

/* 2. MAGNETIC BUTTONS */
.magnetic-btn {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.magnetic-btn .btn-text {
  display: inline-block;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 3. MESH GRADIENT HERO BACKGROUND */
.mesh-gradient {
  background: linear-gradient(135deg, rgba(8,8,16,1) 0%, rgba(13,13,26,1) 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mesh-gradient::after {
  content: ";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(106,91,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(74,62,204,0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(106,91,255,0.04) 0%, transparent 60%);
  animation: rotateMesh 35s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes rotateMesh {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

[data-theme="light"] .mesh-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}
[data-theme="light"] .mesh-gradient::after {
  background: 
    radial-gradient(circle at 50% 50%, rgba(106,91,255,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(74,62,204,0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(106,91,255,0.02) 0%, transparent 60%);
}

/* 4. SCROLL PROGRESS INDICATOR */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-light));
  z-index: 11000;
  pointer-events: none;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(106,91,255,0.6);
}

/* 5. SMOOTH PAGE TRANSITIONS */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-black);
  z-index: 12000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.15s cubic-bezier(0.8, 0, 0.2, 1), visibility 0.15s ease;
  pointer-events: none;
}

.page-transition-overlay.loaded {
  opacity: 0;
  visibility: hidden;
}

/* Enhancing existing .reveal for staggered animations */
.reveal-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stagger.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================= */
/* 7. MOBILE PERFORMANCE & ACCESSIBILITY PASS */
/* ========================================================= */
@media (hover: none) and (pointer: coarse) {
  /* Hide custom cursor on touch devices */
  .custom-cursor-dot, 
  .custom-cursor-ring {
    display: none !important;
  }
  
  /* Disable hover-based transforms on touch devices */
  .magnetic-btn {
    transform: none !important;
  }
  
  .glow-card::before {
    display: none !important; /* Disable glow tracking */
  }
  
  /* Optimize mesh gradient for mobile */
  .mesh-gradient::after {
    background: radial-gradient(circle at 50% 50%, rgba(106,91,255,0.05) 0%, transparent 60%) !important;
    animation: none !important; /* Save battery */
  }
}

/* ========================================================= */
/* 8. $100M ENTERPRISE REBRAND (BENTO & GLASSMORPHISM) */
/* ========================================================= */

/* Enterprise Typography Refinements */
h1, h2, h3, .hero-title, .section-title {
  letter-spacing: -0.04em;
}

.hero-title {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

[data-theme="light"] .hero-title {
  background: linear-gradient(135deg, #09090b 0%, #52525b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards (Elite SaaS Feel) */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  position: relative;
}

[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 1), 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 48px rgba(106, 91, 255, 0.15);
}

[data-theme="light"] .glass-card:hover {
  border-color: rgba(106, 91, 255, 0.2);
}

/* Bento Box Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 24px;
}

.bento-item {
  display: flex;
  flex-direction: column;
}

/* Specific Bento Sizes */
.bento-large { grid-column: span 8; }
.bento-medium { grid-column: span 4; }
.bento-half { grid-column: span 6; }
.bento-full { grid-column: span 12; }

@media (max-width: 900px) {
  .bento-large, .bento-medium, .bento-half {
    grid-column: span 12;
  }
}

/* Bento Content Styling */
.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(106, 91, 255, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.bento-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Dynamic Gradient Accent within Bento */
.bento-accent {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(106, 91, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.glass-card:hover .bento-accent {
  opacity: 1;
}

.bento-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Enterprise Gradient Text Utility */
.text-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}


/* ========================================================= */
/* 9. $10M ADVANCED UI UPGRADES (SPOTLIGHT & NOISE) */
/* ========================================================= */

/* Cinematic Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Advanced Glassmorphism Overrides */
.glass-card {
  background: var(--surface) !important;
  backdrop-filter: blur(40px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 20px 40px rgba(0, 0, 0, 0.4) !important;
  border-radius: 24px !important;
  position: relative;
  overflow: hidden;
}

/* Spotlight Hover Effect Container */
.spotlight-wrapper {
  position: relative;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px; /* border width */
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(106, 91, 255, 0.4),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Inner Glow on Spotlight */
.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(106, 91, 255, 0.05),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: inherit;
}

.spotlight-card:hover::after {
  opacity: 1;
}

/* Animated Sweeping Gradient Text */
.text-gradient-sweep {
  background: linear-gradient(
    to right,
    var(--text-primary) 20%,
    var(--primary) 40%,
    var(--primary-light, #9d8dff) 60%,
    var(--text-primary) 80%
  );
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Button Physical Press Micro-interaction */
.magnetic-btn:active {
  transform: scale(0.96) !important;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

