/* Hero Section Styles */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 800px;
  background-color: #213261;
}

@media (min-width: 1280px) {
  .hero-slider-section {
    margin-top: 0;
    height: 768px;
  }
}

/* Background Video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #213361;
  z-index: 1;
  opacity: 0.25;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 51, 97, 0.3);
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}

/* Background Image */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.25;
}

/* Decorative Blobs */
.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero-blob {
  position: absolute;
}

.hero-blob svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Slider Hero Blobs - Independent from generic hero-blob styles */
.slider-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  /* No CSS filter blur here - handled by SVG filter */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.slider-hero-blob-purple {
  background-color: hsla(288, 77%, 59%, 0.9);
  right: -10%;
  bottom: -20%;
  width: 150%;
  height: 150%;
  filter: blur(275px);
}

@media (min-width: 768px) {
  .slider-hero-blob-purple {
    width: 1344px;
    height: 807px;
    left: 35%;
    top: 60%;
    right: auto;
    bottom: auto;
  }
}

.slider-hero-blob-blue {
  background-color: hsla(196, 77%, 59%, 0.6);
  left: -10%;
  top: -20%;
  width: 100%;
  height: 100%;
  filter: blur(175px);
}

@media (min-width: 768px) {
  .slider-hero-blob-blue {
    width: 640px;
    height: 333px;
    left: -23px;
    top: -100px;
  }
}

/* Content Container */
.hero-content-container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  /* Styles are handled by .content-wrapper global class but we ensure relative positioning for dots */
}

@media (min-width: 768px) {
  /* Optional content-wrapper related overrides if needed */
}

.hero-content {
  max-width: 712px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 23px;
  }
}

/* Headers */
.hero-headers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-size: 45px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin: 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem; /* 48px */
  }
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: white;
  line-height: 1.6;
  letter-spacing: 0.064px;
  margin: 0;
}

br.desktop-only {
  display: none;
}

@media (min-width: 640px) {
  br.desktop-only {
    display: block;
  }
}

/* List Items */
.hero-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-list-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-list-item p {
  font-size: 16px;
  color: white;
  letter-spacing: 0.0512px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.gradient-arrow {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.gradient-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    width: auto;
  }
}

.hero-buttons a,
.hero-buttons button {
  height: 50px;
  padding: 0 29px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.0512px;
  text-decoration: none;
}

.btn-primary {
  background-color: #c747e7;
  color: white;
}

.btn-primary:hover {
  background-color: #b035cd;
}

.btn-secondary {
  background-color: white;
  color: #213361;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

/* Navigation Bullets */
/* Navigation Bullets */
.hero-navigation {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
  padding-left: 0;
}

.navi-bullet {
  width: 20px;
  height: 20px;
  border-radius: 60px;
  border: 1px solid #c747e7;
  background-color: rgba(199, 71, 231, 0.1);
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navi-bullet.active {
  width: 40px;
  background-color: #c747e7;
}

/* Bento Section */
.bento-section {
  padding: 80px 0;
  background-color: #e9ebef;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background-color: white;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.bento-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  width: 100%;
}

.bento-top-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fc;
}

.bento-top-image-wrapper img,
.bento-top-image-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

.bento-card:hover {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
}

.bento-icon {
  color: #c747e7;
  margin-bottom: 32px;
}

.bento-icon svg {
  display: block;
  width: 48px;
  height: 48px;
}

.bento-title {
  font-size: 24px;
  font-weight: 700;
  color: #213361;
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.25;
}

.bento-description {
  font-size: 16px;
  color: #213361;
  line-height: 1.6;
  margin-bottom: 32px;
}

.bento-btn {
  margin-top: auto;
  background-color: #c747e7;
  color: white;
  padding: 0 29px;
  height: 50px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.0448px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-btn:hover {
  background-color: #b035cd;
}

/* Wide Card Specifics */
.bento-card-wide {
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f9fafb;
  align-items: center;
}

@media (min-width: 1024px) {
  .bento-card-wide {
    flex-direction: row;
    align-items: stretch;
  }
}

.bento-content-wide {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .bento-content-wide {
    width: 50%;
    padding: 64px;
    flex-shrink: 0;
  }
}

.bento-image-wrapper {
  background-color: #f8f9fc;
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  padding: 24px;
}

.bento-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 1024px) {
  .bento-image-wrapper {
    min-height: auto;
    background-color: transparent;
    width: 50%;
    padding: 0;
  }

  .bento-image-wrapper img {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    bottom: 24px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    object-fit: contain;
  }
}

.bento-link {
  text-decoration: underline;
  text-decoration-style: solid;
  color: inherit;
  font-weight: inherit;
}

.strategy-illustration {
  position: relative;
  z-index: 10;
  transform: scale(0.9);
}

@media (min-width: 1024px) {
  .strategy-illustration {
    transform: scale(1) translate(40px, 40px);
  }
}

/* Regulations Section on Front Page */
.home .regulations-combined-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* Slider Styles */
.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  background-color: #213261;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* UI Overlay */
.hero-ui-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero-ui-overlay {
    padding-bottom: 5rem;
  }
}

/* Slider Controls Container */
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  pointer-events: none; /* Let clicks pass through empty space */
}

.hero-navigation,
.hero-arrows {
  pointer-events: auto; /* Re-enable pointer events for controls */
}

/* Slider Arrows */
.hero-arrows {
  display: flex;
  gap: 16px;
  z-index: 20;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c747e7;
  background-color: rgba(199, 71, 231, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 0;
}

.hero-arrow:hover {
  background-color: #c747e7;
  transform: scale(1.1);
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}
