/* =============================================
   AMPIXEL MEDIA — PREMIUM AGENCY STYLESHEET
   ============================================= */

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  /* Premium Indigo-Cyan-Emerald palette */
  --primary: #6366F1;
  --primary-rgb: 99, 102, 241;
  --primary-deep: #4F46E5;
  --secondary: #06B6D4;
  --secondary-rgb: 6, 182, 212;
  --tertiary: #10B981;
  --tertiary-rgb: 16, 185, 129;
  --accent-purple: #8B5CF6;
  --accent-pink: #EC4899;
  --accent-blue: #3B82F6;
  --accent-emerald: #34D399;
  --btn-blue-start: #4338CA;
  --btn-blue-mid: #4F46E5;
  --btn-blue-end: #06B6D4;
  --bg: #030303;
  --bg-card: #0A0A0A;
  --bg-card2: #050505;
  --text: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255,255,255,0.06);
  --border-glow: rgba(99, 102, 241, 0.35);
  --glass-bg: rgba(255,255,255,0.02);
  --glass-border: rgba(255,255,255,0.06);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.3);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.6);

  /* Gradient presets */
  --grad-primary: linear-gradient(135deg, #6366F1 0%, #3B82F6 30%, #06B6D4 60%, #10B981 100%);
  --grad-hero: linear-gradient(135deg, #818CF8 0%, #38BDF8 35%, #2DD4BF 65%, #34D399 100%);
  --grad-accent: linear-gradient(135deg, #8B5CF6 0%, #6366F1 25%, #06B6D4 55%, #34D399 100%);
  --grad-warm: linear-gradient(135deg, #A78BFA 0%, #818CF8 30%, #38BDF8 60%, #2DD4BF 100%);
  --grad-cool: linear-gradient(135deg, #3B82F6 0%, #06B6D4 40%, #10B981 70%, #34D399 100%);
  --grad-subtle: linear-gradient(135deg, #94A3B8 0%, #CBD5E1 50%, #E2E8F0 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ---- SELECTIVE PREMIUM TEXT GRADIENT SYSTEM ---- */
/* Headings get a rich indigo-to-emerald gradient for premium depth */
h1, h2, h3 {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section subtitles & body copy — refined silver gradient for elegance */
h4, h5, h6 {
  background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 50%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Body text uses high-contrast off-white — no gradient for readability */
p, li, label, blockquote {
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
}

/* Links & strong — subtle luminous treatment */
a {
  color: inherit;
  -webkit-text-fill-color: inherit;
}

strong, b {
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* UI Exclusions — keep interactive elements clean */
button,
input,
textarea,
select,
.btn-primary-glow,
.btn-primary-glow *,
.btn-outline-glow,
.btn-outline-glow *,
.btn-xl,
.btn-xl *,
.nav-cta,
.nav-cta *,
.mobile-cta,
.mobile-cta *,
.portfolio-btn,
.portfolio-btn *,
.newsletter-form button,
.newsletter-form button *,
.back-to-top,
.back-to-top *,
.social-btn,
.social-btn *,
.nav-link,
.nav-link *,
.mobile-link,
.mobile-link *,
.footer-links-group a,
.footer-bottom-links a,
.tech-badge,
.tech-badge *,
.service-tags span,
.service-tags span *,
.portfolio-results span,
.portfolio-industry,
.section-tag,
.badge-dot,
.step-number,
.author-avatar,
.service-badge,
.cursor-dot,
.cursor-ring,
.hamburger,
.hamburger span,
.marquee-item,
.marquee-item *,
svg,
svg *,
i,
i *,
.industry-icon,
.loader-text,
.loader-m,
.stat-label,
.hero-sub,
.section-sub,
.cta-sub,
.service-desc,
.why-card p,
.step-content p,
.result-desc,
.testimonial-text,
.faq-answer p,
.team-info p,
.team-role,
.footer-tagline,
.contact-item,
.contact-item a,
.footer-bottom p,
.footer-newsletter p,
.cta-trust,
.cta-trust span,
.trusted-label,
.back-btn {
  background: unset !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  background-clip: unset !important;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366F1, #06B6D4, #10B981);
  border-radius: 10px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }
* { -webkit-font-smoothing: antialiased; }

/* =============================================
   CURSOR
   ============================================= */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(99, 102, 241, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s,
              left 0.12s linear,
              top 0.12s linear;
}

.cursor-ring.hovered {
  width: 56px;
  height: 56px;
  border-color: rgba(6, 182, 212, 0.8);
  background: rgba(99, 102, 241, 0.05);
}

/* =============================================
   SCROLL PROGRESS
   ============================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 99997;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.8);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--btn-blue-mid), var(--btn-blue-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  -webkit-text-fill-color: white !important;
  z-index: 9990;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.7), 0 0 45px rgba(6, 182, 212, 0.4);
}

/* =============================================
   LOADING SCREEN
   ============================================= */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner { text-align: center; }

.loader-logo {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.loader-a {
  background: var(--grad-hero) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.loader-m { color: white; }

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  animation: loaderFill 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

.loader-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  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.5s; }

/* =============================================
   UTILITY CLASSES
   ============================================= */
/* ---- PREMIUM GRADIENT TEXT VARIANTS ---- */
.gradient-text {
  background: linear-gradient(135deg, #818CF8 0%, #38BDF8 35%, #2DD4BF 65%, #34D399 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.2)) drop-shadow(0 0 40px rgba(52, 211, 153, 0.1));
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #06B6D4 0%, #2DD4BF 40%, #34D399 70%, #4ADE80 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.25)) drop-shadow(0 0 50px rgba(52, 211, 153, 0.15));
}

/* Indigo-violet variant for accent diversity */
.gradient-text-violet {
  background: linear-gradient(135deg, #A78BFA 0%, #818CF8 40%, #6366F1 70%, #4F46E5 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.25));
}

/* Animated shimmer gradient for hero emphasis */
.gradient-text-animated {
  background: linear-gradient(90deg, #818CF8, #38BDF8, #2DD4BF, #34D399, #818CF8) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShimmer 4s linear infinite;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.2));
}

@keyframes gradientShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* White-to-silver gradient for premium headings that need subtlety */
.gradient-text-silver {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 40%, #CBD5E1 80%, #94A3B8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

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

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 38px;
  background: linear-gradient(135deg, var(--btn-blue-start), var(--btn-blue-mid), var(--btn-blue-end));
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.45), 0 0 50px rgba(6, 182, 212, 0.25);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary-glow:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 35px rgba(79, 70, 229, 0.75), 0 0 70px rgba(6, 182, 212, 0.45);
}

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

.btn-xl {
  padding: 22px 52px;
  font-size: 1.15rem;
}

.btn-outline-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: rgba(79, 70, 229, 0.03);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid var(--btn-blue-mid);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.btn-outline-glow:hover {
  border-color: var(--btn-blue-end);
  background: rgba(79, 70, 229, 0.15);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.35);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 0;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon { display: flex; align-items: center; }

.logo-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.logo-accent {
  background: var(--grad-hero) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover { color: white; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--btn-blue-mid), var(--btn-blue-end));
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.35);
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.6), 0 0 40px rgba(6, 182, 212, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 32px 24px;
  gap: 4px;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
}

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

.mobile-link {
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-link:hover { color: white; }

.mobile-cta {
  margin-top: 16px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--btn-blue-mid), var(--btn-blue-end));
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.35);
}

.mobile-cta:hover {
  background: linear-gradient(135deg, var(--btn-blue-start), var(--btn-blue-mid));
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.6);
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  /* White base with gradient spans inside */
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

/* Particle canvas */
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
  animation-delay: -3s;
}

.hero-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.97); }
}

/* Mouse glow */
.mouse-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 32px 120px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  /* Crisp white for non-gradient hero text */
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 48px;
}

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

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: var(--grad-hero) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.2));
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeInUp 1s ease 2s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* =============================================
   TRUSTED BY
   ============================================= */
.trusted-by {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trusted-by .section-container {
  padding: 48px 0;
}

.trusted-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

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

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color 0.2s;
}

.marquee-item:hover { color: white; }

.industry-icon { font-size: 1.2rem; }

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  background: linear-gradient(180deg, var(--bg) 0%, #080812 50%, var(--bg) 100%);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  group: true;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(99, 102, 241, 0.15);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }

.service-card-featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.05));
  border-color: rgba(99, 102, 241, 0.25);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
  color: var(--icon-color, var(--primary));
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon-wrap {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--icon-color, var(--primary));
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  z-index: 2;
}

