/* ── Reset & Base ── */
*, *::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;
}

/* ── Layout ── */
.container   { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.page        { min-height: 100vh; display: flex; flex-direction: column; }
.section     { padding: 48px 0; }
.stack       { display: flex; flex-direction: column; gap: 16px; }
.row         { display: flex; align-items: center; gap: 12px; }

/* ── Surface / Card ── */
.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 28px;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Typography ── */
h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; }
h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 8px; }
p  { color: #64748b; line-height: 1.7; margin-bottom: 20px; }
.text-muted  { color: #64748b; font-size: 0.875rem; }
.text-center { text-align: center; }
.price { font-size: 3rem; font-weight: 700; color: #0f172a; }
.price-period { font-size: 1rem; color: #64748b; font-weight: 400; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; width: 100%;
  font-size: 1rem; font-weight: 600; font-family: inherit;
  border-radius: 5px; border: 1px solid transparent;
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
  white-space: nowrap; text-decoration: none;
}
.btn-primary   { background: #0f172a; color: #fff; border-color: #0f172a; }
.btn-primary:hover { background: #1e293b; border-color: #1e293b; }
.btn:disabled  { opacity: 0.45; cursor: not-allowed; }

/* ── Forms ── */
.form-group   { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label   { font-size: 0.85rem; font-weight: 500; color: #0f172a; }

input {
  width: 100%; padding: 10px 14px;
  font-size: 0.9rem; font-family: inherit;
  color: #0f172a; background: #ffffff;
  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);
}
input::placeholder { color: #94a3b8; }

/* ── Navigation ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0;
  height: 60px;
  background: #ffffff; border-bottom: 1px solid #e2e8f0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-brand { font-weight: 700; font-size: 1rem; color: #0f172a; letter-spacing: -0.02em; }

/* ── Feedback ── */
.alert         { padding: 14px 18px; border-radius: 5px; border: 1px solid transparent; font-size: 0.875rem; margin-bottom: 20px; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

/* ── Features List ── */
.features-list {
  list-style: none;
  margin: 24px 0;
}
.features-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 0.9rem;
}
.features-list li:last-child {
  border-bottom: none;
}
.features-list li::before {
  content: '✓';
  color: #15803d;
  font-weight: 700;
  margin-right: 10px;
}

/* ── Loader ── */
.spinner {
  border: 3px solid #e2e8f0;
  border-top-color: #0f172a;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .price { font-size: 2.5rem; }
}