/* ─── Google Fonts ─────────────────────────────────────────── */

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  --bg-primary:      #0b0d10;
  --bg-secondary:    #0f1218;
  --bg-surface:      #1a1d23;
  --bg-elevated:     #252930;
  --bg-card:         #1a1d23;

  --accent:          #3571FF;
  --accent-light:    #5d8cff;
  --accent-glow:     rgba(53,113,255,0.15);
  --accent-glow-md:  rgba(53,113,255,0.25);
  --accent-glow-strong: rgba(53,113,255,0.40);
  --accent-border:   rgba(53,113,255,0.30);
  --accent-border-strong: rgba(53,113,255,0.55);
  --accent-violet:   #7aa5ff;
  --accent-warm:     #7aa5ff;
  --gradient-text:   linear-gradient(135deg, #3571FF 0%, #7aa5ff 100%);

  --text-primary:    #e5e7eb;
  --text-secondary:  #9ca3af;
  --text-muted:      #6b7280;

  --border-subtle:   rgba(255,255,255,0.04);
  --border-default:  rgba(255,255,255,0.06);
  --border-bright:   rgba(255,255,255,0.10);

  --font-display:    'Space Grotesk', sans-serif;
  --font-body:       'Plus Jakarta Sans', sans-serif;
  --font-mono:       'JetBrains Mono', monospace;

  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full:9999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03) inset;
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px var(--accent-border), 0 0 32px var(--accent-glow);
}

/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { max-width: 100%; }
/* Only block-display for logo / image SVGs */
.nav-logo img, .footer-brand-logo { display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ─── Grain texture ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.6;
}

/* ─── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ─── Container ────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,80px); }
.section-py { padding: clamp(80px,9vw,136px) 0; }

/* ─── Gradient text utility ────────────────────────────────── */
.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Section Header ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  background: rgba(53,113,255,0.08);
  border: 1px solid var(--accent-border);
  padding: 6px 14px 6px 12px;
  border-radius: var(--radius-full);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.section-title em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin-top: 16px;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  transition: transform 0.18s var(--ease-out), box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary {
  background: linear-gradient(135deg, #3571FF, #1d4ed8);
  color: #fff;
  box-shadow: 0 0 24px rgba(53,113,255,0.40), 0 4px 16px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 48px rgba(53,113,255,0.60), 0 8px 24px rgba(0,0,0,0.5);
}
.btn-ghost {
  background: rgba(53,113,255,0.07);
  color: var(--accent-light);
  border: 1px solid var(--accent-border);
}
.btn-ghost:hover {
  background: rgba(53,113,255,0.15);
  border-color: var(--accent-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(53,113,255,0.20);
}

/* ════════════════════════════════════════════════════════════ */
/*  NAVBAR                                                      */
/* ════════════════════════════════════════════════════════════ */
/* ── Scroll progress bar ─────────────────────────────────────── */
#nav-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 1002;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 100%);
  width: 0%; pointer-events: none;
  transition: width 0.08s linear;
}

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 16px clamp(20px,5vw,80px);
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  background: rgba(6,10,18,0.80);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  padding: 10px clamp(20px,5vw,80px);
  background: rgba(6,10,18,0.97);
  box-shadow: 0 1px 0 var(--border-subtle), 0 8px 40px rgba(0,0,0,0.6);
}
.nav-logo { display: flex; align-items: center; gap: 10px; transition: opacity 0.2s; }
.nav-logo:hover { opacity: 0.85; }
.nav-logo img { height: 34px; width: auto; filter: brightness(1.05); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-link {
  font-size: 0.875rem; color: var(--text-secondary); font-weight: 500;
  position: relative; transition: color 0.2s; white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--gradient-text);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--accent-light); }
.nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }

/* ── Dropdown chevron ─────────────────────────────────────────── */
.chevron { transition: transform 0.25s var(--ease-out); flex-shrink: 0; opacity: 0.55; }
.has-dropdown:hover > a .chevron,
.has-dropdown:focus-within > a .chevron { transform: rotate(180deg); opacity: 1; }

/* ── Services dropdown panel ──────────────────────────────────── */
.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 500px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: 10px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0s 0.22s;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03) inset;
  z-index: 100;
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-default);
  border-top: 1px solid var(--border-default);
}
/* Invisible bridge fills the gap between the trigger and panel so the
   pointer can cross without losing :hover and hiding the dropdown. */
