/* EliteEdge AI Lab — flashy showcase (gen-ai.html; landing uses shared bits) */

.ai-skip-spacer {
  scroll-margin-top: 5rem;
}

/* Hero */
.ai-hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
  text-align: center;
}

.ai-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120%;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(34, 211, 238, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(167, 139, 250, 0.25), transparent 50%),
    radial-gradient(ellipse 35% 25% at 15% 30%, rgba(244, 114, 182, 0.2), transparent 45%);
  pointer-events: none;
  z-index: 0;
  animation: ai-hero-pulse 12s ease-in-out infinite alternate;
}

@keyframes ai-hero-pulse {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.ai-hero .container {
  position: relative;
  z-index: 1;
}

.ai-hero .breadcrumb {
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.ai-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}

.ai-hero-badge span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: ai-blink 2s ease-in-out infinite;
}

@keyframes ai-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.ai-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff 0%, #e2e8f0 35%, var(--cyan) 55%, var(--violet) 85%, var(--pink) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ai-shimmer 8s linear infinite;
}

@keyframes ai-shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.ai-hero .lead {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.ai-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Marquee */
.ai-marquee-wrap {
  margin: 0 0 3rem;
  padding: 0.85rem 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.06), transparent);
  overflow: hidden;
}

.ai-marquee {
  display: flex;
  width: max-content;
  animation: ai-marquee 45s linear infinite;
}

.ai-marquee:hover {
  animation-play-state: paused;
}

@keyframes ai-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ai-marquee-inner {
  display: flex;
  gap: 2.5rem;
  padding-right: 2.5rem;
  align-items: center;
}

.ai-marquee span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
  white-space: nowrap;
}

.ai-marquee span strong {
  color: var(--cyan);
  font-weight: 800;
}

/* Section titles */
.ai-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.ai-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.ai-section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
  font-size: 0.98rem;
}

.ai-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.25rem;
  max-width: 44rem;
  margin-inline: auto;
  line-height: 1.5;
}

/* Carousel */
.ai-carousel-block {
  margin-bottom: 4rem;
}

.ai-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.ai-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95), rgba(3, 7, 18, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(34, 211, 238, 0.08);
}

.ai-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.ai-slide {
  flex: 0 0 100%;
  padding: 2.25rem 2rem 2.5rem;
  box-sizing: border-box;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ai-slide-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.75rem;
}

.ai-slide h3 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.ai-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.ai-slide ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.ai-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.ai-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
}

.ai-carousel-btn:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.1);
}

.ai-carousel-btn:active {
  transform: scale(0.96);
}

.ai-carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ai-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.ai-carousel-dot[aria-selected="true"] {
  background: var(--cyan);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

.ai-carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Second carousel — capabilities (compact) */
.ai-carousel--compact .ai-slide {
  min-height: 220px;
  padding: 1.75rem 1.5rem;
}

.ai-carousel--compact .ai-slide h3 {
  font-size: 1.2rem;
}

/* Grid strip under carousels */
.ai-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.ai-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.ai-pill:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: var(--text);
}

@media (max-width: 640px) {
  .ai-slide {
    min-height: 320px;
    padding: 1.75rem 1.25rem;
  }

  .ai-carousel-btn {
    width: 44px;
    height: 44px;
  }
}

/* Landing (index) — match AI Lab hero + marquee */
.landing-hero-sync h1 {
  background: linear-gradient(120deg, #fff 0%, #e2e8f0 35%, var(--cyan) 55%, var(--violet) 85%, var(--pink) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ai-shimmer 8s linear infinite;
}

.landing-hero-sync .ai-hero-badge {
  margin-bottom: 0.75rem;
}

.landing-marquee .ai-marquee-wrap {
  margin: 0 0 2rem;
}
