/* =========================================================
   IG Route — Main Stylesheet
   Dark iGaming aesthetic · Glassmorphism · Neon accents
   ========================================================= */

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

/* ─── Custom Properties ──────────────────────────────────── */
:root {
  --void:        #080B12;
  --surface:     #0F1420;
  --surface-2:   #161D2E;
  --border:      rgba(255,255,255,0.07);
  --border-glow: rgba(124,58,237,0.3);
  --purple:      #7C3AED;
  --purple-light:#A78BFA;
  --cyan:        #06B6D4;
  --cyan-light:  #67E8F9;
  --indigo:      #4F46E5;
  --green:       #10B981;
  --text-muted:  #6B7280;
  --radius:      16px;
  --radius-sm:   10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--void);
  color: #E5E7EB;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Tailwind-style utilities ───────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-20 { padding-top: 5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid { display: grid; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.2em; }
.leading-relaxed { line-height: 1.625; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-20 { height: 5rem; }
.min-h-screen { min-height: 100vh; }
.block { display: block; }
.hidden { display: none; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.order-2 { order: 2; }
.rounded-full { border-radius: 9999px; }
.text-white { color: #fff; }
.text-gray-300 { color: #D1D5DB; }
.text-gray-400 { color: #9CA3AF; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-5xl { max-width: 64rem; }
.antialiased { -webkit-font-smoothing: antialiased; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-surface\/20 { --tw-gradient-from: rgba(15,20,32,0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-surface\/40 { --tw-gradient-from: rgba(15,20,32,0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-surface\/40 { --tw-gradient-to: rgba(15,20,32,0.4); }
.to-transparent { --tw-gradient-to: transparent; }
.p-2 { padding: 0.5rem; }

@media(min-width:640px) {
  .sm\:flex-row { flex-direction: row; }
}
@media(min-width:768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:text-5xl { font-size: 3rem; }
}
@media(min-width:1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
}
.scroll-smooth { scroll-behavior: smooth; }
.rows-4 { rows: 4; }
.bg-void { background-color: var(--void); }
.text-accent { color: var(--cyan); }

/* ─── Typography ─────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav-bar {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: rgba(8,11,18,0.9) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border) !important;
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }
.mobile-menu {
  background: rgba(8,11,18,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--indigo) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #9333EA 0%, #6366F1 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: 12px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, rgba(6,182,212,0.15) 0%, rgba(6,182,212,0.05) 100%);
  color: var(--cyan);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(6,182,212,0.3);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { background: rgba(6,182,212,0.2); border-color: var(--cyan); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  border: none;
}
.btn-ghost:hover { color: #fff; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero-section { background: var(--void); }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-60%);
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  top: 30%; right: -100px;
  animation: orb-drift 15s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
  bottom: 10%; left: -50px;
  animation: orb-drift 10s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(30px, 20px); }
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-light);
}

.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ─── Stat pills ─────────────────────────────────────────── */
.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  min-width: 120px;
  transition: border-color 0.2s, background 0.2s;
}
.stat-pill:hover { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.05); }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Platform mockup ────────────────────────────────────── */
.platform-mockup-wrap {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
}
.platform-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.1),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 120px rgba(124,58,237,0.08);
  transform: rotateX(8deg) scale(0.98);
  transition: transform 0.4s ease;
}
.platform-mockup:hover { transform: rotateX(0deg) scale(1); }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
  margin-left: 0.5rem;
  font-family: monospace;
}
.mockup-body { display: flex; }
.mockup-sidebar {
  width: 140px;
  background: rgba(0,0,0,0.3);
  border-right: 1px solid var(--border);
  padding: 1rem 0;
  flex-shrink: 0;
}
.ms-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.ms-item {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.ms-item:hover, .ms-item.active {
  color: #fff;
  background: rgba(124,58,237,0.15);
}
.mockup-main { flex: 1; padding: 1rem; min-width: 0; }
.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.mockup-title { font-size: 0.875rem; font-weight: 600; color: #fff; }
.mockup-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 500;
}
.mockup-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
@media(min-width:600px) {
  .mockup-cards { grid-template-columns: repeat(4, 1fr); }
}
.mc {
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mc-purple { background: rgba(124,58,237,0.1); }
.mc-cyan   { background: rgba(6,182,212,0.1); }
.mc-indigo { background: rgba(79,70,229,0.1); }
.mc-green  { background: rgba(16,185,129,0.1); }
.mc-label { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.mc-val { font-size: 0.9rem; font-weight: 700; color: #fff; }
.mc-trend { font-size: 0.65rem; color: var(--green); margin-top: 0.2rem; }
.mc-trend.up::before { content: '▲ '; }
.mockup-chart {
  height: 80px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 0.5rem;
  border: 1px solid var(--border);
}

/* ─── Scroll indicator ───────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  margin: 0 auto;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.3; }
}

/* ─── Marquee ────────────────────────────────────────────── */
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  padding: 0.5rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.marquee-item:hover { color: rgba(255,255,255,0.5); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Sections ───────────────────────────────────────────── */
.section-pad { padding: 6rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.text-center .section-sub { margin: 0 auto; }

/* ─── Feature cards ──────────────────────────────────────── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.1);
}
.feature-card:hover::before { opacity: 1; }

.fc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.fc-purple { background: rgba(124,58,237,0.15); color: var(--purple-light); }
.fc-cyan   { background: rgba(6,182,212,0.15);  color: var(--cyan-light); }
.fc-indigo { background: rgba(79,70,229,0.15);  color: #818CF8; }

.fc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.fc-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.fc-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  background: rgba(124,58,237,0.1);
  border-radius: 6px;
  display: inline-block;
}

/* ─── Check items ────────────────────────────────────────── */
.check-item {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #D1D5DB;
  line-height: 1.6;
}
.check-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(124,58,237,0.2);
  color: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.check-cyan {
  background: rgba(6,182,212,0.15);
  color: var(--cyan-light);
}

/* ─── Integration visual ─────────────────────────────────── */
.integration-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin: 0 auto;
}
.iv-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.iv-hub {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--indigo) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(124,58,237,0.5);
  animation: hub-pulse 3s ease-in-out infinite;
}
@keyframes hub-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(124,58,237,0.5); }
  50%       { box-shadow: 0 0 70px rgba(124,58,237,0.8), 0 0 140px rgba(124,58,237,0.2); }
}
.iv-hub-label { font-size: 0.8rem; font-weight: 700; color: #fff; }
.iv-hub-sub   { font-size: 0.65rem; color: rgba(255,255,255,0.6); }

.iv-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed var(--border);
  animation: ring-spin linear infinite;
}
.iv-ring-outer {
  width: 360px; height: 360px;
  animation-duration: 30s;
}
.iv-ring-inner {
  width: 220px; height: 220px;
  animation-duration: 20s;
  animation-direction: reverse;
  border-color: rgba(6,182,212,0.15);
}
@keyframes ring-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.iv-node {
  position: absolute;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  animation: counter-spin linear infinite;
}
.iv-provider {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
  animation-duration: 30s;
}
.iv-operator {
  background: rgba(6,182,212,0.15);
  border: 1px solid rgba(6,182,212,0.3);
  color: var(--cyan-light);
  animation-duration: 20s;
  animation-direction: reverse;
}
@keyframes counter-spin { from { transform: rotate(0deg) translateX(100%) rotate(0deg); } to { transform: rotate(360deg) translateX(100%) rotate(-360deg); } }

/* Position nodes around rings */
.iv-ring-outer .iv-node:nth-child(1)  { top: 0%; left: 50%; }
.iv-ring-outer .iv-node:nth-child(2)  { top: 14%; right: 5%; }
.iv-ring-outer .iv-node:nth-child(3)  { top: 64%; right: 0%; }
.iv-ring-outer .iv-node:nth-child(4)  { bottom: 5%; left: 50%; }
.iv-ring-outer .iv-node:nth-child(5)  { top: 64%; left: 0%; }
.iv-ring-outer .iv-node:nth-child(6)  { top: 14%; left: 5%; }
.iv-ring-inner .iv-node:nth-child(1)  { top: 0%; left: 50%; }
.iv-ring-inner .iv-node:nth-child(2)  { top: 64%; right: 0%; }
.iv-ring-inner .iv-node:nth-child(3)  { top: 64%; left: 0%; }

/* ─── Provider flow ──────────────────────────────────────── */
.provider-flow { max-width: 420px; }
.pf-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}
.pf-step.active { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.05); }
.pf-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple-light);
  min-width: 32px;
}
.pf-title { font-weight: 600; color: #fff; margin-bottom: 0.25rem; font-size: 0.95rem; }
.pf-desc  { font-size: 0.825rem; color: var(--text-muted); }
.pf-arrow {
  text-align: center;
  color: var(--text-muted);
  padding: 0.5rem 0;
  font-size: 1.25rem;
}

/* ─── Technology section ─────────────────────────────────── */
.tech-section { background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(124,58,237,0.07) 0%, transparent 70%); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
@media(min-width:640px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}
.tech-card:hover { border-color: rgba(124,58,237,0.3); }
.tc-metric {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple-light);
  line-height: 1;
}
.tc-unit { font-size: 1rem; color: var(--text-muted); }
.tc-label { font-size: 0.75rem; color: var(--text-muted); margin: 0.5rem 0; text-transform: uppercase; letter-spacing: 0.1em; }
.tc-bar { height: 3px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.tc-fill { height: 100%; background: linear-gradient(90deg, var(--purple) 0%, var(--indigo) 100%); border-radius: 3px; transition: width 1s ease; }
.tc-fill-cyan  { background: linear-gradient(90deg, var(--cyan) 0%, #3B82F6 100%); }
.tc-fill-green { background: linear-gradient(90deg, var(--green) 0%, #34D399 100%); }

.tech-feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.2s;
}
.tech-feature-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-2px); }
.tfc-icon {
  width: 52px; height: 52px;
  background: rgba(124,58,237,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  margin-bottom: 1rem;
}
.tech-feature-card h3 { font-weight: 700; color: #fff; margin-bottom: 0.5rem; font-size: 1rem; }
.tech-feature-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ─── Compliance ─────────────────────────────────────────── */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
@media(min-width:640px) { .compliance-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:900px) { .compliance-grid { grid-template-columns: repeat(6, 1fr); } }

.compliance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.2s;
}
.compliance-card:hover { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.05); }
.comp-flag { font-size: 1.75rem; margin-bottom: 0.5rem; }
.comp-name { font-size: 0.75rem; font-weight: 600; color: #D1D5DB; margin-bottom: 0.25rem; }
.comp-status {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(16,185,129,0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.compliance-certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 700px;
  margin: 3rem auto 0;
}
.cert-item {
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ─── Why section ────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media(min-width:1024px) { .why-grid { grid-template-columns: 1fr 1fr; } }

.why-quote {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 3px solid var(--purple);
  background: rgba(124,58,237,0.06);
  border-radius: 0 12px 12px 0;
}
.why-quote blockquote {
  font-size: 0.95rem;
  color: #D1D5DB;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.why-quote cite { font-size: 0.75rem; color: var(--text-muted); }

.why-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.wn-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}
.wn-item:hover { border-color: rgba(124,58,237,0.3); }
.wn-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.wn-label { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 5rem 2rem;
  border-radius: 24px;
  border: 1px solid rgba(124,58,237,0.25);
  overflow: hidden;
  background: var(--surface);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(6,182,212,0.08) 0%, transparent 60%);
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ─── Contact form ───────────────────────────────────────── */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cf-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.cf-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  color: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.cf-field select option { background: var(--surface-2); }
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(255,255,255,0.2); }

.ci-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #D1D5DB;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media(min-width:640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand {}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; space-y: 0.5rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  align-items: center;
  text-align: center;
}
@media(min-width:640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-badges { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.footer-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* ─── Scroll reveal animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Custom scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ─── Selection ──────────────────────────────────────────── */
::selection { background: rgba(124,58,237,0.4); color: #fff; }

/* ─── 404 page ───────────────────────────────────────────── */
.four-o-four {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(6,182,212,0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  animation: glitch 4s infinite;
}
.four-o-four::before,
.four-o-four::after {
  content: '404';
  position: absolute;
  top: 0; left: 0; right: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.four-o-four::before {
  animation: glitch-1 4s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  transform: translateX(-4px);
  opacity: 0.6;
  color: var(--cyan);
}
.four-o-four::after {
  animation: glitch-2 4s infinite;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
  transform: translateX(4px);
  opacity: 0.6;
  color: var(--purple);
}
@keyframes glitch {
  0%, 90%, 100% { transform: none; }
  92% { transform: skewX(-2deg); }
  94% { transform: skewX(2deg); }
  96% { transform: skewX(0); }
}
@keyframes glitch-1 {
  0%, 90%, 100% { transform: translateX(-4px); opacity: 0; }
  92% { transform: translateX(-8px); opacity: 0.7; }
  95% { transform: translateX(4px); opacity: 0.4; }
}
@keyframes glitch-2 {
  0%, 90%, 100% { transform: translateX(4px); opacity: 0; }
  92% { transform: translateX(8px); opacity: 0.7; }
  95% { transform: translateX(-4px); opacity: 0.4; }
}
