:root {
  color-scheme: dark;
  --bg: #07101f;
  --bg-soft: #0e1730;
  --card: rgba(11, 19, 38, 0.82);
  --card-2: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef4ff;
  --muted: #9fb0d3;
  --accent: #8b5cf6;
  --accent-2: #38bdf8;
  --accent-3: #7ef2c3;
  --danger: #ff9db0;
  --success: #86efac;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(139,92,246,0.25), transparent 25%),
    radial-gradient(circle at right, rgba(56,189,248,0.16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(126,242,195,0.1), transparent 28%),
    linear-gradient(180deg, #07101f 0%, #08101c 100%);
}
a { color: inherit; }
p { margin: 0; color: var(--muted); line-height: 1.7; }
.page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}
.center-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.card {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}
.hero, .pricing-wrap, .auth-card, .dashboard-card, .section-card { padding: 32px; }
.hero { margin-top: 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}
.hero-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}
.hero-chip {
  border: 1px solid rgba(126,242,195,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: 22px;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 600;
}
.badge, .section-label {
  display: inline-flex;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 14px;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  max-width: 12ch;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}
.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
  margin: 16px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}
.hero-note, .notice {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-2);
  padding: 16px 18px;
  color: var(--muted);
}
.notice { margin-bottom: 18px; }
.notice.error { color: var(--danger); }
.notice.success { color: var(--success); }
.grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid .section-card { min-height: 100%; }
.feature-list, .stat-list, .plain-list, .faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.feature-list li, .stat-list div, .price-card, .inset, .plain-list li, .faq-list > div {
  border: 1px solid var(--line);
  background: var(--card-2);
  border-radius: 22px;
  padding: 18px;
}
.plain-list li { color: var(--text); }
.stat-list strong, .price-card strong, .inset strong, .faq-list strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text);
}
.stat-list span, .price-card p, .inset p, .faq-list p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.pricing-wrap h2 { margin-bottom: 18px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 14px;
}
.price-card small {
  display: block;
  margin-top: 12px;
  color: var(--text);
  line-height: 1.5;
}
label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}
.stack-form { display: grid; gap: 14px; }
input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
}
input:focus {
  border-color: rgba(56,189,248,0.65);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.12);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07111b;
}
.secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: var(--text);
}
.switch-link {
  margin-top: 18px;
  color: var(--muted);
}
.switch-link a { color: var(--accent-2); }
.topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.inset { padding: 22px; }
.faq-card { margin-top: 18px; }
@media (max-width: 960px) {
  .hero-grid, .two-cols, .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page { width: min(100% - 24px, 1200px); padding: 18px 0 32px; }
  .hero, .pricing-wrap, .auth-card, .dashboard-card, .section-card { padding: 22px; }
  h1 { font-size: clamp(32px, 12vw, 52px); }
  .topline, .hero-actions { flex-direction: column; }
}
