/* landing.css — Extracted from home.html <style> block
 * Contains dark mode base styles + light-theme overrides
 * Used by: templates/landing/home.html via base_marketing.html
 */

/* FORCE DARK MODE - Override browser mobile view */
* {
  color-scheme: dark only !important;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: #05070d !important;
  margin: 0;
  padding: 0;
}

body {
  background-color: #0f172a !important;
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
  margin: 0 !important;
  padding: 0 !important;
}

section,
header,
footer {
  background-color: #0f172a !important;
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
}

main {
  background-color: transparent !important;
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
}

/* Hero section transparent to show blueprint behind */
section.hero-transparent {
  background-color: transparent !important;
}

/* Force dark backgrounds for all sections */
.bg-slate-950,
.bg-slate-900,
[class*="bg-slate"] {
  background-color: #0f172a !important;
}

/* Force light text - EXCLUDE nav links from force */
.text-slate-100,
.text-slate-200,
.text-slate-300,
.text-slate-400,
[class*="text-slate"],
h1,
h2,
h3,
h4,
h5,
h6,
p,
span:not(.badge-pill):not(.cta-pill),
a:not(.nav-link-desktop):not(.desktop-nav-container a):not(.mobile-nav-link) {
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
}

/* Special text colors - preserve gradients and colored text */
.text-emerald-300,
.text-emerald-200,
.text-blue-300,
.text-blue-200,
.text-amber-300 {
  -webkit-text-fill-color: currentColor !important;
}

/* Preserve text gradient */
.text-gradient {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Ensure header stays dark */
header {
  background-color: rgba(15, 23, 42, 0.9) !important;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.22), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(214, 138, 112, 0.28), transparent 55%) !important;
}

.hero-sheen::after {
  content: "";
  position: absolute;
  inset: -15%;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.35), rgba(13, 148, 136, 0));
  transform: rotate(7deg);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.card-gradient {
  background: linear-gradient(150deg, rgba(12, 19, 32, 0.85), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.95);
}

.feature-card {
  will-change: transform;
  position: relative;
  z-index: 2;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 25px 60px -25px rgba(16, 185, 129, 0.8);
}

.scroll-indicator {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Mobile nav z-index hierarchy */
#mobile-nav {
  z-index: 9999 !important;
}

.mobile-nav-panel {
  background: linear-gradient(145deg, rgba(8, 12, 22, 0.96), rgba(15, 23, 42, 0.92)) !important;
  border: 1px solid rgba(71, 85, 105, 0.45);
  box-shadow: 0 25px 65px -35px rgba(8, 47, 73, 0.65);
  position: relative;
  z-index: 10000;
  pointer-events: auto !important;
}

