﻿/* ============================================================
   IQ GLOBAL — COMPLETE DESIGN SYSTEM & STYLESHEET
   Version 1.1 | DeFi Cyan Theme | Pure CSS3 | No Frameworks
   Architecture: Design Tokens → Base → Components → Sections → Responsive
   ============================================================ */

/* ============================================================
   SECTION 1: DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* --- Brand Colors --- */
  --iq-blue: #9447ff;
  --iq-blue-dark: #a768ff;
  --iq-blue-light: #a370ea;
  --iq-blue-xlight: #a370ea;
  --iq-navy: #111116;
  --iq-navy-mid: #17171d;
  --iq-navy-light: #292930;
  --iq-accent: #9447ff;
  --iq-accent-dark: #a96aff;
  --iq-success: #15803d;
  --iq-warning: #d97706;
  --iq-error: #dc2626;
  --iq-purple: #7b91ff;

  /* --- Alpha Channels --- */
  --iq-blue-05: rgba(139, 79, 243, 0.05);
  --iq-blue-10: rgba(169, 79, 243, 0.1);
  --iq-blue-15: rgba(156, 79, 243, 0.15);
  --iq-blue-20: rgba(153, 79, 243, 0.2);
  --iq-blue-30: rgba(153, 79, 243, 0.3);
  --iq-blue-50: rgba(166, 79, 243, 0.5);

  /* --- Semantic Background (Light Theme) — matches live xebt.com ink/level scale --- */
  --bg-page: #ffffff;
  --bg-surface: #f8f8fa;
  --bg-cardsurface: #f8f8fa;
  --bg-elevated: #ffffff;
  --bg-muted: #f8f8fa;
  --bg-subtle: #f6f0ff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-nav: rgba(248, 248, 250, 0.85);
  --bg-overlay: rgba(17, 17, 22, 0.6);

  /* --- Semantic Text (Light Theme) --- */
  --text-primary: #111116;
  --text-secondary: #555560;
  --text-muted: #555560;
  --text-subtle: #949499;
  --text-disabled: #e5e5ea;
  --text-inverse: #FFFFFF;
  --text-brand: #9447ff;

  /* --- Borders --- */
  --border-light: rgba(17, 17, 22, 0.08);
  --border-base: rgba(17, 17, 22, 0.14);
  --border-strong: rgba(17, 17, 22, 0.22);
  --border-brand: rgba(158, 79, 243, 0.3);

  /* --- Typography Scale --- */
  --font-sans: "Bricolage Grotesque", 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;
  --text-7xl: 72px;
  --text-8xl: 88px;
  --text-9xl: 104px;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  --leading-none: 1.0;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2.0;

  --tracking-tight: -0.03em;
  --tracking-snug: -0.02em;
  --tracking-normal: 0em;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* --- Spacing Scale (4px base) --- */
  --sp-0: 0px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 28px;
  --sp-8: 32px;
  --sp-9: 36px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-28: 112px;
  --sp-32: 128px;
  --sp-40: 160px;

  /* --- Border Radius --- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-3xl: 48px;
  --r-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-2xl: 0 40px 80px rgba(0, 0, 0, 0.16), 0 16px 32px rgba(0, 0, 0, 0.08);
  --shadow-blue: 0 8px 32px rgba(148, 71, 255, 0.28);
  --shadow-blue-lg: 0 20px 60px rgba(148, 71, 255, 0.30);
  --shadow-glow: 0 0 80px rgba(148, 71, 255, 0.18);
  --shadow-glow-card: 0 0 0 1px rgba(148, 71, 255, 0.22), 0 24px 60px -16px rgba(148, 71, 255, 0.42);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 0 0 1px rgba(148, 71, 255, 0.25),0 20px 60px -16px rgba(148, 71, 255, 0.38);

  /* --- Transitions --- */
  --ease-fast: 150ms ease;
  --ease-base: 250ms ease;
  --ease-slow: 400ms ease;
  --ease-smooth: 600ms cubic-bezier(0.16, 1, 0.30, 1);
  --ease-bounce: 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo: 900ms cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring: 500ms cubic-bezier(.22, 1, .36, 1);
  --ease-snap: 450ms cubic-bezier(.22, 1, .36, 1);

  /* --- Z-Index Stack --- */
  --z-base: 1;
  --z-above: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* --- Layout --- */
  --container: 1280px;
  --container-wide: 1440px;
  --container-narrow: 900px;
  --nav-height: 76px;
  --section-y: 120px;
  --section-y-sm: 80px;
  --section-y-xs: 56px;

  /* --- Gradient Presets --- */
  --grad-brand: linear-gradient(135deg, #9447ff 0%, #a370ea 100%);
  --grad-blue: linear-gradient(135deg, #a768ff 0%, #9447ff 50%, #9447ff 100%);
  --grad-dark: linear-gradient(180deg, #050307 0%, #100719 100%);
  --grad-hero: linear-gradient(165deg, #130a1b 0%, #0f0719 60%, #160d1d 100%);
  --grad-section: linear-gradient(180deg, #fbf7fe 0%, #f2e6ff 100%);
  --grad-text: linear-gradient(135deg, #9447ff, #a165f4, #6a00d4);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

/* ============================================================
   DARK THEME OVERRIDES
   ============================================================ */
[data-theme="dark"] {
  /* Matches live xebt.com ink/level scale — neutral grays, no purple tint on backgrounds */
  --bg-page: #08080b;
  --bg-surface: #111116;
  --bg-cardsurface: #17171d;
  --bg-elevated: #17171d;
  --bg-muted: #292930;
  --bg-subtle: #23182f;
  --bg-glass: rgba(17, 17, 22, 0.8);
  --bg-glass-nav: rgba(8, 8, 11, 0.9);
  --bg-overlay: rgba(0, 0, 0, 0.70);

  --text-primary: #f8f8fa;
  --text-secondary: #a5a5b0;
  --text-muted: #a5a5b0;
  --text-subtle: #71717a;
  --text-disabled: #41354b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-base: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-brand: rgba(169, 106, 255, 0.4);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.50);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.60);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.50), 0 0 0 1px rgba(148, 71, 255, 0.20);

  --grad-section: linear-gradient(180deg, #08080b 0%, #111116 100%);
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
[data-theme="light"] {
  --iq-blue: #9447ff;
  --iq-blue-dark: #9447ff;
  --iq-blue-light: #9447ff;
  --iq-blue-xlight: #9447ff;
  --iq-accent: #7e2ff0;
  --iq-accent-dark: #9447ff;
  --text-brand: #9447ff;
  --grad-brand: linear-gradient(135deg, #9447ff 0%, #620bdd 100%);
  --grad-hero: linear-gradient(165deg, #f8f0ff 0%, #f0e0fe 60%, #faf7fe 100%);
  --grad-dark: linear-gradient(180deg, #f7efff 0%, #f7f0ff 100%);
  --grad-text: linear-gradient(135deg, #9447ff, #7b26f1, #5800d4);
}

/* Hero & CTA text on light background */
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-stat-value,
[data-theme="light"] .page-hero-title,
[data-theme="light"] .cta-title {
  color: var(--text-primary);
}

[data-theme="light"] .hero-desc,
[data-theme="light"] .page-hero-desc,
[data-theme="light"] .cta-desc {
  color: var(--text-secondary);
}

[data-theme="light"] .hero-stat-label,
[data-theme="light"] .cta-note {
  color: var(--text-muted);
}

[data-theme="light"] .hero-stats {
  border-top-color: var(--border-base);
}

[data-theme="light"] .hero-badge {
  background: rgba(90, 3, 161, 0.08);
  border-color: rgba(93, 3, 161, 0.2);
}

[data-theme="light"] .badge-dark {
  background: rgba(82, 3, 161, 0.08);
  color: var(--iq-accent);
  border-color: rgba(79, 3, 161, 0.2);
}

[data-theme="light"] .hero-grid-bg {
  background-image:
    linear-gradient(rgba(93, 3, 161, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 3, 161, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .page-hero::before,
[data-theme="light"] .cta-section::before {
  background-image:
    linear-gradient(rgba(85, 3, 161, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 3, 161, 0.05) 1px, transparent 1px);
}

/* Float cards — glass effect + dark text in light theme */
[data-theme="light"] .float-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-color: rgba(3, 105, 161, 0.12);
  box-shadow: 0 8px 40px rgba(3, 105, 161, 0.12), 0 0 0 1px rgba(3, 105, 161, 0.06);
}

[data-theme="light"] .fc-label {
  color: var(--text-muted);
}

[data-theme="light"] .fc-amount {
  color: var(--text-primary);
}

[data-theme="light"] .fc-divider {
  background: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .fc-tx-name {
  color: var(--text-primary);
}

[data-theme="light"] .fc-tx-date {
  color: var(--text-muted);
}

[data-theme="light"] .fc-tx-amount.debit {
  color: var(--text-secondary);
}

[data-theme="light"] .fc-progress-label {
  color: var(--text-muted);
}

[data-theme="light"] .fc-progress-value {
  color: var(--text-primary);
}

[data-theme="light"] .fc-progress-track {
  background: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .fc-bar {
  background: rgba(3, 105, 161, 0.15);
}

/* ── Hero section text — light theme ───────────────────── */
[data-theme="light"] .hero-title {
  color: var(--text-primary);
}

[data-theme="light"] .hero-desc {
  color: var(--text-secondary);
}

[data-theme="light"] .hero-stat-value {
  color: var(--text-primary);
}

[data-theme="light"] .hero-stat-label {
  color: var(--text-muted);
}

[data-theme="light"] .hero-stats {
  border-top-color: var(--border-base);
}

[data-theme="light"] .hero-badge {
  background: rgba(90, 3, 161, 0.08);
  border-color: rgba(82, 3, 161, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .hero-badge-dot {
  background: var(--iq-accent);
}

/* ── Page hero (product pages) — light theme ────────────── */
[data-theme="light"] .page-hero-title {
  color: var(--text-primary);
}

[data-theme="light"] .page-hero-desc {
  color: var(--text-secondary);
}

/* ── Hero orbs — tone down on light bg ──────────────────── */
[data-theme="light"] .hero-orb-1 {
  background: radial-gradient(circle, rgba(3, 105, 161, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .hero-orb-2 {
  background: radial-gradient(circle, rgba(3, 105, 161, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero-orb-3 {
  background: radial-gradient(circle, rgba(0, 196, 140, 0.08) 0%, transparent 70%);
}

/* ── Hero visual wrapper (send.html inline card container) ── */
[data-theme="light"] .hero-payments-visual {
  background: rgba(3, 105, 161, 0.04) !important;
  border-color: rgba(3, 105, 161, 0.12) !important;
}

[data-theme="light"] .hero-transfer-card {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.15), rgba(14, 165, 233, 0.10)) !important;
  border-color: rgba(3, 105, 161, 0.20) !important;
}

[data-theme="light"] .hero-transfer-label {
  color: var(--text-muted) !important;
}

[data-theme="light"] .hero-transfer-sublabel {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .hero-transfer-value {
  color: var(--text-primary) !important;
}

[data-theme="light"] .hero-transfer-arrow {
  color: var(--text-muted) !important;
}

[data-theme="light"] .hero-transfer-meta {
  color: var(--text-muted) !important;
}

[data-theme="light"] .hero-stat-card {
  background: rgba(3, 105, 161, 0.05) !important;
  border-color: rgba(3, 105, 161, 0.12) !important;
}

[data-theme="light"] .hero-stat-card-label {
  color: var(--text-muted) !important;
}

[data-theme="light"] .hero-stat-card-value {
  color: var(--text-primary) !important;
}

/* ── Logo text on light hero ────────────────────────────── */
[data-theme="light"] .hero-section .logo-text {
  color: var(--text-primary);
}

/* ── Company hero visual inner cards — light theme ─────── */
[data-theme="light"] .hero-commission-blue {
  background: rgba(3, 105, 161, 0.12) !important;
  border-color: rgba(3, 105, 161, 0.25) !important;
}

[data-theme="light"] .hero-commission-blue .hero-transfer-sublabel {
  color: rgba(3, 105, 161, 0.70) !important;
}

[data-theme="light"] .hero-commission-blue .hero-transfer-value {
  color: var(--iq-blue) !important;
  -webkit-text-fill-color: var(--iq-blue) !important;
}

[data-theme="light"] .hero-commission-green {
  background: rgba(0, 150, 100, 0.10) !important;
  border-color: rgba(0, 150, 100, 0.25) !important;
}

[data-theme="light"] .hero-commission-green .hero-transfer-sublabel {
  color: rgba(0, 130, 90, 0.70) !important;
}

[data-theme="light"] .hero-commission-green .hero-transfer-value {
  color: #00966A !important;
  -webkit-text-fill-color: #00966A !important;
}

[data-theme="light"] .hero-module-blue {
  background: rgba(3, 105, 161, 0.10) !important;
  border-color: rgba(3, 105, 161, 0.20) !important;
}

[data-theme="light"] .hero-module-cyan {
  background: rgba(14, 165, 233, 0.10) !important;
  border-color: rgba(14, 165, 233, 0.20) !important;
}

[data-theme="light"] .hero-module-green {
  background: rgba(0, 196, 140, 0.10) !important;
  border-color: rgba(0, 196, 140, 0.20) !important;
}

[data-theme="light"] .hero-module-purple {
  background: rgba(139, 92, 246, 0.10) !important;
  border-color: rgba(139, 92, 246, 0.20) !important;
}

[data-theme="light"] .hero-cert-blue {
  background: rgba(3, 105, 161, 0.10) !important;
  border-color: rgba(3, 105, 161, 0.20) !important;
}

[data-theme="light"] .hero-cert-cyan {
  background: rgba(14, 165, 233, 0.10) !important;
  border-color: rgba(14, 165, 233, 0.20) !important;
}

[data-theme="light"] .hero-cert-green {
  background: rgba(0, 196, 140, 0.10) !important;
  border-color: rgba(0, 196, 140, 0.20) !important;
}

[data-theme="light"] .hero-cert-purple {
  background: rgba(139, 92, 246, 0.10) !important;
  border-color: rgba(139, 92, 246, 0.20) !important;
}

[data-theme="light"] .hero-ecosystem-center .hero-transfer-value {
  color: var(--text-primary) !important;
}

[data-theme="light"] .hero-ecosystem-center .hero-transfer-label {
  color: var(--text-muted) !important;
}

[data-theme="light"] .hero-ecosystem-center {
  background: rgba(3, 105, 161, 0.08) !important;
  border-color: rgba(3, 105, 161, 0.15) !important;
}

/* ── Card hero glow blobs — light theme ─────────────────── */
[data-theme="light"] .hero-payments-visual .cardglow-blob {
  opacity: 0.4;
}

/* Nav links on light hero (not scrolled) */
[data-theme="light"] .site-header:not(.scrolled) .nav-link {
  color: var(--text-secondary);
}

[data-theme="light"] .site-header:not(.scrolled) .nav-link:hover {
  color: var(--text-primary);
  background: rgba(74, 3, 161, 0.08);
}

[data-theme="light"] .site-header:not(.scrolled) .theme-toggle {
  background: rgba(74, 3, 161, 0.06);
  border-color: rgba(93, 3, 161, 0.15);
  color: var(--iq-accent);
}

[data-theme="light"] .site-header:not(.scrolled) .mobile-toggle .bar {
  background: var(--text-primary);
}

/* Outline-white button on light bg becomes outline-dark */
[data-theme="light"] .btn-outline-white {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

[data-theme="light"] .btn-outline-white:hover {
  background: rgba(85, 3, 161, 0.06);
  border-color: rgba(82, 3, 161, 0.3);
  color: var(--iq-accent);
}

/* Coverage section — light bg in light theme */
[data-theme="light"] .coverage-section {
  background: var(--bg-surface);
  color: var(--text-primary);
}

[data-theme="light"] .coverage-section::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79, 3, 161, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(79, 3, 161, 0.06) 0%, transparent 60%);
}

[data-theme="light"] .coverage-section h2 {
  color: var(--text-primary);
}

[data-theme="light"] .coverage-stat {
  background: var(--bg-muted);
  border-color: var(--border-light);
}

[data-theme="light"] .coverage-stat-label {
  color: var(--text-muted);
}

/* section-on-dark — restore readable text for light theme */
[data-theme="light"] .section-on-dark .section-title,
[data-theme="light"] .section-on-dark h1,
[data-theme="light"] .section-on-dark h2,
[data-theme="light"] .section-on-dark h3 {
  color: var(--text-primary);
}
/* [data-theme="light"] body{
  background: #f8f8fa;
} */
[data-theme="light"] .section-on-dark .section-subtitle {
  color: var(--text-secondary);
}

[data-theme="light"] .section-on-dark .eyebrow {
  background: rgba(79, 3, 161, 0.08);
  border-color: rgba(74, 3, 161, 0.2);
  color: var(--iq-accent);
}

/* Footer — light theme */
[data-theme="light"] .site-footer {
  background: var(--bg-muted);
  color: var(--text-secondary);
}

[data-theme="light"] .site-footer::before {
  background: linear-gradient(90deg, transparent, rgba(3, 105, 161, 0.25), rgba(3, 105, 161, 0.25), transparent);
}

[data-theme="light"] .footer-grid {
  border-bottom-color: var(--border-light);
}

[data-theme="light"] .footer-tagline {
  color: var(--text-muted);
}

[data-theme="light"] .footer-col-title {
  color: var(--text-primary);
}

[data-theme="light"] .footer-link {
  color: var(--text-secondary);
}

[data-theme="light"] .footer-link:hover {
  color: var(--text-primary);
}

[data-theme="light"] .footer-bottom {
  color: var(--text-muted);
}

[data-theme="light"] .social-link {
  background: var(--bg-surface);
  border-color: var(--border-base);
  color: var(--text-muted);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-page);
  overflow-x: hidden;
  transition: background-color var(--ease-slow), color var(--ease-slow);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
  color: var(--text-primary);
}

::selection {
  background: var(--iq-blue-20);
  color: var(--iq-blue);
}

::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--r-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--iq-blue);
}

/* ============================================================
   SECTION 3: TYPOGRAPHY SYSTEM
   ============================================================ */
.display-2xl {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: var(--weight-black);
  line-height: var(--leading-none);
  letter-spacing: -0.04em;
}

.display-xl {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: var(--weight-black);
  line-height: var(--leading-none);
  letter-spacing: -0.035em;
}

.display-lg {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
}

.display-md {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.025em;
}

.display-sm {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
}

.text-hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}

.label-text {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.body-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.body-base {
  font-size: var(--text-md);
  line-height: var(--leading-normal);
}

.body-sm {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.text-gradient {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 6s linear infinite;
}

.text-brand {
  color: var(--iq-blue);
}

.text-accent {
  color: var(--iq-accent);
}

.text-success {
  color: var(--iq-success);
}

.text-muted {
  color: var(--text-muted);
}

.text-inverse {
  color: var(--text-inverse);
}

/* ============================================================
   SECTION 4: LAYOUT & GRID
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container-wide {
  max-width: var(--container-wide);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.grid {
  display: grid !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-6);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-2 {
  gap: var(--sp-2);
}

.gap-3 {
  gap: var(--sp-3);
}

.gap-4 {
  gap: var(--sp-4);
}

.gap-6 {
  gap: var(--sp-6);
}

.gap-8 {
  gap: var(--sp-8);
}

.gap-12 {
  gap: var(--sp-12);
}

.section {
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}

.section-sm {
  padding-block: var(--section-y-sm);
}

.section-xs {
  padding-block: var(--section-y-xs);
}

.section-dark {
  background: var(--bg-page);
}

[data-theme="dark"] .section-dark {
  background: linear-gradient(180deg, #030507 0%, #071019 100%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section-header.left {
  text-align: left;
  margin-inline: 0;
}

/* ============================================================
   SECTION 5: COMPONENTS
   ============================================================ */

/* --- 5.1 Badges / Tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--r-full);
  text-transform: uppercase;
}

.badge-blue {
  background: var(--iq-blue-10);
  color: var(--iq-blue);
  border: 1px solid var(--iq-blue-20);
}

.badge-accent {
  background: rgba(148, 71, 255, 0.1);
  color: var(--iq-accent-dark);
  border: 1px solid rgba(148, 71, 255, 0.2);
}

.badge-success {
  background: rgba(0, 212, 138, 0.1);
  color: var(--iq-success);
  border: 1px solid rgba(0, 212, 138, 0.2);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: currentColor;
  display: inline-block;
}

/* Section eyebrow tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px var(--sp-4);
  background: var(--iq-blue-10);
  border: 1px solid var(--iq-blue-20);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--iq-blue);
  margin-bottom: var(--sp-5);
}

.eyebrow-dark {
  background: rgba(148, 71, 255, 0.08);
  border-color: rgba(148, 71, 255, 0.20);
  color: var(--iq-accent);
}

/* --- 5.2 Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px var(--sp-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--r-full);
  transition: all var(--ease-spring);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--ease-fast);
}

.btn:hover::before {
  background: rgba(255, 255, 255, 0.08);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, #9c5af9, #9447ff);
  color: #ffffff;
  box-shadow: 0 8px 28px -6px rgba(145, 79, 243, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(120deg, #9c5af9, #9447ff);
  color: #ffffff;
  box-shadow: 0 14px 42px -8px rgba(145, 79, 243, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-base);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-glow-card);
  color: var(--iq-blue);
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--iq-blue);
  border: 1px solid var(--iq-blue-20);
}

.btn-ghost:hover {
  background: var(--iq-blue-05);
  border-color: var(--iq-blue-30);
}

.btn-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.30);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.50);
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--text-md);
  border-radius: var(--r-full);
}

.btn-sm {
  padding: 9px var(--sp-4);
  font-size: var(--text-xs);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--r-md);
}

.btn-icon-sm {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--r-sm);
}

.btn-icon-lg {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: var(--r-lg);
}

/* Arrow CTA Link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--iq-blue);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  transition: gap var(--ease-fast);
}

.link-arrow:hover {
  gap: var(--sp-3);
}

.link-arrow svg {
  transition: transform var(--ease-fast);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* --- 5.3 Cards --- */
.card {
  background: var(--bg-cardsurface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--ease-base);
  /* box-shadow: var(--shadow-card); */
  position: relative;
  overflow: hidden;
}

.card:hover {
  /* box-shadow: var(--shadow-card-hover); */
  border-color: rgba(166, 79, 243, 0.35);
  transform: translateY(-6px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--ease-base);
}

.card:hover::before {
  opacity: 1;
}

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-base);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.card-dark {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
}

.card-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(164, 79, 243, 0.4);
  box-shadow: var(--shadow-glow-card);
  transform: translateY(-6px);
}

.card-feature {
  padding: var(--sp-8);
}

.card-feature .card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  background: var(--iq-blue-05);
  border: 1px solid var(--iq-blue-10);
  color: var(--iq-blue);
  transition: all var(--ease-base);
}

.card-feature:hover .card-icon {
  background: var(--iq-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
}

/* --- 5.4 Forms --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.form-control {
  padding: 12px var(--sp-4);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-base);
  border-radius: var(--r-md);
  transition: all var(--ease-fast);
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--iq-blue);
  box-shadow: 0 0 0 3px var(--iq-blue-10);
}

.form-control::placeholder {
  color: var(--text-subtle);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  cursor: pointer;
}

/* --- 5.5 Dividers --- */
.divider {
  height: 1px;
  background: var(--border-light);
}

/* ============================================================
   SECTION 6: NAVIGATION
   ============================================================ */

/* --- 6.1 Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: all var(--ease-smooth);
}

.navbar {
  padding: 0;
  transition: all var(--ease-smooth);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: var(--sp-8);
}

/* Initial state: transparent */
.site-header:not(.scrolled) .navbar {
  background: transparent;
}

/* Scrolled state: glassmorphism */
.site-header.scrolled .navbar {
  background: var(--bg-glass-nav);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--grad-brand);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  color: #FFF;
}

.logo-text {
  width: 138px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

[data-theme="dark"] .logo-text,
.hero-section .logo-text {
  color: #FFFFFF;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: all var(--ease-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--iq-blue);
  background: var(--iq-blue-05);
}

.nav-link .nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--ease-fast);
  opacity: 0.6;
}

.nav-item.mega-open .nav-arrow {
  transform: rotate(180deg);
}

/* Dark header links (on hero) */
.site-header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.site-header:not(.scrolled) .nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  margin-left: auto;
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  border: 1px solid var(--border-base);
  color: var(--text-muted);
  transition: all var(--ease-fast);
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--iq-blue-05);
  border-color: var(--iq-blue-20);
  color: var(--iq-blue);
}

.site-header:not(.scrolled) .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.70);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.mobile-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}

.site-header:not(.scrolled) .mobile-toggle .bar {
  background: #FFF;
}

.mobile-toggle .bar+.bar {
  margin-top: 5px;
}

/* Hamburger animation */
.mobile-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- 6.2 Mega Menu --- */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-6);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--ease-smooth);
  min-width: 520px;
  z-index: var(--z-dropdown);
  pointer-events: none;
}

.nav-item:hover .mega-menu,
.nav-item.mega-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.mega-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  transition: all var(--ease-fast);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.mega-item:hover {
  background: var(--bg-muted);
}

.mega-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--iq-blue-05);
  color: var(--iq-blue);
  flex-shrink: 0;
  border: 1px solid var(--iq-blue-10);
  transition: all var(--ease-fast);
}

.mega-item:hover .mega-item-icon {
  background: var(--iq-blue);
  color: #FFF;
  box-shadow: var(--shadow-blue);
}

.mega-item-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mega-item-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 6.3 Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-sticky) - 1);
  background: var(--bg-page);
  padding-top: var(--nav-height);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--ease-smooth);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-inner {
  padding: var(--sp-6);
}

.mobile-nav-group {
  margin-bottom: var(--sp-6);
}

.mobile-nav-group-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: all var(--ease-fast);
  margin-bottom: var(--sp-1);
}

.mobile-nav-link:hover {
  background: var(--iq-blue-05);
  color: var(--iq-blue);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   SECTION 7: FOOTER
   ============================================================ */
.site-footer {
  background: var(--iq-navy);
  color: rgba(255, 255, 255, 0.70);
  padding-top: var(--sp-20);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 71, 255, 0.5), rgba(148, 71, 255, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px repeat(5, 1fr);
  gap: var(--sp-10);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo-mark {
  width: 44px;
  height: 44px;
  margin-bottom: var(--sp-5);
}
.footer-brand .bottom-logo{width: 168px;}
.footer-tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: var(--sp-6);
}

.footer-socials {
  display: flex;
  gap: var(--sp-3);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.50);
  transition: all var(--ease-fast);
}

.social-link:hover {
  background: var(--iq-blue);
  border-color: var(--iq-blue);
  color: #FFF;
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}
.footer-col-title p{color: var(--text-primary) !important;}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer-link {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.50);
  transition: color var(--ease-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.90);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-6);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--ease-fast);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.70);
}

