/* =========================================================
   hero.css
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 2rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 13, 10, 0.78) 0%,
    rgba(16, 13, 10, 0.62) 40%,
    rgba(16, 13, 10, 0.85) 100%
  );
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

/* ---- Header row (brand + nav) ---- */

.hero__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 0 6rem;
}

.hero__header .brand {
  justify-self: start;
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-self: center;
}

.hero__nav a {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.hero__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--think);
  transition: width 0.25s ease, left 0.25s ease;
}

.hero__nav a:hover {
  color: var(--cream);
}

.hero__nav a:hover::after {
  width: 100%;
  left: 0;
}

.hero__header-spacer {
  /* Reserves the right column so the fixed Reserve pill doesn't overlap nav */
  justify-self: end;
  width: 0;
}

/* ---- Floating top-right CTA pill ---- */

.hero__float-cta {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 100px;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease, background 0.2s ease;
}

.hero__float-cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* ---- Layout ---- */

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: start;
}

.hero__copy {
  max-width: 640px;
}

/* ---- Traffic-light pill ---- */

.tl-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.05rem;
  background: rgba(16, 13, 10, 0.55);
  border: 1px solid var(--cream-line);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}

.tl-pill__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tl-pill__item .dot {
  width: 8px;
  height: 8px;
  box-shadow: none;
}

.tl-pill__sep {
  color: var(--cream-dim);
  padding: 0 0.15rem;
}

/* ---- Headline & sub ---- */

.hero__headline {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.hero__headline em {
  font-style: italic;
  font-weight: 400;
}

.hero__sub {
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.005em;
  color: var(--cream-dim);
  max-width: 520px;
  margin: 0 0 1.75rem;
}

/* ---- Form card ---- */

.form-card {
  background: rgba(16, 13, 10, 0.75);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  max-width: 460px;
  justify-self: end;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-card__head {
  margin-bottom: 1rem;
}

.form-card__title {
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0;
}

.form-card__sub {
  color: var(--cream-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.35rem 0 0;
}

/* ---- Price row ---- */

.price-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-line);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.price__old {
  color: var(--cream-dim);
  text-decoration: line-through;
  font-size: 1rem;
}

.price__new {
  font-size: 2rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-row .tag {
  margin-left: auto;
}

.price-note {
  color: var(--cream-dim);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem;
}

/* ---- Webinar info cards (2x2 grid with icons — bold prominent style) ---- */

.webinar-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 2rem 0 1rem;
  max-width: 520px;
}

.webinar-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #1a140d 0%, #241a10 100%);
  border: 1.5px solid rgba(214, 154, 62, 0.55);
  border-radius: 10px;
  box-shadow:
    0 10px 24px -12px rgba(0, 0, 0, 0.55),
    0 0 40px -24px rgba(214, 154, 62, 0.4);
}

.webinar-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(214, 154, 62, 0.18);
  color: var(--think);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(214, 154, 62, 0.3);
}

.webinar-card__icon svg {
  width: 20px;
  height: 20px;
}

.webinar-card__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.webinar-card__lbl {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--think);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.webinar-card__val {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.15;
}

.webinar-card__val em {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

/* ---- Slim single-line countdown ---- */

.countdown--big {
  display: block;
  padding: 1.15rem 1.35rem 1.25rem;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, #1a140d 0%, #241a10 100%);
  border: 1.5px solid rgba(214, 154, 62, 0.55);
  border-radius: 10px;
  max-width: 520px;
  box-shadow:
    0 12px 30px -12px rgba(0, 0, 0, 0.6),
    0 0 60px -28px rgba(214, 154, 62, 0.5);
}

.countdown__label {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--think);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.countdown__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.countdown__unit b {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.countdown__unit span {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 400;
}

.countdown__sep {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--think);
  opacity: 0.5;
  line-height: 1;
  transform: translateY(-6px);
  font-weight: 400;
}

.countdown__unit:last-child b {
  animation: pulseSec 1s ease-in-out infinite;
}

@keyframes pulseSec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.countdown__msg {
  display: block;
  width: 100%;
  padding: 0.85rem 0.5rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--go);
  letter-spacing: 0.01em;
}

.countdown__msg--ended {
  color: var(--cream-dim);
}

/* ---- Required marker on labels ---- */

.field__lbl .req {
  color: var(--think);
  margin-left: 2px;
}

/* ---- Footer of form ---- */

.form-card__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--cream-dim);
  text-align: center;
}

.form-card__foot .lock {
  width: 14px;
  height: 14px;
  color: var(--cream-dim);
  flex-shrink: 0;
}

/* ---- Payment error message ---- */

.reg-form__error {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: rgba(220, 60, 60, 0.12);
  border: 1px solid rgba(220, 60, 60, 0.45);
  color: #ffb4b4;
  font-size: 0.85rem;
  text-align: center;
}

/* ---- Success state ---- */

.reg-success {
  text-align: center;
  padding: 1rem 0;
}

.reg-success__mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--go-bg);
  color: var(--go);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}

.reg-success h3 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.reg-success p {
  color: var(--cream-dim);
  margin: 0;
  font-size: 0.95rem;
}
