/* EStars brand tokens — extracted from estars.pro (Webflow) */
:root {
  --estars-teal: #03fed5;    /* primary neon accent */
  --estars-magenta: #ff007e; /* secondary accent */
  --estars-navy: #110f3e;    /* deep brand navy */
  --estars-ink: #1a1b1f;     /* near-black background */
  --estars-ink-2: #22232a;   /* raised surfaces */
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Sticky footer: body owns the page column, the content block eats the slack.
   (Previously the footer was absolutely positioned, which forced a fixed body
   margin and made a wrapped, multi-link footer overlap the content on mobile.) */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Roboto, system-ui, sans-serif;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(3, 254, 213, 0.07), transparent),
    radial-gradient(800px 400px at -10% 110%, rgba(255, 0, 126, 0.06), transparent),
    var(--estars-ink);
  background-attachment: fixed;
}

body > .container {
  flex: 1 0 auto;
}

h1, h2, h3 {
  font-family: Oswald, Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* header / footer */
.estars-nav {
  background: var(--estars-navy);
  border-bottom: 2px solid var(--estars-teal);
}

.estars-nav {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.estars-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.estars-help {
  color: var(--estars-teal);
  text-decoration: none;
  font-family: Oswald, Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.estars-help:hover {
  text-decoration: underline;
}

.estars-footer {
  margin-top: auto;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
  border-top: 1px solid var(--estars-ink-2);
}

.estars-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: space-between;
}

.estars-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.estars-footer a {
  color: var(--estars-teal);
  text-decoration: none;
}

.estars-footer a:hover {
  text-decoration: underline;
}

/* bootstrap component re-theme (5.3 CSS vars — no SCSS build needed) */
.btn-primary {
  --bs-btn-bg: var(--estars-teal);
  --bs-btn-border-color: var(--estars-teal);
  --bs-btn-color: var(--estars-navy);
  --bs-btn-hover-bg: #00e0bc;
  --bs-btn-hover-border-color: #00e0bc;
  --bs-btn-hover-color: var(--estars-navy);
  --bs-btn-active-bg: #00c7a7;
  --bs-btn-active-border-color: #00c7a7;
  --bs-btn-active-color: var(--estars-navy);
  --bs-btn-disabled-bg: #1e6f61;
  --bs-btn-disabled-border-color: #1e6f61;
  --bs-btn-disabled-color: var(--estars-ink);
  font-family: Oswald, Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control, .form-select {
  background-color: var(--estars-ink-2);
  border-color: #3a3b44;
}

.form-control:focus, .form-select:focus {
  background-color: var(--estars-ink-2);
  border-color: var(--estars-teal);
  box-shadow: 0 0 0 0.2rem rgba(3, 254, 213, 0.2);
}

.badge.text-bg-warning {
  background-color: var(--estars-magenta) !important;
  color: #fff !important;
}

a {
  color: var(--estars-teal);
}

/* Bootstrap's .spinner-border text-primary is bootstrap blue, not ours. */
.estars-spinner {
  color: var(--estars-teal);
}

/* funnel progress — details → payment → access */
.estars-steps {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  font-family: Oswald, Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.estars-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.55rem;
  border-top: 3px solid #3a3b44;
  color: var(--bs-secondary-color);
}

.estars-step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #3a3b44;
  color: var(--estars-ink);
  font-size: 0.72rem;
}

.estars-step.done,
.estars-step.current {
  border-top-color: var(--estars-teal);
  color: #fff;
}

.estars-step.done .estars-step-num,
.estars-step.current .estars-step-num {
  background: var(--estars-teal);
  color: var(--estars-navy);
}

@media (max-width: 575.98px) {
  .estars-steps {
    font-size: 0.68rem;
    gap: 0.35rem;
  }

  .estars-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* reassurance block above the pay button */
.estars-trust {
  border: 1px solid var(--estars-ink-2);
  border-radius: 0.5rem;
  background: rgba(34, 35, 42, 0.6);
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.estars-trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.estars-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--bs-secondary-color);
}

.estars-trust li + li {
  margin-top: 0.45rem;
}

.estars-trust svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  color: var(--estars-teal);
}

/* numbered "what happens next" list on the success page */
.estars-next {
  list-style: none;
  counter-reset: estars-next;
  padding: 0;
  margin: 0;
  text-align: left;
}

.estars-next li {
  counter-increment: estars-next;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.estars-next li + li {
  margin-top: 0.75rem;
}

.estars-next li::before {
  content: counter(estars-next);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--estars-teal);
  color: var(--estars-navy);
  font-family: Oswald, Roboto, sans-serif;
  font-size: 0.85rem;
}