.service-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-title {
  background: var(--grad-hero) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.3));
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-tags span {
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.service-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.why-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.why-card:hover h3 {
  background: var(--grad-warm) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* =============================================
   PROCESS SECTION
   ============================================= */
.process-section {
  background: linear-gradient(180deg, var(--bg) 0%, #06060f 50%, var(--bg) 100%);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0.3;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  color: white;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
  transition: var(--transition);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.7);
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
  width: 100%;
}

.process-step:hover .step-content {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.step-icon { font-size: 1.8rem; margin-bottom: 12px; }

.step-content h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

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

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
.portfolio-section {
  background: var(--bg);
}

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

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border-color: rgba(99, 102, 241, 0.3);
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.2) 0%,
    rgba(5, 5, 20, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-industry {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  width: fit-content;
}

.portfolio-overlay h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-bottom: 10px;
}

.portfolio-results {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.portfolio-results span {
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
}

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--btn-blue-mid), var(--btn-blue-end));
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-btn:hover {
  transform: translateX(3px) scale(1.05);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.6);
}

.portfolio-cta { text-align: center; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg) 0%, #060610 100%);
  overflow: hidden;
}

.testimonials-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: testimonialsScroll 40s linear infinite;
  width: max-content;
}

@keyframes testimonialsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  cursor: pointer;
}

