/* ==========================================================================
   ADVERTISEIQ — PREMIUM DESIGN SYSTEM 2026
   ========================================================================== */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Colors – Dark (default) */
  --bg: #030712;
  --bg-2: #050d1f;
  --bg-card: rgba(12, 20, 44, 0.6);
  --bg-card-solid: #0c142c;
  --bg-surface: rgba(255, 255, 255, 0.04);
  --text: #f1f5f9;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(59, 130, 246, 0.45);
  --nav-bg: rgba(3, 7, 18, 0.80);
  --card-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-2: #06b6d4;
  --accent-3: #8b5cf6;
  --accent-glow: rgba(59, 130, 246, 0.18);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient-text: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #06b6d4 100%);
  --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --gradient-green: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(255, 255, 255, 0.10);
}

[data-theme="light"] {
  --bg: #f8faff;
  --bg-2: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-solid: #ffffff;
  --bg-surface: rgba(0, 0, 0, 0.03);
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #475569;
  --border: rgba(0, 0, 0, 0.07);
  --border-2: rgba(0, 0, 0, 0.12);
  --border-hover: rgba(37, 99, 235, 0.45);
  --nav-bg: rgba(248, 250, 255, 0.88);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-2: #0284c7;
  --accent-3: #7c3aed;
  --accent-glow: rgba(37, 99, 235, 0.10);
  --success: #059669;
  --gradient-text: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  --gradient-accent: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #0284c7 100%);
  --input-bg: rgba(0, 0, 0, 0.03);
  --input-border: rgba(0, 0, 0, 0.10);
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── UTILITY ── */
.gradient-text {
  line-height: 1.30 !important;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px;
}

.section-wrapper-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0 0 16px;
  color: var(--text);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================================
   AURORA BACKGROUND
   ========================================================================== */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
  animation: auroraFloat 20s infinite alternate ease-in-out;
}

.blob1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), rgba(139, 92, 246, 0.12));
  top: -15%;
  left: -10%;
  animation-duration: 24s;
}

.blob2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.08));
  bottom: -15%;
  right: -8%;
  animation-duration: 28s;
  animation-delay: -5s;
}

.blob3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.06));
  top: 35%;
  left: 45%;
  animation-duration: 22s;
  animation-delay: -10s;
  opacity: 0.7;
}

[data-theme="light"] .aurora-blob {
  opacity: 0.45;
}

[data-theme="light"] .blob1 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(139, 92, 246, 0.07));
}

[data-theme="light"] .blob2 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.10), rgba(16, 185, 129, 0.05));
}

@keyframes auroraFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50px, -40px) scale(1.08);
  }

  66% {
    transform: translate(-30px, 50px) scale(0.94);
  }

  100% {
    transform: translate(35px, -25px) scale(1.04);
  }
}

/* ==========================================================================
   PAGE LOADER
   ========================================================================== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #030712;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  /* margin-bottom: 36px; */
  animation: pulseLogo 1.6s ease-in-out infinite;
}

.loader-logo img {
  width: 320px;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(59, 130, 246, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  margin-top: 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.loader-progress-bar {
  width: 180px;
  height: 2px;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 4px;
  margin-top: 14px;
  overflow: hidden;
}

.loader-progress-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-accent);
  border-radius: 4px;
  animation: progressFill 1.8s ease-in-out forwards;
}

[data-theme="light"] #page-loader {
  background: #f8faff;
}

[data-theme="light"] .loader-text {
  color: #64748b;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseLogo {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.97);
  }
}

@keyframes progressFill {
  0% {
    width: 0;
  }

  20% {
    width: 15%;
  }

  50% {
    width: 45%;
  }

  75% {
    width: 72%;
  }

  100% {
    width: 100%;
  }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 24px;
  transition: all 0.3s ease;
}

.main-nav.scrolled {
  padding: 10px 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--nav-bg);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 10px 8px 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

[data-theme="light"] .nav-inner {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  width: 75px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-surface);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle {
  /* width: 36px;
  height: 36px; */
  border-radius: 999px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-color: var(--text-dim);
  color: var(--accent) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.theme-toggle:hover {
  color: var(--text-muted) !important;
  border-color: var(--accent);
}

.btn-nav-secondary {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 100px;
  transition: color 0.2s;
  white-space: nowrap;
}

.btn-nav-secondary:hover {
  color: var(--text);
}

.btn-nav-primary {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--gradient-accent);
  padding: 9px 20px;
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
  color: #fff;
}

.nav-hamburger {
  display: none;
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--nav-bg);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  margin-top: 8px;
  backdrop-filter: blur(24px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 11px 16px;
  border-radius: 12px;
  transition: all 0.2s;
}

.nav-mobile a:not(.btn-nav-primary):hover {
  color: var(--text);
  background: var(--bg-surface);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.5);
  color: #fff;
}

.btn-primary.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border-2);
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--accent-glow);
  color: var(--text);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 24px 80px;
  overflow: hidden;
}

/* Dot grid background */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero-section::before {
  background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 72px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-2);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

.hero-content h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 0 0 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.trust-dot {
  width: 3px;
  height: 3px;
  background: var(--border-2);
  border-radius: 50%;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-dashboard-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-dashboard-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 48px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

[data-theme="light"] .hero-dashboard-frame {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.hero-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.hfb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.hfb-dot.red {
  background: #ef4444;
}

.hfb-dot.yellow {
  background: #f59e0b;
}

.hfb-dot.green {
  background: #22c55e;
}

.hfb-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--input-bg);
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: 6px;
  font-family: 'Inter', monospace;
}

.hero-dashboard-frame img {
  width: 100%;
  display: block;
}

.hero-dashboard-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  gap: 12px;
  color: var(--text-muted);
}

.hero-dashboard-placeholder i {
  font-size: 3rem;
  color: var(--accent);
}

/* Floating stat cards */
.hero-stat-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 14px 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 3;
  animation: floatCard 6s ease-in-out infinite;
}

[data-theme="light"] .hero-stat-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.hero-stat-card.card-top-right {
  top: -20px;
  right: -30px;
  animation-delay: -2s;
}

.hero-stat-card.card-bottom-left {
  bottom: -16px;
  left: -24px;
  animation-delay: -4s;
}

.hero-stat-card .stat-val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-card .stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 500;
}

.hero-stat-card .stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  border-radius: 20px;
  padding: 2px 8px;
  margin-top: 6px;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-8px) rotate(0.5deg);
  }

  66% {
    transform: translateY(4px) rotate(-0.5deg);
  }
}

/* Diamond visual (fallback) */
.hero-diamonds-container {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-diamonds-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.diamond {
  position: absolute;
  border-radius: 18px;
  transform: rotate(45deg);
}

.diamond-1 {
  width: 190px;
  height: 190px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 80px rgba(59, 130, 246, 0.45);
  animation: floatD1 6s ease-in-out infinite;
}

.diamond-2 {
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(59, 130, 246, 0.12) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: floatD2 8s ease-in-out infinite;
}

.diamond-3 {
  width: 310px;
  height: 310px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, transparent 100%);
  border: 1px solid rgba(59, 130, 246, 0.09);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: floatD3 10s ease-in-out infinite;
}

@keyframes floatD1 {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-16px);
  }
}

@keyframes floatD2 {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-8px);
  }
}

@keyframes floatD3 {

  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) rotate(45deg) translateY(5px);
  }
}

[data-theme="light"] .diamond-1 {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-section {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(24px);
}

.stats-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 28px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-2);
  flex-shrink: 0;
}

/* ==========================================================================
   LOGO MARQUEE
   ========================================================================== */
.marquee-section {
  overflow: hidden;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.marquee-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.marquee-track-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.4;
  white-space: nowrap;
  letter-spacing: -0.3px;
  transition: opacity 0.2s;
  user-select: none;
}

.marquee-item:hover {
  opacity: 0.75;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features-section {
  position: relative;
  z-index: 1;
}

/* Bento-style features grid */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: var(--card-shadow);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border-hover);
}

[data-theme="light"] .feature-card:hover {
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.feature-card-viz {
  height: 148px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.feature-card-viz::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.feature-card-body {
  padding: 28px;
  flex: 1;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto auto 1fr;
  column-gap: 14px;
  row-gap: 0;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.feature-icon.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.feature-icon.orange {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.feature-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature-icon.blue {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.feature-icon.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.feature-icon.pink {
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.feature-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 14px 0 20px;
  grid-column: 1 / 3;
  grid-row: 2;
}

.feature-card .feature-list {
  grid-column: 1 / 3;
  grid-row: 3;
}

.feature-card .feature-metric {
  grid-column: 1 / 3;
  grid-row: 4;
  align-self: end;
  margin-top: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-dim);
  padding: 5px 0;
}

.feature-list li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-metric {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid;
}

.purple-metric {
  color: #a855f7;
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}

.orange-metric {
  color: #f97316;
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.2);
}

.green-metric {
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Feature visualizations */
.viz-campaign {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 20px 20px 0;
}

.viz-campaign .bar {
  width: 13%;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.85), transparent);
  border-top: 2px solid #a855f7;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -4px 12px rgba(168, 85, 247, 0.3);
  animation: barPulse 2.5s infinite alternate ease-in-out;
}

.viz-campaign .bar:nth-child(1) {
  height: 35%;
  animation-delay: 0s;
}

.viz-campaign .bar:nth-child(2) {
  height: 58%;
  animation-delay: 0.2s;
}

.viz-campaign .bar:nth-child(3) {
  height: 78%;
  animation-delay: 0.4s;
}

.viz-campaign .bar:nth-child(4) {
  height: 48%;
  animation-delay: 0.6s;
}

.viz-campaign .bar:nth-child(5) {
  height: 92%;
  animation-delay: 0.8s;
}

@keyframes barPulse {
  0% {
    transform: scaleY(0.88);
  }

  100% {
    transform: scaleY(1.08);
  }
}

.viz-keyword {
  position: relative;
}

.viz-keyword .node {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #f97316;
  border-radius: 50%;
  box-shadow: 0 0 10px #f97316;
  animation: floatNode 3s infinite alternate ease-in-out;
}

.viz-keyword .node:nth-child(1) {
  top: 30%;
  left: 18%;
  animation-delay: 0s;
}

.viz-keyword .node:nth-child(2) {
  top: 60%;
  left: 48%;
  animation-delay: 1s;
}

.viz-keyword .node:nth-child(3) {
  top: 20%;
  left: 78%;
  animation-delay: 0.5s;
}

.viz-keyword .node:nth-child(4) {
  top: 70%;
  left: 82%;
  animation-delay: 1.5s;
}

.viz-keyword .line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.55), transparent);
  transform-origin: left center;
}

