/* HaitiNex Homepage CSS */
.hnx-home {
  color: #fff;
  background: var(--hnx-navy-950);
  font-family: var(--hnx-font-body);
  overflow: hidden;
}

.hnx-home a {
  text-decoration: none;
}

.hnx-home-hero {
  position: relative;
  min-height: clamp(720px, 86vh, 920px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--hnx-navy-950);
}

.hnx-home-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 15, 0.95) 0%, rgba(2, 7, 15, 0.82) 37%, rgba(2, 7, 15, 0.25) 75%, rgba(2, 7, 15, 0.96) 100%),
    linear-gradient(180deg, rgba(2, 7, 15, 0.1), rgba(2, 7, 15, 0.95)),
    url('../assets/haitinex-global-network.png') center/cover no-repeat;
  transform: scale(1.02);
}

.hnx-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 36%, rgba(212, 175, 55, 0.24), transparent 32rem),
    radial-gradient(circle at 8% 12%, rgba(11, 95, 255, 0.25), transparent 34rem);
  pointer-events: none;
}

.hnx-home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 70px 0;
}

.hnx-home-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(52px, 8vw, 112px);
  text-transform: uppercase;
}

.hnx-home-hero h1 span {
  color: var(--hnx-gold-400);
  text-shadow: 0 0 26px rgba(212, 175, 55, 0.32);
}

.hnx-home-hero__lead {
  max-width: 720px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
}

.hnx-home-hero__copy {
  max-width: 660px;
  margin: 0;
  color: var(--hnx-muted);
  font-size: 16px;
}

.hnx-home-hero__actions,
.hnx-home-founders__actions,
.hnx-home-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hnx-home-hero__seal {
  display: grid;
  justify-items: center;
}

.hnx-glow-seal {
  width: min(500px, 86vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 3px solid var(--hnx-gold-500);
  border-radius: 42px;
  color: var(--hnx-gold-400);
  background: radial-gradient(circle at 50% 16%, rgba(22, 80, 164, 0.72), rgba(4, 14, 30, 0.96) 62%);
  box-shadow: 0 0 110px rgba(212, 175, 55, 0.28), inset 0 0 60px rgba(212, 175, 55, 0.2);
  transform: rotate(45deg);
}

.hnx-glow-seal > * {
  transform: rotate(-45deg);
}

.hnx-glow-seal span {
  font-family: var(--hnx-font-head);
  font-size: 76px;
  font-weight: 900;
}

.hnx-glow-seal strong {
  font-family: var(--hnx-font-head);
  font-size: 42px;
  letter-spacing: 0.06em;
}

.hnx-glow-seal small,
.hnx-glow-seal em {
  color: #fff;
  font-style: normal;
  text-align: center;
}

.hnx-impact-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--hnx-line);
  border-bottom: 1px solid var(--hnx-line);
  background: linear-gradient(90deg, rgba(7, 26, 61, 0.94), rgba(2, 7, 15, 0.98));
}

.hnx-impact-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hnx-impact-strip article {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 20px;
  text-align: center;
  border-left: 1px solid rgba(212, 175, 55, 0.18);
}

.hnx-impact-strip article:last-child {
  border-right: 1px solid rgba(212, 175, 55, 0.18);
}

.hnx-impact-strip strong {
  color: var(--hnx-gold-400);
  font-family: var(--hnx-font-head);
  font-size: clamp(30px, 4vw, 52px);
}

.hnx-impact-strip span {
  color: var(--hnx-muted);
  font-size: 13px;
}

.hnx-home-ecosystem {
  background: radial-gradient(circle at 50% 0%, rgba(11, 95, 255, 0.12), transparent 44rem);
}

.hnx-home-why {
  border-top: 1px solid rgba(212,175,55,0.18);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  background: linear-gradient(90deg, rgba(11,95,255,0.08), rgba(212,175,55,0.08), rgba(11,95,255,0.08));
}

