:root {
  --bg: #07141f;
  --surface: #102435;
  --surface-alt: #173247;
  --surface-soft: #1c3a52;
  --text: #f4f8fb;
  --muted: #c1ced8;
  --accent: #42e3b2;
  --accent-dark: #17b883;
  --gold: #ffd76d;
  --border: rgba(255, 255, 255, 0.13);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(66, 227, 178, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 12%,
      rgba(255, 215, 109, 0.1),
      transparent 25%
    ),
    var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.65;
}

header {
  background: rgba(7, 20, 31, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  width: 156px;
  height: 58px;
  background: url("/uploads/img/logo.png") center / contain no-repeat;
}

.logo img {
  height: 58px;
  display: block;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

button.button,
button.button-link {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: 0.2s ease;
}

.button {
  color: #06131d;
  background: linear-gradient(135deg, var(--accent), #2fd49e);
  box-shadow: 0 16px 34px rgba(66, 227, 178, 0.22);
}

.button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #5ff0c2, var(--accent));
}

.button-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button-link:hover {
  border-color: rgba(66, 227, 178, 0.55);
  color: var(--accent);
}

.section {
  max-width: 1180px;
  margin: 28px auto;
  padding: 34px;
  background: linear-gradient(
    180deg,
    rgba(16, 36, 53, 0.96),
    rgba(10, 28, 42, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-banner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}

.hero-offer,
.notice-box,
.review-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.hero-offer {
  border-color: rgba(66, 227, 178, 0.32);
  background:
    linear-gradient(135deg, rgba(66, 227, 178, 0.1), rgba(255, 215, 109, 0.06)),
    rgba(255, 255, 255, 0.05);
}

.offer-line {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  font-size: 17px;
}

.offer-value {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--accent);
}

.hero-offer .button {
  margin-top: 6px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.18;
  margin: 0 0 18px;
}

h1 {
  font-size: 46px;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

p strong {
  color: var(--text);
}

ul,
ol {
  margin: 14px 0 18px;
  padding-left: 24px;
  color: var(--muted);
}

li {
  margin: 8px 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 18px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: rgba(255, 255, 255, 0.04);
}

tr {
  border-bottom: 1px solid var(--border);
}

tr:last-child {
  border-bottom: 0;
}

td {
  padding: 15px 16px;
  color: var(--text);
  vertical-align: top;
}

td:first-child {
  color: var(--muted);
  font-weight: 800;
  width: 34%;
}

.comparison-table tr:first-child td {
  color: var(--gold);
  font-weight: 900;
  background: rgba(255, 215, 109, 0.08);
}

.code-cell {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: #06131d;
  color: var(--gold);
  border: 1px dashed rgba(255, 215, 109, 0.75);
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 56px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #06131d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

.action-row {
  display: flex;
  margin-top: 18px;
  margin-bottom: 26px;
}

.action-row .button,
.action-row .button-link {
  margin-bottom: 0;
}

.faq-container {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
  position: relative;
  cursor: pointer;
}


.toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}


.faq-question {
  margin: 0 0 8px;
  font-size: 19px;
  color: #fff;
  padding-right: 30px;
}


.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: all 0.3s ease;
  margin: 0;
  color: var(--muted);
  padding-right: 20px;
}


.toggle:checked ~ .faq-answer {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 12px;
}

/* превращаем "+" в "−" */
.toggle:checked ~ .icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.toggle:checked ~ .icon::before {
  background: var(--accent);
}


.toggle:checked ~ .faq-question {
  color: var(--accent-2);
}

.review-footer {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: stretch;
}

.review-card {
  text-align: center;
  border-color: rgba(66, 227, 178, 0.55);
}

.review-card-title {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--text);
}

.review-card-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
}

.rating {
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.08em;
  margin: 14px 0;
}

.review-score {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.review-score strong {
  color: var(--text);
}

.review-card .button {
  width: 100%;
  margin-top: 12px;
}

footer {
  margin-top: 36px;
  background: #191919;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.footer-text {
  color: rgba(255, 255, 255, 0.54);
  font-size: 16px;
  line-height: 1.65;
}

.footer-text p {
  color: rgba(255, 255, 255, 0.54);
}

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

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

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 22px 0;
}

@media (max-width: 768px) {
  h1,
  h2,
  h3 {
    text-align: center;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .section {
    margin: 18px 12px;
    padding: 22px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .button,
  .button-link {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hero-banner,
  .review-footer {
    grid-template-columns: 1fr;
  }

  table {
    width: 100%;
  }

  .action-row {
    justify-content: center;
    margin-bottom: 28px;
  }

  footer,
  .footer-inner {
    text-align: center;
  }
}
