/**
 * Solomon Design System - Combined CSS
 * All Solomon component styles in one file
 */

/* ========================================
   CSS Variables
   ======================================== */

:root {
  /* Solomon Colors */
  --solomon-primary: #38bdf8;
  --solomon-primary-light: #7dd3fc;
  --solomon-primary-dark: #0ea5e9;
  --solomon-accent: #f97316;
  --solomon-void: #0f172a;
  --solomon-silver: #94a3b8;
  --solomon-bg: #ffffff;

  /* Color aliases used by components */
  --color-primary-50: rgba(56, 189, 248, 0.05);
  --color-primary-100: rgba(56, 189, 248, 0.1);
  --color-primary-400: #38bdf8;
  --color-primary-600: #0ea5e9;

  /* Gray scale */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Blue scale */
  --blue-300: #7dd3fc;
  --blue-600: #0284c7;
  --blue-700: #0369a1;
  --blue-800: #075985;
  --blue-900: #0c4a6e;

  /* Semantic */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-card: #ffffff;
  --bg-secondary: #f8fafc;
  --border-color: #e2e8f0;
  --border-color-muted: #f1f5f9;

  /* Border radius */
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
}

/* ========================================
   Base/Reset Styles
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--solomon-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Page container to offset fixed nav */
.page-content {
  padding-top: 80px;
}

/* ========================================
   PrimaryCard Component
   ======================================== */

.primary-card-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  min-height: 300px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* THE GLOW FIELD - THIS IS THE CARD */
.unified-border-frame {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

/* RADIAL GLOW BORDER - ONLY THE BORDER BREATHES */
.unified-border-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 30%,
    rgba(56, 189, 248, 0.12) 50%,
    rgba(125, 211, 252, 0.22) 65%,
    rgba(56, 189, 248, 0.35) 78%,
    rgba(125, 211, 252, 0.4) 88%,
    transparent 100%
  );
  filter: url(#wave-distortion-primary) blur(8px);
  animation: border-pulse 5s ease-in-out infinite;
}

@keyframes border-pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* INTERIOR GRAVITY WAVES - FLOWING TO CENTER */
.gravity-field {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* Multiple wave layers flowing toward center */
.wave-layer {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  opacity: 0.15;
}

.wave-layer-1 {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(56, 189, 248, 0.3) 0%,
    rgba(125, 211, 252, 0.15) 20%,
    transparent 40%
  );
  animation: wave-to-center-1 8s ease-in-out infinite;
  filter: url(#wave-distortion-primary);
}

.wave-layer-2 {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(125, 211, 252, 0.25) 0%,
    rgba(56, 189, 248, 0.12) 25%,
    transparent 45%
  );
  animation: wave-to-center-2 10s ease-in-out infinite 1s;
  filter: url(#wave-distortion-primary);
}

.wave-layer-3 {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(56, 189, 248, 0.2) 0%,
    rgba(125, 211, 252, 0.1) 30%,
    transparent 50%
  );
  animation: wave-to-center-3 12s ease-in-out infinite 2s;
  filter: url(#wave-distortion-primary);
}

/* Wispy tendrils flowing inward */
@keyframes wave-to-center-1 {
  0%, 100% {
    transform: scale(1.5) rotate(0deg);
    opacity: 0.12;
  }
  50% {
    transform: scale(0.8) rotate(180deg);
    opacity: 0.25;
  }
}

@keyframes wave-to-center-2 {
  0%, 100% {
    transform: scale(1.6) rotate(360deg);
    opacity: 0.1;
  }
  50% {
    transform: scale(0.75) rotate(180deg);
    opacity: 0.22;
  }
}

@keyframes wave-to-center-3 {
  0%, 100% {
    transform: scale(1.7) rotate(0deg);
    opacity: 0.08;
  }
  50% {
    transform: scale(0.7) rotate(-180deg);
    opacity: 0.18;
  }
}

/* Center focal point glow */
.center-focal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(125, 211, 252, 0.15) 0%,
    rgba(56, 189, 248, 0.08) 40%,
    transparent 70%
  );
  filter: blur(20px);
  animation: focal-pulse 4s ease-in-out infinite;
}

