/* ============================================================
   HOMEPAGE.CSS — Homepage-Specific Section Styles
   ============================================================ */

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--space-3xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow-amber {
  width: 800px;
  height: 800px;
  background-color: rgba(241, 158, 31, 0.05);
  /* brand-amber/5 */
  border-radius: 50%;
  filter: blur(64px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__glow-navy {
  width: 600px;
  height: 600px;
  background-color: rgba(17, 29, 53, 0.05);
  /* brand-navy/5 */
  border-radius: 50%;
  filter: blur(64px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-33%, -66%);
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero__trust-bar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.hero__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-amber);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.hero h1 {
  color: var(--brand-navy);
}

.hero h1 .text-brand-amber {
  color: var(--brand-amber);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  padding-top: var(--space-2xl);
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 800px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}




.problem-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: 0px 4px 24px rgba(17, 29, 53, 0.02);
  transition: all var(--transition-smooth);
}

.problem-card:hover {
  box-shadow: 0px 8px 32px rgba(17, 29, 53, 0.06);
  transform: translateY(-4px);
}

.problem-card__icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.problem-card__icon-wrapper--amber {
  background-color: rgba(241, 158, 31, 0.1);
  color: var(--brand-amber);
}

.problem-card__icon-wrapper--navy {
  background-color: rgba(17, 29, 53, 0.05);
  color: var(--brand-navy);
}


/* ─── ABOUT SECTION ─── */
.about-section {
  background-color: var(--brand-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section__skew {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  transform: skewX(12deg) translateX(128px);
  pointer-events: none;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: luminosity;
}

.about__badge {
  position: absolute;
  bottom: -32px;
  left: -32px;
  background-color: var(--brand-amber);
  color: var(--brand-navy);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
  /* Block on md */
}


/* ─── HOW IT WORKS ─── */
.how-it-works-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.hiw-image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hiw-image-block--tall {
  height: 256px;
}

.hiw-image-block--short {
  height: 192px;
}

.hiw-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-step {
  display: flex;
  gap: var(--space-lg);
}

.plan-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(17, 29, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-navy);
  transition: all var(--transition-fast);
}

.plan-step:hover .plan-step__number {
  background-color: var(--brand-navy);
  color: var(--white);
}





/* ─── TRUST SIGNALS ─── */
.trust-section {
  background-color: var(--brand-navy);
  position: relative;
  overflow: hidden;
}

.trust-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(241, 158, 31, 0.05), transparent 50%);
}

.trust-number {
  background-color: rgba(255, 255, 255, 0.05);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-badge-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast);
}

.trust-badge-row:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.trust-badge-row__icon {
  font-size: 24px;
  transition: transform var(--transition-fast);
}

.trust-badge-row:hover .trust-badge-row__icon {
  transform: scale(1.1);
}

/* Mobile Top Spacing Fix for Homepage Section Headers */
@media (max-width: 767px) {
  .section-header {
    margin-top: var(--space-md);
  }
}