/* ============================================================
   SECTION 8: HOME PAGE SECTIONS
   ============================================================ */

/* --- 8.1 Hero Section --- */
.hero-section {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Background grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 71, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 71, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

/* Radial glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(148, 71, 255, 0.20) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(148, 71, 255, 0.15) 0%, transparent 70%);
  bottom: 0;
  right: 200px;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 138, 0.10) 0%, transparent 70%);
  top: 40%;
  right: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-16);
  position: relative;
  z-index: 2;
  padding-block: var(--sp-5);
  padding-bottom: 0px;
}
.hero-visual-col{padding-bottom: 0px;padding-top:0px;}
.hero-visual-col.hero-image{
  height: 100%;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}
.hero-visual-col.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: top center;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.hero-text-col {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 7px var(--sp-4);
  background: rgba(153, 79, 243, 0.15);
  border: 1px solid rgba(156, 79, 243, 0.3);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--iq-accent);
  margin-bottom: var(--sp-8);
  width: fit-content;
  animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--iq-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 60px);
  font-weight: var(--weight-black);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.9s 0.1s var(--ease-smooth) both;
}

.hero-desc {
  font-size: clamp(16px, 1.5vw, 16px);
  line-height: var(--leading-relaxed);
  color: rgba(228, 242, 250, 0.6);
  max-width: 520px;
  margin-bottom: var(--sp-10);
  animation: fadeInUp 0.9s 0.2s var(--ease-smooth) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
  animation: fadeInUp 0.9s 0.3s var(--ease-smooth) both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-12);
  animation: fadeInUp 0.9s 0.35s var(--ease-smooth) both;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: rgba(228, 242, 250, 0.65);
  white-space: nowrap;
}

.hero-trust-icon {
  color: var(--iq-accent);
  flex-shrink: 0;
}

.hero-trust-icon-success {
  color: var(--iq-success);
}

.hero-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--iq-accent);
  flex-shrink: 0;
}

.hero-trust-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

[data-theme="light"] .hero-trust-item {
  color: var(--text-secondary);
}

[data-theme="light"] .hero-trust-divider {
  background: var(--border-base);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.9s 0.4s var(--ease-smooth) both;
}

.hero-stat-item {}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Hero visual column */
.hero-visual-col {
  position: relative;
  height: 580px;
  animation: fadeIn 1.2s 0.5s var(--ease-smooth) both;
}

/* Floating financial cards */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
  transition: transform var(--ease-smooth);
}