/* Force dark cards - above neural network with solid background for hover */
.card-gradient,
.hero-stat,
.stat-card,
.feature-card,
.testimonial-card,
.integration-box,
.workflow-step,
.solution-card {
  background-color: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.mobile-nav-link {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  position: relative;
  z-index: 10001;
  cursor: pointer;
  pointer-events: auto !important;
  display: block;
}

.mobile-nav-link:hover {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  color: #6ee7b7 !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3) !important;
  -webkit-text-fill-color: #6ee7b7 !important;
}

/* Desktop nav links - Enhanced emerald hover with background */
.nav-link-desktop {
  color: #e5e7eb !important;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}

.nav-link-desktop:hover {
  color: #6ee7b7 !important;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-1px) !important;
  -webkit-text-fill-color: #6ee7b7 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* Login link - emerald hover effect with background */
.desktop-nav-container a[href*="login"] {
  color: #e5e7eb !important;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}

.desktop-nav-container a[href*="login"]:hover {
  color: #6ee7b7 !important;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4) !important;
  -webkit-text-fill-color: #6ee7b7 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* Desktop nav - show on large screens */
.desktop-nav-container {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav-container {
    display: flex !important;
  }
  .mobile-toggle-btn {
    display: none !important;
  }
}

/* Mobile nav - show hamburger on small screens */
@media (max-width: 1023px) {
  .desktop-nav-container {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
  }
}

/* Hide mobile nav on desktop */
@media (min-width: 1024px) {
  #mobile-nav,
  #mobile-nav-backdrop {
    display: none !important;
  }
}

/* Mobile nav backdrop - BELOW mobile-nav */
#mobile-nav-backdrop {
  z-index: 9998 !important;
}

.cta-pill {
  background: linear-gradient(120deg, #2563eb 0%, #1fbdb4 55%, #1b9b7d 100%);
  box-shadow: 0 18px 38px -22px rgba(16, 185, 129, 0.55);
  transition: all 0.3s ease;
}

.cta-pill:hover {
  box-shadow: 0 20px 45px -20px rgba(16, 185, 129, 0.8);
  transform: translateY(-2px);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  padding: 0.625rem 1.75rem;
  border-radius: 9999px;
  text-align: center;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Badge gradients - only .badge-emerald and .badge-amber are used */
.badge-emerald {
  background: linear-gradient(135deg, #34d399, #0ea5e9);
}

.badge-amber {
  background: linear-gradient(135deg, #fcd34d, #f97316);
}

.hero-stat {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.workflow-step-index {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.65);
  color: #d1fae5;
  box-shadow: 0 10px 25px -18px rgba(16, 185, 129, 0.6);
  z-index: 10;
  position: relative;
}

.top-bar {
  height: 74px;
  min-height: 74px;
}

.brand-title {
  letter-spacing: 0.08em;
}

/* Logo collapse: B[uild]H[ub]AI → BHAI */
.logo-container {
  display: inline-flex;
  align-items: baseline;
}
.logo-collapse {
  display: inline-block;
  max-width: 4rem;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  transition:
    max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-scrolled .logo-collapse {
  max-width: 0;
  opacity: 0;
}

/* Grid Spotlight Effect (Devin.AI style) */
.grid-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(16, 185, 129, 0.15) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0 1px, transparent 1px 36px);
  box-shadow: inset 0 0 500px rgba(16, 185, 129, 0.1);
  -webkit-mask-image: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    #000 15%,
    transparent 70%
  );
  mask-image: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    #000 15%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.grid-spotlight.active {
  opacity: 1;
}

/* Solutions section cards hover */
.solution-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 20px 50px -25px rgba(16, 185, 129, 0.7);
}

/* Feature Card Cursor Tracking */

/* Feature card badge - ensure visibility with fallback gradient if no badge_class */
.feature-card span:first-child {
  background: linear-gradient(135deg, #34d399, #0ea5e9) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Workflow Step Hover Spotlight */
.workflow-step {
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.workflow-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--wx, 50%) var(--wy, 50%),
    rgba(16, 185, 129, 0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.workflow-step:hover::before {
  opacity: 1;
}

.workflow-step:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

/* Stats Card Hover Effects */
.stat-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  will-change: transform;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px -25px rgba(16, 185, 129, 0.5);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease 0.1s,
    transform 0.6s ease 0.1s;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger-1 {
  transition-delay: 0.1s;
}
.reveal-stagger-2 {
  transition-delay: 0.2s;
}
.reveal-stagger-3 {
  transition-delay: 0.3s;
}

/* Testimonial 3D Tilt Effect */
.testimonial-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.testimonial-card:hover {
  transform: rotateY(5deg) rotateX(-5deg) translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(16, 185, 129, 0.4);
}

/* Integration Boxes Hover Effect */
.integration-box {
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.integration-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--ix, 50%) var(--iy, 50%),
    rgba(16, 185, 129, 0.2),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.integration-box:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 50px -25px rgba(16, 185, 129, 0.6);
}

.integration-box:hover::before {
  opacity: 1;
}

/* CTA Button Magnetic Effect */
.cta-magnetic {
  position: relative;
  transition: all 0.2s ease;
}

.cta-magnetic:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px -20px rgba(16, 185, 129, 0.7);
}

/* Blueprint styles moved to static/css/blueprint-hero.css */

/* Theme toggle button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  color: #e5e7eb;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
}

/* ===== LIGHT THEME OVERRIDES ===== */
html.light-theme {
  background-color: #f8fafc !important;
}
html.light-theme body {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
}
html.light-theme section,
html.light-theme main {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
}
html.light-theme section.hero-transparent {
  background-color: transparent !important;
}
html.light-theme header {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(226, 232, 240, 0.8) !important;
}
html.light-theme h1,
html.light-theme h2,
html.light-theme h3,
html.light-theme h4,
html.light-theme h5,
html.light-theme h6 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}
html.light-theme p,
html.light-theme span:not(.badge-pill):not(.cta-pill):not(.text-gradient),
html.light-theme a:not(.nav-link-desktop):not(.cta-pill):not(.cta-magnetic):not(.badge-pill) {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}
html.light-theme .text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #10b981 50%, #d68a70 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
html.light-theme .text-emerald-300,
html.light-theme .text-emerald-200 {
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
}
html.light-theme .text-blue-300,
html.light-theme .text-blue-200 {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
}
html.light-theme .text-amber-300 {
  color: #d97706 !important;
  -webkit-text-fill-color: #d97706 !important;
}
html.light-theme .text-slate-100,
html.light-theme .text-slate-200 {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
}
html.light-theme .text-slate-300,
html.light-theme .text-slate-400 {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}
html.light-theme .nav-link-desktop {
  color: #334155 !important;
}
html.light-theme .nav-link-desktop:hover {
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
}
html.light-theme .desktop-nav-container a[href*="login"] {
  color: #334155 !important;
}
html.light-theme .desktop-nav-container a[href*="login"]:hover {
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
}
html.light-theme .brand-title {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}
html.light-theme .brand-title .text-emerald-400 {
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
}

html.light-theme .hero-bg {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(214, 138, 112, 0.12), transparent 55%) !important;
}
html.light-theme .card-gradient,
html.light-theme .hero-stat,
html.light-theme .stat-card,
html.light-theme .feature-card,
html.light-theme .testimonial-card,
html.light-theme .integration-box,
html.light-theme .workflow-step,
html.light-theme .solution-card {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06) !important;
}
html.light-theme .hero-sheen {
  border-color: rgba(226, 232, 240, 0.8) !important;
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.08) !important;
}
html.light-theme .feature-card:hover,
html.light-theme .solution-card:hover,
html.light-theme .stat-card:hover {
  border-color: rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.2) !important;
}
html.light-theme .border-slate-800\/70,
html.light-theme .border-slate-700\/70 {
  border-color: rgba(226, 232, 240, 0.6) !important;
}
/* Force-dark overrides for light theme — catch inline Tailwind bg-slate classes */
html.light-theme [class*="bg-slate"] {
  background-color: transparent !important;
}
html.light-theme [class*="bg-gradient-to"] {
  background-image: none !important;
  background-color: transparent !important;
}
html.light-theme .absolute.inset-0.bg-gradient-to-br {
  background: linear-gradient(
    to bottom right,
    rgba(248, 250, 252, 0.95),
    rgba(241, 245, 249, 0.7)
  ) !important;
}
html.light-theme .hero-sheen .rounded-2xl[class*="bg-slate"],
html.light-theme .hero-sheen [class*="bg-slate"] {
  background-color: rgba(241, 245, 249, 0.6) !important;
}
html.light-theme .col-span-2[class*="bg-gradient"] {
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.9),
    rgba(241, 245, 249, 0.9)
  ) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}
