* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
.container {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  justify-content: center;
}
h1 { font-size: 2.25rem; font-weight: 300; text-align: center; margin-bottom: 12px; }
.subtitle { color: #a3a3a3; text-align: center; margin-bottom: 32px; }
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1d1d1d;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: #fff;
}
.plan.selected { border-color: #fff; }
.plan-title { font-weight: 500; }
.plan-sub { color: #a3a3a3; font-size: 0.875rem; margin-top: 4px; }
.link {
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  display: block;
  margin: 16px auto 24px;
  font-size: 0.875rem;
}
.btn-primary {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: none;
  background: rgb(113, 184, 250);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
}
.btn-primary:disabled { opacity: 0.6; cursor: wait; }
.btn-secondary {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #444;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.error { color: #ff6b6b; text-align: center; margin: 12px 0; min-height: 1.2em; }
.input {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  padding: 0 14px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #1d1d1d;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 360px;
}
.modal h2 { font-size: 1.25rem; margin-bottom: 16px; text-align: center; }
