/* ── Hero Section ────────────────────────────────── */

.hero {
  position: relative;
  margin: 0 20px 14px;
  min-height: 596px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "content rail"
    "cta     rail"
    ".       rail";
  column-gap: 24px;
  row-gap: 50px;
  padding: 40px 30px;
  background: #eef2ff;
  border-radius: 20px;
  overflow: hidden;
}

/* ── Decor ───────────────────────────────────────── */

.hero .decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: rgba(4, 19, 30, 1);
}

.hero .background {
  position: absolute;
  top: 0;
  right: 0;
  height: 120%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.hero .fog {
  position: absolute;
  inset: 0;
  width: 160%;
  height: 160%;
  max-width: none;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero .curve {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-width: none;
  z-index: 2;
  pointer-events: none;
}

.hero .future {
  position: absolute;
  right: 10%;
  top: 20%;
  width: 187px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* ── Content block ───────────────────────────────── */

.hero .content {
  grid-area: content;
  position: relative;
  z-index: 5;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero .tagBlock {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.hero .tags {
  display: grid;
  grid-template-columns: max-content;
  gap: 10px;
}

.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  border: 1px solid #d6dce0;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.5px;
  color: #002b68;
  white-space: nowrap;
}

.hero .tagDot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #dd0020;
  flex-shrink: 0;
}

.hero .countdownTag {
  display: none;
}

@media (max-width: 1205px) {
  .hero .countdownTag {
    display: inline-flex;
  }
}

.hero .subtitle {
  max-width: 604px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #60666b;
}

/* ── H1 ──────────────────────────────────────────── */

.hero .h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 62px;
  font-weight: 700;
  line-height: 58.9px;
  letter-spacing: -2.5px;
  text-transform: uppercase;
  color: #201e1f;
}

.hero .h1Line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .pillOrange,
.hero .pillBlue {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #fff;
}

.hero .pillOrange {
  background: #dd0020;
  padding: 4px 16px;
}

.hero .pillBlue {
  background: #002b68;
  padding: 2px 14px;
}

.hero .lead {
  max-width: 541px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #60666b;
}

/* ── CTA ─────────────────────────────────────────── */

.hero .cta {
  grid-area: cta;
  position: relative;
  z-index: 5;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btnPrimary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 6px 28px;
  border-radius: 100px;
  background: #201e1f;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.2s;
}

.hero .btnPrimary:hover {
  opacity: 0.88;
}

.hero .btnArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background: #397DE3;
  color: #fff;
  flex-shrink: 0;
}

.hero .btnOutline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border: 2px solid #002B68;
  border-radius: 100px;
  background: transparent;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #002B68;
  transition: border-color 0.2s;
}

/* ── Rail (become + timer) ───────────────────────── */

.hero .rail {
  grid-area: rail;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

/* ── HeroBecome ──────────────────────────────────── */

.become {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  color: #fff;
  user-select: none;
  position: absolute;
  left: 50%;
  top: 50px;
  z-index: 7;
}

.become .words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.become .word {
  padding: 0 8px;
  margin: 0 -8px;
  border-radius: 6px;
  white-space: nowrap;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.become .word.active {
  background: #397de3;
  color: #fff;
  opacity: 1;
}

/* ── CountdownTimer ──────────────────────────────── */

.hero .timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: #2b2b2b;
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 236px;
  z-index: 3;
}

.hero .timerCaption {
  font-family: var(--font-inter, "Inter", sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  color: #fff;
  white-space: nowrap;
}

.hero .timerValues {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  width: 100%;
  justify-content: space-between;
}

.hero .timerSegment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 16px;
}

.hero .timerSegment:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.hero .timerNumber {
  font-family: var(--font-unbounded, "Arial Black", sans-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  color: #dd0020;
  font-variant-numeric: tabular-nums;
}

.hero .timerLabel {
  font-family: var(--font-inter, "Inter", sans-serif);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #2b2b2b;
}

/* ── Adaptive ────────────────────────────────────── */

@media (max-width: 1920px) {
  .hero .fog {
    width: 135%;
    height: 140%;
  }

  .hero .background {
    height: 100%;
  }
}

@media (max-width: 1550px) {
  .hero .fog {
    width: 100%;
    height: 160%;
  }

  .hero .btnOutline {
    color: #fff;
    background: #397DE3;
    border: none;
  }
}

@media (max-width: 1205px) {
  .hero {
    min-height: 540px;
    padding: 36px 28px;
    row-gap: 40px;
  }

  .hero .h1 {
    font-size: 52px;
    line-height: 50px;
    letter-spacing: -2px;
  }

  .hero .content {
    max-width: 560px;
  }

  .hero .timer {
    display: none;
  }

  .become {
    font-size: 20px;
    left: calc(100% - 260px);
    bottom: 63px;
    top: auto;
  }
}

@media (max-width: 885px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "content"
      "rail"
      "cta";
    min-height: 0;
    row-gap: 28px;
    padding: 28px 20px;
  }

  .hero .h1 {
    font-size: 42px;
    line-height: 40px;
    letter-spacing: -1.5px;
  }

  .hero .content {
    max-width: 460px;
  }

  .hero .rail {
    justify-content: flex-start;
    align-items: start;
  }

  .hero .future {
    top: auto;
    bottom: 100px;
    width: 112px;
  }

  .become {
    font-size: 17px;
    gap: 8px;
    position: static;
  }
}

@media (max-width: 720px) {
  .hero .content {
    max-width: none;
  }

  .hero .rail {
    gap: 18px;
    min-height: 0;
  }

  .hero .future {
    top: auto;
    bottom: 150px;
    width: 112px;
  }
}

@media (max-width: 640px) {
  .become {
    font-size: 15px;
  }
}

@media (max-width: 475px) {
  .hero {
    margin: 0 12px 12px;
    padding: 24px 16px;
    row-gap: 24px;
    border-radius: 16px;
  }

  .hero .h1 {
    font-size: 34px;
    line-height: 32px;
    letter-spacing: -1.3px;
  }

  .hero .content {
    gap: 20px;
  }

  .hero .lead br {
    display: none;
  }

  .hero .cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .hero .btnPrimary {
    justify-content: space-between;
  }

  .hero .btnOutline {
    width: 100%;
  }

  .hero .rail {
    gap: 18px;
    min-height: 0;
  }
}
