/* ============================================
   NEXVORA — Premium HR Consultancy
   Advanced Design System with 3D & Animations
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #6C3CE1;
  --primary-light: #8B5CF6;
  --primary-dark: #5521C6;
  --accent: #00D4FF;
  --accent-green: #10B981;
  --accent-pink: #F472B6;
  --dark-900: #06070A;
  --dark-800: #0B0E14;
  --dark-700: #111827;
  --dark-600: #1A1F2E;
  --dark-500: #242B3D;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-300: #94A3B8;
  --gray-400: #64748B;
  --gray-500: #475569;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-dark: #1E293B;
  --gradient-primary: linear-gradient(135deg, #6C3CE1, #00D4FF);
  --gradient-dark: linear-gradient(135deg, #06070A, #111827);
  --gradient-glow: linear-gradient(135deg, rgba(108,60,225,0.2), rgba(0,212,255,0.2));
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-glow: 0 0 60px rgba(108,60,225,0.15), 0 0 120px rgba(0,212,255,0.08);
  --shadow-card: 0 4px 30px rgba(0,0,0,0.3);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--dark-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow dot accent */
.glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(0,212,255,0.3);
  margin-right: 10px;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(0,212,255,0.3); }
  50% { box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(0,212,255,0.5); }
}

/* Section badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(108,60,225,0.1);
  border: 1px solid rgba(108,60,225,0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.section-badge-dark {
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.15);
}

/* Section header */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 16px;
  color: var(--text-dark);
}
.section-header p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--gray-400);
  font-size: 17px;
}
.section-header-light h2 { color: var(--white); }
.section-header-light p { color: var(--text-secondary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(108,60,225,0.3);
}
.btn-primary::before { background: linear-gradient(135deg, #5521C6, #00B8D9); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(108,60,225,0.45); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,212,255,0.06);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--dark-700);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn-dark:hover { background: var(--dark-600); transform: translateY(-2px); }

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---------- Floating Shapes (3D) ---------- */
.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float-shape 20s ease-in-out infinite;
}
.floating-shape:nth-child(1) {
  width: 400px; height: 400px;
  background: var(--primary);
  top: -10%; left: -5%;
  animation-delay: 0s;
}
.floating-shape:nth-child(2) {
  width: 300px; height: 300px;
  background: var(--accent);
  bottom: -5%; right: -5%;
  animation-delay: -7s;
}
.floating-shape:nth-child(3) {
  width: 200px; height: 200px;
  background: var(--accent-pink);
  top: 40%; right: 15%;
  animation-delay: -14s;
}
@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(30px, -40px) rotate(90deg) scale(1.1); }
  50% { transform: translate(-20px, 20px) rotate(180deg) scale(0.95); }
  75% { transform: translate(40px, 10px) rotate(270deg) scale(1.05); }
}

/* ---------- Particle Canvas ---------- */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}
.header.scrolled {
  background: rgba(6,7,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 1px 40px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  position: relative;
  transform: perspective(200px) rotateY(-5deg);
  transition: transform 0.4s var(--ease-spring);
  box-shadow: 0 4px 20px rgba(108,60,225,0.4);
}
.logo:hover .logo-mark {
  transform: perspective(200px) rotateY(5deg) scale(1.05);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--accent); }

/* Nav */
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform: translateX(-50%);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1001;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-900);
}

/* Mesh gradient background */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(108,60,225,0.15), transparent),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0,212,255,0.1), transparent),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(244,114,182,0.06), transparent);
}

/* Hero slider */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease, transform 6s ease;
  transform: scale(1.05);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,7,10,0.88) 0%,
    rgba(11,14,20,0.7) 40%,
    rgba(6,7,10,0.85) 100%
  );
}

/* Grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(108,60,225,0.12);
  border: 1px solid rgba(108,60,225,0.25);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-reveal 0.8s var(--ease-out) 0.2s forwards;
}

.hero-content h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-reveal 0.8s var(--ease-out) 0.4s forwards;
}
.hero-content h1 .line { display: block; }

.hero-content p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-reveal 0.8s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-reveal 0.8s var(--ease-out) 0.8s forwards;
}

@keyframes hero-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-reveal 0.8s var(--ease-out) 1s forwards;
}
.hero-stat { text-align: left; }
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
}
.hero-stat-number span { color: var(--accent); }
.hero-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.hero-dot {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.4s ease;
}
.hero-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0,212,255,0.4);
  width: 56px;
}

/* 3D Floating card on hero right */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%) perspective(1000px) rotateY(-12deg) rotateX(5deg);
  z-index: 5;
  pointer-events: none;
}
.hero-3d-card {
  width: 320px;
  padding: 32px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  animation: float-3d 6s ease-in-out infinite;
}
.hero-3d-card h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}
.hero-3d-card .metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-3d-card .metric:last-child { border-bottom: none; }
.hero-3d-card .metric-label { font-size: 14px; color: var(--text-secondary); }
.hero-3d-card .metric-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}
.hero-3d-card .metric-bar {
  width: 80px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 4px;
}
.hero-3d-card .metric-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: var(--gradient-primary);
  animation: bar-grow 2s var(--ease-out) forwards;
  transform-origin: left;
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes float-3d {
  0%, 100% { transform: translateY(-50%) perspective(1000px) rotateY(-12deg) rotateX(5deg); }
  50% { transform: translateY(calc(-50% - 15px)) perspective(1000px) rotateY(-8deg) rotateX(2deg); }
}