.testimonial-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

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

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =============================================
   RESULTS SECTION
   ============================================= */
.results-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.results-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

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

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.result-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow-glow);
}

.result-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }

.result-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  background: var(--grad-accent) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.2));
}

.result-label {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-bottom: 12px;
}

.result-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* =============================================
   TEAM SECTION
   ============================================= */
.team-section {
  background: linear-gradient(180deg, var(--bg) 0%, #060610 100%);
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.team-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card2);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
}

.placeholder-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover .team-overlay { opacity: 1; }

.team-social {
  display: flex;
  gap: 10px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.team-info {
  padding: 20px;
}

.team-info h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.team-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.team-info p {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
  background: var(--bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
  outline: none;
}

.faq-item:hover,
.faq-item:focus {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.open {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
}

.faq-question span {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1.4;
}

.faq-item.open .faq-question span {
  background: var(--grad-hero) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s ease;
  padding: 0 28px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* =============================================
   FINAL CTA
   ============================================= */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 40px 0;
}

.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  top: -200px;
  left: -150px;
}

.cta-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
  bottom: -150px;
  right: -100px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.cta-trust span { display: flex; align-items: center; gap: 6px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #040404;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding: 80px 0 60px;
}

.footer-logo {
  margin-bottom: 20px;
  display: inline-flex;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 300px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-links-group h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links-group a:hover { color: white; }

.footer-contact h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.contact-item a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--secondary); }
.contact-item svg { color: var(--primary); flex-shrink: 0; }

.footer-newsletter {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-newsletter h4 {
  margin-bottom: 8px;
}

.footer-newsletter p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.newsletter-form:focus-within {
  border-color: rgba(99, 102, 241, 0.4);
}

.newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 18px;
  color: white;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0 50px 50px 0;
  transition: opacity 0.2s;
}

.newsletter-form button:hover { opacity: 0.85; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: white; }

/* =============================================
   RESPONSIVE — TABLET (1024px)
   ============================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .process-timeline::before { display: none; }
  .process-step { flex-direction: row; text-align: left; align-items: flex-start; }
  .step-number { margin-bottom: 0; margin-right: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* =============================================
   RESPONSIVE — TABLET (768px)
   ============================================= */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .section-container { padding: 80px 20px; }

  .hero-container { padding: 130px 20px 100px; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 4rem); }
  .hero-sub { font-size: 0.95rem; }

  .hero-stats {
    padding: 20px;
    gap: 0;
    flex-wrap: wrap;
  }
  .stat-card { padding: 12px; min-width: 40%; }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-trust { flex-direction: column; align-items: center; gap: 12px; }

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

/* =============================================
   RESPONSIVE — MOBILE (480px)
   ============================================= */
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-card { min-width: 100%; }

  .section-title { font-size: 1.8rem; }
  .hero-title { font-size: 2.4rem; }
  .cta-title { font-size: 2rem; }

  .back-to-top { bottom: 20px; right: 20px; }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  .process-step { flex-direction: column; align-items: center; text-align: center; }
  .step-number { margin-right: 0; margin-bottom: 20px; }
}

/* =============================================
   GLOW BORDER ANIMATION
   ============================================= */
@keyframes glowBorder {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.15), 0 0 40px rgba(6, 182, 212, 0.08); }
  50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.35), 0 0 60px rgba(6, 182, 212, 0.2), 0 0 80px rgba(52, 211, 153, 0.1); }
}

.hero-stats { animation: glowBorder 4s ease-in-out infinite; }

/* ---- Footer heading exclusion — keep white ---- */
.footer-links-group h4,
.footer-contact h4 {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.footer-newsletter h4 {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
