/* ═══════════════════════════════════════════════════════════
   HUMAN UPGRADE — ONBOARDING  |  styles.css
   Fonts: JetBrains Mono, Cormorant Garamond, Inter, Playfair Display
════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --midnight:    #0a2540;
  --obsidian:    #050a10;
  --red:         #e63615;
  --red-dim:     rgba(230, 54, 21, 0.1);
  --red-border:  rgba(230, 54, 21, 0.3);
  --gold:        #c5a059;
  --gold-border: rgba(197, 160, 89, 0.2);
  --cream:       #fff9e5;
  --surface:     #f8f8f5;
  --dark-surface:#0f1d2f;
  --text-mid:    rgba(10, 37, 64, 0.75);
  --text-dim:    rgba(10, 37, 64, 0.65);
  --text-faint:  rgba(10, 37, 64, 0.40);

  --mono:  'JetBrains Mono', monospace;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --disp:  'Bricolage Grotesque', 'Playfair Display', sans-serif;

  --radius: 14px;
  --shadow-card: 0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.10);
}

/* ── Language toggle ────────────────────────────────────────── */
.lang-toggle {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 37, 64, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 14px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255,249,229,0.45);
  padding: 0;
  transition: color .2s;
}
.lang-btn--active {
  color: rgba(255,249,229,1);
}
.lang-btn:hover { color: rgba(255,249,229,0.85); }
.lang-divider {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,249,229,0.2);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--surface);
  color: var(--midnight);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; }

/* ── Colour helpers ─────────────────────────────────────────── */
.c-red  { color: var(--red);  }
.c-gold { color: var(--gold); }


/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 752px;
  background: var(--midnight);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-background-2.png');
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 1;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    114deg,
    rgba(5,10,16,.97) 14%,
    rgba(5,10,16,.88) 41%,
    rgba(5,10,16,.45) 61%,
    rgba(5,10,16,.15) 86%
  );
}

/* .hero__bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('images/overlay.png');
  background-size: cover;
  background-position: center top;
  mix-blend-mode: screen;
  pointer-events: none;
} */

.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  left: 50%;
  top: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    circle at center,
    rgba(230,54,21,.20) 0%,
    rgba(197,160,89,.10) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 80px 32px 60px;
  width: 100%;
  max-width: 1063px;
}

/* Logo */
.hero__logo { position: relative; width: 80px; height: 80px; }
.logo__frame { position: relative; width: 80px; height: 80px; }
.logo__bg,
.logo__fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Badge */
.hero__badge {
  border: 1px solid var(--red-border);
  background: var(--red-dim);
  border-radius: 9999px;
  padding: 9px 21px;
}
.hero__badge span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
}

/* Heading */
.hero__heading {
  text-align: center;
  line-height: 1;
  width: 100%;
}
.hero__heading-line1 {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -2px;
  color: var(--cream);
  line-height: 1.2;
  white-space: nowrap;
}
.hero__heading-line2 {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.2;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #fff9e5 0%,
    #e2cd9f 14%,
    #d4b67c 21%,
    #c5a059 27%,
    #d66b37 43%,
    #de5126 51%,
    #e63615 59%,
    #af3220 69%,
    #782e2b 80%,
    #5d2b30 85%,
    #412935 90%,
    #26273b 95%,
    #0a2540 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,249,229,.85);
  text-align: center;
  max-width: 640px;
}

/* Scroll cue */
.hero__scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 32px;
  align-self: center;
  width: 100%;
}
.hero__scroll-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--red);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--red) 0%, transparent 100%);
}


/* ════════════════════════════════════════════════════════════
   PAGE WRAP
════════════════════════════════════════════════════════════ */
.page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 80px;
  background: var(--surface);
}

#onboarding-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}


/* ════════════════════════════════════════════════════════════
   SECTION HEADERS (shared)
════════════════════════════════════════════════════════════ */
.sec-header {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}

.sec-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--red-border);
  background: var(--red-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sec-num span {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  line-height: 1;
}

.sec-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -0.84px;
  color: var(--midnight);
  line-height: 1;
  margin-bottom: 16px;
}

.sec-sub {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.56;
}


/* ════════════════════════════════════════════════════════════
   FORM CARD  (Section 01 — white card)
════════════════════════════════════════════════════════════ */
.form-card {
  background: #fff;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 49px;
  width: 100%;
  max-width: 832px;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════
   FORM SECTION  (02, 03 — no card background)
════════════════════════════════════════════════════════════ */
.form-section {
  width: 100%;
  max-width: 832px;
  padding: 32px;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════════
   FIELDS
════════════════════════════════════════════════════════════ */
.fields { display: flex; flex-direction: column; gap: 32px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field-row--full { grid-template-columns: 1fr; }

.field-group { display: flex; flex-direction: column; }
.field-group--full { grid-column: 1 / -1; }

.f-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 8px;
}
.f-label--opt { color: var(--text-dim); }

.f-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,37,64,.20);
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--midnight);
  outline: none;
  transition: border-color .2s;
}
.f-input::placeholder { color: var(--text-mid); }
.f-input:focus { border-bottom-color: var(--red); }
.f-input.is-invalid { border-bottom-color: var(--red); }

.f-error {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.3px;
  margin-top: 4px;
  min-height: 14px;
  display: block;
}


/* ════════════════════════════════════════════════════════════
   CHECKBOXES
════════════════════════════════════════════════════════════ */
.check-row { display: flex; flex-direction: column; gap: 4px; }

.check-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.check-input { display: none; }

