*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #0f172a;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 420px;
  width: 100%;
  padding: 0 24px;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
}

.card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.card p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin-bottom: 4px;
}

.price-label {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  text-align: left;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
}

input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 8px;
}

.btn-primary {
  background: #0f172a;
  color: #fff;
}

.btn-primary:hover {
  background: #1e293b;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.error-msg {
  color: #b91c1c;
  font-size: 0.8rem;
  margin-top: 8px;
}

/* App view (after payment) */
.app-view {
  text-align: center;
}

.app-view h1 {
  margin-bottom: 8px;
}

.app-view p {
  margin-bottom: 0;
}

.checkmark {
  font-size: 3rem;
  margin-bottom: 16px;
}

.hidden { display: none; }