.float-card-main {
  width: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: floatCenter 6s ease-in-out infinite;
}

.float-card-balance {
  width: 260px;
  top: 5%;
  right: 0;
  z-index: 2;
  animation: floatRight 7s 1s ease-in-out infinite;
}

.float-card-tx {
  width: 240px;
  bottom: 5%;
  left: 0;
  z-index: 2;
  animation: floatLeft 5s 0.5s ease-in-out infinite;
}

.float-card-mini {
  width: 180px;
  bottom: 28%;
  right: -20px;
  z-index: 1;
  animation: floatRight 8s 2s ease-in-out infinite;
}

/* Card internal styles */
.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.fc-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--iq-blue-20);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-icon svg {
  width: 16px;
  height: 16px;
  color: var(--iq-accent);
}

.fc-amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}

.fc-amount-sm {
  font-size: var(--text-xl);
}

.fc-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: 3px 8px;
  border-radius: var(--r-full);
}

.fc-change.up {
  background: rgba(0, 212, 138, 0.15);
  color: var(--iq-success);
}

.fc-change.down {
  background: rgba(239, 68, 68, 0.15);
  color: var(--iq-error);
}

.fc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-block: var(--sp-4);
}

.fc-tx-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.fc-tx-row:last-child {
  margin-bottom: 0;
}