.nav-dropdown::after {
  content: ''; position: absolute; top: -20px; left: 0; right: 0;
  height: 20px;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; pointer-events: all; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0s;
}
.nav-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.nav-dd-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: var(--radius-lg);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.nav-dd-item:hover { background: var(--accent-glow); border-color: var(--accent-border); }
.nav-dd-icon {
  width: 34px; height: 34px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--bg-surface); border: 1px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: background 0.15s, border-color 0.15s;
}
.nav-dd-item:hover .nav-dd-icon { background: rgba(53,113,255,0.12); border-color: var(--accent-border); }
.nav-dd-label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; transition: color 0.15s; line-height: 1.3; }
.nav-dd-item:hover .nav-dd-label { color: var(--text-primary); }

/* ── Hamburger ────────────────────────────────────────────────── */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ──────────────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: rgba(5,8,16,0.98); backdrop-filter: blur(28px);
  flex-direction: column;
  padding: 0 clamp(20px,6vw,48px) 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; pointer-events: all; display: flex; }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0 20px; border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.mobile-close {
  width: 38px; height: 38px; border-radius: var(--radius-lg);
  background: var(--bg-surface); border: 1px solid var(--border-default);
  color: var(--text-primary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.mobile-close:hover { background: var(--accent-glow); border-color: var(--accent-border); }

.mobile-nav {
  display: flex; flex-direction: column; gap: 2px;
  padding: 24px 0; flex: 1;
}
.mobile-link {
  display: block; padding: 13px 16px; border-radius: var(--radius-lg);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--text-secondary); text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.mobile-link:hover { color: var(--text-primary); background: var(--bg-surface); border-color: var(--border-default); }
.mobile-link.active { color: var(--accent-light); background: var(--accent-glow); border-color: var(--accent-border); }

.mobile-services-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 13px 16px; border-radius: var(--radius-lg);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--text-secondary); background: none; border: 1px solid transparent;
  cursor: pointer; transition: color 0.2s, background 0.2s, border-color 0.2s; text-align: left;
}
.mobile-services-toggle:hover { color: var(--text-primary); background: var(--bg-surface); border-color: var(--border-default); }
.mobile-services-toggle.open { color: var(--accent-light); background: var(--accent-glow); border-color: var(--accent-border); }
.mobile-chevron { transition: transform 0.25s; flex-shrink: 0; }
.mobile-services-toggle.open .mobile-chevron { transform: rotate(180deg); }

.mobile-services-list {
  display: none; flex-direction: column; gap: 1px;
  padding: 6px 0 6px 16px; margin-top: 2px;
}
.mobile-services-list.open { display: flex; }
.mobile-service-link {
  display: block; padding: 9px 14px; border-radius: var(--radius-md);
  font-size: 0.9rem; color: var(--text-secondary); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mobile-service-link:hover { color: var(--accent-light); background: var(--accent-glow); }

.mobile-footer { padding-top: 20px; border-top: 1px solid var(--border-subtle); flex-shrink: 0; }

/* Stagger animation for mobile links on open */
.mobile-menu.open .mobile-nav > *:nth-child(1) { animation: mobileSlideIn 0.35s var(--ease-out) 0.04s both; }
.mobile-menu.open .mobile-nav > *:nth-child(2) { animation: mobileSlideIn 0.35s var(--ease-out) 0.08s both; }
.mobile-menu.open .mobile-nav > *:nth-child(3) { animation: mobileSlideIn 0.35s var(--ease-out) 0.12s both; }
.mobile-menu.open .mobile-nav > *:nth-child(4) { animation: mobileSlideIn 0.35s var(--ease-out) 0.16s both; }
.mobile-menu.open .mobile-nav > *:nth-child(5) { animation: mobileSlideIn 0.35s var(--ease-out) 0.20s both; }
@keyframes mobileSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

/* Background layers */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 15% 45%, rgba(53,113,255,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 85% 75%, rgba(122,165,255,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 55% 5%,  rgba(53,113,255,0.09) 0%, transparent 50%),
    var(--bg-primary);
  animation: meshShift 14s ease-in-out infinite alternate;
}
@keyframes meshShift {
  from { opacity: 1; }
  to   { opacity: 0.85; }
}
/* Dot-grid overlay */
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(53,113,255,0.18) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
/* Grid lines */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(53,113,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,113,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb-1 {
  width: 600px; height: 600px; background: rgba(53,113,255,0.14);
  top: -180px; right: -120px; animation: orbDrift 10s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px; height: 400px; background: rgba(122,165,255,0.12);
  bottom: 40px; left: -100px; animation: orbDrift 8s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 250px; height: 250px; background: rgba(53,113,255,0.10);
  top: 35%; right: 18%; animation: orbDrift 6s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(24px,-36px) scale(1.08); }
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(20px,5vw,80px) 80px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.70rem;
  background: rgba(53,113,255,0.08);
  border: 1px solid var(--accent-border);
  color: var(--accent-light);
  letter-spacing: 0.14em; padding: 7px 16px;
  border-radius: var(--radius-full); margin-bottom: 32px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 0.2s forwards;
}
.hero-tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.5)} }

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--text-primary); margin-bottom: 24px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.85s var(--ease-out) 0.4s forwards;
}
.hero-h1 .accent-grad {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative;
}
.hero-h1 .accent-grad::after {
  content: ''; position: absolute;
  bottom: 2px; left: 0; right: 0; height: 3px;
  background: var(--gradient-text); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: lineExpand 0.7s var(--ease-out) 1.3s forwards;
}
@keyframes lineExpand { to { transform: scaleX(1); } }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-secondary); max-width: 560px;
  line-height: 1.8; margin-bottom: 40px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 0.6s forwards;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 0.8s forwards;
}

