:root {
  --primary: #1F4E79;
  --primary-light: #2E75B6;
  --bg: #F5F7FA;
  --card: #fff;
  --text: #1a1a1a;
  --muted: #666;
  --border: #d0d7de;
  --danger: #c62828;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }
.nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.nav .brand { font-weight: 700; font-size: 1.1rem; color: #fff; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.nav-links a { color: #fff; opacity: 0.95; font-size: 0.9rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 1.1rem; border-radius: 8px; border: none;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-light { background: #fff; color: var(--primary); }
.btn-block { width: 100%; }
.hero {
  max-width: 960px; margin: 0 auto; padding: 3rem 1.25rem 2rem; text-align: center;
}
.hero h1 { font-size: 2rem; color: var(--primary); margin-bottom: 0.75rem; }
.hero p { color: var(--muted); max-width: 560px; margin: 0 auto 1.5rem; }
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(31,78,121,0.15);
}
.price-card h3 { color: var(--primary); margin-bottom: 0.25rem; }
.price-card .price {
  font-size: 1.75rem; font-weight: 800; color: var(--text); margin: 0.5rem 0;
}
.price-card .price span { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin: 1rem 0; font-size: 0.88rem; color: #333; }
.price-card li { padding: 0.3rem 0; border-bottom: 1px solid #f0f0f0; }
.price-card li:last-child { border: none; }
.auth-wrap { max-width: 400px; margin: 2.5rem auto; padding: 0 1rem; }
.auth-card {
  background: var(--card);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.auth-card h1 { font-size: 1.35rem; color: var(--primary); margin-bottom: 0.35rem; }
.auth-card .sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 0.25rem; }
input {
  width: 100%; padding: 0.55rem 0.65rem; margin-bottom: 0.85rem;
  border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem;
}
input:focus { outline: 2px solid rgba(46,117,182,0.35); border-color: var(--primary-light); }
.err {
  background: #FFEBEE; color: var(--danger); padding: 0.55rem 0.75rem;
  border-radius: 8px; font-size: 0.85rem; margin-bottom: 0.85rem; display: none;
}
.err.show { display: block; }
.footer {
  text-align: center; padding: 2rem 1rem; font-size: 0.75rem; color: var(--muted);
}
.badge {
  display: inline-block; background: #E3F2FD; color: var(--primary);
  font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 6px;
}
