/* ============================================
   TwoOrMore AI Agency — Design System
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #06060f;
  --bg-secondary: #0c0c1d;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.055);
  --bg-glass: rgba(255, 255, 255, 0.04);

  --accent-primary: #6c63ff;
  --accent-secondary: #00d4ff;
  --accent-tertiary: #ff6b9d;
  --accent-green: #00e68a;
  --accent-orange: #ffaa40;

  --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #00d4ff 100%);
  --gradient-hero: linear-gradient(135deg, #6c63ff 0%, #a855f7 50%, #00d4ff 100%);
  --gradient-warm: linear-gradient(135deg, #ff6b9d 0%, #ffaa40 100%);
  --gradient-glow: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.4);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(108, 99, 255, 0.4);

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1240px;
  --card-radius: 20px;
  --btn-radius: 14px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(108, 99, 255, 0.15);
  --shadow-btn: 0 4px 20px rgba(108, 99, 255, 0.3);
  --shadow-btn-hover: 0 8px 40px rgba(108, 99, 255, 0.5);

  /* 3D */
  --perspective: 1200px;
  --tilt-amount: 8deg;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

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

.section-padding {
  padding: var(--section-padding) 0;
}

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

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

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }
.reveal-delay-9 { transition-delay: 0.9s; }
.reveal-delay-10 { transition-delay: 1.0s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  z-index: 1001;
}

.nav-brand .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.35);
}

.nav-brand span {
  color: var(--accent-secondary);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(108, 99, 255, 0.08);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 16px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* 3D Floating Background Scene */
.hero-3d-scene {
  position: absolute;
  inset: 0;
  perspective: var(--perspective);
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 0;
}

.floating-element {
  position: absolute;
  transform-style: preserve-3d;
}

/* 3D Cube */
.cube {
  width: 60px;
  height: 60px;
  transform-style: preserve-3d;
  animation: float-rotate 20s ease-in-out infinite;
}

.cube .face {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1.5px solid rgba(108, 99, 255, 0.25);
  background: rgba(108, 99, 255, 0.04);
  backdrop-filter: blur(2px);
}

.cube .face.front  { transform: translateZ(30px); }
.cube .face.back   { transform: rotateY(180deg) translateZ(30px); }
.cube .face.right  { transform: rotateY(90deg) translateZ(30px); }
.cube .face.left   { transform: rotateY(-90deg) translateZ(30px); }
.cube .face.top    { transform: rotateX(90deg) translateZ(30px); }
.cube .face.bottom { transform: rotateX(-90deg) translateZ(30px); }

.cube-1 { top: 12%; left: 8%; }
.cube-1 .cube { animation-duration: 25s; }
.cube-1 .face { border-color: rgba(108, 99, 255, 0.2); background: rgba(108, 99, 255, 0.03); }

.cube-2 { top: 65%; right: 12%; }
.cube-2 .cube { width: 45px; height: 45px; animation-duration: 18s; animation-delay: -5s; }
.cube-2 .face { width: 45px; height: 45px; border-color: rgba(0, 212, 255, 0.2); background: rgba(0, 212, 255, 0.03); }
.cube-2 .face.front  { transform: translateZ(22.5px); }
.cube-2 .face.back   { transform: rotateY(180deg) translateZ(22.5px); }
.cube-2 .face.right  { transform: rotateY(90deg) translateZ(22.5px); }
.cube-2 .face.left   { transform: rotateY(-90deg) translateZ(22.5px); }
.cube-2 .face.top    { transform: rotateX(90deg) translateZ(22.5px); }
.cube-2 .face.bottom { transform: rotateX(-90deg) translateZ(22.5px); }

.cube-3 { bottom: 20%; left: 15%; }
.cube-3 .cube { width: 35px; height: 35px; animation-duration: 22s; animation-delay: -10s; }
.cube-3 .face { width: 35px; height: 35px; border-color: rgba(255, 107, 157, 0.2); background: rgba(255, 107, 157, 0.03); }
.cube-3 .face.front  { transform: translateZ(17.5px); }
.cube-3 .face.back   { transform: rotateY(180deg) translateZ(17.5px); }
.cube-3 .face.right  { transform: rotateY(90deg) translateZ(17.5px); }
.cube-3 .face.left   { transform: rotateY(-90deg) translateZ(17.5px); }
.cube-3 .face.top    { transform: rotateX(90deg) translateZ(17.5px); }
.cube-3 .face.bottom { transform: rotateX(-90deg) translateZ(17.5px); }

/* 3D Ring */
.ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.15);
  animation: float-ring 15s ease-in-out infinite;
  transform-style: preserve-3d;
}

.ring-1 { top: 20%; right: 20%; }
.ring-1 .ring { animation-delay: -3s; }

.ring-2 { bottom: 30%; left: 5%; }
.ring-2 .ring {
  width: 80px;
  height: 80px;
  border-color: rgba(255, 107, 157, 0.12);
  animation-duration: 20s;
  animation-delay: -7s;
}

/* Sphere / Orb */
.orb {
  border-radius: 50%;
  animation: float-orb 12s ease-in-out infinite;
}

.orb-1 {
  top: 30%; right: 8%;
  width: 200px; height: 200px;
  background: radial-gradient(circle at 30% 30%, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.02) 60%, transparent);
  filter: blur(1px);
}