.viz-keyword .line-1 {
  top: 33%;
  left: 20%;
  width: 32%;
  transform: rotate(28deg);
}

.viz-keyword .line-2 {
  top: 62%;
  left: 50%;
  width: 32%;
  transform: rotate(-42deg);
}

@keyframes floatNode {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translateY(-8px) scale(1.4);
    opacity: 1;
  }
}

.viz-inventory {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  perspective: 800px;
}

.viz-inventory .box {
  width: 34px;
  height: 34px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  animation: invFloat 3s infinite alternate ease-in-out;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.viz-inventory .box:nth-child(1) {
  animation-delay: 0s;
  height: 50px;
  transform: translateY(-8px);
}

.viz-inventory .box:nth-child(2) {
  animation-delay: 0.5s;
  height: 64px;
}

.viz-inventory .box:nth-child(3) {
  animation-delay: 1s;
  height: 40px;
  transform: translateY(8px);
}

@keyframes invFloat {
  0% {
    transform: rotateY(0deg) translateY(var(--ty, 0));
  }

  100% {
    transform: rotateY(15deg) translateY(calc(var(--ty, 0) - 6px));
  }
}

/* ==========================================================================
   HOW IT WORKS TIMELINE
   ========================================================================== */
.timeline-section {
  position: relative;
  z-index: 1;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.timeline-left {
  position: sticky;
  top: 120px;
}

.timeline-left .section-tag {
  margin-bottom: 20px;
}

.timeline-left h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 0 0 20px;
  color: var(--text);
}

.timeline-left p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 400px;
}

.timeline-right {
  position: relative;
  padding-left: 32px;
}

.timeline-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-right.tl-ready::before {
  transform: scaleY(1);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item.tl-visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item.last {
  margin-bottom: 0;
}

.timeline-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -53px;
  box-shadow: 0 0 0 4px var(--bg-2), 0 0 20px rgba(59, 130, 246, 0.45);
  position: relative;
  z-index: 1;
}

.timeline-marker span {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  flex: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(16px);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.1);
}

.timeline-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.timeline-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   FEATURE SHOWCASE (STACK CAROUSEL)
   ========================================================================== */
.showcase-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
  overflow: hidden;
}

.showcase-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

.showcase-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  color: var(--text);
}

.showcase-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.showcase-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.showcase-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
  backdrop-filter: blur(12px);
}

.showcase-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.showcase-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.stack-wrapper {
  user-select: none;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stack-track {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1200px) {
  .stack-track {
    max-width: 50%;
    width: 50%;
    min-width: 520px;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .stack-track {
    max-width: 68%;
    width: 68%;
  }
}

@media (max-width: 767px) {
  .stack-track {
    max-width: 100%;
    width: 100%;
    height: 500px;
  }
}

.stack-card {
  position: absolute;
  width: 86%;
  background: var(--bg-card-solid);
  border-radius: 28px;
  padding: 2rem 1.8rem 1.8rem;
  border: 1px solid var(--border-2);
  box-shadow: 0 32px 64px -20px rgba(0, 0, 0, 0.65);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  backface-visibility: hidden;
  will-change: transform, opacity;
  cursor: grab;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92) translateY(30px);
}

[data-theme="light"] .stack-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.12);
}

.stack-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  z-index: 10;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.75);
}

.stack-card.prev {
  opacity: 0.5;
  transform: scale(0.87) translateX(-180px) translateY(20px) rotate(-3deg);
  filter: blur(1px);
  z-index: 5;
  pointer-events: auto;
  cursor: pointer !important;
}

.stack-card.next {
  opacity: 0.5;
  transform: scale(0.87) translateX(180px) translateY(20px) rotate(3deg);
  filter: blur(1px);
  z-index: 5;
  pointer-events: auto;
  cursor: pointer !important;
}

.stack-card.prev:hover {
  opacity: 0.72;
  filter: blur(0);
}

.stack-card.next:hover {
  opacity: 0.72;
  filter: blur(0);
}

.stack-card.far-left {
  opacity: 0.12;
  transform: scale(0.7) translateX(-155px) translateY(40px) rotate(-6deg);
  filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

.stack-card.far-right {
  opacity: 0.12;
  transform: scale(0.7) translateX(155px) translateY(40px) rotate(6deg);
  filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

.stack-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(59, 130, 246, 0.10);
  color: #60a5fa;
}

.stack-card h4 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.stack-card .card-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.stack-card .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.6rem;
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
}

.stack-card .detail-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
}

.stack-card .detail-item i {
  color: var(--accent);
  font-size: 0.9rem;
}

.stack-card .card-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(59, 130, 246, 0.08);
  padding: 0.25rem 1rem 0.25rem 0.8rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #7aa9ff;
  width: fit-content;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.stack-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.stack-dot {
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: var(--border-2);
  border: none;
  transition: all 0.25s;
  cursor: pointer;
  padding: 0;
}

.stack-dot.active {
  width: 28px;
  background: var(--accent);
}

.icon-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.icon-sky {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
}

.icon-orange {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
}

.icon-green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.icon-rose {
  background: rgba(244, 63, 94, 0.12);
  color: #ec4899;
}

/* ==========================================================================
   PRODUCT SCREENSHOT
   ========================================================================== */
.screenshot-section {
  position: relative;
  z-index: 1;
}

.screenshot-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.screenshot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.14) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.screenshot-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 48px 100px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

[data-theme="light"] .screenshot-frame {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.fd {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fd.red {
  background: #ef4444;
}

.fd.yellow {
  background: #f59e0b;
}

.fd.green {
  background: #22c55e;
}

.frame-url {
  margin-left: 12px;
  font-size: 0.73rem;
  color: var(--text-muted);
  background: var(--input-bg);
  border: 1px solid var(--border);
  padding: 3px 12px;
  border-radius: 6px;
  font-family: 'Inter', monospace;
}

.dashboard-img {
  width: 100%;
  display: block;
}

.dashboard-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 360px;
  gap: 16px;
  color: var(--text-muted);
}

.dashboard-placeholder i {
  font-size: 4rem;
  color: var(--accent);
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.comparison-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}

.comparison-table thead {
  background: var(--bg-surface);
}

.comparison-table th {
  padding: 20px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table th.col-us {
  color: var(--accent);
  position: relative;
}

.comparison-table th.col-us::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.comparison-table td {
  padding: 16px 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: var(--accent-glow);
}

.comparison-table .col-us {
  background: rgba(59, 130, 246, 0.04);
  font-weight: 600;
}

.comparison-table .col-us:hover {
  background: rgba(59, 130, 246, 0.08);
}

.green-icon {
  color: var(--success);
  font-size: 1.1rem;
}

.red-icon {
  color: var(--danger);
  font-size: 1.1rem;
}

.muted-icon {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-section {
  position: relative;
  z-index: 1;
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.toggle-label.active {
  color: var(--text);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border-2);
  border-radius: 13px;
  transition: background 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.toggle-switch input:checked+.toggle-slider {
  background: var(--accent);
}

.toggle-switch input:checked+.toggle-slider::before {
  transform: translateX(22px);
}

.save-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 4px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px;
  backdrop-filter: blur(24px);
  position: relative;
  transition: all 0.35s ease;
  box-shadow: var(--card-shadow);
  opacity: 1 !important;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.pricing-card.featured {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.09) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), var(--card-shadow);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.featured-badge {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-accent);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.plan-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.price-currency {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.price-amount {
  font-family: 'Manrope', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -2.5px;
  line-height: 1;
  transition: all 0.3s;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 24px;
  min-height: 54px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-dim);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-plan-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-plan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.5);
  color: #fff;
}

.btn-plan-outline {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border-2);
}

.btn-plan-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.07;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.stars i {
  color: #f59e0b;
  font-size: 0.85rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0 0 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.av-blue {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.av-purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.av-green {
  background: linear-gradient(135deg, #065f46, #10b981);
}

.author-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  position: relative;
  z-index: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
  backdrop-filter: blur(16px);
}

.faq-item.open {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
  font-size: 1.15rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.final-cta-card {
  position: relative;
  border-radius: 28px;
  padding: 88px 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.18) 0%, rgba(9, 9, 18, 0.85) 50%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 80px rgba(37, 99, 235, 0.12), var(--card-shadow);
  backdrop-filter: blur(20px);
}

[data-theme="light"] .final-cta-card {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.07) 0%, rgba(248, 250, 255, 0.95) 60%);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.08), 0 24px 64px rgba(0, 0, 0, 0.06);
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-card h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 16px 0;
  color: var(--text);
}

.final-cta-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 144px;
  object-fit: contain;
}

.brand-col p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 280px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-icons a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.footer-col h5 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--text);
}

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  padding: 164px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 16px 0 20px;
  color: var(--text);
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(24px);
}

.contact-form-card h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}

.contact-form-card>p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.form-control {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.9rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  margin-top: 4px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.5);
}

.alert-success-custom {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

.alert-error-custom {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(16px);
}

.info-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  margin-top: 2px;
}

.office-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.09) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(16px);
}

.office-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}

.office-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
}

.response-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

/* ==========================================================================
   PRICING PAGE (comparison table)
   ========================================================================== */
.comp-section {
  position: relative;
  z-index: 1;
}

.comp-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  min-width: 640px;
}

