:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --border: #2d3a4f;
  --text: #e7ecf3;
  --muted: #8b9cb3;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --success: #22c55e;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-block {
  width: 100%;
  text-align: center;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.plan-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.steps {
  margin: 0.5rem 0 0 1.25rem;
  color: var(--muted);
}

.steps li {
  margin: 0.35rem 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat {
  background: var(--bg);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.status-active {
  color: var(--success);
}

.sub-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.8125rem;
  margin: 1rem 0;
}

.qr-wrap {
  text-align: center;
  margin: 1.5rem 0;
}

.qr-wrap img {
  border-radius: 12px;
  background: white;
  padding: 8px;
}

.clients {
  margin-top: 1.5rem;
}

.clients h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.clients ul {
  list-style: none;
  color: var(--muted);
}

.clients li {
  padding: 0.25rem 0;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 2rem;
}

/* ─── Landing (яркая тема) ─────────────────────────────────── */

.landing {
  --bg: #12082a;
  --surface: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #ddd6fe;
  --accent: #22d3ee;
  --accent-hover: #06b6d4;
  --accent-2: #f472b6;
  --accent-3: #a78bfa;
  --success: #4ade80;

  background:
    radial-gradient(circle at 20% 10%, rgba(244, 114, 182, 0.35), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.3), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(167, 139, 250, 0.25), transparent 50%),
    linear-gradient(160deg, #1e0b4b 0%, #12082a 45%, #0c1445 100%);
  position: relative;
  overflow-x: hidden;
}

.landing-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.landing-glow--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
  background: rgba(244, 114, 182, 0.45);
}

.landing-glow--2 {
  width: 380px;
  height: 380px;
  top: 120px;
  right: -100px;
  background: rgba(34, 211, 238, 0.35);
}

.landing-container {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.landing .hero {
  text-align: center;
  margin-bottom: 0.5rem;
}

.landing .hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.25), rgba(244, 114, 182, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.landing h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(90deg, #ffffff 0%, #22d3ee 45%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.landing .hero-subtitle {
  font-size: 1.05rem;
  color: #e9d5ff;
  margin-bottom: 0;
}

.landing .card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.landing .plan-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing .plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.18);
}

.landing .plan-card--monthly {
  border-color: rgba(34, 211, 238, 0.45);
}

.landing .plan-card--quarterly {
  border-color: rgba(244, 114, 182, 0.55);
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.landing .plan-card--yearly {
  border-color: rgba(167, 139, 250, 0.5);
}

.landing .plan-card--trial {
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  margin-bottom: 1.5rem;
}

.landing .section-title {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--text, #e7ecf3);
}

.landing .plan-badge {
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f472b6, #a78bfa);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.landing .price {
  font-size: 2.25rem;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing .plan-desc {
  color: #ddd6fe;
}

.landing label {
  color: #c4b5fd;
}

.landing input[type="email"] {
  background: rgba(15, 10, 40, 0.65);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #fff;
}

.landing input[type="email"]:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}

.landing .btn {
  background: linear-gradient(90deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
}

.landing .btn:hover {
  background: linear-gradient(90deg, #0891b2 0%, #7c3aed 50%, #db2777 100%);
  transform: translateY(-1px);
}

.landing .btn-glow {
  margin-top: 1.25rem;
}

.landing .info-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.landing .steps,
.landing .client-list {
  color: #ddd6fe;
}

.landing .steps li,
.landing .client-list li {
  margin: 0.4rem 0;
}

.landing .client-list {
  list-style: none;
}

.landing .footer-link {
  color: #c4b5fd;
  text-decoration: none;
  transition: color 0.2s;
}

.landing .footer-link:hover {
  color: #22d3ee;
}