/* Hero stats */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  background: rgba(15,22,35,0.6);
  backdrop-filter: blur(12px);
  overflow: hidden;
  width: fit-content;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 1.0s forwards;
}
.hero-stat-item {
  display: flex; flex-direction: column;
  padding: 20px 32px;
  position: relative;
}
.hero-stat-item + .hero-stat-item::before {
  content: ''; position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border-default);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700; color: #ffffff; line-height: 1;
  text-shadow: 0 0 20px rgba(53,113,255,0.4);
}
.hero-stat-num span {
  background: linear-gradient(135deg, #3571FF 0%, #7aa5ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label {
  font-size: 0.72rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 5px;
}
.hero-stat-divider { display: none; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: fadeUp 0.6s var(--ease-out) 1.5s forwards;
}
.scroll-indicator span { font-size: 0.68rem; color: var(--text-secondary); letter-spacing: 0.12em; text-transform: uppercase; }
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1px solid var(--border-bright); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 6px; background: var(--accent); border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%  { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 0; }
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ════════════════════════════════════════════════════════════ */
/*  TRUSTED BY                                                  */
/* ════════════════════════════════════════════════════════════ */
.trusted {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}
.trusted::before, .trusted::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.trusted::before { left: 0; background: linear-gradient(90deg, var(--bg-secondary), transparent); }
.trusted::after  { right: 0; background: linear-gradient(-90deg, var(--bg-secondary), transparent); }
.trusted-label {
  text-align: center; font-size: 0.72rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 20px;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 44px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--text-secondary); white-space: nowrap; transition: color 0.2s;
}
.marquee-item:hover { color: var(--text-primary); }
.marquee-item .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0.8; flex-shrink: 0;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ════════════════════════════════════════════════════════════ */
/*  ABOUT SNAPSHOT                                              */
/* ════════════════════════════════════════════════════════════ */
.about-snap {
  background:
    radial-gradient(ellipse 60% 60% at 90% 50%, rgba(53,113,255,0.07), transparent),
    var(--bg-secondary);
}
.about-snap-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: var(--radius-2xl); overflow: hidden; }
.stat-block {
  background: var(--bg-card);
  padding: 36px 28px; position: relative; overflow: hidden;
  border: 1px solid var(--border-default);
  transition: border-color 0.3s, background 0.3s;
}
.stat-block:nth-child(1) { border-radius: var(--radius-xl) 0 0 0; }
.stat-block:nth-child(2) { border-radius: 0 var(--radius-xl) 0 0; }
.stat-block:nth-child(3) { border-radius: 0 0 0 var(--radius-xl); }
.stat-block:nth-child(4) { border-radius: 0 0 var(--radius-xl) 0; }
.stat-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53,113,255,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.stat-block:hover { background: var(--bg-elevated); border-color: var(--accent-border); }
.stat-block:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700; line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 12px rgba(53,113,255,0.35));
}
.stat-tag {
  font-size: 0.76rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px;
}