.comp-table thead tr th {
  padding: 22px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-surface);
}

.comp-table thead tr th:first-child {
  text-align: left;
  width: 35%;
}

.comp-table thead tr th.th-featured {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
  position: relative;
}

.comp-table thead tr th.th-featured::after {
  content: 'MOST POPULAR';
  display: block;
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-top: 3px;
}

.comp-table .cat-row td {
  padding: 10px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.comp-table tbody tr td {
  padding: 15px 24px;
  font-size: 0.875rem;
  color: var(--text-dim);
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.comp-table tbody tr td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.comp-table tbody tr:last-child td {
  border-bottom: none;
}

.comp-table tbody tr:hover td {
  background: var(--accent-glow);
}

.comp-table .col-featured {
  background: rgba(37, 99, 235, 0.04);
}

.comp-table .col-featured:hover {
  background: rgba(37, 99, 235, 0.08);
}

.ci-yes {
  color: var(--success);
  font-size: 1rem;
}

.ci-no {
  color: var(--danger);
  font-size: 1rem;
}

.ci-part {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-strip {
  text-align: center;
  padding: 48px 24px;
  border-bottom: 1px solid var(--border);
}

.trust-strip p {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-logo-item {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.2s;
  letter-spacing: -0.3px;
}

.trust-logo-item:hover {
  opacity: 0.85;
}

.guarantee-strip {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.guarantee-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-hero {
  padding: 148px 24px 64px;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: -180px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 0 0 20px;
}

.about-hero .sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.badge-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge-group span {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  backdrop-filter: blur(8px);
}

.badge-group i {
  color: var(--accent);
  margin-right: 8px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 20px;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.about-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.about-stat .number {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -1px;
}

.about-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px;
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
  box-shadow: var(--card-shadow);
}

.mv-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.3);
}

.mv-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.mv-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.97rem;
}

/* ==========================================================================
   FEATURES PAGE
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  background: var(--input-bg);
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

.features-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.fp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 12px;
  row-gap: 14px;
  align-content: start;
}

.fp-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.10);
}

.fp-card[data-hidden="true"] {
  display: none;
}

.fp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

/* Title div (h4 + tag span) sits beside the icon */
.fp-card-icon+div {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.fp-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.fp-card p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  grid-column: 1 / 3;
  grid-row: 2;
}

.fp-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

/* icon color sets */
.ic-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.22);
}

.ic-orange {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.ic-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.ic-green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.ic-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.22);
}

.ic-pink {
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.22);
}

.tag-purple {
  background: rgba(168, 85, 247, 0.10);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.18);
}

.tag-orange {
  background: rgba(249, 115, 22, 0.10);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.18);
}

.tag-blue {
  background: rgba(59, 130, 246, 0.10);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.tag-green {
  background: rgba(16, 185, 129, 0.10);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.10);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.18);
}

.tag-pink {
  background: rgba(236, 72, 153, 0.10);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.18);
}

.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 20px;
  row-gap: 16px;
  align-content: start;
}

.highlight-card.accent-card {
  border-color: rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, var(--bg-card) 100%);
}

.highlight-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.highlight-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  grid-column: 1 / 3;
  grid-row: 2;
}

.highlight-card .check-list {
  grid-column: 1 / 3;
  grid-row: 3;
}

.highlight-big-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.check-list li i {
  color: var(--accent);
  font-size: 1rem;
}

/* ==========================================================================
   AOS ANIMATIONS — Custom tweaks
   ========================================================================== */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ==========================================================================
   LIGHT MODE SPECIFIC OVERRIDES
   ========================================================================== */
[data-theme="light"] .hero-section::before {
  background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px);
}

[data-theme="light"] .timeline-section {
  background: linear-gradient(180deg, transparent 0%, rgba(219, 234, 254, 0.22) 40%, rgba(237, 233, 254, 0.18) 70%, transparent 100%);
  position: relative;
}

[data-theme="light"] .timeline-right::before {
  background: linear-gradient(to bottom, #2563eb 0%, #7c3aed 60%, transparent 100%);
  width: 3px;
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .timeline-marker {
  box-shadow: 0 0 0 4px #f0f4ff, 0 0 0 8px rgba(37, 99, 235, 0.1), 0 0 24px rgba(37, 99, 235, 0.35);
  animation: tlMarkerPulse 2.4s ease-in-out infinite;
}

@keyframes tlMarkerPulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px #f0f4ff, 0 0 0 8px rgba(37, 99, 235, 0.1), 0 0 20px rgba(37, 99, 235, 0.3);
  }

  50% {
    box-shadow: 0 0 0 4px #f0f4ff, 0 0 0 10px rgba(37, 99, 235, 0.18), 0 0 32px rgba(37, 99, 235, 0.5);
  }
}

[data-theme="light"] .timeline-card {
  border-left: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #2563eb, #7c3aed) border-box;
  border-left-color: transparent;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.07), 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .timeline-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .timeline-card h4 {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .stack-card .card-desc {
  color: var(--text-muted);
}

[data-theme="light"] .stack-card .detail-item {
  color: var(--text);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {

  .features-bento,
  .pricing-cards,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .timeline-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .timeline-left {
    position: static;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .features-page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .highlight-row {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .btn-nav-secondary {
    display: none;
  }

  .nav-actions .btn-nav-primary {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-ctas,
  .hero-trust {
    justify-content: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-diamonds-container {
    width: 260px;
    height: 260px;
  }

  .diamond-1 {
    width: 140px;
    height: 140px;
  }

  .diamond-2 {
    width: 180px;
    height: 180px;
  }

  .diamond-3 {
    width: 228px;
    height: 228px;
  }

  .stats-wrapper {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .features-bento,
  .pricing-cards,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .final-cta-card {
    padding: 56px 24px;
  }

  .timeline-right {
    padding-left: 24px;
  }

  .timeline-right::before {
    display: none;
  }

  .timeline-marker {
    margin-left: 0;
  }

  .section-wrapper {
    padding: 72px 20px;
  }

  .hero-content h1 {
    letter-spacing: -1.5px;
  }

  .showcase-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-card {
    display: none;
  }
}

@media (max-width: 540px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .billing-toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stack-card {
    width: 92%;
    padding: 1.4rem;
  }

  .stack-card .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ANTI-GRAVITY HOVER
   ========================================================================== */
.anti-gravity {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.anti-gravity:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .anti-gravity:hover {
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.10);
}

/* ==========================================================================
   WAVY BACKGROUND (Aceternity-inspired)
   ========================================================================== */
.wavy-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

[data-theme="light"] .wavy-bg-canvas {
  opacity: 0.25;
}

/* ==========================================================================
   BILLING TAB TOGGLE (Modern Pill/Tab UI)
   ========================================================================== */
.billing-tab-toggle {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 5px;
  gap: 0;
  margin-top: 28px;
  position: relative;
}

.bill-tab {
  padding: 10px 28px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s;
  display: flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.bill-tab.active {
  color: #fff;
}

.bill-tab-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  border-radius: 9px;
  background: var(--gradient-accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.3s;
  z-index: 0;
}

.save-badge-tab {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}

.bill-tab:not(.active) .save-badge-tab {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

/* ==========================================================================
   TEXT GENERATE (Typewriter) EFFECT
   ========================================================================== */
.typewriter-wrap {
  display: inline;
}

.typewriter-word {
  display: inline-block;
  position: relative;
  min-width: 1ch;
}

.typewriter-word::after {
  content: '|';
  position: absolute;
  right: -4px;
  top: 0;
  color: var(--accent);
  animation: blinkCursor 0.75s step-end infinite;
  font-weight: 300;
}

.typewriter-word.done::after {
  display: none;
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.char-unit {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.06s ease, transform 0.08s ease;
}

.char-unit.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SCROLL STACK SECTION (Sticky Reveal — ReactBits-style)
   ========================================================================== */
.sstack-outer {
  position: relative;
  z-index: 1;
}

.sstack-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sstack-header {
  text-align: center;
  padding: 96px 24px 64px;
}

.sstack-header h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 14px 0 18px;
  color: var(--text);
}

.sstack-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Track: tall scroll space */
.sstack-track {
  position: relative;
}

/* Sticky container */
.sstack-sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 48px;
}

.sstack-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sstack-left-panel {
  flex-shrink: 0;
}

.sstack-left-panel h3 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 14px;
}

.sstack-left-panel .sstack-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 32px;
}

.sstack-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sstack-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sstack-nav-item:hover {
  background: var(--bg-card);
  color: var(--text);
}

.sstack-nav-item.active {
  background: var(--accent-glow);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--accent);
}

.sstack-nav-item .sni-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  flex-shrink: 0;
  transition: background 0.25s, box-shadow 0.25s;
}

.sstack-nav-item.active .sni-dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Card stage */
.sstack-card-stage {
  position: relative;
  height: 480px;
  perspective: 1200px;
}

.sstack-card {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: auto auto auto auto auto;
  column-gap: 20px;
  row-gap: 16px;
  align-content: start;
  backdrop-filter: blur(24px);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.5);
  transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(60px) scale(0.93);
  pointer-events: none;
}

[data-theme="light"] .sstack-card {
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.sstack-card.scard-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 3;
}

.sstack-card.scard-behind-1 {
  opacity: 0.55;
  transform: translateY(28px) scale(0.96);
  z-index: 2;
}

.sstack-card.scard-behind-2 {
  opacity: 0.25;
  transform: translateY(50px) scale(0.92);
  z-index: 1;
}

.sstack-card .sc-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  grid-column: 1 / 3;
  grid-row: 1;
}

.sstack-card .sc-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}

.sstack-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

.sstack-card .sc-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 460px;
  grid-column: 1 / 3;
  grid-row: 3;
}

.sc-pills {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / 3;
  grid-row: 4;
  gap: 8px;
  margin-top: 4px;
}

.sc-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.sc-pill i {
  font-size: 0.85rem;
  color: var(--accent);
}

.sc-metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  grid-column: 1 / 3;
  grid-row: 5;
}

