/* Accelerators and Experiments Page */

.ae-hero {
  position: relative;
  padding: 4rem 2.5rem;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?auto=format&fit=crop&w=1920');
  background-size: cover;
  background-position: center;
}

.ae-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 43, 94, 0.35) 0%,
    rgba(19, 29, 66, 0.3) 50%,
    rgba(26, 43, 94, 0.32) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.ae-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.ae-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.ae-hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-align: center;
}

/* Carousel Section */
.ae-carousel-section {
  background: #f8f9fc;
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(26, 43, 94, 0.08);
}

.ae-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.ae-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 2rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ae-carousel::-webkit-scrollbar {
  display: none;
}

/* Slide Cards */
.ae-slide {
  flex: 0 0 calc(100% - 2rem);
  min-width: 320px;
  max-width: 520px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 43, 94, 0.1);
  position: relative;
}

.ae-slide-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.ae-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 40%, rgba(26, 43, 94, 0.4) 100%);
  pointer-events: none;
}

.ae-slide-content {
  padding: 2rem;
  position: relative;
}

.ae-slide-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 43, 94, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #1a2b5e;
}

.ae-slide-icon svg {
  width: 24px;
  height: 24px;
}

.ae-slide-title {
  font-size: var(--subheading-font-size);
  font-weight: 700;
  color: #1a2b5e;
  margin: 0 0 1rem;
}

.ae-experiment-focus {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.ae-experiment-focus strong {
  color: #1a2b5e;
}

.ae-core-questions h3,
.ae-enables h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: #6b7a99;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.ae-core-questions ul,
.ae-enables ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.ae-core-questions li,
.ae-enables li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.ae-enables {
  margin-bottom: 0;
}

.ae-enables li::marker {
  color: #1565c0;
}

/* Carousel Buttons */
.ae-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(26, 43, 94, 0.15);
  box-shadow: 0 4px 12px rgba(26, 43, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, box-shadow 0.2s;
}

.ae-carousel-btn:hover {
  background: #f8f9fc;
  box-shadow: 0 6px 16px rgba(26, 43, 94, 0.12);
}

.ae-carousel-btn svg {
  width: 24px;
  height: 24px;
  color: #1a2b5e;
}

.ae-carousel-prev {
  left: 0.5rem;
}

.ae-carousel-next {
  right: 0.5rem;
}

/* Carousel Dots */
.ae-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.ae-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(26, 43, 94, 0.3);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.ae-dot:hover {
  border-color: #1a2b5e;
}

.ae-dot.active {
  background: #1a2b5e;
  border-color: #1a2b5e;
}

/* Responsive */
@media (min-width: 900px) {
  .ae-slide {
    flex: 0 0 calc(50% - 1rem);
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .ae-hero {
    padding: 3rem 1.5rem;
  }

  .ae-carousel-wrapper {
    padding: 0 3rem;
  }

  .ae-carousel-prev {
    left: 0.25rem;
  }

  .ae-carousel-next {
    right: 0.25rem;
  }

  .ae-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .ae-carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .ae-slide {
    flex: 0 0 calc(100% - 1rem);
  }

  .ae-slide-image {
    height: 140px;
  }

  .ae-slide-overlay {
    height: 140px;
  }

  .ae-slide-content {
    padding: 1.5rem;
  }

  .ae-slide-title {
    font-size: var(--subheading-font-size);
  }
}

@media (max-width: 480px) {
  .ae-hero {
    padding: 2rem 1rem;
  }

  .ae-hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .ae-hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .ae-carousel-wrapper {
    padding: 0 2.5rem;
  }

  .ae-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .ae-slide-content {
    padding: 1.25rem;
  }

  .ae-slide-image,
  .ae-slide-overlay {
    height: 120px;
  }
}