html.light-theme .rounded-2xl.border.border-slate-800[class*="bg-slate"] {
  background-color: rgba(241, 245, 249, 0.7) !important;
  border-color: rgba(226, 232, 240, 0.6) !important;
}
html.light-theme .founder-card,
html.light-theme [class*="from-slate-950"] {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(226, 232, 240, 0.8) !important;
}
html.light-theme .bg-slate-900\/50 {
  background-color: rgba(241, 245, 249, 0.8) !important;
}
html.light-theme .pricing-card {
  background: rgba(255, 255, 255, 0.9) !important;
}
html.light-theme .text-slate-500,
html.light-theme .text-slate-600 {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}
html.light-theme .text-purple-300 {
  color: #7c3aed !important;
  -webkit-text-fill-color: #7c3aed !important;
}
html.light-theme .border-emerald-500\/30 {
  border-color: rgba(16, 185, 129, 0.3) !important;
}
html.light-theme .border-emerald-400\/30 {
  border-color: rgba(16, 185, 129, 0.25) !important;
}
html.light-theme .border-blue-500\/30 {
  border-color: rgba(59, 130, 246, 0.25) !important;
}
html.light-theme .border-slate-800,
html.light-theme .border-slate-700\/50,
html.light-theme .border-slate-900\/60 {
  border-color: rgba(226, 232, 240, 0.6) !important;
}
html.light-theme .shadow-emerald-500\/20 {
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.15) !important;
}
html.light-theme .shadow-blue-900\/20 {
  box-shadow: none !important;
}
html.light-theme .mobile-nav-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(248, 250, 252, 0.95)
  ) !important;
  border-color: rgba(226, 232, 240, 0.6) !important;
}
html.light-theme .mobile-nav-link {
  background: rgba(241, 245, 249, 0.6) !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}