.sc-metric-val {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sc-metric-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Spacer panels for scroll height */
.sstack-spacer {
  height: 100vh;
}

/* ==========================================================================
   WORLD MAP SECTION
   ========================================================================== */
.worldmap-section {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  overflow: hidden;
}

.worldmap-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 72px;
  align-items: center;
}

.worldmap-text .section-tag {
  margin-bottom: 16px;
}

.worldmap-text h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.13;
  color: var(--text);
  margin: 0 0 18px;
}

.worldmap-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 480px;
}

.market-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

.market-item i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.worldmap-visual {
  position: relative;
}

.worldmap-canvas {
  width: 100%;
  height: 340px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.wm-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.wm-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

/* ==========================================================================
   SCROLL STACK RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .worldmap-inner {
    grid-template-columns: 1fr;
  }

  .worldmap-canvas {
    height: 260px;
  }
}

/* ── Platform section — mobile tab layout ── */
@media (max-width: 768px) {

  /* Kill the tall scroll space */
  .sstack-track {
    height: auto !important;
  }

  .sstack-sticky {
    position: relative !important;
    height: auto !important;
    top: auto !important;
    padding: 0 16px 48px;
    overflow: visible;
  }

  .sstack-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Horizontal scrolling tab bar */
  .sstack-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 4px;
  }

  .sstack-nav::-webkit-scrollbar {
    display: none;
  }

  .sstack-nav-item {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
  }

  /* "View All" button stays below tabs */
  .sstack-left-panel>a {
    display: none;
  }

  /* Card stage: fixed height, cards slide in */
  .sstack-card-stage {
    height: auto;
    min-height: 440px;
    perspective: none;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
  }

  .sstack-card {
    position: absolute !important;
    inset: 0 !important;
    transform: translateX(100%) !important;
    opacity: 0 !important;
    filter: none !important;
    transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1),
      opacity 0.35s ease !important;
    animation: none !important;
    padding: 28px 22px !important;
    border-radius: 20px !important;
    pointer-events: none;
  }

  .sstack-card.scard-active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    animation: none !important;
    pointer-events: auto;
    z-index: 3;
    border-color: rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  }

  .sstack-card.scard-behind-1,
  .sstack-card.scard-behind-2 {
    transform: translateX(-60px) !important;
    opacity: 0 !important;
    filter: none !important;
    z-index: 1;
  }

  /* Swipe hint dots */
  .sstack-card-stage::after {
    content: '← swipe →';
    display: block;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    opacity: 0.6;
    pointer-events: none;
  }
}

@media (max-width: 600px) {
  .sstack-card {
    padding: 22px 18px !important;
  }

  .sstack-card h4 {
    font-size: 1.2rem;
  }

  .sc-metric-val {
    font-size: 1.5rem;
  }

  .bill-tab {
    padding: 9px 18px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   TEXT TYPE SCRAMBLE (ReactBits-style)
   ========================================================================== */
#heroTypewriter {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  min-width: 2ch;
  position: relative;
}

#heroTypewriter::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--accent);
  font-weight: 300;
  animation: blinkCursor 0.75s step-end infinite;
}

.tt-char {
  line-height: 0.9 !important;
  display: inline-block;
  color: inherit;
  transition: color 0.12s ease;
}

.tt-char:not(.tt-locked) {
  opacity: 0.55;
  color: var(--accent-2);
}

.tt-locked {
  opacity: 1;
  color: inherit;
}

/* ==========================================================================
   PROS & CONS — VS SECTION
   ========================================================================== */
.vs-section {
  position: relative;
  padding: 72px 24px;
  overflow: hidden;
  z-index: 1;
}

.vs-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vs-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.vs-header {
  text-align: center;
  margin-bottom: 64px;
}

.vs-header h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
  color: var(--text);
}

.vs-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.vs-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}

/* ── Columns ── */
.vs-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s;
}

.vs-col-challenges {
  border-color: rgba(239, 68, 68, 0.2);
}

.vs-col-challenges:hover {
  border-color: rgba(239, 68, 68, 0.35);
}

.vs-col-helps {
  border-color: rgba(16, 185, 129, 0.2);
}

.vs-col-helps:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.vs-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.vs-col-head i {
  font-size: 1.2rem;
}

.vs-col-challenges .vs-col-head i {
  color: #ef4444;
}

.vs-col-helps .vs-col-head i {
  color: var(--success);
}

.vs-col-head h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

/* ── Items ── */
.vs-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 14px;
  border-radius: 10px;
  transition: background 0.2s;
}

.vs-item:hover {
  background: var(--bg-surface);
}

.vs-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.vs-col-challenges .vs-item-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.vs-col-helps .vs-item-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}

.vs-item-text {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
  font-weight: 500;
  padding-top: 4px;
}

/* ── Center orb ── */
.vs-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 8px;
}

.vs-orb {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4f46e5, #7c3aed 40%, #1e1b4b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.35),
    0 0 40px rgba(99, 102, 241, 0.35),
    0 0 80px rgba(99, 102, 241, 0.15);
  position: relative;
  animation: vsOrbPulse 3.5s ease-in-out infinite;
  text-align: center;
  padding: 16px;
  flex-shrink: 0;
}

@keyframes vsOrbPulse {

  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 0 40px rgba(99, 102, 241, 0.35), 0 0 80px rgba(99, 102, 241, 0.15);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.55), 0 0 60px rgba(99, 102, 241, 0.55), 0 0 120px rgba(99, 102, 241, 0.25);
  }
}

.vs-orb-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(10);
}

.vs-orb-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.vs-orb-sub {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.vs-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.vs-arrow {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
  position: relative;
}

.vs-arrow-left::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: rgba(139, 92, 246, 0.6);
}

.vs-arrow-right::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(139, 92, 246, 0.6);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .vs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vs-center {
    flex-direction: row;
    justify-content: center;
  }

  .vs-arrows {
    display: none;
  }

  .vs-orb {
    width: 100px;
    height: 100px;
    padding: 10px;
  }

  .vs-orb-logo {
    width: 24px;
    height: 24px;
  }

  .vs-orb-name {
    font-size: 0.6rem;
  }

  .vs-orb-sub {
    display: none;
  }
}

/* ==========================================================================
   PROCESS FLOW SECTION
   ========================================================================== */
.flow-section {
  position: relative;
  padding: 64px 24px 72px;
  background: var(--bg-card);
  z-index: 1;
}

.flow-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.flow-header {
  text-align: center;
  margin-bottom: 60px;
}

.flow-header h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  margin: 0 0 10px;
}

.flow-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto;
}

/* ── Steps track ── */
.flow-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* Connecting line behind steps */
.flow-track::before {
  content: '';
  position: absolute;
  top: 70px;
  left: calc(36px + 2.5%);
  right: calc(36px + 2.5%);
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(59, 130, 246, 0.3) 10%,
      rgba(139, 92, 246, 0.4) 50%,
      rgba(59, 130, 246, 0.3) 90%,
      transparent 100%);
  z-index: 0;
}

.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  padding: 0 6px;
  transition: scale 0.2s;
}

.flow-step:hover {
  transition: scale 0.2s;
  /* transform: translateY(-4px); */
  scale: 1.03;
}

.flow-step-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 2px;
}

.flow-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(12px);
}

.flow-step:hover .flow-icon-wrap {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 8px 32px rgba(59, 130, 246, 0.2);
}

.flow-icon-wrap i {
  color: var(--accent);
}

/* Alternate icon colour */
.flow-step:nth-child(2n) .flow-icon-wrap i {
  color: var(--accent-3);
}

.flow-step:nth-child(2n):hover .flow-icon-wrap {
  border-color: var(--accent-3);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 8px 32px rgba(139, 92, 246, 0.2);
}

/* Connector arrow between steps */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 68px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-top: 2px solid rgba(59, 130, 246, 0.35);
  border-right: 2px solid rgba(59, 130, 246, 0.35);
  transform: rotate(45deg) translateY(-50%);
  z-index: 2;
}

.flow-step-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  max-width: 90px;
}

.flow-step-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 110px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .flow-track {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .flow-track::before {
    display: none;
  }

  .flow-step {
    width: calc(33% - 16px);
    flex: none;
  }

  .flow-step::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .flow-step {
    width: calc(50% - 12px);
  }

  .flow-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
}


/* ==========================================================================
   GLOBAL FONT & SPACING CONSISTENCY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p,
li,
span,
label,
input,
textarea,
select {
  font-family: 'Inter', sans-serif;
  line-height: 1.75;
}

.section-tag {
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* ==========================================================================
   PILL BUTTONS — FULL ROUNDED (GLOBAL OVERRIDE)
   ========================================================================== */
.btn-primary,
.btn-primary.btn-lg,
.btn-secondary,
.btn-secondary.btn-lg,
.btn-nav-primary,
.btn-nav-secondary,
.form-submit,
button[type="submit"] {
  border-radius: 9999px !important;
}