/* ════════════════════════════════════════════════════════════ */
/*  SERVICES                                                    */
/* ════════════════════════════════════════════════════════════ */
.services {
  background:
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(53,113,255,0.06), transparent),
    var(--bg-primary);
}
.services-header { margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.service-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(10,15,28,0.8) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl); padding: 32px;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  cursor: default;
  box-shadow: var(--shadow-card);
}
/* Top accent line */
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.3s;
}
/* Corner glow */
.service-card::after {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(53,113,255,0.12) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border-strong);
  box-shadow: var(--shadow-card-hover);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 1; }

.service-icon {
  width: 54px; height: 54px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(53,113,255,0.18) 0%, rgba(122,165,255,0.10) 100%);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(53,113,255,0.15);
}
.service-name {
  font-family: var(--font-display); font-size: 1.08rem;
  font-weight: 600; color: var(--text-primary); margin-bottom: 10px;
}
.service-desc {
  font-size: 0.90rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 22px;
}
.service-link {
  font-size: 0.80rem; font-weight: 600;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s, filter 0.2s;
}
.service-link:hover { gap: 10px; filter: brightness(1.2); }

/* ════════════════════════════════════════════════════════════ */
/*  PROCESS                                                     */
/* ════════════════════════════════════════════════════════════ */
.process {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(53,113,255,0.06), transparent),
    var(--bg-primary);
}
.process-header { text-align: center; margin-bottom: 72px; }
.process-header .section-desc { margin: 16px auto 0; }
.process-track {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 0; position: relative;
}
/* Connector line */
.process-track::before {
  content: ''; position: absolute;
  top: 27px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, var(--accent-border) 15%,
    var(--accent) 50%,
    var(--accent-border) 85%, transparent 100%);
}
.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 12px; position: relative;
}
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.82rem;
  font-weight: 500;
  background-clip: padding-box;
  margin-bottom: 22px; position: relative; z-index: 1;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}
/* Gradient number text */
.process-num span {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-weight: 700;
}
.process-step:hover .process-num {
  transform: scale(1.15);
  border-color: var(--accent-border-strong);
  box-shadow: 0 0 0 4px rgba(53,113,255,0.12), 0 0 24px rgba(53,113,255,0.25);
}
.process-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.92rem; color: var(--text-primary); margin-bottom: 8px;
}
.process-desc { font-size: 0.80rem; color: var(--text-secondary); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════ */
/*  INDUSTRIES                                                  */
/* ════════════════════════════════════════════════════════════ */
.industries {
  background:
    radial-gradient(ellipse 70% 60% at 10% 50%, rgba(122,165,255,0.06), transparent),
    var(--bg-secondary);
}
.industries-header { text-align: center; margin-bottom: 56px; }
.industries-header .section-desc { margin: 16px auto 0; }
.industries-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.industry-tile {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(9,14,26,0.9) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.industry-tile::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(0deg, rgba(53,113,255,0.06), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.industry-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border-strong);
  box-shadow: 0 0 0 1px var(--accent-border), 0 8px 40px rgba(0,0,0,0.5), 0 0 30px var(--accent-glow);
}
.industry-tile:hover::before { opacity: 1; }
.industry-icon-wrap {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(53,113,255,0.16), rgba(122,165,255,0.10));
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.industry-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.96rem; color: var(--text-primary);
}
.industry-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════ */
/*  TECHNOLOGIES                                                */
/* ════════════════════════════════════════════════════════════ */
.technologies {
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(53,113,255,0.07), transparent),
    var(--bg-primary);
}
.tech-header { text-align: center; margin-bottom: 48px; }
.tech-header .section-desc { margin: 16px auto 0; }
.tech-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tech-tab {
  padding: 9px 22px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
  border: 1px solid var(--border-default); background: transparent;
  transition: all 0.2s; cursor: pointer;
}
.tech-tab.active {
  background: linear-gradient(135deg, rgba(53,113,255,0.20), rgba(122,165,255,0.12));
  border-color: var(--accent-border-strong); color: var(--accent-light);
  box-shadow: 0 0 16px rgba(53,113,255,0.20);
}
.tech-tab:hover:not(.active) { background: var(--accent-glow); border-color: var(--accent-border); color: var(--accent-light); }
.tech-panel { display: none; }
.tech-panel.active { display: block; }
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tech-pill {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-surface));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 10px 20px; font-size: 0.86rem; color: var(--text-secondary);
  font-weight: 500; display: flex; align-items: center; gap: 8px;
  transition: all 0.22s; box-shadow: var(--shadow-card);
}
.tech-pill:hover {
  border-color: var(--accent-border-strong); color: var(--text-primary);
  background: linear-gradient(135deg, rgba(53,113,255,0.15), rgba(122,165,255,0.08));
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 16px var(--accent-glow);
}
.tech-pill .tech-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.8; flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

