.early-access-hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 50%, rgb(255 113 31 / 0.14), transparent 28%),
    radial-gradient(circle at 100% 32%, rgb(var(--primary-rgb) / 0.18), transparent 30%),
    linear-gradient(135deg, rgb(10 17 28 / 0.95), rgb(12 22 34 / 0.97));
  border: 1px solid rgb(var(--secondary-rgb) / 0.18);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.04),
    0 20px 54px rgb(0 0 0 / 0.38),
    0 0 48px rgb(var(--primary-rgb) / 0.08);
}

.early-access-hero::before,
.early-access-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}

.early-access-hero::before {
  inset: auto auto 12% -8%;
  width: 220px;
  height: 220px;
  background: rgb(255 129 41 / 0.2);
}

.early-access-hero::after {
  inset: 4% -8% auto auto;
  width: 260px;
  height: 260px;
  background: rgb(var(--primary-rgb) / 0.18);
}

.early-access-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgb(255 255 255 / 0.05), transparent),
    radial-gradient(circle at 20% 18%, rgb(255 255 255 / 0.08), transparent 16%),
    radial-gradient(circle at 76% 64%, rgb(255 255 255 / 0.06), transparent 20%);
  opacity: 0.5;
  pointer-events: none;
}

.early-access-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.early-access-hero__left {
  display: grid;
  gap: 14px;
}

.early-access-hero__eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d7e8f7;
}

.early-access-hero__title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #f7fbff;
}

.early-access-hero__subtitle {
  margin: 0;
  max-width: 760px;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.45;
  color: rgb(233 239 247 / 0.9);
}

.early-access-hero__subtitle [data-beta-price],
.early-access-hero__eyebrow [data-beta-price] {
  color: #ffffff;
}

.early-access-hero__panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.015));
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.03),
    0 0 0 1px rgb(var(--secondary-rgb) / 0.12),
    0 0 26px rgb(var(--primary-rgb) / 0.08);
  backdrop-filter: blur(20px);
}

.early-access-hero__stats {
  display: grid;
  gap: 22px;
}

.early-access-hero__claimed {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  color: #f4d9a0;
  text-shadow: 0 0 18px rgb(255 159 52 / 0.14);
}

.early-access-hero__claimed-copy {
  font-size: clamp(16px, 1.6vw, 22px);
  color: #f3f7fc;
  font-weight: 500;
}

.early-access-hero__progress-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.early-access-hero__progress {
  position: relative;
  height: 28px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgb(0 0 0 / 0.38);
}

.early-access-hero__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      -45deg,
      rgb(255 255 255 / 0.12) 0 12px,
      transparent 12px 24px
    ),
    linear-gradient(
      90deg,
      #41f05e 0%,
      #98ea2a 36%,
      #f4d13f 60%,
      #f98a2d 78%,
      #ff4f45 100%
    );
  box-shadow:
    0 0 18px rgb(var(--primary-rgb) / 0.4),
    inset 0 -1px 6px rgb(0 0 0 / 0.18);
  transition: width 0.95s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
}

.early-access-hero__progress-cap {
  min-width: 48px;
  text-align: right;
  font-size: 22px;
  font-weight: 700;
  color: rgb(236 242 248 / 0.84);
}

.early-access-hero__spots {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgb(var(--secondary-rgb) / 0.26);
  background:
    linear-gradient(180deg, rgb(var(--secondary-rgb) / 0.22), rgb(var(--accent-rgb) / 0.36)),
    radial-gradient(circle at 50% 0%, rgb(var(--primary-rgb) / 0.14), transparent 55%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.04),
    0 0 18px rgb(var(--secondary-rgb) / 0.12);
}

.early-access-hero__spots-number {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #eef5ff;
}

.early-access-hero__spots-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgb(226 236 247 / 0.74);
}

.early-access-hero__trust,
.early-access-hero__warning,
.early-access-hero__card-note,
.early-access-hero__card-standard {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgb(214 223 233 / 0.82);
}

.early-access-hero__actions {
  display: grid;
  gap: 12px;
  align-items: start;
}