html.light-theme .mobile-nav-link:hover {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
}
html.light-theme .grid-spotlight {
  background:
    repeating-linear-gradient(0deg, rgba(16, 185, 129, 0.08) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.06) 0 1px, transparent 1px 36px) !important;
}
html.light-theme .workflow-step-index {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
}
html.light-theme .badge-pill:not(.cta-pill) {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  background: rgba(16, 185, 129, 0.08) !important;
}
html.light-theme .cta-magnetic.badge-pill:not(.cta-pill) {
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
  border-color: rgba(15, 23, 42, 0.3) !important;
}
html.light-theme .cta-magnetic.badge-pill:not(.cta-pill):hover {
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
}
html.light-theme .cta-pill {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html.light-theme #lang-dropdown-desktop {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(226, 232, 240, 0.8) !important;
}
html.light-theme #lang-dropdown-desktop button {
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}
html.light-theme #lang-dropdown-desktop button:hover {
  background: rgba(16, 185, 129, 0.08) !important;
  color: #059669 !important;
  -webkit-text-fill-color: #059669 !important;
}
html.light-theme .theme-toggle-btn {
  color: #475569;
}
html.light-theme .theme-toggle-btn:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}
html.light-theme .mobile-toggle-btn {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(226, 232, 240, 0.8) !important;
  color: #334155 !important;
  -webkit-text-fill-color: #334155 !important;
}
html.light-theme footer {
  background-color: #0f172a !important;
}
html.light-theme footer h4,
html.light-theme footer a,
html.light-theme footer span,
html.light-theme footer p,
html.light-theme footer li {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* ═══════════════════════════════════════════════════════════════
   BLUEPRINT VARIANTS - Extracted from inline styles
   ═══════════════════════════════════════════════════════════════ */

/* Navigation: V9 Active Link State */
.bp-variant-v9-active {
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   V6: CONNECTION NODES - Positioning Classes
   ═══════════════════════════════════════════════════════════════ */

/* Node point positioning - absolute positioning with percentage values */
.bp-node-n1 {
  left: 15%;
  top: 25%;
}

.bp-node-n2 {
  left: 35%;
  top: 40%;
}

.bp-node-n3 {
  left: 50%;
  top: 30%;
}

.bp-node-n4 {
  left: 70%;
  top: 45%;
}

.bp-node-n5 {
  left: 85%;
  top: 35%;
}

.bp-node-n6 {
  left: 25%;
  top: 65%;
}

.bp-node-n7 {
  left: 50%;
  top: 70%;
}

.bp-node-n8 {
  left: 75%;
  top: 75%;
}

/* ═══════════════════════════════════════════════════════════════
   V7: ULTIMATE COMBO - Node & Measurement Positioning
   ═══════════════════════════════════════════════════════════════ */

/* Combo node positioning */
.bp-combo-node-1 {
  left: 10%;
  top: 20%;
}

.bp-combo-node-2 {
  left: 25%;
  top: 15%;
}

.bp-combo-node-3 {
  left: 85%;
  top: 25%;
}

.bp-combo-node-4 {
  left: 90%;
  top: 50%;
}

.bp-combo-node-5 {
  left: 80%;
  top: 80%;
}

.bp-combo-node-6 {
  left: 15%;
  top: 75%;
}

.bp-combo-node-7 {
  left: 8%;
  top: 55%;
}

/* Combo measure positioning */
.bp-combo-measure-1 {
  top: 18%;
  left: 40%;
  animation-delay: 0s;
}

.bp-combo-measure-2 {
  top: 75%;
  right: 20%;
  animation-delay: 2s;
}

.bp-combo-measure-3 {
  bottom: 22%;
  left: 15%;
  animation-delay: 4s;
}

/* Combo icon positioning */
.bp-combo-icon-1 {
  top: 30%;
  right: 25%;
}

.bp-combo-icon-2 {
  bottom: 30%;
  left: 20%;
  animation-delay: 5s;
}

/* ═══════════════════════════════════════════════════════════════
   V9: VILLA + WORKFLOW - Background Grid Opacity
   ═══════════════════════════════════════════════════════════════ */

.bp-grid-v9 {
  opacity: 0.25;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS - Mobile Adaptations
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Node positioning: Stack vertically on mobile */
  .bp-node-n1,
  .bp-node-n2,
  .bp-node-n3,
  .bp-node-n4,
  .bp-node-n5,
  .bp-node-n6,
  .bp-node-n7,
  .bp-node-n8 {
    left: 50% !important;
    transform: translateX(-50%);
  }

  .bp-node-n1 {
    top: 10% !important;
  }
  .bp-node-n2 {
    top: 20% !important;
  }
  .bp-node-n3 {
    top: 30% !important;
  }
  .bp-node-n4 {
    top: 40% !important;
  }
  .bp-node-n5 {
    top: 50% !important;
  }
  .bp-node-n6 {
    top: 60% !important;
  }
  .bp-node-n7 {
    top: 70% !important;
  }
  .bp-node-n8 {
    top: 80% !important;
  }

  /* Combo nodes: Adjust positioning for mobile viewport */
  .bp-combo-node-1 {
    left: 15% !important;
    top: 15% !important;
  }
  .bp-combo-node-2 {
    left: 35% !important;
    top: 20% !important;
  }
  .bp-combo-node-3 {
    left: 65% !important;
    top: 25% !important;
  }
  .bp-combo-node-4 {
    left: 85% !important;
    top: 35% !important;
  }
  .bp-combo-node-5 {
    left: 75% !important;
    top: 65% !important;
  }
  .bp-combo-node-6 {
    left: 20% !important;
    top: 60% !important;
  }
  .bp-combo-node-7 {
    left: 10% !important;
    top: 50% !important;
  }

  /* Combo measures: Repositioned for mobile readability */
  .bp-combo-measure-1 {
    top: 10% !important;
    left: 50% !important;
    transform: translateX(-50%);
  }

  .bp-combo-measure-2 {
    top: auto !important;
    bottom: 15% !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
  }

  .bp-combo-measure-3 {
    bottom: 5% !important;
    left: 50% !important;
    transform: translateX(-50%);
  }

  /* Combo icons: Center on mobile */
  .bp-combo-icon-1,
  .bp-combo-icon-2 {
    left: 50% !important;
    transform: translateX(-50%);
  }

  .bp-combo-icon-1 {
    top: 25% !important;
    right: auto !important;
  }

  .bp-combo-icon-2 {
    bottom: 25% !important;
  }
}

@media (max-width: 480px) {
  /* Extra small devices: Further compression */
  .bp-node-n1 {
    top: 8% !important;
  }
  .bp-node-n2 {
    top: 18% !important;
  }
  .bp-node-n3 {
    top: 28% !important;
  }
  .bp-node-n4 {
    top: 38% !important;
  }
  .bp-node-n5 {
    top: 48% !important;
  }
  .bp-node-n6 {
    top: 58% !important;
  }
  .bp-node-n7 {
    top: 68% !important;
  }
  .bp-node-n8 {
    top: 78% !important;
  }

  /* Combo nodes: Tighter spacing */
  .bp-combo-node-1 {
    left: 12% !important;
    top: 12% !important;
  }
  .bp-combo-node-2 {
    left: 30% !important;
    top: 18% !important;
  }
  .bp-combo-node-3 {
    left: 70% !important;
    top: 22% !important;
  }
  .bp-combo-node-4 {
    left: 88% !important;
    top: 32% !important;
  }
  .bp-combo-node-5 {
    left: 78% !important;
    top: 62% !important;
  }
  .bp-combo-node-6 {
    left: 18% !important;
    top: 58% !important;
  }
  .bp-combo-node-7 {
    left: 12% !important;
    top: 48% !important;
  }
}

/* ============================================
   NEURAL DEMO - Extracted Inline Styles
   ============================================ */

.neural-demo-container {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.neural-demo-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.neural-demo-line {
  stroke: rgba(16, 185, 129, 0.2);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 4s ease-out forwards;
  transition: all 0.3s ease;
}

.neural-demo-line.active {
  stroke: rgba(16, 185, 129, 0.8);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}

.neural-demo-node {
  fill: rgba(37, 99, 235, 0.5);
  animation: nodePulse 2s ease-in-out infinite;
}

.neural-demo-node.active {
  fill: rgba(16, 185, 129, 0.9);
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.8));
}

/* ============================================
   ANIMATION TEST - Extracted Inline Styles
   ============================================ */

.animation-test-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.animation-test-nav h1 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--emerald);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.animation-test-nav-links {
  display: flex;
  gap: 0.5rem;
}

.animation-test-nav a {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.animation-test-nav a:hover {
  color: var(--emerald);
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
}

.animation-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 6rem 2rem;
}

.animation-section-label {
  position: absolute;
  top: 6rem;
  left: 2rem;
  z-index: 10;
}

.animation-section-label span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(16, 185, 129, 0.8);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.animation-section-title {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 1rem;
}

.animation-section-title h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin: 0;
}

.animation-section-title p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  max-width: 500px;
}

.animation-perf-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive for animation sections */
@media (max-width: 768px) {
  .animation-test-nav {
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .animation-test-nav-links {
    width: 100%;
    justify-content: center;
  }

  .animation-section {
    padding: 4rem 1rem;
  }

  .animation-section-label {
    top: 4rem;
    left: 1rem;
  }

  .animation-section-title h2 {
    font-size: 1.75rem;
  }

  .animation-perf-badge {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    padding: 0.35rem 0.75rem;
  }
}
