:root {
  --bg: #0F1525;
  --bg-card: #161E33;
  --bg-elevated: #1A2440;
  --text-primary: #FFFFFF;
  --text-body: #B8C2D6;
  --text-muted: #6B7896;
  --accent: #4A7FFF;
  --accent-hover: #3D6BE8;
  --accent-light: rgba(74, 127, 255, 0.15);
  --success: #5AD668;
  --danger: #FF5C5C;
  --border: rgba(74, 127, 255, 0.25);
  --radius: 6px;
  --radius-lg: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-hover); text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.section { padding: 80px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, #0B1020 100%); }
.section__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section__lead {
  font-size: 19px;
  color: var(--text-body);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* ===== HERO ===== */
.hero {
  padding: 96px 0 80px;
  background: radial-gradient(ellipse at top right, rgba(74, 127, 255, 0.18), transparent 60%), var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__text h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin: 0 0 24px;
}
.hero__sub {
  font-size: 19px;
  color: var(--text-body);
  margin: 0 0 12px;
}
.hero__sub-meta {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 32px;
}
.hero__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, transform 0.05s ease;
  min-height: 48px;
  line-height: 1.2;
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent);
  color: var(--text-primary);
}
.btn--primary:hover, .btn--primary:focus { background: var(--accent-hover); color: var(--text-primary); }
.btn--lg { padding: 18px 36px; font-size: 17px; }
.btn--block { display: block; width: 100%; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.card--ok { border-left: 3px solid var(--success); }
.card--no { border-left: 3px solid var(--danger); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; line-height: 1.5; }
.checklist--ok li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--success); font-weight: 700; font-size: 18px;
}
.checklist--no li::before {
  content: "✕"; position: absolute; left: 0; top: 8px;
  color: var(--danger); font-weight: 700; font-size: 18px;
}

.bullets { list-style: none; padding: 0; margin: 12px 0 0; }
.bullets li { padding: 6px 0 6px 22px; position: relative; line-height: 1.5; }
.bullets li::before {
  content: "•"; position: absolute; left: 0; top: 6px;
  color: var(--accent); font-weight: 700; font-size: 18px;
}

/* ===== STACKS ===== */
.stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  position: relative;
}
.stack__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.stack__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.stack__body { font-size: 16px; color: var(--text-body); margin: 0; }

/* ===== SUPPORT (4. секция) ===== */
.support img {
  border-radius: var(--radius);
  margin-bottom: 16px;
  width: 100%;
  height: auto;
  background: var(--bg-elevated);
}

/* ===== COMPARE TABLE ===== */
.table-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 16px;
}
.compare th, .compare td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid rgba(74, 127, 255, 0.12);
}
.compare thead th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
}
.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-body);
}
.compare .compare__us { color: var(--accent); }
.compare .ok { color: var(--success); font-weight: 700; font-size: 20px; }
.compare .ok.us { color: var(--accent); }
.compare .dash { color: var(--text-muted); }
.compare .part { color: var(--text-body); font-style: italic; font-size: 14px; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }

/* ===== PRICING ===== */
.price {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price--vip {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-color: var(--accent);
}
.price__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.price__sum {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.price__hint { font-size: 14px; color: var(--text-muted); margin: 0 0 16px; }
.price .bullets { flex: 1 1 auto; margin-bottom: 24px; }

/* ===== FAQ ===== */
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.faq__item summary {
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  font-size: 17px;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.15s ease;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 12px 0 0; color: var(--text-body); font-size: 16px; }

/* ===== FORM ===== */
.form { margin: 24px 0 0; }
.form__row { margin: 0 0 18px; }
.form__row--inline { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form__col { min-width: 0; }
.form__label {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin: 0 0 8px;
  font-weight: 500;
}
.req { color: var(--danger); }
.form__hint { display: block; color: var(--text-muted); font-size: 13px; margin-top: 6px; }
.form__input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font: inherit;
  font-size: 17px;
  min-height: 52px;
}
textarea.form__input { min-height: 110px; resize: vertical; line-height: 1.5; }
.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form__input::placeholder { color: var(--text-muted); }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0;
  font-size: 15px;
  color: var(--text-body);
  cursor: pointer;
  line-height: 1.4;
}
.form__check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form__check span a { text-decoration: underline; }
.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form__error {
  margin: 16px 0 0;
  padding: 12px 16px;
  background: rgba(255, 92, 92, 0.1);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 15px;
}
.form__success {
  background: var(--bg-card);
  border: 1px solid var(--success);
  border-left: 3px solid var(--success);
  border-radius: var(--radius);
  padding: 28px;
  margin: 24px 0 0;
}
.form__success h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 22px;
}
.form__success p { margin: 0; color: var(--text-body); }

/* ===== FOOTER ===== */
.footer {
  background: #08101F;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.footer__heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.footer__small { font-size: 14px; margin: 6px 0; color: var(--text-body); }
.footer__age {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(74, 127, 255, 0.12);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 960px) {
  .hero { padding: 64px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__text h1 { font-size: 40px; }
  .section { padding: 64px 0; }
  .section__title { font-size: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 40px; }
  .hero__text h1 { font-size: 32px; }
  .hero__sub { font-size: 17px; }
  .section { padding: 56px 0; }
  .section__title { font-size: 28px; }
  .section__lead { font-size: 17px; margin-bottom: 32px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .card, .stack, .price { padding: 22px 20px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 10px 8px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .form__input { font-size: 16px; }
}

@media (max-width: 360px) {
  .hero__text h1 { font-size: 28px; }
  .section__title { font-size: 24px; }
}