.early-access-hero__cta {
  justify-self: start;
  min-width: min(100%, 360px);
  min-height: 58px;
  padding: 15px 24px;
  border-radius: 20px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 0 0 1px rgb(var(--primary-rgb) / 0.36),
    0 0 32px rgb(var(--primary-rgb) / 0.28),
    0 14px 28px rgb(0 0 0 / 0.34);
}

.early-access-hero__closed {
  color: #ffb2aa;
  font-weight: 700;
}

.early-access-hero__card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(19 33 50 / 0.76), rgb(11 18 29 / 0.92));
  border: 1px solid rgb(var(--primary-rgb) / 0.22);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.04),
    0 22px 50px rgb(0 0 0 / 0.28),
    0 0 28px rgb(var(--primary-rgb) / 0.12);
  backdrop-filter: blur(16px);
}

.early-access-hero__card-glow {
  position: absolute;
  inset: -10% -20% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--primary-rgb) / 0.24), transparent 68%);
  pointer-events: none;
}

.early-access-hero__card-price {
  position: relative;
  margin: 0;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #d7f7b6;
  text-shadow: 0 0 22px rgb(var(--primary-rgb) / 0.18);
}

.early-access-hero__card-price-suffix {
  font-size: 0.52em;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.early-access-hero__badge {
  display: inline-flex;
  justify-self: start;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(var(--primary-rgb) / 0.82), rgb(var(--secondary-rgb) / 0.82));
  color: #f7fbff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgb(var(--secondary-rgb) / 0.18);
}

.early-access-hero__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.early-access-hero__benefits li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.5;
  color: #f5f8fc;
}

.early-access-hero__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #7cff8f;
}

.early-access-hero__open-state {
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgb(var(--primary-rgb) / 0.24);
  background: linear-gradient(180deg, rgb(var(--primary-rgb) / 0.12), rgb(var(--primary-rgb) / 0.06));
}

.early-access-hero__open-label {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 800;
  color: #b9ff93;
}

.early-access-hero__open-copy {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

.early-access-hero__unavailable {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03));
}

.early-access-hero__unavailable-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #f7fbff;
}

.early-access-hero__unavailable-copy {
  margin: 0;
  font-size: 16px;
  color: rgb(233 239 247 / 0.82);
}

.early-access-hero__card-price-unavailable {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.early-access-hero__dialog-card {
  min-width: min(100%, 420px);
  gap: 14px;
}

.early-access-hero__dialog-card label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
}

.early-access-hero__dialog-submit {
  min-width: 0;
  min-height: 48px;
  font-size: 16px;
  animation: none;
}

.early-access-hero__dialog-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.early-access-hero[data-state='full'] .early-access-hero__cta {
  box-shadow:
    0 0 0 1px rgb(var(--warning-rgb) / 0.36),
    0 0 28px rgb(var(--warning-rgb) / 0.24),
    0 14px 28px rgb(0 0 0 / 0.34);
}

.early-access-hero[data-urgent='true'] .early-access-hero__spots {
  border-color: rgb(var(--danger-rgb) / 0.42);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.04),
    0 0 30px rgb(var(--danger-rgb) / 0.24);
}

.early-access-hero[data-urgent='true'] .early-access-hero__spots-number,
.early-access-hero[data-urgent='true'] .early-access-hero__spots-label {
  color: #ffd4cf;
  text-shadow: 0 0 26px rgb(var(--danger-rgb) / 0.22);
}

.early-access-hero[data-urgent='true'] .early-access-hero__cta {
  animation-duration: 1.8s;
  box-shadow:
    0 0 0 1px rgb(var(--primary-rgb) / 0.42),
    0 0 42px rgb(var(--primary-rgb) / 0.38),
    0 16px 32px rgb(0 0 0 / 0.36);
}

.early-access-hero[data-state='unlimited'] [data-scarcity-group] {
  display: none;
}

.early-access-hero[data-state='unlimited'] #earlyAccessHeroOpenState {
  display: block !important;
}

.early-access-hero[data-state='unavailable'] [data-scarcity-group],
.early-access-hero[data-state='error'] [data-scarcity-group],
.early-access-hero[data-state='unavailable'] #earlyAccessHeroOpenState,
.early-access-hero[data-state='error'] #earlyAccessHeroOpenState {
  display: none;
}

