:root {
  color-scheme: light;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.font-heading {
  font-family: 'Inter', sans-serif;
}

.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-visual {
  min-height: 15rem;
}

@media (min-width: 1024px) {
  .hero-visual {
    min-height: 18rem;
  }
}

.hero-orb {
  position: absolute;
  right: -3rem;
  top: 2rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0));
  opacity: 0.6;
  filter: drop-shadow(0 30px 60px rgba(15, 23, 42, 0.35));
  pointer-events: none;
}

.testimonial-card {
  width: 100%;
  max-width: 16rem;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover,
.card-hover:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.btn-primary {
  background: #3b82f6;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-tertiary {
  background: transparent;
  color: inherit;
  font-weight: 600;
  padding: 0;
  border-radius: 0.5rem;
  transition: color 0.2s ease;
}

.btn-tertiary:hover,
.btn-tertiary:focus-visible {
  color: #3b82f6;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: #3b82f6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #2563eb;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.mobile-menu {
  transition: max-height 0.3s ease;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float.delay-\[0ms\] {
  animation-delay: 0s;
}

.animate-float.delay-\[1200ms\] {
  animation-delay: 1.2s;
}

.animate-float.delay-\[2400ms\] {
  animation-delay: 2.4s;
}

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

.ai-brain-card {
  display: grid;
  gap: 1.75rem;
  padding: 2rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(140deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.9));
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.32);
}

.ai-brain-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.24), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
  text-transform: uppercase;
}

.ai-brain-visual {
  position: relative;
  min-height: 260px;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.85));
  overflow: hidden;
}

.ai-brain-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.ai-brain-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.ai-brain-pulse {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.6) 0%, rgba(59, 130, 246, 0.1) 65%, transparent 100%);
}

.ai-brain-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.6);
  animation: aiPulse 3s ease-in-out infinite;
}

.ai-brain-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
}

@keyframes aiPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.ai-brain-orbit {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.4);
}

.ai-brain-orbit--top-left {
  top: 12%;
  left: 8%;
}

.ai-brain-orbit--top-right {
  top: 15%;
  right: 8%;
}

.ai-brain-orbit--bottom {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.ai-orbit-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
}

.ai-orbit-metric {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.ai-brain-copy {
  display: grid;
  gap: 1.5rem;
}

.ai-brain-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
}

.ai-brain-lede {
  color: rgba(203, 213, 225, 0.92);
  line-height: 1.7;
  font-size: 0.95rem;
}

.ai-copy-highlight {
  color: #60a5fa;
  font-weight: 600;
}

.ai-brain-insights {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ai-brain-insights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ai-insight {
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.ai-insight-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.9);
}

.ai-insight-body {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.6;
}

.ai-brain-spectrum {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(96, 165, 250, 0.24);
  overflow: hidden;
}

.ai-spectrum-indicator {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
}

.ai-spectrum-pulse {
  position: absolute;
  inset: -120% -40% auto -40%;
  height: 200%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28) 0%, rgba(96, 165, 250, 0) 65%);
  animation: aiSpectrum 6s linear infinite;
}

@keyframes aiSpectrum {
  0% {
    transform: translateX(-30%);
  }
  50% {
    transform: translateX(30%);
  }
  100% {
    transform: translateX(-30%);
  }
}

.ai-brain-meta {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(148, 163, 184, 0.7);
}

.ai-meta-value {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}


.ai-feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.ai-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(51, 65, 85, 0.6);
  background: linear-gradient(150deg, rgba(30, 41, 59, 0.76), rgba(15, 23, 42, 0.78));
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 14rem;
  height: 100%;
}

.ai-feature-card:hover,
.ai-feature-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.4);
}

.ai-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(15, 23, 42, 0.9));
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.22);
  flex-shrink: 0;
}

.ai-feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.ai-feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.ai-feature-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ai-feature-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.ai-feature-chip {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.4), rgba(125, 211, 252, 0.35));
  border: 1px solid rgba(125, 211, 252, 0.45);
  color: #e0f2fe;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ai-feature-body p {
  font-size: 0.85rem;
  color: rgba(203, 213, 225, 0.9);
  line-height: 1.6;
}

.ai-feature-meter {
  position: relative;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.5);
  overflow: hidden;
}

.ai-feature-meter-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8 0%, #3b82f6 100%);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45);
}

.ai-feature-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

@media (min-width: 768px) {
  .ai-feature-card {
    flex-direction: row;
    align-items: stretch;
  }

  .ai-feature-card .ai-feature-body {
    justify-content: space-between;
  }
}

.ai-brain-static .ai-brain-visual {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
}

.ai-brain-static canvas {
  display: none;
}

.ai-brain-static .ai-brain-pulse::after,
.ai-brain-static .ai-spectrum-pulse {
  animation: none;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  transform: translateY(150%);
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  z-index: 40;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta > div {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.95), rgba(14, 116, 144, 0.95));
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.75);
  padding: 1.5rem;
  z-index: 50;
}

.modal-content {
  background: #ffffff;
  width: min(640px, 100%);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.4rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: #e2e8f0;
  transform: rotate(90deg);
}

.modal-body p + p {
  margin-top: 1rem;
}

.map-frame {
  width: 100%;
  min-height: 250px;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo svg {
  display: block;
  overflow: visible;
}

.site-logo .logo-glyph {
  transition: transform 400ms ease-out;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

.site-logo:hover .logo-glyph {
  transform: rotate(8deg);
}

.site-logo:hover .logo-ltd {
  fill: #6366f1;
}

.logo-ltd {
  transition: fill 400ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .site-logo svg animate,
  .site-logo svg animateTransform {
    animation-play-state: paused;
  }
  .site-logo:hover .logo-glyph {
    transform: none;
  }
}