:root {
  --bg: #f3f6fb;
  --ink: #121b2f;
  --ink-soft: #495673;
  --brand: #ff8f1f;
  --brand-dark: #d66f0a;
  --card: #ffffff;
  --line: #dfe6f4;
  --ok: #198754;
  --shadow: 0 18px 45px rgba(18, 27, 47, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, #ffe1bf 0%, rgba(255, 225, 191, 0) 40%),
    radial-gradient(circle at 0% 70%, #d6ecff 0%, rgba(214, 236, 255, 0) 35%),
    var(--bg);
  position: relative;
  overflow-x: hidden;
}

.orb {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.45;
}

.orb-1 {
  width: 320px;
  height: 320px;
  right: -120px;
  top: -120px;
  background: #ffcc93;
}

.orb-2 {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -120px;
  background: #9ed4ff;
}

.beta-app {
  width: min(980px, calc(100% - 2rem));
  margin: 1.2rem auto 2rem;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.beta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1d2440;
  border-radius: 18px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.badge {
  font-size: 0.82rem;
  color: #c9d3f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.36rem 0.65rem;
  border-radius: 999px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 1.2rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-dark);
}

.hero h1 {
  margin: 0.45rem 0 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
}

.subtitle {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  max-width: 54ch;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  padding: 0.72rem 1rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff9a2f, #ff7b00);
  color: #1d2440;
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.35);
}

.btn-ghost {
  background: #eef3fd;
  color: #1d2440;
  border: 1px solid #d7e2f6;
}

.progress {
  padding: 1rem 1.1rem;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-weight: 700;
}

.progress-top p {
  margin: 0;
}

#nextStep {
  color: var(--ink-soft);
}

.track {
  margin-top: 0.7rem;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #e7edf9;
  overflow: hidden;
}

.fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff9a2f, #ff7b00);
  transition: width 0.22s ease;
}

.feedback {
  margin-top: 0.85rem;
  background: #ecf9f1;
  border: 1px solid #bee8ce;
  color: #0f6f42;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.feedback p {
  margin: 0;
  font-weight: 700;
}

.feedback p + p {
  margin-top: 0.2rem;
  font-weight: 600;
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.step {
  padding: 1rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.step.is-active {
  border-color: #ffca91;
  transform: translateY(-1px);
}

.step.is-complete {
  border-color: #89d5ac;
  background: linear-gradient(180deg, #ffffff, #f7fdf9);
}

.step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.step-index {
  font-weight: 800;
  font-family: 'Sora', sans-serif;
}

.status {
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: #eef3fd;
  border: 1px solid #d7e2f6;
  border-radius: 999px;
  padding: 0.23rem 0.6rem;
}

.step h2 {
  margin: 0.5rem 0 0;
  font-size: 1.24rem;
  font-family: 'Sora', sans-serif;
}

.step p {
  margin: 0.48rem 0 0;
  color: var(--ink-soft);
}

.step-note {
  background: #fff7ea;
  border: 1px solid #ffd7a8;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  color: #6a4408;
}

.step-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .beta-app {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
  }

  .beta-header,
  .hero,
  .progress,
  .step {
    border-radius: 16px;
  }

  .hero-actions,
  .step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
