﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #f3f5f7;
  --panel: #ffffff;
  --text: #1f2430;
  --muted: #5b6472;
  --accent: #0f62fe;
  --accent-dark: #0847b5;
  --border: #e2e6ec;
  --shadow: 0 16px 40px rgba(24, 32, 52, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

.background {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(15, 98, 254, 0.12), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(0, 198, 138, 0.12), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255, 199, 0, 0.12), transparent 45%);
  z-index: -1;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px 0;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.title {
  font-size: 20px;
  font-weight: 700;
}

.subtitle {
  color: var(--muted);
  font-size: 13px;
}

.support-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.support-link:hover {
  border-color: var(--accent);
}

.container {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 12px;
}

.note {
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  background: var(--panel);
  padding: 18px 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: start;
  margin-top: 32px;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  min-height: 260px;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 98, 254, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.key {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

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

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: #fff;
}

.btn.outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn.outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.steps h2,
.pricing h2,
.faq h2 {
  margin: 0 0 20px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.step {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card .btn {
  width: 100%;
}

.price-card.highlight {
  border-color: rgba(15, 98, 254, 0.4);
  box-shadow: var(--shadow);
}

.price {
  font-size: 28px;
  font-weight: 700;
}

.price-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}


.hint {
  font-size: 12px;
  color: var(--muted);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.faq-item h4 {
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.order {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.order-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: start;
}

.order-main {
  display: grid;
  gap: 16px;
}

.bot-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 6px;
}

.bot-qr img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: cover;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
}

.field input,
.field select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.checkbox {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  align-items: flex-start;
}

.checkbox input {
  margin-top: 3px;
}

.checkbox a {
  color: var(--accent);
  text-decoration: none;
}

.form-error {
  color: #b91c1c;
  font-size: 12px;
  min-height: 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px 30px;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px 0;
  }

  .container {
    padding: 0 20px 40px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .bot-qr {
    justify-items: start;
  }
}