@keyframes focal-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* CONTENT - FLOATS INSIDE THE GLOW */
.primary-card-content {
  position: relative;
  z-index: 10;
  max-width: 500px;
  text-align: left;
}

/* Animation pause state when out of viewport */
.primary-card-container.animations-paused .unified-border-frame::after,
.primary-card-container.animations-paused .wave-layer,
.primary-card-container.animations-paused .center-focal {
  animation-play-state: paused;
}

/* ========================================
   SecondaryCard Component
   ======================================== */

/* Secondary Card - Rectangular with ACTUAL Edge Distortion Border */

.secondary-card {
  position: relative;
  width: 100%;
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  isolation: isolate;
  transition: transform 200ms ease;
  overflow: visible;
}

.secondary-card:hover {
  transform: translateY(-4px);
}

/* Transparent Card Background - INVISIBLE, only edge distortion shows */
.secondary-card-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: var(--border-radius-xl);
  z-index: 2;
}

/* ACTUAL BORDER RING - This is what gets distorted */
.secondary-card-border-ring {
  position: absolute;
  inset: -3px;
  border-radius: var(--border-radius-xl);
  z-index: 1;

  /* Create visible border using box-shadow */
  background: transparent;
  box-shadow:
    0 0 0 2px rgba(56, 189, 248, 0.4),
    0 0 8px rgba(56, 189, 248, 0.3),
    0 0 16px rgba(125, 211, 252, 0.2);

  animation: border-glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* Orange theme override */
[data-theme="free-website-2026"] .secondary-card-border-ring {
  box-shadow:
    0 0 0 2px rgba(249, 115, 22, 0.4),
    0 0 8px rgba(249, 115, 22, 0.3),
    0 0 16px rgba(251, 146, 60, 0.2);
}

[data-theme="free-website-2026"] .secondary-card-border-ring {
  animation: border-glow-pulse-orange 3s ease-in-out infinite;
}

@keyframes border-glow-pulse-orange {
  0%, 100% {
    opacity: 0.8;
    box-shadow:
      0 0 0 2px rgba(249, 115, 22, 0.4),
      0 0 8px rgba(249, 115, 22, 0.3),
      0 0 16px rgba(251, 146, 60, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 0 2px rgba(249, 115, 22, 0.6),
      0 0 12px rgba(249, 115, 22, 0.5),
      0 0 24px rgba(251, 146, 60, 0.3);
  }
}

@keyframes border-glow-pulse {
  0%, 100% {
    opacity: 0.8;
    box-shadow:
      0 0 0 2px rgba(56, 189, 248, 0.4),
      0 0 8px rgba(56, 189, 248, 0.3),
      0 0 16px rgba(125, 211, 252, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 0 2px rgba(56, 189, 248, 0.6),
      0 0 12px rgba(56, 189, 248, 0.5),
      0 0 24px rgba(125, 211, 252, 0.3);
  }
}

/* Content */
.secondary-card-content {
  position: relative;
  z-index: 10;
}

/* Dark theme support */
.dark .secondary-card-bg {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.dark .secondary-card-border-ring {
  box-shadow:
    0 0 0 2px rgba(56, 189, 248, 0.5),
    0 0 8px rgba(56, 189, 248, 0.4),
    0 0 16px rgba(125, 211, 252, 0.3);
}

/* Animation control - pause when out of viewport */
.secondary-card.paused .secondary-card-border-ring {
  animation-play-state: paused !important;
}

/* ========================================
   LogoEventHorizon Component
   ======================================== */

/* Logo Event Horizon - Subtle black hole effect around logo */
/* No rotation animation - matches main black hole which uses only static turbulence */

.logo-orbit-animation {
  /* Static - turbulence filter provides the visual effect */
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .logo-orbit-animation {
    /* Already static */
  }
}

/* ========================================
   BlackHoleBackground Component
   ======================================== */

.space-background {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.static-stars {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

/* EDGE DISTORTION - THIS IS THE BLACK HOLE */
.edge-distortion {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.edge-distortion::before {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    /* Dark black hole effect */
    radial-gradient(ellipse at center,
      transparent 35%,
      rgba(0, 0, 0, 0.8) 44%,
      rgba(0, 0, 0, 0.95) 48%,
      rgba(0, 0, 0, 0.9) 52%,
      transparent 58%
    ),
    /* Inner dark edge */
    radial-gradient(ellipse at center,
      transparent 30%,
      rgba(0, 0, 0, 0.6) 42%,
      rgba(0, 0, 0, 0.8) 46%,
      transparent 54%
    );
  filter: url(#edge-waves) blur(2px);
  mask:
    radial-gradient(ellipse at center,
      transparent 36%,
      black 43%,
      black 50%,
      transparent 56%
    );
  -webkit-mask:
    radial-gradient(ellipse at center,
      transparent 36%,
      black 43%,
      black 50%,
      transparent 56%
    );
}

/* White variant - inverted colors for dark backgrounds */
.edge-distortion--white::before,
.edge-distortion-hero.edge-distortion--white::before {
  background:
    /* White/light black hole effect for dark backgrounds */
    radial-gradient(ellipse at center,
      transparent 35%,
      rgba(255, 255, 255, 0.4) 44%,
      rgba(255, 255, 255, 0.5) 48%,
      rgba(255, 255, 255, 0.45) 52%,
      transparent 58%
    ),
    /* Inner light edge */
    radial-gradient(ellipse at center,
      transparent 30%,
      rgba(255, 255, 255, 0.3) 42%,
      rgba(255, 255, 255, 0.4) 46%,
      transparent 54%
    );
}

/* HERO BLACK HOLE - Non-fixed positioning for grid layout */
.edge-distortion-hero {
  position: relative;
  width: 700px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  margin: auto;
}

.edge-distortion-hero::before {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    /* Dark black hole effect */
    radial-gradient(ellipse at center,
      transparent 35%,
      rgba(0, 0, 0, 0.8) 44%,
      rgba(0, 0, 0, 0.95) 48%,
      rgba(0, 0, 0, 0.9) 52%,
      transparent 58%
    ),
    /* Inner dark edge */
    radial-gradient(ellipse at center,
      transparent 30%,
      rgba(0, 0, 0, 0.6) 42%,
      rgba(0, 0, 0, 0.8) 46%,
      transparent 54%
    );
  filter: url(#edge-waves-hero) blur(2px);
  mask:
    radial-gradient(ellipse at center,
      transparent 36%,
      black 43%,
      black 50%,
      transparent 56%
    );
  -webkit-mask:
    radial-gradient(ellipse at center,
      transparent 36%,
      black 43%,
      black 50%,
      transparent 56%
    );
}

/* CONTACT BLACK HOLE - 2x size variant */
.edge-distortion-contact::before {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    /* Dark black hole effect */
    radial-gradient(ellipse at center,
      transparent 35%,
      rgba(0, 0, 0, 0.8) 44%,
      rgba(0, 0, 0, 0.95) 48%,
      rgba(0, 0, 0, 0.9) 52%,
      transparent 58%
    ),
    /* Inner dark edge */
    radial-gradient(ellipse at center,
      transparent 30%,
      rgba(0, 0, 0, 0.6) 42%,
      rgba(0, 0, 0, 0.8) 46%,
      transparent 54%
    );
  filter: url(#edge-waves-contact) blur(2px);
  mask:
    radial-gradient(ellipse at center,
      transparent 36%,
      black 43%,
      black 50%,
      transparent 56%
    );
  -webkit-mask:
    radial-gradient(ellipse at center,
      transparent 36%,
      black 43%,
      black 50%,
      transparent 56%
    );
}

/* White variant for contact black hole */
.edge-distortion-contact.edge-distortion--white::before {
  background:
    /* White/light black hole effect for dark backgrounds */
    radial-gradient(ellipse at center,
      transparent 35%,
      rgba(255, 255, 255, 0.4) 44%,
      rgba(255, 255, 255, 0.5) 48%,
      rgba(255, 255, 255, 0.45) 52%,
      transparent 58%
    ),
    /* Inner light edge */
    radial-gradient(ellipse at center,
      transparent 30%,
      rgba(255, 255, 255, 0.3) 42%,
      rgba(255, 255, 255, 0.4) 46%,
      transparent 54%
    );
}

/* Blue variant - Solomon brand blue (#0ea5e9, #38bdf8) */
.edge-distortion--blue::before,
.edge-distortion-hero.edge-distortion--blue::before {
  background:
    /* Blue black hole effect */
    radial-gradient(ellipse at center,
      transparent 35%,
      rgba(14, 165, 233, 0.5) 44%,
      rgba(14, 165, 233, 0.65) 48%,
      rgba(56, 189, 248, 0.55) 52%,
      transparent 58%
    ),
    /* Inner blue edge */
    radial-gradient(ellipse at center,
      transparent 30%,
      rgba(56, 189, 248, 0.35) 42%,
      rgba(14, 165, 233, 0.5) 46%,
      transparent 54%
    );
}

/* ========================================
   ThemeCard Component
   ======================================== */

/* Theme Card Styles */

.theme-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-card-link:hover {
  transform: translateY(-8px);
}

.theme-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Event Horizon Background - Hidden by default, shows on hover */
.theme-card-horizon {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.theme-card-link:hover .theme-card-horizon {
  opacity: 0.3;
}

/* Theme Preview Image */
.theme-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  overflow: hidden;
}

.theme-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.theme-card-link:hover .theme-card-img {
  transform: scale(1.05);
}

.theme-card-gradient-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    var(--blue-900) 0%,
    var(--blue-800) 50%,
    var(--gray-900) 100%
  );
}

.theme-card-placeholder-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-300);
  text-align: center;
  padding: 1rem;
  opacity: 0.6;
}

/* Badge */
.theme-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

/* Content */
.theme-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
}

.theme-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
}

.theme-card-link:hover .theme-card-title {
  color: var(--blue-600);
}

.theme-card-description {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

/* Features List */
.theme-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.theme-card-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.theme-card-feature-icon {
  color: var(--blue-600);
  flex-shrink: 0;
}

/* CTA */
.theme-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  color: var(--blue-600);
  font-weight: 600;
  transition: all 0.3s ease;
}

.theme-card-link:hover .theme-card-cta {
  color: var(--blue-700);
  gap: 0.75rem;
}

.theme-card-cta-text {
  font-size: 0.95rem;
}

.theme-card-cta-icon {
  transition: transform 0.3s ease;
}

.theme-card-link:hover .theme-card-cta-icon {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .theme-card-image {
    height: 200px;
  }

  .theme-card-content {
    padding: 1.25rem;
  }

  .theme-card-title {
    font-size: 1.25rem;
  }
}

/* ========================================
   Navigation Component
   ======================================== */

/* Navigation Component Styles */

/* Wrapper - handles sticky positioning and contains border effect */
.navigation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  isolation: isolate;
  transform: translateY(0);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation-wrapper.navigation-hidden {
  transform: translateY(-100%);
}

.navigation {
  position: relative;
  width: 100%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.dark .navigation {
  background: rgba(30, 41, 59, 0.95);
}

.navigation-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.navigation-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.navigation-logo:hover {
  opacity: 0.8;
}

.navigation-logo-icon {
  /* Logo with event horizon effect - no background needed */
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.navigation-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Desktop Links */
.navigation-links {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

@media (min-width: 768px) {
  .navigation-links {
    display: flex;
  }
}

.navigation-link {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: all 200ms ease;
}

.navigation-link:hover {
  color: var(--text-primary);
  background: var(--color-primary-50);
}

.dark .navigation-link:hover {
  background: rgba(56, 189, 248, 0.1);
}

.navigation-link-active,
.navigation-link-active:hover,
.dark .navigation-link-active,
.dark .navigation-link-active:hover {
  color: #38bdf8 !important;
  background: transparent !important;
}

/* CTA Button */
.navigation-cta {
  display: none;
}

@media (min-width: 768px) {
  .navigation-cta {
    display: block;
  }
}

/* Mobile Toggle */
.navigation-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 200ms ease;
}

.navigation-mobile-toggle:hover {
  background: var(--color-primary-50);
}

.dark .navigation-mobile-toggle:hover {
  background: rgba(56, 189, 248, 0.1);
}

@media (min-width: 768px) {
  .navigation-mobile-toggle {
    display: none;
  }
}

/* Mobile Menu */
.navigation-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
  animation: slide-down 0.2s ease-out;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navigation-mobile-link {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 200ms ease;
}

.navigation-mobile-link:hover {
  color: var(--text-primary);
  background: var(--color-primary-50);
}

.dark .navigation-mobile-link:hover {
  background: rgba(56, 189, 248, 0.1);
}

.navigation-mobile-link-active {
  color: var(--color-primary-600);
  background: var(--color-primary-100);
}

.dark .navigation-mobile-link-active {
  color: var(--color-primary-400);
  background: rgba(56, 189, 248, 0.15);
}

.navigation-mobile-cta {
  width: 100%;
  margin-top: 0.5rem;
}

/* Dropdown */
.navigation-dropdown {
  position: relative;
}

.navigation-dropdown-trigger {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
}

.navigation-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  animation: dropdown-appear 0.2s ease-out;
  z-index: 100;
}

.dark .navigation-dropdown-menu {
  background: rgba(30, 41, 59, 0.98);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@keyframes dropdown-appear {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navigation-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: all 200ms ease;
  white-space: nowrap;
}

.navigation-dropdown-item:hover {
  color: var(--text-primary);
  background: var(--color-primary-50);
}

.dark .navigation-dropdown-item:hover {
  background: rgba(56, 189, 248, 0.1);
}

.navigation-dropdown-item-active {
  color: var(--color-primary-600);
  background: var(--color-primary-100);
}

.dark .navigation-dropdown-item-active {
  color: var(--color-primary-400);
  background: rgba(56, 189, 248, 0.15);
}

/* Mobile Section */
.navigation-mobile-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.navigation-mobile-section-title {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navigation-mobile-sublink {
  padding-left: 2rem;
}

/* ========================================
   Dark Variant - for scale-your-business page
   ======================================== */

.navigation-dark {
  background: transparent;
  border-bottom: none;
}

.navigation-dark .navigation-logo-text {
  color: #e2e8f0;
}

.navigation-dark .navigation-link {
  color: #cbd5e1;
}

.navigation-dark .navigation-link:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.navigation-dark .navigation-link-active,
.navigation-dark .navigation-link-active:hover {
  color: #38bdf8 !important;
  background: transparent !important;
}

.navigation-dark .navigation-dropdown-trigger {
  color: #cbd5e1;
}

.navigation-dark .navigation-dropdown-menu {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(255, 255, 255, 0.1);
}

.navigation-dark .navigation-dropdown-item {
  color: #cbd5e1;
}

.navigation-dark .navigation-dropdown-item:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.navigation-dark .navigation-dropdown-item-active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

/* Dark variant button - silver text */
.navigation-dark .navigation-cta button {
  color: #e2e8f0;
}

/* Dark variant mobile */
.navigation-dark .navigation-mobile-toggle {
  color: #e2e8f0;
}

.navigation-dark .navigation-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.navigation-dark .navigation-mobile-menu {
  background: rgba(15, 23, 42, 0.98);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.navigation-dark .navigation-mobile-link {
  color: #cbd5e1;
}

.navigation-dark .navigation-mobile-link:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.navigation-dark .navigation-mobile-link-active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

.navigation-dark .navigation-mobile-section-title {
  color: #94a3b8;
}

/* ========================================
   Footer Component
   ======================================== */

/* Footer Component Styles */

.footer {
  width: 100%;
  background: linear-gradient(135deg,
    var(--bg-secondary) 0%,
    rgba(56, 189, 248, 0.03) 100%
  );
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.dark .footer {
  background: linear-gradient(135deg,
    var(--bg-secondary) 0%,
    rgba(56, 189, 248, 0.05) 100%
  );
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Section */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-icon {
  /* Logo with event horizon effect - no background needed */
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Columns */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 200ms ease;
}

.footer-link:hover {
  color: var(--color-primary-600);
}

.dark .footer-link:hover {
  color: var(--color-primary-400);
}

/* Newsletter */
.footer-newsletter {
  display: flex;
  flex-direction: column;
}

/* Bottom Section */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color-muted);
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 200ms ease;
}

.footer-legal-link:hover {
  color: var(--text-primary);
}

.footer-separator {
  color: var(--text-muted);
  font-size: 0.875rem;
}