.hnx-home-why__grid,
.hnx-home-spotlight__grid,
.hnx-home-feature-row__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hnx-home-why__seal {
  width: min(340px, 90vw);
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  margin: auto;
  border: 3px solid var(--hnx-gold-500);
  border-radius: 50%;
  color: var(--hnx-gold-400);
  background: radial-gradient(circle, #0b2e70, #020812 68%);
  box-shadow: 0 0 90px rgba(212,175,55,0.25), inset 0 0 54px rgba(212,175,55,0.2);
  font-family: var(--hnx-font-head);
  font-size: 82px;
  font-weight: 900;
}

.hnx-home-why p,
.hnx-home-spotlight p,
.hnx-home-mini-panel p,
.hnx-media-card p,
.hnx-home-founders p,
.hnx-home-final-cta p,
.hnx-section-heading p {
  color: var(--hnx-muted);
}

.hnx-home-spotlight__image,
.hnx-home-mini-panel__image {
  min-height: 430px;
  border: 1px solid var(--hnx-line);
  border-radius: var(--hnx-radius);
  box-shadow: var(--hnx-shadow);
}

.hnx-home-spotlight__image--community {
  background: linear-gradient(180deg, rgba(2,8,18,0.08), rgba(2,8,18,0.72)), url('../assets/haitinex-community-mockup.png') center/cover no-repeat;
}

.hnx-home-feature-row__grid {
  grid-template-columns: 1fr 1fr;
}

.hnx-home-mini-panel {
  padding: 24px;
}

.hnx-home-mini-panel__image {
  min-height: 250px;
  margin-bottom: 24px;
}

.hnx-home-mini-panel__image--academy {
  background: linear-gradient(180deg, rgba(2,8,18,0.05), rgba(2,8,18,0.72)), url('../assets/haitinex-academy-mockup.png') center/cover no-repeat;
}

.hnx-home-mini-panel__image--marketplace {
  background: linear-gradient(180deg, rgba(2,8,18,0.05), rgba(2,8,18,0.72)), url('../assets/haitinex-marketplace-mockup.png') center/cover no-repeat;
}

.hnx-home-opportunities {
  background: radial-gradient(circle at 70% 30%, rgba(212,175,55,0.13), transparent 36rem);
}

.hnx-home-opportunities__grid,
.hnx-home-media__grid,
.hnx-home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hnx-listing-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  gap: 14px;
}

.hnx-listing-card span {
  font-size: 34px;
}

.hnx-home-media {
  background: linear-gradient(180deg, rgba(2,8,18,0.45), rgba(7,26,61,0.55));
}

.hnx-media-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.hnx-home-founders__inner,
.hnx-home-final-cta__inner {
  border: 1px solid rgba(255,216,91,0.56);
  border-radius: 28px;
  padding: clamp(36px, 7vw, 78px);
  text-align: center;
  background: linear-gradient(135deg, rgba(7,26,61,0.92), rgba(113,20,18,0.55)), radial-gradient(circle at 50% 0%, rgba(212,175,55,0.18), transparent 46%);
  box-shadow: var(--hnx-shadow);
}

.hnx-home-founders p,
.hnx-home-final-cta p {
  max-width: 820px;
  margin-inline: auto;
}

.hnx-home-founders__actions,
.hnx-home-final-cta__actions {
  justify-content: center;
}

.hnx-quote-card {
  margin: 0;
  padding: 30px;
  color: #eef4ff;
  line-height: 1.65;
}

.hnx-quote-card cite {
  display: block;
  margin-top: 18px;
  color: var(--hnx-gold-400);
  font-style: normal;
  font-weight: 900;
}

.hnx-home-newsletter {
  max-width: 850px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
}

@media (max-width: 1100px) {
  .hnx-home-hero__grid,
  .hnx-home-why__grid,
  .hnx-home-spotlight__grid,
  .hnx-home-feature-row__grid { grid-template-columns: 1fr; }
  .hnx-home-hero__seal { order: -1; transform: scale(0.82); }
  .hnx-home-opportunities__grid,
  .hnx-home-media__grid,
  .hnx-home-testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hnx-home-hero { min-height: auto; }
  .hnx-home-hero__grid { padding: 54px 0; }
  .hnx-home-hero h1 { font-size: clamp(42px, 14vw, 68px); }
  .hnx-home-hero__seal { display: none; }
  .hnx-impact-strip__grid,
  .hnx-home-opportunities__grid,
  .hnx-home-media__grid,
  .hnx-home-testimonials__grid,
  .hnx-home-newsletter { grid-template-columns: 1fr; }
  .hnx-impact-strip article { border-left: 0; border-bottom: 1px solid rgba(212,175,55,0.18); }
  .hnx-impact-strip article:last-child { border-right: 0; border-bottom: 0; }
  .hnx-home-spotlight__image,
  .hnx-home-mini-panel__image { min-height: 260px; }
}