/* ════════════════════════════════════════════════════════════ */
/*  TESTIMONIALS                                                */
/* ════════════════════════════════════════════════════════════ */
.testimonials {
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(53,113,255,0.07), transparent),
    var(--bg-secondary);
}
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-desc { margin: 16px auto 0; }
.testimonials-track-wrap { overflow: hidden; }
.testimonials-track { display: flex; gap: 20px; transition: transform 0.5s var(--ease-out); }
.testi-card {
  flex: 0 0 calc(33.333% - 14px);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(9,14,25,0.95) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.testi-card::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-size: 5rem; line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0.12; font-family: var(--font-display); font-weight: 700;
}
.testi-card.active {
  border-color: var(--accent-border-strong);
  box-shadow: 0 0 0 1px var(--accent-border), 0 8px 40px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
}
.testi-stars { display: flex; gap: 3px; }
.testi-star { color: #FFBF47; font-size: 0.88rem; }
.testi-quote {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8;
  font-style: italic; flex: 1; position: relative; z-index: 1;
}
.testi-author-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.92rem; color: var(--text-primary);
}
.testi-author-role { font-size: 0.78rem; color: var(--text-secondary); margin-top: 3px; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.testi-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border-bright); cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.testi-dot.active { background: var(--accent); transform: scale(1.5); box-shadow: 0 0 8px var(--accent); }
.testi-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 1rem; cursor: pointer;
  transition: all 0.2s; background: var(--bg-card);
}
.testi-arrow:hover {
  border-color: var(--accent-border-strong); background: var(--accent-glow);
  color: var(--accent-light); box-shadow: 0 0 14px var(--accent-glow);
}

