:root {
  color-scheme: light;
  --c-graphite-1: #0B0F0E;
  --c-graphite-2: #131815;
  --c-graphite-3: #1A201D;
  --c-border-dark: #2A3330;
  --c-lime-500: #84CC16;
  --c-lime-400: #A3E635;
  --c-lime-300: #BEF264;
  --c-lime-100: #ECFCCB;
  --c-cyan-400: #22D3EE;
  --c-cyan-100: #CFFAFE;
  --c-text-light: #FAFAF9;
  --c-text-dark: #1C1917;
  --c-muted-dark: #A8A29E;
  --c-muted-light: #57534E;
  --c-stone-200: #E7E5E4;
  --c-stone-100: #F5F5F4;
}

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

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

.hero-gradient {
  background:
    radial-gradient(ellipse at top right, rgba(132, 204, 22, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #0B0F0E 0%, #131815 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.hero-eyebrow {
  color: var(--c-lime-400);
  letter-spacing: 0.2em;
}

.hero-title {
  color: var(--c-text-light);
}

.hero-subhead {
  color: var(--c-muted-dark);
}

.hero-mesh-wrap {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

.hero-mesh-inner {
  position: relative;
  width: 100%;
}

.hero-mesh {
  width: 100%;
  height: auto;
  display: block;
}

.hero-telemetry {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: min(280px, calc(100% - 32px));
  background: rgba(19, 24, 21, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-border-dark);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas:
    "dot eyebrow ."
    "main main main"
    "sub sub sub";
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .hero-telemetry {
    width: min(240px, calc(100% - 32px));
  }
}

.hero-telemetry-dot {
  grid-area: dot;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-lime-500);
  box-shadow: 0 0 8px rgba(132, 204, 22, 0.8);
  animation: heroTelemetryPulse 1.5s ease-in-out infinite;
}

.hero-telemetry-eyebrow {
  grid-area: eyebrow;
  color: var(--c-lime-400);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-telemetry-main {
  grid-area: main;
  color: var(--c-text-light);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  transition: opacity 300ms ease-in-out;
}

.hero-telemetry-sub {
  grid-area: sub;
  color: var(--c-muted-dark);
  font-size: 0.75rem;
  margin: 0;
  transition: opacity 300ms ease-in-out;
}

.hero-telemetry.is-fading .hero-telemetry-main,
.hero-telemetry.is-fading .hero-telemetry-sub {
  opacity: 0;
}

@keyframes heroTelemetryPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

.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(11, 15, 14, 0.12);
}

.btn-primary {
  background: var(--c-lime-500);
  color: var(--c-graphite-1);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 20px rgba(132, 204, 22, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--c-lime-400);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(132, 204, 22, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--c-text-light);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--c-border-dark);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--c-lime-400);
  color: var(--c-lime-400);
  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: var(--c-lime-400);
}

.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: var(--c-lime-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--c-lime-500);
}

.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);
}

.ai-brain-card {
  display: grid;
  gap: 1.75rem;
  padding: 2rem;
  border-radius: 1.75rem;
  border: 1px solid var(--c-border-dark);
  background: linear-gradient(140deg, rgba(19, 24, 21, 0.95), rgba(26, 32, 29, 0.95));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.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(132, 204, 22, 0.22), rgba(132, 204, 22, 0.06));
  border: 1px solid rgba(163, 230, 53, 0.4);
  color: var(--c-lime-400);
  box-shadow: 0 6px 18px rgba(132, 204, 22, 0.18);
  text-transform: uppercase;
}

.ai-brain-visual {
  position: relative;
  min-height: 260px;
  border-radius: 1.5rem;
  border: 1px solid var(--c-border-dark);
  background: radial-gradient(circle at 50% 30%, rgba(132, 204, 22, 0.18), rgba(11, 15, 14, 0.92));
  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(163, 230, 53, 0.6) 0%, rgba(132, 204, 22, 0.1) 65%, transparent 100%);
}

.ai-brain-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(163, 230, 53, 0.65);
  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: var(--c-text-light);
}

@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(11, 15, 14, 0.8);
  border: 1px solid var(--c-border-dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.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: var(--c-muted-dark);
}

.ai-orbit-metric {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text-light);
}

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

.ai-brain-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text-light);
}

.ai-brain-lede {
  color: var(--c-muted-dark);
  line-height: 1.7;
  font-size: 0.95rem;
}

.ai-copy-highlight {
  color: var(--c-lime-400);
  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(11, 15, 14, 0.75);
  border: 1px solid var(--c-border-dark);
  box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.08);
}

.ai-insight-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-lime-400);
}

.ai-insight-body {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--c-muted-dark);
  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(132, 204, 22, 0.18), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(163, 230, 53, 0.28);
  overflow: hidden;
}

.ai-spectrum-indicator {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-light);
}

.ai-spectrum-pulse {
  position: absolute;
  inset: -120% -40% auto -40%;
  height: 200%;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.3) 0%, rgba(163, 230, 53, 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: var(--c-muted-dark);
}

.ai-meta-value {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-light);
}


.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 var(--c-border-dark);
  background: linear-gradient(150deg, rgba(26, 32, 29, 0.85), rgba(11, 15, 14, 0.9));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 14rem;
  height: 100%;
}

.ai-feature-card:hover,
.ai-feature-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(163, 230, 53, 0.5);
  box-shadow: 0 26px 44px rgba(132, 204, 22, 0.18);
}

.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(132, 204, 22, 0.35), rgba(11, 15, 14, 0.9));
  color: var(--c-lime-400);
  border: 1px solid rgba(163, 230, 53, 0.4);
  box-shadow: 0 12px 24px rgba(132, 204, 22, 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: var(--c-text-light);
}

.ai-feature-chip {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.35), rgba(132, 204, 22, 0.25));
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--c-cyan-100);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ai-feature-body p {
  font-size: 0.85rem;
  color: var(--c-muted-dark);
  line-height: 1.6;
}

.ai-feature-meter {
  position: relative;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(11, 15, 14, 0.8);
  border: 1px solid var(--c-border-dark);
  overflow: hidden;
}

.ai-feature-meter-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-cyan-400) 0%, var(--c-lime-500) 100%);
  box-shadow: 0 0 12px rgba(132, 204, 22, 0.45);
}

.ai-feature-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted-dark);
}

@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(26, 32, 29, 0.85), rgba(11, 15, 14, 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: var(--c-graphite-2);
  border: 1px solid var(--c-lime-500);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(132, 204, 22, 0.2);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 14, 0.78);
  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(11, 15, 14, 0.3);
  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 var(--c-stone-200);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-stone-100);
  border-radius: 999px;
  padding: 0.4rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--c-stone-200);
  transform: rotate(90deg);
}

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

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

.akira-wordmark {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  line-height: 0;
}

.akira-wordmark svg {
  display: block;
  overflow: visible;
}

.akira-wordmark svg text {
  transition: filter 250ms ease-out;
}

.akira-wordmark:hover svg text {
  filter: drop-shadow(0 0 8px rgba(132, 204, 22, 0.4));
}

@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;
  }

  .akira-wordmark svg animate {
    display: none;
  }

  .hero-mesh animate,
  .hero-mesh animateTransform,
  .hero-mesh animateMotion {
    display: none;
  }
}