/* ---------- ABOUT ---------- */
.about {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* 3D Image stack */
.about-visual {
  position: relative;
  perspective: 1000px;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}
.about-img-main:hover {
  transform: rotateY(0deg) rotateX(0deg);
}
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }

/* Floating accent card */
.about-float-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  padding: 24px 28px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(108,60,225,0.4);
  animation: float-subtle 4s ease-in-out infinite;
  z-index: 2;
}
.about-float-card .number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
}
.about-float-card .label {
  font-size: 13px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* About content */
.about-content .section-badge { margin-bottom: 16px; }
.about-content h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.about-content p {
  color: var(--gray-400);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.about-feature:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px rgba(108,60,225,0.08);
  transform: translateY(-2px);
}
.about-feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(108,60,225,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-feature-icon svg { width: 18px; height: 18px; stroke: var(--primary); }
.about-feature span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ---------- SERVICES ---------- */
.services {
  padding: 120px 0;
  background: var(--dark-900);
  position: relative;
  overflow: hidden;
}

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

/* 3D Tilt Service Card */
.service-card {
  padding: 40px 32px;
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: default;
  /* 3D setup */
  transform-style: preserve-3d;
  perspective: 800px;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
  transform-origin: left;
}
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108,60,225,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(108,60,225,0.2);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(108,60,225,0.1);
  border: 1px solid rgba(108,60,225,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out);
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--primary-light); transition: stroke 0.3s ease; }
.service-card:hover .service-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(108,60,225,0.35);
  transform: translateZ(20px);
}
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card .service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  transition: color 0.4s ease;
}
.service-card:hover .service-number { color: rgba(108,60,225,0.08); }

/* ---------- STATS ---------- */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(244,114,182,0.1), transparent 50%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out);
}
.stat-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-6px) scale(1.02);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
}
.stat-number .suffix { color: var(--accent); }
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}
.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}
.testimonial-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-100);
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-out);
}
.testimonial-inner:hover {
  box-shadow: 0 8px 40px rgba(108,60,225,0.08);
  transform: translateY(-4px);
}
.testimonial-quote {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  font-family: Georgia, serif;
  box-shadow: 0 4px 16px rgba(108,60,225,0.3);
}
.testimonial-inner p {
  font-size: 18px;
  font-style: italic;
  color: var(--gray-500);
  line-height: 1.8;
  margin: 16px 0 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}
.testimonial-info h4 { font-size: 16px; color: var(--text-dark); }
.testimonial-info span { font-size: 13px; color: var(--primary); font-weight: 500; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.testimonial-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(108,60,225,0.4);
  transform: scale(1.2);
}

/* ---------- CLIENTS ---------- */
.clients {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.clients-marquee {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.clients-marquee::before, .clients-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}
.clients-marquee::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.clients-marquee::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.marquee-track {
  display: flex;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.client-logo {
  flex-shrink: 0;
  width: 170px;
  height: 70px;
  margin: 0 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-100);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.client-logo:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(108,60,225,0.08);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- CTA ---------- */
.cta {
  padding: 120px 0;
  background: var(--dark-900);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(108,60,225,0.1), transparent),
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(0,212,255,0.06), transparent);
}
.cta .container { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.cta p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-800);
  padding: 80px 0 0;
  color: var(--text-secondary);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.footer-links a::before {
  content: '→';
  font-size: 14px;
  color: var(--primary-light);
  transition: transform 0.3s ease;
}
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }
.footer-links a:hover::before { transform: translateX(3px); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(108,60,225,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact-icon svg { width: 16px; height: 16px; stroke: var(--primary-light); }
.footer-contact-item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 2px;
}
.footer-contact-item .value { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.footer-contact-item .value a { color: var(--text-secondary); }
.footer-contact-item .value a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(108,60,225,0.3);
}
.footer-social svg { width: 16px; height: 16px; fill: var(--text-secondary); transition: fill 0.3s ease; }
.footer-social a:hover svg { fill: var(--white); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--gray-400); }
.footer-bottom a { color: var(--primary-light); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(108,60,225,0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(108,60,225,0.5);
}
.back-to-top svg { width: 20px; height: 20px; stroke: var(--white); }

/* ---------- LOADER ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(108,60,225,0.15);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.loader-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark-800);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav.open { right: 0; }
  .nav a { font-size: 18px; }
  .nav-cta { margin-left: 0; margin-top: 16px; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-content { padding: 0; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 16px; }
}