/* ════════════════════════════════════════════════════════════ */
/*  CTA BANNER                                                  */
/* ════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative; overflow: hidden;
  padding: clamp(80px,10vw,140px) clamp(20px,5vw,80px);
  text-align: center;
  background:
    radial-gradient(ellipse 100% 120% at 50% 120%, rgba(53,113,255,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(122,165,255,0.10) 0%, transparent 70%),
    var(--bg-primary);
}
/* Animated border */
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  border-top: 1px solid; border-bottom: 1px solid;
  border-image: linear-gradient(90deg, transparent, var(--accent-border-strong), transparent) 1;
  animation: borderGlow 4s ease-in-out infinite;
}
/* Glowing circle behind */
.cta-banner::after {
  content: ''; position: absolute;
  bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(53,113,255,0.18), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
@keyframes borderGlow { 0%,100%{opacity:0.5} 50%{opacity:1} }
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-banner .section-title { font-size: clamp(2rem,4vw,3.2rem); margin-bottom: 20px; }
.cta-banner .section-desc { margin: 0 auto 40px; text-align: center; }
.cta-banner .hero-ctas { justify-content: center; }

/* ════════════════════════════════════════════════════════════ */
/*  FOOTER                                                      */
/* ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: clamp(56px,7vw,96px) 0 0;
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand-logo { height: 28px; width: auto; margin-bottom: 16px; filter: brightness(1.05); }
.footer-brand-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.8; max-width: 260px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.82rem;
  background: var(--bg-card); transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--accent-border-strong); color: var(--accent-light);
  background: var(--accent-glow); box-shadow: 0 0 12px var(--accent-glow);
}
.footer-col-title {
  font-family: var(--font-display); font-weight: 700; font-size: 0.84rem;
  color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 0.86rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-link:hover { color: var(--accent-light); }
.footer-contact-item {
  display: flex; gap: 10px; font-size: 0.84rem; color: var(--text-secondary);
  line-height: 1.55; margin-bottom: 14px;
}
.footer-contact-item .icon { color: var(--accent-light); font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.80rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.80rem; color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent-light); }

/* ════════════════════════════════════════════════════════════ */
/*  PARTICLES                                                   */
/* ════════════════════════════════════════════════════════════ */
#particles-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.45; }

/* ════════════════════════════════════════════════════════════ */
/*  RESPONSIVE                                                  */
/* ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-track { grid-template-columns: repeat(3,1fr); gap: 32px; }
  .process-track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-snap-inner { gap: 48px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-h1 { font-size: clamp(2.2rem,8vw,3.2rem); }
  .hero-stats { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .about-snap-inner { grid-template-columns: 1fr; gap: 48px; }
  .industries-grid { grid-template-columns: repeat(2,1fr); }
  .process-track { grid-template-columns: repeat(2,1fr); }
  .testi-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-stat-item { padding: 16px 20px; }
  .industries-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
}

/* ─── SVG Icon sizing ──────────────────────────────────────── */
.service-icon svg,
.industry-icon-wrap svg {
  width: 22px; height: 22px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.footer-contact-item svg,
.footer-contact-item .icon svg {
  width: 16px; height: 16px;
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}
/* inline icon spans in contact/footer */
.icon { display: inline-flex; align-items: flex-start; }
.icon svg { width: 16px; height: 16px; color: var(--accent-light); margin-top:1px; }

/* Why-choose card icons */
.why-card [style*="font-size:1.2rem"] { display: flex; align-items: center; justify-content: center; }
.why-card svg { width: 22px; height: 22px; color: var(--accent-light); }

/* About feature list icons */
.about-copy svg { width: 16px; height: 16px; color: var(--accent-light); flex-shrink: 0; }

/* Social link text stays centred */
.social-link { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; }

/* Testimonial quote mark stays decorative */
.testi-card::before { pointer-events: none; }

/* ════════════════════════════════════════════════════════════ */
/*  ENHANCED ANIMATIONS                                         */
/* ════════════════════════════════════════════════════════════ */

/* ── Reveal variants ───────────────────────────────────────── */
.reveal-scale {
  opacity: 0; transform: translateY(20px) scale(0.96);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-left  { opacity: 0; transform: translateX(-36px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(36px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Gradient text shimmer ─────────────────────────────────── */
.section-title em {
  background: linear-gradient(135deg, #3571FF 0%, #7aa5ff 45%, #5d8cff 70%, #3571FF 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradShift 5s ease-in-out infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── Hero title gradient ───────────────────────────────────── */
.hero-h1 .accent-grad {
  background: linear-gradient(135deg, #3571FF 0%, #7aa5ff 45%, #5d8cff 70%, #3571FF 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradShift 4s ease-in-out infinite;
}

/* ── Cursor spotlight ──────────────────────────────────────── */
#spotlight {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,113,255,0.07) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  will-change: transform;
}

/* ── Border beam on cards ──────────────────────────────────── */
.service-card, .industry-tile, .testi-card {
  --beam-deg: 0deg;
}
.service-card.beam-active::after,
.industry-tile.beam-active::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--beam-deg), transparent 0%, var(--accent) 10%, transparent 20%);
  z-index: -1;
  animation: beamSpin 2.5s linear infinite;
}
@property --beam-deg {
  syntax: '<angle>'; initial-value: 0deg; inherits: false;
}
@keyframes beamSpin { to { --beam-deg: 360deg; } }

/* ── Card shimmer sweep ────────────────────────────────────── */
.service-card .shimmer,
.industry-tile .shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255,255,255,0.04) 50%,
    transparent 60%);
  background-size: 200% 100%;
  background-position: 150% 0;
  border-radius: inherit;
  pointer-events: none;
  transition: background-position 0.8s ease;
}
.service-card:hover .shimmer,
.industry-tile:hover .shimmer {
  background-position: -50% 0;
}

/* ── 3D tilt cards ─────────────────────────────────────────── */
.service-card, .industry-tile, .testi-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Service icon float ────────────────────────────────────── */
.service-icon {
  animation: iconFloat 4s ease-in-out infinite;
}
.service-card:nth-child(2) .service-icon { animation-delay: 0.4s; }
.service-card:nth-child(3) .service-icon { animation-delay: 0.8s; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.2s; }
.service-card:nth-child(5) .service-icon { animation-delay: 1.6s; }
.service-card:nth-child(6) .service-icon { animation-delay: 2.0s; }
@keyframes iconFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ── Process step pulse ring ───────────────────────────────── */
.process-num::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
  opacity: 0;
  transition: opacity 0.3s;
}
.process-step:hover .process-num::after {
  opacity: 1;
  animation: ringPulse 1.2s ease-out infinite;
}
@keyframes ringPulse {
  0%  { transform: scale(1); opacity: 0.6; }
  100%{ transform: scale(1.5); opacity: 0; }
}

/* ── Animated underline on nav links ──────────────────────── */
.nav-link::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-violet));
  height: 2px; border-radius: 1px;
}