.fc-tx-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-tx-info {
  flex: 1;
}

.fc-tx-name {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.85);
}

.fc-tx-date {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

.fc-tx-amount {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.fc-tx-amount.credit {
  color: var(--iq-success);
}

.fc-tx-amount.debit {
  color: rgba(255, 255, 255, 0.60);
}

/* Sparkline chart */
.fc-chart {
  height: 48px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-top: var(--sp-3);
}

.fc-bar {
  flex: 1;
  background: rgba(148, 71, 255, 0.25);
  border-radius: 2px;
  transition: all var(--ease-base);
  min-height: 4px;
}

.fc-bar.active {
  background: var(--iq-accent);
}

/* Progress bar */
.fc-progress-row {
  margin-bottom: var(--sp-3);
}

.fc-progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-1);
}

.fc-progress-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.50);
}

.fc-progress-value {
  font-size: 10px;
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.80);
}

.fc-progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-full);
  overflow: hidden;
}

.fc-progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: var(--grad-brand);
}

/* --- 8.1b Personal hero visual: orbiting multi-currency wallet (personal.html) --- */
.personal-hero-visual {
  position: relative;
  height: 580px;
  animation: fadeIn 1.2s 0.5s var(--ease-smooth) both;
}

.phw-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(148, 71, 255, 0.28), transparent 70%);
  animation: phwPulseGlow 4s ease-in-out infinite;
  pointer-events: none;
}

.phw-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: phwRingSpin 46s linear infinite;
}

.phw-orbiter {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation: phwOrbitSpin 18s linear infinite;
}

.phw-chip {
  position: absolute;
  top: -23px;
  left: 157px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: #FFFFFF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: phwOrbitSpinReverse 18s linear infinite;
}

.phw-chip-usd { background: rgba(0, 196, 140, 0.22); }
.phw-chip-eur { background: rgba(148, 71, 255, 0.24); }
.phw-chip-gbp { background: rgba(0, 133, 255, 0.22); }

.phw-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
  animation: phwBreathe 5s ease-in-out infinite;
}

.phw-safeguard-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.phw-side-card {
  position: absolute;
  z-index: 4;
  width: 230px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
  opacity: 0;
  animation: phwSlideIn 0.9s var(--ease-smooth) both;
}

.phw-side-card-top {
  top: 0;
  right: -10px;
  animation-delay: 1.1s;
}

.phw-side-card-bottom {
  bottom: 0;
  right: -6px;
  width: 210px;
  animation-delay: 1.4s;
}