.orb-2 {
  bottom: 15%; left: 20%;
  width: 150px; height: 150px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.01) 60%, transparent);
  filter: blur(1px);
  animation-delay: -6s;
}

.orb-3 {
  top: 50%; left: 45%;
  width: 300px; height: 300px;
  background: radial-gradient(circle at 40% 40%, rgba(108, 99, 255, 0.06), transparent 65%);
  filter: blur(2px);
  animation-delay: -4s;
  animation-duration: 18s;
}

/* Dots Grid */
.dots-grid {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(108, 99, 255, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  animation: float-orb 25s ease-in-out infinite reverse;
}

/* Hero Glow */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-green);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero Metrics Strip */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hero-metric {
  text-align: center;
}

.hero-metric .metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-metric .metric-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   PROBLEM BANNER
   ============================================ */
.problem-banner {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 20px 0;
}

.problem-track {
  display: flex;
  gap: 60px;
  animation: scroll-left 40s linear infinite;
  width: max-content;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.problem-item .problem-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-tertiary);
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
  perspective: var(--perspective);
}

/* Service Card */
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--card-radius);
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0), rgba(108, 99, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.4s ease;
  pointer-events: none;
}

.service-card:hover::before {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.5), rgba(0, 212, 255, 0.3));
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* Card glow on hover */
.service-card .card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.12), transparent 60%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-icon.icon-automation { background: rgba(108, 99, 255, 0.12); color: var(--accent-primary); }
.service-icon.icon-seo { background: rgba(0, 212, 255, 0.12); color: var(--accent-secondary); }
.service-icon.icon-content { background: rgba(255, 107, 157, 0.12); color: var(--accent-tertiary); }
.service-icon.icon-youtube { background: rgba(255, 69, 58, 0.12); color: #ff453a; }
.service-icon.icon-chatbot { background: rgba(0, 230, 138, 0.12); color: var(--accent-green); }
.service-icon.icon-voice { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.service-icon.icon-enterprise { background: rgba(255, 170, 64, 0.12); color: var(--accent-orange); }
.service-icon.icon-leadgen { background: rgba(0, 212, 255, 0.12); color: var(--accent-secondary); }
.service-icon.icon-document { background: rgba(108, 99, 255, 0.12); color: var(--accent-primary); }
.service-icon.icon-governance { background: rgba(0, 230, 138, 0.12); color: var(--accent-green); }

.service-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-problem {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 230, 138, 0.06);
  border: 1px solid rgba(0, 230, 138, 0.12);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-green);
}

.service-result svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   STATS / IMPACT SECTION
   ============================================ */
.stats-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 99, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--card-radius);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: all 0.4s ease;
}

.stat-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.stat-sublabel {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
.process-section {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting lines between steps */
.process-grid::before,
.process-grid::after {
  content: '';
  position: absolute;
  top: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0.3;
  z-index: 0;
}

.process-grid::before {
  left: calc(33.33% - 16px);
  width: calc(33.33% + 32px);
  transform: translateX(-50%);
  left: 16.66%;
  width: 33.33%;
}

.process-grid::after {
  left: 50%;
  width: 33.33%;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  perspective: 800px;
}

.process-step-inner {
  padding: 40px 28px;
  border-radius: var(--card-radius);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover .process-step-inner {
  border-color: var(--border-hover);
  transform: rotateY(5deg) translateZ(20px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin: 16px auto 0;
  color: var(--accent-primary);
  opacity: 0.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.testimonial-card {
  padding: 36px 28px;
  border-radius: var(--card-radius);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: all 0.4s ease;
  position: relative;
}

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

.testimonial-card .quote-mark {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  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: 1rem;
  color: white;
}

.testimonial-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-card {
  position: relative;
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15) 0%, rgba(0, 212, 255, 0.08) 100%);
  border: 1px solid rgba(108, 99, 255, 0.2);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(108, 99, 255, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* Floating shapes in CTA */
.cta-float {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.cta-float-1 {
  width: 200px; height: 200px;
  top: -60px; left: -40px;
  background: var(--accent-primary);
  filter: blur(60px);
  animation: float-orb 12s ease-in-out infinite;
}

.cta-float-2 {
  width: 150px; height: 150px;
  bottom: -40px; right: -30px;
  background: var(--accent-secondary);
  filter: blur(50px);
  animation: float-orb 10s ease-in-out infinite reverse;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-socials a svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes float-rotate {
  0%, 100% {
    transform: rotateX(0deg) rotateY(0deg) translateY(0);
  }
  25% {
    transform: rotateX(15deg) rotateY(90deg) translateY(-15px);
  }
  50% {
    transform: rotateX(30deg) rotateY(180deg) translateY(5px);
  }
  75% {
    transform: rotateX(15deg) rotateY(270deg) translateY(-10px);
  }
}

@keyframes float-ring {
  0%, 100% {
    transform: rotateX(60deg) rotateY(0deg) translateY(0);
  }
  50% {
    transform: rotateX(75deg) rotateY(180deg) translateY(-20px);
  }
}

@keyframes float-orb {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-10px);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.4);
  }
}

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

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 600;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .btn-secondary.nav-only {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-metrics {
    gap: 24px;
  }

  .hero-metric .metric-value {
    font-size: 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 24px;
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Hide complex 3D elements on mobile for performance */
  .cube-2, .cube-3, .ring-2, .orb-3, .dots-grid {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 40px 16px 0;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 28px 20px;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 99, 255, 0.5);
}