.early-access-hero[data-state='unavailable'] #earlyAccessHeroUnavailable,
.early-access-hero[data-state='error'] #earlyAccessHeroUnavailable {
  display: grid !important;
}

.early-access-hero[data-state='full'] .early-access-hero__spots {
  background:
    linear-gradient(180deg, rgb(85 16 22 / 0.42), rgb(42 10 16 / 0.5)),
    radial-gradient(circle at 50% 0%, rgb(var(--danger-rgb) / 0.22), transparent 58%);
}

@keyframes early-access-hero-pulse {
  0%,
  100% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-1px);
    filter: saturate(1.06);
  }
}

@media (max-width: 1100px) {
  .early-access-hero__content {
    grid-template-columns: 1fr;
  }

  .early-access-hero__card {
    max-width: 540px;
  }
}

@media (max-width: 767px) {
  .early-access-hero {
    padding: 22px 18px;
    border-radius: 26px;
    box-shadow: 0 18px 50px rgb(0 0 0 / 0.3);
  }

  .early-access-hero::before,
  .early-access-hero::after,
  .early-access-hero__card-glow {
    display: none;
  }

  .early-access-hero__panel,
  .early-access-hero__card {
    padding: 18px;
    border-radius: 22px;
  }

  .early-access-hero__claimed {
    font-size: 34px;
  }

  .early-access-hero__claimed-copy {
    font-size: 21px;
  }

  .early-access-hero__progress {
    height: 26px;
  }

  .early-access-hero__progress-wrap {
    grid-template-columns: 1fr;
  }

  .early-access-hero__spots-number {
    font-size: 44px;
  }

  .early-access-hero__spots-label {
    font-size: 24px;
  }

  .early-access-hero__cta {
    width: 100%;
    justify-self: stretch;
    min-height: 58px;
    font-size: 22px;
  }

  .early-access-hero__trust,
  .early-access-hero__warning,
  .early-access-hero__card-note,
  .early-access-hero__card-standard,
  .early-access-hero__benefits li,
  .early-access-hero__open-copy,
  .early-access-hero__unavailable-copy {
    font-size: 16px;
  }
}

[data-theme='light'] .early-access-hero,
:root:not([data-theme='dark']) .early-access-hero {
  box-shadow:
    0 0 0 1px rgb(18 24 40 / 0.05),
    0 24px 54px rgb(12 19 32 / 0.18),
    0 0 58px rgb(var(--primary-rgb) / 0.08);
}

[data-theme='light'] .early-access-hero__eyebrow,
:root:not([data-theme='dark']) .early-access-hero__eyebrow {
  color: #ffd88b;
}

[data-theme='light'] .early-access-hero__title,
[data-theme='light'] .early-access-hero__subtitle,
[data-theme='light'] .early-access-hero__claimed-copy,
[data-theme='light'] .early-access-hero__progress-cap,
[data-theme='light'] .early-access-hero__trust,
[data-theme='light'] .early-access-hero__warning,
[data-theme='light'] .early-access-hero__card-standard,
[data-theme='light'] .early-access-hero__card-note,
[data-theme='light'] .early-access-hero__benefits li,
:root:not([data-theme='dark']) .early-access-hero__title,
:root:not([data-theme='dark']) .early-access-hero__subtitle,
:root:not([data-theme='dark']) .early-access-hero__claimed-copy,
:root:not([data-theme='dark']) .early-access-hero__progress-cap,
:root:not([data-theme='dark']) .early-access-hero__trust,
:root:not([data-theme='dark']) .early-access-hero__warning,
:root:not([data-theme='dark']) .early-access-hero__card-standard,
:root:not([data-theme='dark']) .early-access-hero__card-note,
:root:not([data-theme='dark']) .early-access-hero__benefits li {
  color: #eef5fb;
}

[data-theme='light'] .early-access-hero__card,
:root:not([data-theme='dark']) .early-access-hero__card {
  background: linear-gradient(180deg, rgb(15 31 49 / 0.84), rgb(10 18 29 / 0.94));
}