@keyframes phwPulseGlow {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes phwRingSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes phwOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes phwOrbitSpinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes phwBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.025); }
}

@keyframes phwSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1023px) {
  .personal-hero-visual { height: 420px; }
  .phw-glow { width: 300px; height: 300px; }
  .phw-orbit-ring { width: 260px; height: 260px; }
  .phw-chip { top: -20px; left: 110px; width: 40px; height: 40px; font-size: 14px; }
  .phw-card { width: 260px; }
  .phw-side-card { width: 190px; }
  .phw-side-card-bottom { width: 180px; }
}

@media (max-width: 767px) {
  .personal-hero-visual { display: none; }
}

/* --- 8.1c Business hero visual: treasury payout flow (business.html) --- */
.bhv-visual {
  position: relative;
  height: 580px;
  animation: fadeIn 1.2s 0.5s var(--ease-smooth) both;
}

.bhv-card-main {
  position: absolute;
  top: 50%;
  left: 0;
  width: 320px;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
}

.bhv-card-main .fc-bar {
  transform: scaleY(0);
  transform-origin: bottom;
  animation: bhvBarGrow 0.6s var(--ease-smooth) forwards;
}

.bhv-card-main .fc-bar:nth-child(1) { animation-delay: 0.7s; }
.bhv-card-main .fc-bar:nth-child(2) { animation-delay: 0.78s; }
.bhv-card-main .fc-bar:nth-child(3) { animation-delay: 0.86s; }
.bhv-card-main .fc-bar:nth-child(4) { animation-delay: 0.94s; }
.bhv-card-main .fc-bar:nth-child(5) { animation-delay: 1.02s; }
.bhv-card-main .fc-bar:nth-child(6) { animation-delay: 1.1s; }
.bhv-card-main .fc-bar:nth-child(7) { animation-delay: 1.18s; }
.bhv-card-main .fc-bar:nth-child(8) { animation-delay: 1.26s; }
.bhv-card-main .fc-bar:nth-child(9) { animation-delay: 1.34s; }
.bhv-card-main .fc-bar:nth-child(10) { animation-delay: 1.42s; }
.bhv-card-main .fc-bar:nth-child(11) { animation-delay: 1.5s; }
.bhv-card-main .fc-bar:nth-child(12) { animation-delay: 1.58s; }

.bhv-onboard-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.bhv-flow-h {
  position: absolute;
  top: 50%;
  left: 320px;
  width: 110px;
  height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
  z-index: 1;
}

.bhv-flow-h .bhv-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--iq-accent);
  box-shadow: 0 0 10px var(--iq-accent);
  animation: bhvDotMoveH 2.6s linear infinite;
}

.bhv-flow-v {
  position: absolute;
  top: 34%;
  bottom: 34%;
  right: 118px;
  width: 0;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
  z-index: 1;
}

.bhv-flow-v .bhv-dot {
  position: absolute;
  left: -3px;
  top: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--iq-accent);
  box-shadow: 0 0 10px var(--iq-accent);
  animation: bhvDotMoveV 2.8s linear infinite;
}

.bhv-card-side {
  position: absolute;
  z-index: 2;
  width: 250px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
  opacity: 0;
}

.bhv-card-batch {
  top: 4%;
  right: 0;
  animation: bhvSlideInTop 0.9s 1s var(--ease-smooth) both;
}

.bhv-card-balances {
  bottom: 4%;
  right: 0;
  animation: bhvSlideInBottom 0.9s 1.3s var(--ease-smooth) both;
}

@keyframes bhvBarGrow {
  to { transform: scaleY(1); }
}

@keyframes bhvDotMoveH {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes bhvDotMoveV {
  0% { top: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes bhvSlideInTop {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bhvSlideInBottom {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1023px) {
  .bhv-visual { height: 420px; }
  .bhv-card-main { width: 260px; }
  .bhv-card-side { width: 210px; }
  .bhv-flow-h { width: 70px; }
  .bhv-flow-v { right: 98px; }
}

@media (max-width: 767px) {
  .bhv-visual { display: none; }
}

/* --- 8.2 Trusted By Section --- */
.trusted-section {
  padding-block: var(--sp-12);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.trusted-label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--sp-8);
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-surface), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-surface), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

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

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) var(--sp-5);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  min-width: 120px;
  height: 48px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-subtle);
  white-space: nowrap;
  transition: all var(--ease-fast);
}

.partner-logo:hover {
  border-color: var(--iq-blue-20);
  color: var(--iq-blue);
}

/* --- 8.3 Problem Statement --- */
.problem-section {
  background: var(--bg-page);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}

.problem-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transition: transform var(--ease-smooth);
  transform-origin: left;
}

.problem-card:hover::after {
  transform: scaleX(1);
}

.problem-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: var(--weight-black);
  color: var(--iq-blue-10);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--iq-blue-05);
  border: 1px solid var(--iq-blue-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iq-blue);
  margin-bottom: var(--sp-5);
}

/* --- 8.4 Product Ecosystem --- */
.ecosystem-section {
  background: var(--grad-section);
}

[data-theme="dark"] .ecosystem-section {
  background: linear-gradient(180deg, #030507 0%, #071019 100%);
}

.ecosystem-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--sp-16);
  min-height: 500px;
}

.hub-center {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue-lg), 0 0 80px rgba(148, 71, 255, 0.25);
  z-index: 3;
  position: relative;
  flex-direction: column;
  gap: var(--sp-2);
}

.hub-center-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: #FFF;
  text-align: center;
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--iq-blue-10);
  pointer-events: none;
}

.orbit-ring-1 {
  width: 300px;
  height: 300px;
  animation: orbit-rotate 20s linear infinite;
}

.orbit-ring-2 {
  width: 480px;
  height: 480px;
  border-style: dashed;
  animation: orbit-rotate 30s linear infinite reverse;
}

.product-pods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-16);
}

.product-pod {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  transition: all var(--ease-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.product-pod:hover {
  border-color: var(--iq-blue-20);
  box-shadow: var(--shadow-blue);
  transform: translateY(-3px);
}

.pod-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--iq-blue);
  background: rgba(4, 14, 38, 0.90);
  border: 1px solid rgba(148, 71, 255, 0.18);
  box-shadow: 0 0 20px rgba(148, 71, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all var(--ease-spring);
}

.product-pod:hover .pod-icon {
  border-color: rgba(148, 71, 255, 0.35);
  box-shadow: 0 0 28px rgba(148, 71, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pod-icon-blue {
  border-color: rgba(148, 71, 255, 0.20);
  box-shadow: 0 0 20px rgba(148, 71, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pod-icon-accent {
  border-color: rgba(59, 115, 255, 0.22);
  box-shadow: 0 0 20px rgba(59, 115, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pod-icon-success {
  border-color: rgba(0, 212, 138, 0.22);
  box-shadow: 0 0 20px rgba(0, 212, 138, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pod-icon-purple {
  border-color: rgba(139, 92, 246, 0.22);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .pod-icon {
  background: rgba(7, 26, 61, 0.06);
  border-color: rgba(148, 71, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .pod-icon-blue {
  border-color: rgba(148, 71, 255, 0.22);
  box-shadow: 0 0 14px rgba(148, 71, 255, 0.08);
}

[data-theme="light"] .pod-icon-accent {
  border-color: rgba(157, 59, 255, 0.22);
  box-shadow: 0 0 14px rgba(163, 59, 255, 0.08);
}

[data-theme="light"] .pod-icon-success {
  border-color: rgba(0, 180, 120, 0.22);
  box-shadow: 0 0 14px rgba(0, 180, 120, 0.08);
}

[data-theme="light"] .pod-icon-purple {
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.08);
}

.pod-content .pod-title {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--sp-1);
}

.pod-content .pod-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

/* --- 8.5 Why IQ Global --- */
.why-section {
  background: var(--bg-page);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.why-point {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  transition: all var(--ease-base);
  border: 1px solid transparent;
}

.why-point:hover {
  background: var(--bg-surface);
  border-color: var(--iq-blue-10);
  box-shadow: var(--shadow-sm);
}

.why-point-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--iq-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point-check svg {
  width: 12px;
  height: 12px;
  color: #FFF;
}

.why-visual {
  position: relative;
}

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow);
}

.metric-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-1);
}

.metric-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* --- 8.6 Product Modules Tabs --- */
.modules-section {
  background: var(--bg-surface);
}

.module-tabs {
  display: flex;
  gap: var(--sp-2);
  background: var(--bg-muted);
  border-radius: var(--r-2xl);
  padding: var(--sp-2);
  margin-bottom: var(--sp-12);
  overflow-x: auto;
  scrollbar-width: none;
}

.module-tabs::-webkit-scrollbar {
  display: none;
}

.module-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--ease-base);
  white-space: nowrap;
  border: none;
  background: none;
}

.module-tab.active {
  background: var(--bg-surface);
  color: var(--iq-blue);
  font-weight: var(--weight-semibold);
  box-shadow: var(--shadow-sm);
}

.module-tab:hover:not(.active) {
  color: var(--text-primary);
}

.module-content {
  display: none;
}

.module-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.module-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.module-feature {
  display: flex;
  gap: var(--sp-3);
  /* padding: var(--sp-4); */
  border-radius: var(--r-md);
  transition: background var(--ease-fast);
}

/* .module-feature:hover { background: var(--bg-muted); } */
.module-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--iq-blue);
  flex-shrink: 0;
  margin-top: 6px;
}

.module-visual {
  background: var(--iq-navy);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.module-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(148, 71, 255, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(148, 71, 255, 0.15) 0%, transparent 60%);
}

/* --- 8.7 How It Works --- */
.how-section {
  background: var(--bg-page);
}

.steps-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-0);
}

.step-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: var(--sp-8);
  align-items: center;
  min-height: 200px;
}