.nav-hamburger {
  border-radius: 9999px !important;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
*,
*::before,
*::after {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent, #3b82f6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.1s, height 0.1s, background 0.2s, opacity 0.2s;
  box-shadow: 0 0 8px var(--accent, #3b82f6), 0 0 20px rgba(59, 130, 246, 0.4);
  will-change: left, top;
}

.cursor-dot.cursor-hover {
  width: 10px;
  height: 10px;
}

.cursor-dot.cursor-click {
  width: 4px;
  height: 4px;
}

/* Smooth ring follower */
.cursor-diamond {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(59, 130, 246, 0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 999998;
  transition:
    width 0.25s cubic-bezier(0.23, 1, 0.32, 1),
    height 0.25s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.25s,
    background 0.25s,
    opacity 0.2s;
  will-change: left, top;
}

.cursor-diamond.cursor-hover {
  width: 46px;
  height: 46px;
  border-color: var(--accent, #3b82f6);
  background: rgba(59, 130, 246, 0.08);
}

.cursor-diamond.cursor-click {
  width: 24px;
  height: 24px;
  background: rgba(59, 130, 246, 0.22);
  border-color: var(--accent, #3b82f6);
}

[data-theme="light"] .cursor-dot {
  background: #2563eb;
  box-shadow: 0 0 8px #2563eb, 0 0 20px rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .cursor-diamond {
  border-color: rgba(37, 99, 235, 0.5);
}

[data-theme="light"] .cursor-arm {
  background: rgba(37, 99, 235, 0.7);
}

[data-theme="light"] .cursor-diamond.cursor-hover {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.07);
}

/* ==========================================================================
   SETTINGS FAB (Floating Action Button)
   ========================================================================== */
.settings-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.09));
  color: var(--text, #f8fafc);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9990;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.settings-fab:hover {
  color: var(--accent, #3b82f6);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.25);
  transform: scale(1.1);
}

[data-theme="light"] .settings-fab {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   SETTINGS PANEL / DRAWER
   ========================================================================== */
.settings-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9991;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
}

.settings-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.settings-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  background: var(--bg-card, #0f172a);
  border-left: 1px solid var(--border, rgba(255, 255, 255, 0.09));
  z-index: 9992;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

.settings-drawer.open {
  transform: translateX(0);
}

[data-theme="light"] .settings-drawer {
  background: #fff;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.12);
}

.settings-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.settings-drawer-header h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

.settings-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.settings-close-btn:hover {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(59, 130, 246, 0.3);
}

.settings-section {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.settings-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.theme-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}

.theme-opt:hover {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--border-2);
}

.theme-opt.active {
  background: var(--accent-glow);
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--accent);
}

.theme-opt .theme-opt-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}

.theme-opt.active .theme-opt-icon {
  background: rgba(59, 130, 246, 0.15);
}

.theme-opt .theme-opt-check {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.55rem;
  color: transparent;
}

.theme-opt.active .theme-opt-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.settings-info {
  padding: 16px 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.settings-info a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   AI IMAGE SECTIONS
   ========================================================================== */
.ai-feature-visual {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ai-feature-visual:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.45);
}

.ai-img-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  background: var(--bg-2);
}

.ai-img-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.ai-img-grid.reverse {
  direction: rtl;
}

.ai-img-grid.reverse>* {
  direction: ltr;
}

.ai-img-text {}

.ai-img-text h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.14;
  color: var(--text);
  margin: 14px 0 16px;
}

.ai-img-text p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

@media (max-width: 768px) {

  .ai-img-grid,
  .ai-img-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .settings-drawer {
    width: 100%;
    max-width: 340px;
  }

  .cursor-dot,
  .cursor-diamond {
    display: none;
  }
}

/* ==========================================================================
   SETTINGS FAB — SCROLL REVEAL (hidden first 200vh, then fades in)
   ========================================================================== */
/* Settings FAB always visible */
.settings-fab {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   LIGHT THEME — COMPREHENSIVE COMPONENT OVERRIDES
   ========================================================================== */

/* Page loader */
[data-theme="light"] #page-loader {
  background: #f8faff;
}

[data-theme="light"] .loader-text {
  color: #0f172a;
}

