:root {
  --ink: #0f172a;
  --muted: #5b6475;
  --surface: #f4f6fb;
  --primary: #2563eb;
  --accent: #38bdf8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: radial-gradient(circle at 15% 15%, rgba(79, 70, 229, 0.14), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(14, 165, 233, 0.12), transparent 42%),
              #eef1fb;
  min-height: 100vh;
  padding: 48px 20px 60px;
  color: var(--ink);
}

.registration-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  background: linear-gradient(135deg, #010d3f, #1e3a8a 65%, #3b82f6);
  border-radius: 28px;
  padding: 32px 36px;
  color: #f8fbff;
  box-shadow: 0 35px 60px rgba(15, 23, 42, 0.3);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-pill {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.hero-content p {
  color: rgba(248, 251, 255, 0.85);
  line-height: 1.6;
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-highlights li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-highlights i {
  font-size: 1.2rem;
  color: #a5f3fc;
}

.hero-highlights span {
  font-weight: 600;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c7d2fe;
}

.hero-card h2 {
  font-size: 1.5rem;
}

.hero-card__stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-card__stats div {
  flex: 1;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card__stats strong {
  display: block;
  font-size: 1.6rem;
}

.error-banner {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.12);
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.plan-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.grid-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.grid-header p {
  color: var(--muted);
  line-height: 1.6;
}

.plans-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.plan-card {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.18);
}

.plan-card__header {
  border-radius: 22px 22px 0 0;
  padding: 18px 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.plan-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.plan-price {
  padding: 22px 22px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-price .prev {
  color: #94a3b8;
  text-decoration: line-through;
}

.plan-price .current {
  font-size: 2rem;
  font-weight: 700;
}

.plan-price .meta {
  color: var(--muted);
}

.plan-details {
  list-style: none;
  padding: 0 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-details li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-details i {
  color: var(--primary);
}

.plan-action {
  margin: 0 22px 22px;
  border: none;
  border-radius: 14px;
  padding: 12px 0;
  background: linear-gradient(135deg, var(--primary), #1e40af);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.plan-action:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.comparison-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.comparison-card header {
  margin-bottom: 18px;
}

.comparison-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.table.table {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.table-icon {
  font-size: 1.2rem;
}

/* Legacy color mapping */
.diamond { background: linear-gradient(135deg, #4b0082, #7c3aed); }
.platinum { background: linear-gradient(135deg, #64748b, #475569); }
.gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
.silver { background: linear-gradient(135deg, #cbd5f5, #94a3b8); }
.bronze { background: linear-gradient(135deg, #cd7f32, #a16207); }
.titanium { background: linear-gradient(135deg, #737373, #404040); }
.ruby { background: linear-gradient(135deg, #e11d48, #be123c); }
.emerald { background: linear-gradient(135deg, #34d399, #059669); }
.sapphire { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.default { background: linear-gradient(135deg, #475569, #1e293b); }

@media (max-width: 768px) {
  body {
    padding: 32px 16px 48px;
  }

  .hero-band {
    padding: 24px;
  }

  .plan-card {
    border-radius: 20px;
  }

  .comparison-card {
    padding: 22px;
  }
}