.step-row.reverse .step-content {
  order: 2;
}

.step-row.reverse .step-center {
  order: 1;
}

.step-row.reverse .step-empty {
  order: 0;
}

.step-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: #FFF;
  box-shadow: var(--shadow-blue);
  z-index: 1;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 80px;
  background: linear-gradient(180deg, var(--iq-blue-30), var(--iq-blue-10));
}

.step-row:last-child .step-line {
  display: none;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
}

/* --- 8.8 Global Coverage --- */
.coverage-section {
  background: var(--iq-navy);
  color: #FFF;
  position: relative;
  overflow: hidden;
}

.coverage-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(148, 71, 255, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(148, 71, 255, 0.10) 0%, transparent 60%);
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.coverage-map {
  width: 100%;
  height: 460px;
  background: transparent;
  border-radius: var(--r-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* World map dots pattern */
.map-dots {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: rgba(255, 255, 255, 0.04);
}

.coverage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.coverage-stat {
  padding: var(--sp-5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
}

.coverage-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--iq-accent);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-1);
}

.coverage-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.50);
}

/* --- 8.9 Product Experience --- */
.experience-section {
  background: var(--grad-section);
}

[data-theme="dark"] .experience-section {
  background: var(--bg-page);
}

.experience-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.dashboard-preview {
  background: var(--iq-navy);
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid rgba(148, 71, 255, 0.20);
  box-shadow: 0 40px 100px rgba(7, 26, 61, 0.50);
  position: relative;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-dots {
  display: flex;
  gap: var(--sp-2);
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-dot.red {
  background: #FF5F57;
}

.dashboard-dot.yellow {
  background: #FFBD2E;
}

.dashboard-dot.green {
  background: #28CA41;
}

.dashboard-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  padding: 6px var(--sp-4);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.30);
  font-family: 'Courier New', monospace;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 440px;
}

.dashboard-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--sp-6);
}

.db-nav-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: var(--sp-1);
  cursor: pointer;
  transition: all var(--ease-fast);
}

.db-nav-item.active {
  background: var(--iq-blue-15);
  color: var(--iq-accent);
  border: 1px solid var(--iq-blue-20);
}

.db-nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.70);
}

.db-nav-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.dashboard-main {
  padding: var(--sp-6);
}

.db-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.db-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}

.db-kpi-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.db-kpi-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: #FFF;
  letter-spacing: -0.02em;
}

.db-kpi-change {
  font-size: 10px;
  margin-top: 4px;
}

.db-chart-area {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  height: 160px;
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  overflow: hidden;
}

.db-chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(148, 71, 255, 0.80), rgba(148, 71, 255, 0.20));
  transition: all var(--ease-base);
  min-height: 8px;
}

.db-chart-bar:hover {
  background: linear-gradient(180deg, var(--iq-accent), rgba(148, 71, 255, 0.20));
}

.db-chart-bar.highlight {
  background: linear-gradient(180deg, var(--iq-accent), rgba(148, 71, 255, 0.20));
}

/* --- 8.10 Security & Compliance --- */
.security-section {
  background: var(--bg-page);
}

.security-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.security-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.security-badge-item {
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-xs);
}

.security-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--iq-blue-05);
  color: var(--iq-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-badge-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
}

.security-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.shield-visual {
  width: 200px;
  height: 240px;
  background: var(--grad-brand);
  clip-path: polygon(50% 0%, 100% 15%, 100% 60%, 50% 100%, 0% 60%, 0% 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue-lg), 0 0 100px rgba(148, 71, 255, 0.20);
  position: relative;
  z-index: 2;
}

/* --- 8.11 Industry Solutions --- */
.solutions-section {
  background: var(--bg-surface);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.solution-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--ease-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--ease-smooth);
  z-index: 0;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue-lg);
  border-color: var(--iq-blue-30);
  color: #FFF;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card>* {
  position: relative;
  z-index: 1;
}

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--iq-blue-05);
  border: 1px solid var(--iq-blue-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--iq-blue);
  transition: all var(--ease-base);
}

.solution-card:hover .solution-icon {
  background: var(--iq-blue);
  border-color: var(--iq-blue);
  color: #FFF;
  box-shadow: var(--shadow-blue);
}

.solution-card-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--sp-2);
  transition: color var(--ease-fast);
}

.solution-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  transition: color var(--ease-fast);
}

.solution-card:hover .solution-card-desc {
  color: rgba(255, 255, 255, 0.70);
}

.solution-card:hover .solution-card-title {
  color: #FFF;
}

.solution-card-arrow {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--iq-blue);
  margin-top: var(--sp-6);
  transition: all var(--ease-fast);
}

.solution-card:hover .solution-card-arrow {
  color: rgba(255, 255, 255, 0.90);
  gap: var(--sp-3);
}

/* --- 8.12 Partners --- */
.partners-section {
  background: var(--bg-page);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}

.partner-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/2;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-subtle);
  transition: all var(--ease-base);
  cursor: pointer;
}

.partner-item:hover {
  border-color: var(--iq-blue-20);
  box-shadow: var(--shadow-md);
  color: var(--iq-blue);
  transform: translateY(-2px);
}

/* --- 8.13 Statistics --- */
.stats-section {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 48px);
  font-weight: var(--weight-black);
  color: var(--iq-accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-size: var(--text-sm);
  /* color: rgba(255,255,255,0.65); */
  letter-spacing: var(--tracking-wide);
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* --- 8.14 Testimonials --- */
.testimonials-section {
  background: var(--bg-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.testimonial-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--ease-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--iq-blue-20);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
  color: #F59E0B;
}

.testimonial-quote {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: #FFF;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

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

.faq-container {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-6) 0;
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--ease-fast);
}

.faq-question:hover {
  color: var(--iq-blue);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--ease-base);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  transition: transform var(--ease-base);
}

.faq-item.open .faq-icon {
  background: var(--iq-blue);
  color: #FFF;
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-smooth);
}

.faq-answer-inner {
  padding-bottom: var(--sp-6);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- 8.16 Final CTA --- */
.cta-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 71, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 71, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 71, 255, 0.30) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: var(--weight-black);
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  margin-bottom: var(--sp-5);
}

.cta-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.60);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.cta-note {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  margin-top: var(--sp-5);
  letter-spacing: var(--tracking-wide);
}

/* --- 8.16b Theme-aware elevated card (fee schedule / app handoff) --- */
.elevated-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fee-table-wrap {
  overflow-x: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.fee-table caption {
  caption-side: bottom;
  text-align: left;
  padding: var(--sp-4) var(--sp-6);
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}

.fee-table thead tr {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-light);
}

.fee-table th {
  text-align: left;
  padding: var(--sp-4) var(--sp-6);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.fee-table tbody tr {
  border-bottom: 1px solid var(--border-light);
}

.fee-table tbody tr:last-child {
  border-bottom: none;
}

.fee-table td {
  padding: var(--sp-5) var(--sp-6);
  vertical-align: middle;
}

.fee-cat-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}

.fee-cat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.fee-method {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  color: var(--text-secondary);
}