/* Nav */
[data-theme="light"] .main-nav .nav-inner {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links a {
  color: #64748b;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: #0f172a;
}

[data-theme="light"] .btn-nav-secondary {
  color: #475569;
}

[data-theme="light"] .btn-nav-secondary:hover {
  color: #0f172a;
}

[data-theme="light"] .nav-hamburger {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .nav-mobile {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-mobile a {
  color: #64748b;
}

[data-theme="light"] .nav-mobile a:not(.btn-nav-primary):hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Hero */
[data-theme="light"] .hero-section {
  background: transparent;
}

[data-theme="light"] .hero-badge {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
  color: #2563eb;
}

[data-theme="light"] .badge-dot {
  background: #2563eb;
}

[data-theme="light"] .hero-sub {
  color: #475569;
}

[data-theme="light"] .hero-social-proof {
  color: #64748b;
}

[data-theme="light"] .hero-stat-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-stat-card .stat-label {
  color: #64748b;
}

[data-theme="light"] .hero-stat-card .stat-val {
  color: #0f172a;
}

/* Section tags */
[data-theme="light"] .section-tag {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Cards */
[data-theme="light"] .feature-card,
[data-theme="light"] .fp-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .stack-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .feature-card h4,
[data-theme="light"] .fp-card h4 {
  color: #0f172a;
}

[data-theme="light"] .feature-card p,
[data-theme="light"] .fp-card p {
  color: #64748b;
}

[data-theme="light"] .card-desc {
  color: #64748b;
}

[data-theme="light"] .card-metric {
  color: #2563eb;
}

[data-theme="light"] .detail-item {
  color: #475569;
}

/* Pricing */
[data-theme="light"] .plan-name {
  color: #0f172a;
}

[data-theme="light"] .plan-desc {
  color: #64748b;
}

[data-theme="light"] .plan-features li {
  color: #475569;
}

[data-theme="light"] .popular-badge {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* Testimonials */
[data-theme="light"] .testimonial-card .t-text {
  color: #334155;
}

[data-theme="light"] .t-name {
  color: #0f172a;
}

[data-theme="light"] .t-title {
  color: #64748b;
}

/* Stats */
[data-theme="light"] .stat-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .about-stat .number {
  color: #0f172a;
}

[data-theme="light"] .about-stat .label {
  color: #64748b;
}

/* FAQ */
[data-theme="light"] .faq-item {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-question {
  color: #0f172a;
}

[data-theme="light"] .faq-answer {
  color: #64748b;
}

/* Timeline (How It Works) — keep gradient so white number span stays readable */
[data-theme="light"] .timeline-marker {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 0 4px #f0f4ff, 0 0 20px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .timeline-marker span {
  color: #fff;
}

[data-theme="light"] .timeline-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .tl-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

/* Forms */
[data-theme="light"] .contact-form-wrap {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
  background: #f8faff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .form-label {
  color: #475569;
}

/* Billing tab */
[data-theme="light"] .billing-tab-toggle {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .bill-tab {
  color: #64748b;
}

[data-theme="light"] .bill-tab.active {
  color: #fff;
}

/* World map */
[data-theme="light"] .worldmap-section {
  background: #f0f4ff;
}

[data-theme="light"] .worldmap-canvas {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .wm-overlay-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

/* Scroll stack */
[data-theme="light"] .sstack-outer {
  background: #f8faff;
}

[data-theme="light"] .sstack-left-panel h3 {
  color: #0f172a;
}

[data-theme="light"] .sstack-sub {
  color: #64748b;
}

[data-theme="light"] .sstack-nav-item {
  color: #64748b;
}

[data-theme="light"] .sstack-nav-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .sstack-nav-item.active {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .sc-pill {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

[data-theme="light"] .sc-desc {
  color: #64748b;
}

[data-theme="light"] .sc-metric-lbl {
  color: #64748b;
}

[data-theme="light"] .sc-num {
  color: #94a3b8;
}

/* Footer */
[data-theme="light"] .footer-section {
  background: #f0f4ff;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .footer-brand-desc {
  color: #64748b;
}

[data-theme="light"] .footer-col-title {
  color: #0f172a;
}

[data-theme="light"] .footer-link {
  color: #64748b;
}

[data-theme="light"] .footer-link:hover {
  color: #2563eb;
}

[data-theme="light"] .footer-bottom {
  color: #94a3b8;
  border-top-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .footer-divider {
  background: rgba(0, 0, 0, 0.07);
}

/* AI image sections */
[data-theme="light"] .ai-img-section {
  background: #f8faff;
}

[data-theme="light"] .ai-img-text h2 {
  color: #0f172a;
}

[data-theme="light"] .ai-img-text p {
  color: #64748b;
}

[data-theme="light"] .ai-feature-visual {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Settings drawer */
[data-theme="light"] .settings-section-title {
  color: #94a3b8;
}

[data-theme="light"] .settings-info {
  color: #94a3b8;
}

[data-theme="light"] .theme-opt {
  color: #475569;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-opt:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .theme-opt.active {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.25);
  color: #2563eb;
}

[data-theme="light"] .theme-opt-icon {
  background: #f1f5f9;
}

/* Comparison table */
[data-theme="light"] .comparison-table {
  background: #fff;
}

[data-theme="light"] .comparison-table th,
[data-theme="light"] .comparison-table td {
  border-color: rgba(0, 0, 0, 0.07);
  color: #334155;
}

[data-theme="light"] .comparison-table thead {
  background: #f0f4ff;
}

/* Page hero (features/pricing/about/contact) */
[data-theme="light"] .page-hero h1 {
  color: #0f172a;
}

[data-theme="light"] .page-hero p {
  color: #64748b;
}

/* Legal pages */
[data-theme="light"] .legal-content {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

[data-theme="light"] .legal-content h2,
[data-theme="light"] .legal-content h3 {
  color: #0f172a;
}

/* Final CTA */
[data-theme="light"] .final-cta-card {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .final-cta-card h2 {
  color: #0f172a;
}

[data-theme="light"] .final-cta-card p {
  color: #475569;
}

/* Market/PPC pages */
[data-theme="light"] .market-item {
  color: #475569;
}

[data-theme="light"] .market-list {
  color: #475569;
}

/* ==========================================================================
   LIGHT MODE — REMAINING FIXES
   ========================================================================== */

/* btn-secondary: give it a proper visible background/border in light mode */
[data-theme="light"] .btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

[data-theme="light"] .btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.4);
  color: #0f172a;
}

/* Final CTA "Talk to Sales" btn-secondary — stronger on the light card */
[data-theme="light"] .final-cta-card .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .final-cta-card .btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

/* Stats section — clean white card look in light mode */
[data-theme="light"] .stats-section {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.07);
}

/* Marquee section — light background */
[data-theme="light"] .marquee-section {
  background: #f8faff;
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .marquee-item {
  color: #334155;
  opacity: 0.5;
}

[data-theme="light"] .marquee-label {
  color: #64748b;
}

/* globe orbit rings — reduce visibility in light mode */
[data-theme="light"] .globe-orbit-ring {
  border-color: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .globe-orbit-ring.ring1 {
  border-color: rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .globe-orbit-ring.ring2 {
  border-color: rgba(124, 58, 237, 0.06);
}

[data-theme="light"] .globe-orbit-ring.ring3 {
  border-color: rgba(6, 182, 212, 0.05);
}

/* About page stats numbers */
[data-theme="light"] .about-stat .value {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials */
[data-theme="light"] .testimonial-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .testimonial-text {
  color: #334155;
}

[data-theme="light"] .testimonial-author-name {
  color: #0f172a;
}

[data-theme="light"] .testimonial-author-title {
  color: #64748b;
}

/* Pricing page */
[data-theme="light"] .pricing-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .plan-price {
  color: #0f172a;
}

[data-theme="light"] .plan-feature {
  color: #475569;
}

/* Features page cards */
[data-theme="light"] .feature-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .feature-card h3 {
  color: #0f172a;
}

[data-theme="light"] .feature-card p {
  color: #475569;
}

/* Contact page info items */
[data-theme="light"] .contact-info-item {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .contact-info-label {
  color: #64748b;
}

[data-theme="light"] .contact-info-value {
  color: #0f172a;
}

/* Nav mobile menu */
[data-theme="light"] .nav-mobile {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .nav-mobile a {
  color: #0f172a;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Settings drawer */
[data-theme="light"] .settings-drawer {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .settings-title {
  color: #0f172a;
}

/* Custom View Transition Animation for Circular Theme Reveal from Top-Left */
::view-transition-image-pair(root) {
  isolation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
  display: block;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 99999;
  animation: reveal-theme-change 800ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes reveal-theme-change {
  from {
    clip-path: circle(0% at 0% 0%);
  }

  to {
    clip-path: circle(150% at 0% 0%);
  }
}

/* ==========================================================================
   AI PLATFORM SECTION
   ========================================================================== */
/* ==========================================================================
   AI ENGINE SECTION — NEURAL COMMAND CENTER
   ========================================================================== */
.ai-engine-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
  overflow: hidden;
}

.ai-engine-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Two-column showcase layout */
.ai-engine-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── LEFT PANEL: Orb Visualization ── */
.ai-engine-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Status bar at top */
.ai-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  backdrop-filter: blur(12px);
  max-width: 100%;
  flex-wrap: wrap;
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.ai-status-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-uptime {
  font-size: 0.72rem;
  color: rgba(52, 211, 153, 0.65);
  flex-shrink: 0;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .ai-svg-line {
    animation: none;
  }

  .ai-core-pulse {
    animation: none;
  }

  .ai-core-orb {
    animation: none;
  }

  .ai-node-icon {
    animation: none;
  }

  .ai-status-dot {
    animation: none;
  }

  .ai-live-dot {
    animation: none;
  }

  .ai-log-line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Orb + Nodes outer container — fixed square so SVG aligns */
.ai-orb-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}

/* SVG overlay covering the full container */
.ai-conn-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ai-svg-line {
  animation: dashFlow 3s linear infinite;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -20;
  }
}

/* Central AI Core */
.ai-core-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulsing rings behind orb */
.ai-core-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.35);
  animation: coreRingExpand 3s ease-out infinite;
}

.ai-core-pulse.pulse-1 {
  width: 110px;
  height: 110px;
  animation-delay: 0s;
}

.ai-core-pulse.pulse-2 {
  width: 140px;
  height: 140px;
  animation-delay: 0.8s;
  border-color: rgba(59, 130, 246, 0.2);
}

.ai-core-pulse.pulse-3 {
  width: 170px;
  height: 170px;
  animation-delay: 1.6s;
  border-color: rgba(59, 130, 246, 0.1);
}

@keyframes coreRingExpand {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }

  60% {
    opacity: 0.4;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* The glowing orb itself */
.ai-core-orb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.5),
    0 0 40px rgba(59, 130, 246, 0.55),
    0 0 80px rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: orbBreath 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes orbBreath {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.55), 0 0 80px rgba(59, 130, 246, 0.25);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.7), 0 0 60px rgba(59, 130, 246, 0.7), 0 0 120px rgba(59, 130, 246, 0.35);
  }
}

.ai-core-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ai-core-inner i {
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.ai-core-inner span {
  font-family: 'Manrope', sans-serif;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

/* Satellite Nodes — positioned absolutely within ai-orb-container (440×440, center 220,220, r≈150)
   Each .ai-node is a 48×48 box anchored at the % position via translate(-50%,-50%).
   Icon fills the box exactly, so SVG line endpoints touch icon centers perfectly.
   Label hangs below via position:absolute; top:100% — it never shifts the anchor. */
.ai-node {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  cursor: default;
}

/* Positions as % of 440×440 — these set the ICON center */
.ai-node-1 {
  left: 50%;
  top: 15.9%;
}

/* 220, 70  */
.ai-node-2 {
  left: 79.5%;
  top: 32.95%;
}

/* 350, 145 */
.ai-node-3 {
  left: 79.5%;
  top: 67.05%;
}

/* 350, 295 */
.ai-node-4 {
  left: 50%;
  top: 84.1%;
}

/* 220, 370 */
.ai-node-5 {
  left: 20.5%;
  top: 67.05%;
}

/* 90,  295 */
.ai-node-6 {
  left: 20.5%;
  top: 32.95%;
}

/* 90,  145 */

.ai-node-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--clr, #3b82f6);
  color: var(--clr, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 20px var(--glow, rgba(59, 130, 246, 0.3)), 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
  animation: nodeFloat 4s ease-in-out infinite;
}

.ai-node:nth-child(5) .ai-node-icon {
  animation-delay: 0.4s;
}

.ai-node:nth-child(6) .ai-node-icon {
  animation-delay: 0.8s;
}

.ai-node:nth-child(7) .ai-node-icon {
  animation-delay: 1.2s;
}

.ai-node:nth-child(8) .ai-node-icon {
  animation-delay: 1.6s;
}

.ai-node:nth-child(9) .ai-node-icon {
  animation-delay: 2.0s;
}

.ai-node:nth-child(10) .ai-node-icon {
  animation-delay: 2.4s;
}

.ai-node:hover .ai-node-icon {
  transform: scale(1.18);
  box-shadow: 0 0 32px var(--glow, rgba(59, 130, 246, 0.5)), 0 8px 24px rgba(0, 0, 0, 0.45);
}

@keyframes nodeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Label hangs below the icon box — position:absolute keeps it out of flow */
.ai-node-lbl {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Manrope', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--clr, #60a5fa);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
  pointer-events: none;
}

/* Live metric chips row */
.ai-live-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ai-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.ai-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ai-chip-val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.3s;
}

.ai-chip-lbl {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.ai-chip-blue .ai-chip-val {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-chip-green .ai-chip-val {
  color: #10b981;
}

.ai-chip-purple .ai-chip-val {
  color: #a855f7;
}

.ai-chip-amber .ai-chip-val {
  color: #f59e0b;
}

.ai-chip-blue {
  border-color: rgba(59, 130, 246, 0.25);
}

.ai-chip-green {
  border-color: rgba(16, 185, 129, 0.25);
}

.ai-chip-purple {
  border-color: rgba(168, 85, 247, 0.25);
}

.ai-chip-amber {
  border-color: rgba(245, 158, 11, 0.25);
}

/* ── RIGHT PANEL: Features + Console ── */
.ai-engine-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-feat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.ai-feat-item:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ai-feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ai-feat-body {
  flex: 1;
}

.ai-feat-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.ai-feat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* AI Console terminal */
.ai-console-card {
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.08), 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

[data-theme="light"] .ai-console-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ai-console-header {
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ai-console-title {
  color: rgba(15, 23, 42, 0.7);
}

[data-theme="light"] .ai-console-live {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #059669;
}

[data-theme="light"] .ai-log-ts {
  color: rgba(15, 23, 42, 0.5);
}

[data-theme="light"] .ai-log-msg {
  color: rgba(15, 23, 42, 0.85);
}

.ai-console-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.ai-console-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.acd {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.acd.red {
  background: #ef4444;
}

.acd.yellow {
  background: #f59e0b;
}

.acd.green {
  background: #22c55e;
}

.ai-console-title {
  font-family: 'Inter', monospace;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.6);
  flex: 1;
}

.ai-console-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 2px 8px;
}

.ai-live-dot {
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
  animation: pulseDot 1.2s infinite;
}

.ai-console-body {
  padding: 14px 16px;
  min-height: 160px;
  max-height: 180px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Inter', monospace;
  font-size: 0.75rem;
}

.ai-log-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  animation: logAppear 0.4s ease forwards;
  line-height: 1.4;
}

@keyframes logAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-log-ts {
  color: rgba(100, 116, 139, 0.7);
  flex-shrink: 0;
  font-size: 0.68rem;
  margin-top: 1px;
}

.ai-log-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-log-badge.bid {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
}

.ai-log-badge.kw {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.ai-log-badge.inv {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.ai-log-badge.day {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}

.ai-log-badge.budget {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.ai-log-badge.alert {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.ai-log-badge.profit {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.ai-log-msg {
  color: rgba(226, 232, 240, 0.75);
  flex: 1;
}

.ai-log-msg .hi {
  color: #93c5fd;
}

.ai-log-msg .ok {
  color: #4ade80;
}

.ai-log-msg .warn {
  color: #fbbf24;
}

/* CTA row */
.ai-engine-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .ai-engine-showcase {
    grid-template-columns: 1fr;
  }

  .ai-orb-container {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .ai-live-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-orb-container {
    max-width: 300px;
  }

  .ai-node-icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .ai-core-orb {
    width: 76px;
    height: 76px;
  }
}

/* Keep old theme-img classes (used elsewhere) */
.theme-img-dark {
  display: block !important;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.theme-img-light {
  display: none !important;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

[data-theme="light"] .theme-img-dark {
  display: none !important;
}

[data-theme="light"] .theme-img-light {
  display: block !important;
}

/* ==========================================================================
   NEW BENTO FEATURES SECTION — FEATURE TABS
   ========================================================================== */
.new-bento-section {
  position: relative;
  z-index: 1;
}

/* ── Feature Tabs Layout ── */
.feature-tabs-wrap {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 20px;
  align-items: start;
}

/* ── Tab List ── */
.ftab-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ftab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.ftab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}

.ftab-btn:hover::before {
  opacity: 1;
}

.ftab-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.ftab-btn.active {
  background: var(--bg-card);
  border-color: rgba(59, 130, 246, 0.5);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12), 0 4px 20px rgba(0, 0, 0, 0.12);
}

.ftab-btn.active::before {
  opacity: 0;
}

/* Tab icon */
.ftab-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.22s;
  border: 1px solid transparent;
}

.ftab-icon.blue {
  background: rgba(59, 130, 246, .12);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, .2);
}

.ftab-icon.purple {
  background: rgba(139, 92, 246, .12);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, .2);
}

.ftab-icon.green {
  background: rgba(16, 185, 129, .12);
  color: #10b981;
  border-color: rgba(16, 185, 129, .2);
}

.ftab-icon.orange {
  background: rgba(249, 115, 22, .12);
  color: #f97316;
  border-color: rgba(249, 115, 22, .2);
}

.ftab-icon.cyan {
  background: rgba(6, 182, 212, .12);
  color: #06b6d4;
  border-color: rgba(6, 182, 212, .2);
}

.ftab-btn.active .ftab-icon.blue {
  background: rgba(59, 130, 246, .2);
  border-color: rgba(59, 130, 246, .4);
}

.ftab-btn.active .ftab-icon.purple {
  background: rgba(139, 92, 246, .2);
  border-color: rgba(139, 92, 246, .4);
}

.ftab-btn.active .ftab-icon.green {
  background: rgba(16, 185, 129, .2);
  border-color: rgba(16, 185, 129, .4);
}

.ftab-btn.active .ftab-icon.orange {
  background: rgba(249, 115, 22, .2);
  border-color: rgba(249, 115, 22, .4);
}

.ftab-btn.active .ftab-icon.cyan {
  background: rgba(6, 182, 212, .2);
  border-color: rgba(6, 182, 212, .4);
}

/* Tab text */
.ftab-info {
  flex: 1;
  min-width: 0;
}

.ftab-name {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ftab-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ftab-arrow {
  font-size: 0.75rem;
  opacity: 0;
  flex-shrink: 0;
  color: var(--accent);
  transition: opacity 0.2s, transform 0.2s;
}

.ftab-btn.active .ftab-arrow,
.ftab-btn:hover .ftab-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ── Panel Area ── */
.ftab-panel-wrap {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  min-height: 500px;
  backdrop-filter: blur(24px);
  box-shadow: var(--card-shadow);
}

.ftab-panel {
  display: flex;
  padding: 40px;
  flex-direction: column;
  gap: 28px;
  animation: ftabFadeIn 0.35s ease;
}

@keyframes ftabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Metric badge */
.ftab-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 10px;
}

.blue-badge {
  background: rgba(59, 130, 246, .1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, .25);
}

.purple-badge {
  background: rgba(139, 92, 246, .1);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, .25);
}

.green-badge {
  background: rgba(16, 185, 129, .1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, .25);
}

.orange-badge {
  background: rgba(249, 115, 22, .1);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, .25);
}

.cyan-badge {
  background: rgba(6, 182, 212, .1);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, .25);
}

.ftab-panel-header h3 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.ftab-panel-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0;
}

/* Viz container */
.ftab-panel-viz {
  flex: 1;
  background: var(--bg-surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* ─────────────────────────────────────────
   VIZ 1 — KEYWORD HARVESTING
───────────────────────────────────────── */
.kw-harvest-viz {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.kw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  gap: 12px;
  animation: kwSlideIn 0.45s ease backwards;
}

@keyframes kwSlideIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.kw-term {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.kw-term i {
  color: var(--text-muted);
  flex-shrink: 0;
}

.kw-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 3px 10px;
  flex-shrink: 0;
}

.kw-badge.promote {
  background: rgba(16, 185, 129, .12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, .25);
}

.kw-badge.negate {
  background: rgba(239, 68, 68, .1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, .2);
}

/* ─────────────────────────────────────────
   VIZ 2 — BID CHART
───────────────────────────────────────── */
.bid-chart-viz {
  width: 100%;
}

.bid-chart-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-bottom: 16px;
}

.bid-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 130px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.bid-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, rgba(139, 92, 246, .3), rgba(139, 92, 246, .7));
  border-radius: 6px 6px 0 0;
  position: relative;
  animation: bidGrow 0.7s ease backwards;
  transition: background 0.3s;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.bid-bar.bid-highlight {
  background: linear-gradient(to top, #8b5cf6, #a78bfa);
  box-shadow: 0 0 18px rgba(139, 92, 246, .45);
}

@keyframes bidGrow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }

  to {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

.bid-val {
  font-family: 'Manrope', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.bid-bar.bid-highlight .bid-val {
  color: #a78bfa;
}

.bid-chart-days {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.bid-chart-days span {
  font-size: 0.65rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

/* ─────────────────────────────────────────
   VIZ 3 — PROFITABILITY ANALYTICS
───────────────────────────────────────── */
.profit-metrics-viz {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pm-row {
  display: grid;
  grid-template-columns: 90px 1fr 64px;
  align-items: center;
  gap: 12px;
}

.pm-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pm-bar-wrap {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.pm-bar {
  height: 100%;
  border-radius: 4px;
  animation: pmGrow 1s ease backwards;
  transform-origin: left;
}

@keyframes pmGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.pm-val {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.pm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pm-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pm-stat-val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pm-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
   VIZ 4 — DYNAMIC DAYPARTING
───────────────────────────────────────── */
.daypart-viz {
  width: 100%;
}

.daypart-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.daypart-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 3px;
  margin-bottom: 6px;
}

.dp-hour {
  height: 48px;
  border-radius: 5px;
  transition: filter 0.2s;
  cursor: default;
}

.dp-hour:hover {
  filter: brightness(1.25);
}

.dp-peak {
  background: linear-gradient(to bottom, #f97316, #ea580c);
  box-shadow: 0 2px 8px rgba(249, 115, 22, .35);
}

.dp-high {
  background: rgba(249, 115, 22, .45);
}

.dp-mid {
  background: rgba(249, 115, 22, .2);
}

.dp-low {
  background: rgba(249, 115, 22, .07);
}

.daypart-x-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 1px;
}

.daypart-x-labels span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.daypart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dl-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dl-item::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.dl-peak::before {
  background: #f97316;
}

.dl-high::before {
  background: rgba(249, 115, 22, .45);
}

.dl-mid::before {
  background: rgba(249, 115, 22, .2);
}

.dl-low::before {
  background: rgba(249, 115, 22, .07);
  border: 1px solid var(--border);
}

/* ─────────────────────────────────────────
   VIZ 5 — INVENTORY PROTECTION
───────────────────────────────────────── */
.inv-viz {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inv-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 12px;
}

.inv-name {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inv-bar-wrap {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: visible;
  position: relative;
}

.inv-bar {
  height: 100%;
  border-radius: 4px;
  animation: invGrow 1s ease backwards;
  transform-origin: left;
}

@keyframes invGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.inv-threshold {
  position: absolute;
  top: -5px;
  left: 30%;
  height: 18px;
  width: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  opacity: 0.5;
}

.inv-count {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.inv-ok {
  color: #10b981;
}

.inv-warn {
  color: #f59e0b;
}

.inv-danger {
  color: #ef4444;
}

.inv-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, .07);
  border: 1px solid rgba(239, 68, 68, .2);
  border-radius: 10px;
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 500;
  animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* ─────────────────────────────────────────
   LIGHT THEME OVERRIDES
───────────────────────────────────────── */
[data-theme="light"] .ftab-btn {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
}

[data-theme="light"] .ftab-btn:hover {
  background: #f8fafc;
  border-color: rgba(59, 130, 246, .35);
}

[data-theme="light"] .ftab-btn.active {
  background: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, .1);
}

[data-theme="light"] .ftab-panel-wrap {
  background: #fff;
  border-color: rgba(0, 0, 0, .07);
}

[data-theme="light"] .ftab-panel-viz {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, .06);
}

[data-theme="light"] .kw-row {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, .06);
}

[data-theme="light"] .kw-term {
  color: #0f172a;
}

[data-theme="light"] .am-pillar {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
  color: #475569;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-tabs-wrap {
    grid-template-columns: 260px 1fr;
    gap: 16px;
  }

  .ftab-sub {
    display: none;
  }
}

@media (max-width: 800px) {
  .feature-tabs-wrap {
    grid-template-columns: 1fr;
  }

  .ftab-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
    scrollbar-width: none;
  }

  .ftab-list::-webkit-scrollbar {
    display: none;
  }

  .ftab-btn {
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    min-width: 110px;
    gap: 6px;
    text-align: center;
  }

  .ftab-info {
    text-align: center;
  }

  .ftab-sub,
  .ftab-arrow {
    display: none;
  }

  .ftab-panel {
    padding: 24px 20px;
  }

  .ftab-panel-wrap {
    min-height: auto;
  }

  .pm-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .inv-row {
    grid-template-columns: 1fr 1fr;
  }

  .inv-name {
    display: none;
  }

  .daypart-grid {
    gap: 2px;
  }

  .dp-hour {
    height: 36px;
  }
}

/* ── Interactive Horizontal Accordion ── */
.ftab-accordion-wrap {
  display: flex;
  flex-direction: row;
  height: 550px;
  gap: 12px;
  position: relative;
}

.accordion-item {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(24px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s, border-color 0.3s;
  cursor: pointer;
  position: relative;
}

.accordion-item:hover {
  border-color: var(--border-hover);
}

.accordion-item.active {
  flex: 5;
  cursor: default;
  border-width: 2px;
  border-color: rgba(59, 130, 246, 0.4);
}

.accordion-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 30px;
  gap: 20px;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.accordion-item.active .accordion-header {
  opacity: 0;
  pointer-events: none;
}

.acc-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.accordion-content {
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease 0.1s;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.accordion-item.active .accordion-content {
  opacity: 1;
  pointer-events: auto;
}

.mobile-tab-nav {
  display: none;
}

/* ── Mobile Layout ── */
@media (max-width: 1024px) {
  .ftab-accordion-wrap {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  .mobile-tab-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .mtab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.3s;
  }

  .mtab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .mtab-btn.active {
    background: rgba(59, 130, 246, 0.15);
  }

  .accordion-item {
    flex: none !important;
    display: none;
    width: 100%;
  }

  .accordion-item.active {
    display: block;
    min-height: 400px;
  }

  .accordion-header {
    display: none;
  }

  .accordion-content {
    opacity: 1;
    position: relative;
    pointer-events: auto;
  }
}

.modern-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.modern-bento-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.modern-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.modern-bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-hover);
}

[data-theme="light"] .modern-bento-card:hover {
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.card-span-2 {
  grid-column: span 2;
}

.bento-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.modern-bento-card .bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid;
}

.modern-bento-card:nth-child(1) .bento-icon {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.25);
}

.modern-bento-card:nth-child(2) .bento-icon {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.25);
}

.modern-bento-card:nth-child(3) .bento-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

.modern-bento-card:nth-child(4) .bento-icon {
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.25);
}

.modern-bento-card:nth-child(5) .bento-icon {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
  border-color: rgba(6, 182, 212, 0.25);
}

.modern-bento-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.modern-bento-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 24px;
  flex: 1;
}

.modern-bento-card .bento-viz {
  background: var(--bg-surface);
  border-radius: 14px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: auto;
}

.bento-placeholder {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

[data-theme="light"] .modern-bento-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .modern-bento-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
}

[data-theme="light"] .modern-bento-card h3 {
  color: #0f172a;
}

[data-theme="light"] .modern-bento-card p {
  color: #475569;
}

[data-theme="light"] .modern-bento-card .bento-viz {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.07);
}

/* ==========================================================================
   ANIMATED TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: var(--bg-secondary);
  padding: 50px 0;
  overflow: hidden;
}

.testimonials-marquee {
  display: flex;
  gap: 24px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow-x: auto;
  cursor: grab;
  /* Hide scrollbar for Chrome, Safari and Opera */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Add padding to account for the fade gradient */
  padding-left: 15vw;
  padding-right: 15vw;
}

.testimonials-marquee::-webkit-scrollbar {
  display: none;
}

.testimonials-marquee:active {
  cursor: grabbing;
}

.testimonials-marquee-wrapper {
  margin-top: 60px;
  position: relative;
  width: 100%;
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15vw;
  z-index: 2;
  pointer-events: none;
}

.testimonials-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.testimonials-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  /* Removed animation to allow manual dragging/scrolling */
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px;
  width: 360px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.testimonial-card .stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-card .author-info .name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-card .author-info .title {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   BENTO ANIMATIONS (MODERN GLASSMORPHISM & NEON)
   ========================================================================== */
.bento-anim-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 70%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.bento-anim-filter .b-line {
  height: 10px;
  background: linear-gradient(90deg, #e2e8f0, #f8fafc);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .bento-anim-filter .b-line {
  background: linear-gradient(90deg, #334155, #1e293b);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bento-anim-filter .b-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
  animation: sweep 2.5s infinite ease-in-out;
}

.bento-anim-filter .w-full {
  width: 100%;
}

.bento-anim-filter .w-3-4 {
  width: 75%;
}

.bento-anim-filter .w-1-2 {
  width: 50%;
}

.bento-anim-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.bento-anim-flow .b-node {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

[data-theme="dark"] .bento-anim-flow .b-node {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.bento-anim-flow .b-node.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  animation: floatNode 3s infinite ease-in-out;
  transform: scale(1.15);
  z-index: 2;
}

.bento-anim-flow .b-arrow {
  color: #94a3b8;
  font-weight: 800;
  font-size: 1.2rem;
  animation: slideArrow 2s infinite ease-in-out;
}

.bento-anim-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.bento-anim-chart .b-bar {
  width: 28px;
  background: linear-gradient(to top, #e2e8f0, #f8fafc);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  animation: growBar 3s infinite cubic-bezier(0.4, 0, 0.2, 1) alternate;
}

[data-theme="dark"] .bento-anim-chart .b-bar {
  background: linear-gradient(to top, #334155, #475569);
}

.bento-anim-chart .b-bar:nth-child(1) {
  height: 40%;
  animation-delay: 0s;
}

.bento-anim-chart .b-bar:nth-child(2) {
  height: 60%;
  animation-delay: 0.2s;
}

.bento-anim-chart .b-bar:nth-child(3) {
  height: 80%;
  animation-delay: 0.4s;
  background: linear-gradient(to top, #6366f1, #3b82f6);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.bento-anim-chart .b-bar:nth-child(4) {
  height: 100%;
  animation-delay: 0.6s;
}

.bento-anim-text {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 15px;
  background: rgba(15, 23, 42, 0.8);
  padding: 16px 20px;
  border-radius: 12px;
  color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .bento-anim-text {
  background: rgba(241, 245, 249, 0.9);
  color: #334155;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-anim-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, transparent);
  animation: scanline 4s infinite linear;
}

.bento-anim-text .b-var {
  color: #38bdf8;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  animation: switchText 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

[data-theme="light"] .bento-anim-text .b-var {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.bento-anim-progress {
  position: relative;
  width: 100px;
  height: 100px;
}

.bento-anim-progress .b-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(#6366f1 85%, #e2e8f0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  animation: rotateCircle 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

[data-theme="dark"] .bento-anim-progress .b-circle {
  background: conic-gradient(#6366f1 85%, #1e293b 0);
}

.bento-anim-progress .b-inner {
  width: 76px;
  height: 76px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #0f172a;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  animation: counterSpin 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

[data-theme="dark"] .bento-anim-progress .b-inner {
  background: #0f172a;
  color: #f8fafc;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes sweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(300%);
  }
}

@keyframes scanline {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes floatNode {

  0%,
  100% {
    transform: scale(1.15) translateY(0);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  }

  50% {
    transform: scale(1.2) translateY(-4px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  }
}

@keyframes slideArrow {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(4px);
    opacity: 1;
    color: #6366f1;
  }
}

@keyframes growBar {
  0% {
    transform: scaleY(0.8);
  }

  100% {
    transform: scaleY(1.1);
  }
}

@keyframes switchText {
  0% {
    content: "{bids_up}";
  }

  50% {
    content: "{bids_down}";
    color: #10b981;
  }
}

@keyframes rotateCircle {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes counterSpin {
  100% {
    transform: rotate(-360deg);
  }
}

/* ==========================================================================
   NAV LOGIN PILL
   ========================================================================== */
.btn-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-nav-login:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: #6366f1;
  color: #6366f1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991px) {

  /* Global */
  h1 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
  }

  h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  }

  h3 {
    font-size: clamp(1.2rem, 3vw, 1.75rem) !important;
  }

  .section-wrapper {
    padding: 40px 20px !important;
  }

  .hero-section {
    padding-top: 100px !important;
    min-height: auto !important;
  }

  /* Navigation */
  .nav-links,
  .nav-actions .btn-nav-primary,
  .nav-actions .btn-nav-secondary {
    display: none !important;
  }

  .nav-hamburger {
    display: flex !important;
  }

  .nav-inner {
    padding: 8px 16px !important;
    gap: 16px !important;
  }

  .nav-mobile {
    width: calc(100% - 32px);
  }

  /* Fix Mobile Login Button Visibility inside nav-mobile */
  .nav-mobile .btn-nav-secondary {
    display: block !important;
    margin-top: 10px;
  }

  /* Hero Section */
  .hero-inner {
    flex-direction: column !important;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 100% !important;
  }

  .hero-visual {
    min-height: auto !important;
    width: 100% !important;
    margin-top: 20px;
  }

  .hero-dashboard-wrap {
    max-width: 100% !important;
  }

  .hero-stat-card {
    display: none !important;
  }

  .globe-wrap {
    transform: scale(0.85);
  }

  /* Bento & Grids */
  .features-bento,
  .footer-inner,
  .metric-cards,
  .detail-grid,
  .features-grid,
  .pricing-grid,
  .market-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  .modern-bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
  }

  .card-span-2 {
    grid-column: span 2 !important;
  }

  .modern-bento-card {
    padding: 28px 24px !important;
  }

  .timeline-grid,
  .ai-operations-section .features-bento {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 16px 60px !important;
  }

  .globe-wrap {
    transform: scale(0.65);
  }

  .btn-primary.btn-lg,
  .btn-secondary.btn-lg {
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
    width: 100%;
    justify-content: center;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .modern-bento-grid {
    grid-template-columns: 1fr !important;
  }

  .card-span-2 {
    grid-column: span 1 !important;
  }

  .section-wrapper,
  .section-wrapper-wide {
    padding: 48px 16px !important;
  }
}

#storylane_watermark_logo_horizontal {
  display: none !important;
}

/* ===== STORYLANE EMBED RESPONSIVE SETUP ===== */
.sl-embed {
  position: relative;
  width: 100%;
  height: 0;
  /* Storylane's native aspect ratio */
  padding-bottom: calc(47.85% + 25px);
  transform: scale(1);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.sl-embed .sl-demo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 1px solid rgba(63, 95, 172, 0.35);
  box-shadow: 0px 0px 18px rgba(26, 19, 72, 0.15);
  border-radius: 10px;
  box-sizing: border-box;
}

/* Ensure responsiveness on smaller screens */
@media (max-width: 991px) {
  .screenshot-container {
    padding: 0 16px;
  }
}