/* ── Stat block glow pulse ─────────────────────────────────── */
.stat-block .stat-num {
  animation: numGlow 3s ease-in-out infinite alternate;
}
@keyframes numGlow {
  from { filter: drop-shadow(0 0 8px rgba(53,113,255,0.3)); }
  to   { filter: drop-shadow(0 0 20px rgba(53,113,255,0.6)); }
}

/* ── Eyebrow dot pulse ─────────────────────────────────────── */
.eyebrow::before {
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 6px var(--accent); }
  50%      { box-shadow: 0 0 14px var(--accent), 0 0 24px var(--accent); }
}

/* ── Hero tag glow ─────────────────────────────────────────── */
.hero-tag { animation: tagGlow 3s ease-in-out infinite alternate; }
@keyframes tagGlow {
  from { box-shadow: none; }
  to   { box-shadow: 0 0 20px rgba(53,113,255,0.25); }
}

/* ── CTA banner animated mesh ──────────────────────────────── */
.cta-banner {
  background:
    radial-gradient(ellipse 120% 140% at 50% 130%, rgba(53,113,255,0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(122,165,255,0.10) 0%, transparent 60%),
    var(--bg-primary);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  animation: ctaPulse 8s ease-in-out infinite alternate;
}
@keyframes ctaPulse {
  from { background-position: 0% 0%; }
  to   { background-position: 3% 6%; }
}

/* ── Tech pill stagger on show ─────────────────────────────── */
.tech-pill {
  opacity: 0; transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.tech-pill.pill-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ── Marquee item hover glow ───────────────────────────────── */
.marquee-item { transition: color 0.25s, text-shadow 0.25s; }
.marquee-item:hover { color: var(--accent-light); text-shadow: 0 0 16px rgba(53,113,255,0.5); }

/* ── Scroll indicator bounce ───────────────────────────────── */
.scroll-mouse { animation: mouseFloat 2.5s ease-in-out infinite; }
@keyframes mouseFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ── Button ripple ─────────────────────────────────────────── */
.btn .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0); animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Glitch on hero h1 load ────────────────────────────────── */
@keyframes glitchIn {
  0%  { clip-path: inset(100% 0 0 0); }
  20% { clip-path: inset(0 0 80% 0); }
  40% { clip-path: inset(40% 0 40% 0); }
  60% { clip-path: inset(80% 0 0 0); }
  80% { clip-path: inset(0 0 20% 0); }
  100%{ clip-path: inset(0 0 0 0); }
}

/* ── Testi card hover lift ─────────────────────────────────── */
.testi-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border-strong);
  box-shadow: 0 0 0 1px var(--accent-border), 0 16px 48px rgba(0,0,0,0.55), 0 0 48px var(--accent-glow);
}

/* ── Footer brand logo breathe ─────────────────────────────── */
.footer-brand-logo { animation: logoBreathe 4s ease-in-out infinite alternate; }
@keyframes logoBreathe {
  from { opacity: 0.85; }
  to   { opacity: 1; filter: drop-shadow(0 0 8px rgba(53,113,255,0.3)); }
}

/* ── Hero stat item count-up flash ────────────────────────── */
.hero-stat-num.counting { animation: flashNum 0.1s ease-in-out; }
@keyframes flashNum {
  0%,100%{ opacity: 1; } 50%{ opacity: 0.5; }
}

/* ── Orb drift enhancement ─────────────────────────────────── */
.orb { transition: transform 0.1s linear; }


/* ─── FAQ accordion (service pages) ──────────────────────────── */
.faq-item summary { list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: -2px;
  color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform 0.2s var(--ease-out);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item { transition: border-color 0.3s; }
.faq-item[open], .faq-item:hover { border-color: var(--accent-border); }

/* ─── Accessibility: honor reduced-motion preference ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  canvas#particles-canvas { display: none !important; }
}