.fee-amount {
  font-weight: 700;
  color: var(--iq-accent);
  font-size: 14px;
}

.fee-speed {
  font-size: 13px;
  color: var(--text-secondary);
}

.fee-notes {
  font-size: 13px;
  color: var(--text-muted);
}

.app-handoff-inner {
  background: var(--bg-muted);
  border-radius: var(--r-lg);
}

.app-handoff-qr-box {
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.store-link-row {
  background: var(--bg-muted);
  border-radius: var(--r-md);
  color: inherit;
}

/* --- 8.16c Corridor tool & payment walkthrough --- */
.corridor-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-light);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  font-family: 'SFMono-Regular', Consolas, monospace;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.corridor-pill:hover {
  border-color: var(--iq-accent);
  color: var(--iq-accent);
}

.corridor-pill:focus-visible {
  outline: 2px solid var(--iq-accent);
  outline-offset: 2px;
}

.corridor-pill.active {
  border-color: var(--iq-accent);
  color: var(--iq-accent);
  background: var(--iq-blue-05);
}

.corridor-detail-box {
  background: var(--bg-muted);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
}

.corridor-highlight {
  background: var(--iq-blue-05);
  border: 1px solid var(--iq-blue-10);
  border-radius: var(--r-md);
}

.walkthrough-step {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.walkthrough-step:hover {
  border-color: var(--iq-accent);
}

.walkthrough-step:focus-visible {
  outline: 2px solid var(--iq-accent);
  outline-offset: 2px;
}

.walkthrough-step.active {
  border-color: var(--iq-accent);
  box-shadow: 0 0 0 1px var(--iq-accent);
}

.walkthrough-rail-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-light);
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.sim-widget {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
}

.sim-node {
  background: var(--bg-muted);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
}

.sim-node.destination {
  background: var(--iq-blue-05);
  border: 1px solid var(--iq-blue-10);
}

.sim-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   SECTION 9: PAGE TEMPLATES
   ============================================================ */

/* --- 9.1 Product Page Hero --- */
.page-hero {
  background: var(--grad-hero);
  padding-top: calc(var(--nav-height) + var(--sp-20));
  padding-bottom: var(--sp-20);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 71, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 71, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: var(--weight-black);
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
  margin-bottom: var(--sp-5);
}

.page-hero-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.60);
  max-width: 600px;
  margin-bottom: var(--sp-8);
}

.page-hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Product overview grid */
.product-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

/* Features section with icons */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.feature-card {
  padding: var(--sp-8);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  transition: all var(--ease-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--iq-blue-20);
  transform: translateY(-2px);
}

/* --- 9.2 Developer Page --- */
.dev-hero {
  background: var(--grad-hero);
  padding-top: calc(var(--nav-height) + var(--sp-20));
  padding-bottom: var(--sp-20);
  position: relative;
  overflow: hidden;
}

.code-block {
  background: rgba(0, 0, 0, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  font-family: 'Courier New', 'Fira Code', monospace;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.80);
  overflow-x: auto;
}

.code-block .code-comment {
  color: rgba(255, 255, 255, 0.30);
}

.code-block .code-key {
  color: var(--iq-accent);
}

.code-block .code-string {
  color: var(--iq-success);
}

.code-block .code-number {
  color: #F59E0B;
}

.code-block .code-keyword {
  color: #C084FC;
}

.api-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.api-card {
  padding: var(--sp-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  transition: all var(--ease-base);
  cursor: pointer;
}

.api-card:hover {
  border-color: var(--iq-blue-20);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.api-method {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  font-family: monospace;
  margin-bottom: var(--sp-3);
}

.api-method.get {
  background: rgba(0, 212, 138, 0.10);
  color: var(--iq-success);
}

.api-method.post {
  background: rgba(148, 71, 255, 0.10);
  color: var(--iq-blue);
}

.api-method.delete {
  background: rgba(239, 68, 68, 0.10);
  color: var(--iq-error);
}

.api-method.patch {
  background: rgba(245, 158, 11, 0.10);
  color: var(--iq-warning);
}

/* --- 9.3 Contact Page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-2xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-lg);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact-method {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--iq-blue-05);
  color: var(--iq-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   SECTION 10: ANIMATIONS & KEYFRAMES
   ============================================================ */

/* Floating animations */
@keyframes floatCenter {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0px);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-18px);
  }
}

@keyframes floatRight {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatLeft {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Logo marquee */
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Gradient shift */
@keyframes gradShift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Pulse */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

/* Orbit rotation */
@keyframes orbit-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Scroll reveal animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Chart bar animation */
@keyframes barGrow {
  from {
    height: 0%;
  }

  to {
    height: var(--bar-height, 60%);
  }
}

/* Counter animation (handled via JS) */
@keyframes countUp {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Shimmer skeleton */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-muted) 25%, var(--bg-subtle) 50%, var(--bg-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}

/* Reveal classes (added by JS IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--ease-smooth), transform var(--ease-smooth);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--ease-smooth), transform var(--ease-smooth);
}

.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--ease-smooth), transform var(--ease-smooth);
}

.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--ease-smooth), transform var(--ease-smooth);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger>*:nth-child(1) {
  transition-delay: 0ms;
}

.stagger>*:nth-child(2) {
  transition-delay: 80ms;
}

.stagger>*:nth-child(3) {
  transition-delay: 160ms;
}

.stagger>*:nth-child(4) {
  transition-delay: 240ms;
}

.stagger>*:nth-child(5) {
  transition-delay: 320ms;
}

.stagger>*:nth-child(6) {
  transition-delay: 400ms;
}

/* Glow hover */
.glow-hover {
  transition: box-shadow var(--ease-base);
}

.glow-hover:hover {
  box-shadow: var(--shadow-blue-lg);
}

/* ============================================================
   SECTION 11: UTILITY CLASSES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.mt-auto {
  margin-top: auto;
}

.mb-0 {
  margin-bottom: 0;
}

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

.text-left {
  text-align: left;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.z-1 {
  z-index: 1;
}

.full-width {
  width: 100%;
}

/* Dark section text overrides */
.section-on-dark .section-title,
.section-on-dark .section-subtitle,
.section-on-dark h1,
.section-on-dark h2,
.section-on-dark h3 {
  color: #FFFFFF;
}

.section-on-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.section-on-dark .eyebrow {
  background: rgba(148, 71, 255, 0.08);
  border-color: rgba(148, 71, 255, 0.20);
  color: var(--iq-accent);
}

/* ============================================================
   SECTION 12: RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
  .container {
    padding-inline: var(--sp-10);
  }

  .hero-title {
    font-size: 60px;
  }
}

/* Desktop: 1024px - 1279px */
@media (max-width: 1279px) {
  :root {
    --section-y: 96px;
    --container: 100%;
  }

  .hero-content {
    gap: var(--sp-10);
  }

  .footer-grid {
    grid-template-columns: 200px repeat(5, 1fr);
    gap: var(--sp-6);
  }

  .why-layout {
    gap: var(--sp-12);
  }
}

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
  :root {
    --section-y: 80px;
    --nav-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .site-header:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.70);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-col {
    align-items: center;
  }

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

  .hero-badge {
    margin-inline: auto;
  }

  .hero-visual-col {
    height: 420px;
  }

  .float-card-main {
    width: 260px;
  }

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

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

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

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

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

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

  .why-layout {
    grid-template-columns: 1fr;
  }

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

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .coverage-layout {
    grid-template-columns: 1fr;
  }

  .security-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    display: none;
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .module-content.active {
    grid-template-columns: 1fr;
  }

  .step-row {
    grid-template-columns: 1fr;
  }

  .step-center {
    flex-direction: row;
  }

  .step-line {
    width: 80px;
    height: 2px;
    min-height: 0;
  }

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

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

/* Mobile: 0px - 767px */
@media (max-width: 767px) {
  :root {
    --section-y: 64px;
    --section-y-sm: 48px;
    --nav-height: 64px;
  }

  .container {
    padding-inline: var(--sp-4);
  }

  .hero-visual-col {
    display: none;
  }

  .hero-stats {
    gap: var(--sp-6);
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

  .product-pods {
    grid-template-columns: 1fr;
  }

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

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

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

  .security-badges {
    grid-template-columns: 1fr;
  }

  .why-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .db-kpi-row {
    grid-template-columns: 1fr 1fr;
  }

  .api-cards {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-header {
    margin-bottom: var(--sp-10);
  }

  .module-tabs {
    flex-direction: column;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

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

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

  .step-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .step-row.reverse .step-content,
  .step-row.reverse .step-center {
    order: unset;
  }

  .btn-lg {
    padding: 14px var(--sp-6);
    font-size: var(--text-sm);
  }

  .page-hero {
    padding-top: calc(var(--nav-height) + var(--sp-12));
    padding-bottom: var(--sp-12);
  }

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

  .product-overview {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }
}

/* ============================================================
   BACKGROUND ORBS — Atmosphere system (affiliate-inspired)
   ============================================================ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.bg-orbs .orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(148, 71, 255, 0.28), transparent 70%);
  top: -180px;
  right: -140px;
  animation: orbFloat1 20s cubic-bezier(.22, 1, .36, 1) infinite;
}

.bg-orbs .orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(148, 71, 255, 0.18), transparent 70%);
  top: 45%;
  left: -180px;
  animation: orbFloat2 26s cubic-bezier(.22, 1, .36, 1) infinite;
}

.bg-orbs .orb-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(7, 26, 61, 0.30), transparent 70%);
  bottom: -130px;
  right: 20%;
  animation: orbFloat1 30s cubic-bezier(.22, 1, .36, 1) infinite;
  opacity: 0.6;
}

[data-theme="dark"] .bg-orbs .orb-1 {
  background: radial-gradient(circle, rgba(148, 71, 255, 0.40), transparent 70%);
}

[data-theme="dark"] .bg-orbs .orb-2 {
  background: radial-gradient(circle, rgba(148, 71, 255, 0.22), transparent 70%);
}

[data-theme="dark"] .bg-orbs .orb-3 {
  background: radial-gradient(circle, rgba(59, 115, 255, 0.25), transparent 70%);
  opacity: 0.5;
}

@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-50px, 50px);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(60px, -40px);
  }
}

/* ============================================================
   PRODUCT POD — 6-column grid support
   ============================================================ */
.product-pods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 1023px) {
  .product-pods {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .product-pods {
    grid-template-columns: 1fr;
  }
}

/* Eyebrow uppercase label style */
.eyebrow-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iq-blue);
  margin-bottom: var(--sp-3);
}

/* ============================================================
   SOLUTION CARD enhanced hover
   ============================================================ */
.solution-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(148, 71, 255, 0.35) !important;
  box-shadow: var(--shadow-glow-card) !important;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-card);
  border-color: rgba(148, 71, 255, 0.30);
}

/* ============================================================
   MODULE TAB — 6-tab layout
   ============================================================ */
.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--sp-2);
}

