body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  background: linear-gradient(135deg, #0f141b, #1a2029);
  color: #e6edf3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

/* Заголовки */
h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.subheading {
  font-size: 18px;
  color: #a0aec0;
  margin-bottom: 32px;
}

/* Тарифы */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 960px;
  width: 100%;
  margin-bottom: 48px;
}

.plan-card {
  background: #1c232d;
  border: 1px solid #2a3340;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 24px;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 12px;
}

.plan-desc {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* Кнопки */
.btn-buy,
.btn-accept,
.btn-home {
  background: #3b82f6;
  color: white;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-buy:hover,
.btn-accept:hover,
.btn-home:hover {
  background: #2563eb;
}

.btn-buy {
  display: inline-block;
  font-size: 15px;
  padding: 10px 20px;
  text-decoration: none;
}

.btn-home {
  margin-top: 24px;
  font-size: 16px;
}

/* Секции */
.section {
  max-width: 800px;
  margin-top: 40px;
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
}

.section h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #e2e8f0;
}

/* Логотип */
.logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 12px;
}

/* Футер */
footer {
  width: 100%;
  background: #111827;
  padding: 24px 20px;
  border-top: 1px solid #1f2937;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand {
  font-weight: 600;
  font-size: 16px;
  color: #e5e7eb;
}

.footer-legal,
.footer-contact {
  font-size: 14px;
  color: #9ca3af;
}

.footer-contact a {
  color: #60a5fa;
  text-decoration: none;
  margin: 0 4px;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Модалки (обе: соглашение и ошибка) */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #1e293b;
  color: #e2e8f0;
  max-width: 600px;
  max-height: 80vh;
  padding: 24px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.modal-content h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.modal-text {
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  padding-right: 8px;
  margin-bottom: 16px;
}

/* Ошибка (в виде модалки) */
.error-symbol {
  font-size: 64px;
  margin-bottom: 20px;
}

.error-message {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #fca5a5;
}