html {
  scroll-padding-top: 88px;
}

.homepage-main {
  padding-top: 0;
}

.digital-hero {
  background:
    radial-gradient(circle at top left, rgba(72, 187, 255, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #0f2d5c 0%, #102f7a 48%, #0f4aa8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.digital-hero::before,
.digital-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(6px);
}

.digital-hero::before {
  width: 240px;
  height: 240px;
  top: -80px;
  left: -60px;
  background: rgba(255, 255, 255, 0.08);
}

.digital-hero::after {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -120px;
  background: rgba(106, 180, 255, 0.18);
}

.hero-eyebrow,
.section-kicker,
.hero-start-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.05;
  max-width: 12ch;
}

.hero-subtitle {
  max-width: 60ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-chip {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
}

.hero-proof-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-proof-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.hero-proof-card span {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-start-panel {
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(7, 16, 35, 0.22);
}

.hero-start-panel__title {
  font-size: 1.6rem;
  margin: 1rem 0 0.5rem;
}

.hero-start-panel__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

.hero-start-list {
  display: grid;
  gap: 0.85rem;
}

.hero-start-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-start-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-start-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.hero-start-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-start-item__content strong {
  font-size: 1rem;
}

.hero-start-item__content small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.pathways-section,
.modules-section {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
}

.section-kicker {
  color: #19376d;
  background: rgba(25, 55, 109, 0.08);
  border-color: rgba(25, 55, 109, 0.1);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: #101828;
}

.section-subtitle {
  color: #475467;
  font-size: 1.02rem;
}

.pathway-card {
  display: block;
  height: 100%;
  padding: 1.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 10px 35px rgba(15, 38, 81, 0.06);
  text-decoration: none;
  color: #101828;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pathway-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 110, 253, 0.24);
  box-shadow: 0 18px 45px rgba(15, 38, 81, 0.1);
}

.pathway-card--primary {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.pathway-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.08);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.pathway-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.pathway-card p {
  color: #475467;
  min-height: 4.5rem;
  margin-bottom: 0.9rem;
}

.pathway-card__link {
  font-weight: 700;
  color: #0d6efd;
}

.module-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #475467;
  font-size: 0.92rem;
}

.module-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.status-dot--live {
  background: #12b76a;
}

.status-dot--beta {
  background: #2e90fa;
}

.status-dot--soon {
  background: #f79009;
}

.hero-card {
  background: linear-gradient(180deg, rgba(18, 47, 109, 0.96) 0%, rgba(13, 36, 88, 0.96) 100%);
  border-radius: 24px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 10px 30px rgba(15, 38, 81, 0.14);
}

.hero-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 42px rgba(15, 38, 81, 0.22);
}

.hero-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-card .card-title {
  font-weight: 700;
  word-break: break-word;
}

.hero-card .card-text {
  color: rgba(255, 255, 255, 0.8);
}

.hero-card .btn-outline-light {
  border-width: 1px;
  font-weight: 600;
  margin-top: auto;
}

.hero-card__topline {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.module-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.module-status--live {
  color: #0a7a45;
  background: rgba(18, 183, 106, 0.18);
  border: 1px solid rgba(18, 183, 106, 0.28);
}

.module-status--beta {
  color: #d8ecff;
  background: rgba(46, 144, 250, 0.2);
  border: 1px solid rgba(46, 144, 250, 0.3);
}

.module-status--soon {
  color: #fff0d1;
  background: rgba(247, 144, 9, 0.18);
  border: 1px solid rgba(247, 144, 9, 0.28);
}

.hero-card--coming-soon {
  opacity: 0.78;
}

.hero-card--coming-soon:hover {
  transform: none;
}

@media (max-width: 991.98px) {
  .hero-title {
    max-width: none;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .homepage-main {
    padding-top: 0;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-start-panel {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .pathway-card p {
    min-height: auto;
  }

  .mobile-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .mobile-scroll-container::-webkit-scrollbar {
    display: none;
  }

  .mobile-scroll-item {
    flex: 0 0 87%;
    max-width: 87%;
    scroll-snap-align: start;
  }
}