.module-tab {
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  font-family: var(--font-sans);
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--ease-spring);
  white-space: nowrap;
}

.module-tab.active {
  background: linear-gradient(rgb(171, 102, 255), rgb(112, 29, 190));
  color: #FFFFFF;
  box-shadow: 0 4px 18px -4px rgba(161, 79, 243, 0.55);
}

.module-tab:hover:not(.active) {
  color: var(--iq-blue);
  background: var(--bg-surface);
}

/* ============================================================
   DASHBOARD PREVIEW — light theme overrides
   ============================================================ */

[data-theme="light"] .dashboard-preview {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .dashboard-topbar {
  background: #F1F5F9;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .dashboard-url {
  background: #E2E8F0;
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .dashboard-sidebar {
  background: #F8FAFC;
  border-right-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .db-nav-item {
  color: rgba(0, 0, 0, 0.50);
}

[data-theme="light"] .db-nav-item:hover:not(.active) {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.80);
}

[data-theme="light"] .db-kpi {
  background: #F1F5F9;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .db-kpi-label {
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .db-kpi-value {
  color: #0F172A;
}

[data-theme="light"] .db-chart-area {
  background: #F1F5F9;
  border-color: rgba(0, 0, 0, 0.08);
}

/* ============================================================
   MODULE VISUAL MOCKUPS — theme-responsive
   ============================================================ */

/* Outer frame: light bg instead of navy */
[data-theme="light"] .module-visual {
  background: #EDF2F7 !important;
}

/* Inner browser window: revert to dark in dark theme */
[data-theme="dark"] .mockup-ui {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Browser chrome bar */
[data-theme="dark"] .mockup-ui>div:first-child {
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

/* URL address bar */
[data-theme="dark"] .mockup-ui>div:first-child>div:last-child {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* URL text */
[data-theme="dark"] .mockup-ui>div:first-child>div:last-child span {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Row item backgrounds — banking (8px 12px) */
[data-theme="dark"] .mockup-ui [style*="background:#F1F5F9;border-radius:8px;padding:8px 12px"] {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Row item backgrounds — wallets + KYC (8px 10px before bg) */
[data-theme="dark"] .mockup-ui [style*="padding:8px 10px;background:#F1F5F9"] {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Row item backgrounds — payments (7px 10px) */
[data-theme="dark"] .mockup-ui [style*="padding:7px 10px;background:#F1F5F9"] {
  background: rgba(255, 255, 255, 0.03) !important;
}

/* Card stats squares (padding:10px) */
[data-theme="dark"] .mockup-ui [style*="background:#F1F5F9;border-radius:8px;padding:10px"] {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Ramp conversion widgets */
[data-theme="dark"] .mockup-ui [style*="background:#F1F5F9;border:1px solid rgba(0,0,0,0.08)"] {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* All dark #111827 text → white */
[data-theme="dark"] .mockup-ui [style*="color:#111827"] {
  color: #FFF !important;
}

/* Section headers + badges (rgba 0,0,0,0.50) → white-muted */
[data-theme="dark"] .mockup-ui [style*="color:rgba(0,0,0,0.50)"] {
  color: rgba(255, 255, 255, 0.40) !important;
}

/* Muted labels (rgba 0,0,0,0.45) → white-muted */
[data-theme="dark"] .mockup-ui [style*="color:rgba(0,0,0,0.45)"] {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Timestamps, "Stable" (rgba 0,0,0,0.40) → white-muted */
[data-theme="dark"] .mockup-ui [style*="color:rgba(0,0,0,0.40)"] {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Ramp "Sell" button */
[data-theme="dark"] .mockup-ui [style*="background:rgba(0,0,0,0.05);border:1px solid rgba(0,0,0,0.12)"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.50) !important;
}

/* Ramp USD currency selector */
[data-theme="dark"] .mockup-ui [style*="background:rgba(0,0,0,0.06);border-radius:8px"] {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* ============================================================
   SOLUTION CARDS — theme-responsive hover
   ============================================================ */

/* Disable blue gradient overlay — replaced by theme-aware bg */
.solution-card:hover::before {
  opacity: 0 !important;
}

/* Remove white text overrides (card no longer goes dark blue on hover) */
.solution-card:hover {
  color: inherit !important;
}

.solution-card:hover .solution-card-title {
  color: inherit !important;
}

.solution-card:hover .solution-card-desc {
  color: var(--text-muted) !important;
}

.solution-card:hover .solution-card-arrow {
  color: var(--iq-blue) !important;
  gap: var(--sp-3);
}

/* Light theme: soft blue-tinted hover background */
[data-theme="light"] .solution-card:hover {
  background: rgba(3, 105, 161, 0.05) !important;
  border-color: rgba(3, 105, 161, 0.18) !important;
  box-shadow: 0 8px 30px rgba(3, 105, 161, 0.08) !important;
}

/* ============================================================
   SECURITY MOCKUP — dark theme overrides
   ============================================================ */

/* Outer container */
[data-theme="dark"] .sec-mockup-ui {
  background: #08131D !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.50) !important;
}

/* Browser chrome bar */
[data-theme="dark"] .sec-mockup-ui [style*="background:#F1F5F9"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

/* URL address bar */
[data-theme="dark"] .sec-mockup-ui [style*="background:#E2E8F0"] {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Dark-on-light text → white */
[data-theme="dark"] .sec-mockup-ui [style*="color:#111827"] {
  color: #FFF !important;
}

[data-theme="dark"] .sec-mockup-ui [style*="color:rgba(0,0,0,0.45)"] {
  color: rgba(255, 255, 255, 0.35) !important;
}

[data-theme="dark"] .sec-mockup-ui [style*="color:rgba(0,0,0,0.50)"] {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Threat feed rows: nearly invisible on white → visible on dark */
[data-theme="light"] .sec-mockup-ui [style*="background:rgba(255,255,255,0.03)"] {
  background: rgba(0, 0, 0, 0.04) !important;
}