/* Action Alert — homepage commercial spot */
#action-alert-commercial {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.aa-commercial__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #67e8f9;
}

.aa-commercial__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px #22d3ee;
}

.aa-commercial__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f8fafc;
}

.aa-commercial__lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #94a3b8;
}

.aa-commercial__stage {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: #030712;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.8),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(34, 211, 238, 0.08);
  aspect-ratio: 16 / 9;
}

.aa-commercial__video,
.aa-commercial__storyboard {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aa-commercial__video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.aa-commercial__video.is-active {
  opacity: 1;
}

.aa-commercial__storyboard.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.aa-commercial__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  animation: aa-commercial-kenburns 30s ease-in-out infinite;
}

.aa-commercial__slide--1 { animation-delay: 0s; }
.aa-commercial__slide--2 { animation-delay: 6s; }
.aa-commercial__slide--3 { display: none; }
.aa-commercial__slide--4 { animation-delay: 18s; }
.aa-commercial__slide--5 { animation-delay: 24s; }

@keyframes aa-commercial-kenburns {
  0% { opacity: 0; transform: scale(1.02); }
  3% { opacity: 1; }
  17% { opacity: 1; transform: scale(1.06); }
  22% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.08); }
}

.aa-commercial__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.35) 0%, transparent 28%, transparent 62%, rgba(3, 7, 18, 0.88) 100%),
    radial-gradient(ellipse 85% 70% at 50% 50%, transparent 40%, rgba(3, 7, 18, 0.45) 100%);
}

.aa-commercial__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.25rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.92));
}

.aa-commercial__line {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
  min-height: 1.4em;
  transition: opacity 0.35s ease;
}

.aa-commercial__line.is-fading {
  opacity: 0;
}

.aa-commercial__brand {
  margin: 0.35rem 0 0;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22d3ee;
}

.aa-commercial__controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.aa-commercial__btn {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.aa-commercial__btn:hover {
  border-color: rgba(34, 211, 238, 0.55);
  color: #67e8f9;
}

.aa-commercial__btn--primary {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
}

.aa-commercial__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.aa-commercial__script {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  max-width: 36rem;
  line-height: 1.5;
}

.aa-commercial__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  color: #041016;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.aa-commercial__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .aa-commercial__slide {
    animation: none;
    opacity: 1;
  }

  .aa-commercial__slide:not(.aa-commercial__slide--1) {
    display: none;
  }
}