.check-box {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.check-mark {
  font-size: 11px;
  color: #22c55e;
  line-height: 1;
  opacity: 0;
  transition: opacity .15s;
}
.check-input:checked + .check-box .check-mark { opacity: 1; }
.check-input:checked + .check-box { background: rgba(34,197,94,.25); border-color: #22c55e; }

.check-text {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.5;
  font-weight: 900 !important;
  text-transform: uppercase;
}

/* disabled ring options when own-wearable is checked */
.ring-grid.is-disabled .ring-card {
  opacity: .4;
  pointer-events: none;
}


/* ════════════════════════════════════════════════════════════
   PAYMENT CARDS
════════════════════════════════════════════════════════════ */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.pay-radio { display: none; }

.pay-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 32px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  min-height: 184px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pay-card:hover {
  border-color: rgba(230,54,21,.4);
}
.pay-card--active {
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(230,54,21,.20);
}

.pay-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.pay-card__badge img { width: 16px; height: 16px; }
.pay-card--active .pay-card__badge { opacity: 1; }

.pay-card__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.56px;
  color: var(--midnight);
  line-height: 1;
}
.pay-card__desc {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.63;
  color: var(--text-mid);
}


/* ════════════════════════════════════════════════════════════
   RING CARDS
════════════════════════════════════════════════════════════ */
.ring-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 37px 40px;
  margin-bottom: 32px;
  transition: opacity .2s;
}

.ring-radio { display: none; }

.ring-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 13px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 178px;
  transition: border-color .2s, box-shadow .2s;
}
.ring-card:hover { border-color: rgba(230,54,21,.4); }
.ring-card--active {
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(230,54,21,.20);
}

.ring-card__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.ring-card__badge img { width: 12px; height: 12px; }
.ring-card--active .ring-card__badge { opacity: 1; }

.ring-card__img-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  padding: 1px;
}
.ring-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ring-card__name {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--gold);
}


/* ════════════════════════════════════════════════════════════
   SUBMIT BUTTON
════════════════════════════════════════════════════════════ */
.submit-wrap {
  width: 100%;
  max-width: 832px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
}

.btn-submit {
  width: 100%;
  height: 68px;
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(230,54,21,.30);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity .2s, transform .1s;
  position: relative;
}
.btn-submit:hover  { opacity: .92; }
.btn-submit:active { transform: scale(.99); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.btn-submit__text {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
}
.btn-submit__icon {
  width: 20px;
  height: 20px;
}

/* Loading spinner overlay */
.btn-submit.is-loading .btn-submit__text::after {
  content: '...';
  animation: dots 1s infinite;
}
@keyframes dots {
  0%  { content: '.';   }
  33% { content: '..';  }
  66% { content: '...'; }
}

/* Form notice */
.form-notice {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-align: center;
  min-height: 18px;
}
.form-notice.success { color: #1a7a3c; }
.form-notice.error   { color: var(--red); }


/* ════════════════════════════════════════════════════════════
   WHAT HAPPENS NEXT
════════════════════════════════════════════════════════════ */
.next-steps {
  background: var(--dark-surface);
  border-top: 1px solid var(--gold-border);
  padding: 80px 24px;
}

.next-steps__inner {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.next-steps__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.next-steps__title {
  font-family: var(--disp);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.12px;
  color: var(--cream);
  text-align: center;
  line-height: 1;
}

.next-steps__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,249,229,.65);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.step-card {
  background: rgba(255,249,229,.05);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  min-height: 250px;
}

.step-card--wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.step-card__num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--red);
  line-height: 1.5;
}

.step-card__title {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.56px;
  color: var(--gold);
  line-height: 1;
}

.step-card__desc {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.625;
  color: rgba(255,249,229,.75);
  flex: 1;
}

.step-card__bar {
  width: 32px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════
   TEAM SECTION
════════════════════════════════════════════════════════════ */
.team-section {
  background: #f8f6f5;
  padding: 80px 24px;
}

.team-card {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card__photo-wrap {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card__photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(255,255,255,.14) 57%,
    rgba(255,255,255,.57) 71%,
    rgba(255,255,255,.86) 86%,
    #fff 100%
  );
}

.team-card__body {
  padding: 49px 48px 60px;
  position: relative;
}

.team-card__badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 26px;
}

.team-card__title {
  font-family: var(--disp);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.84px;
  color: var(--midnight);
  line-height: 1;
  margin-bottom: 24px;
}

.team-card__text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.625;
  color: var(--text-mid);
  max-width: 756px;
}


/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background: #f8f6f5;
  border-top: 1px solid var(--gold-border);
  padding: 33px 32px;
  text-align: center;
}
.site-footer p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-faint);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero__bg-photo {
    background-size: cover;
    background-position: 70% top;
  }
  .hero__bg-overlay {
    background-size: cover;
    background-position: 70% top;
  }
  .hero__bg-gradient {
    background: linear-gradient(
      180deg,
      rgba(5,10,16,0.00)  0%,
      rgba(5,10,16,0.85) 55%,
      rgba(5,10,16,1.00) 75%
    ),
    linear-gradient(
      90deg,
      rgba(5,10,16,0.60) 0%,
      rgba(5,10,16,0.00) 60%
    );
  }

  .form-card  { padding: 32px 24px; }
  .form-section { padding: 24px 16px; }

  .field-row  { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card--wide { grid-column: 1; }

  .hero__heading-line1,
  .hero__heading-line2 { font-size: 52px; }

  .ring-grid { gap: 24px; }
  .ring-card { width: 160px; }
}

@media (max-width: 480px) {
  .hero__heading-line1,
  .hero__heading-line2 { font-size: 40px; }

  .sec-title { font-size: 28px; }
  .pay-card__name,
  .team-card__title { font-size: 26px; }

  .ring-card { width: calc(50% - 12px); }
}

.neg-header{
  margin-top: -50px !important;
}