/* ==========================================================================
   AEGITAS — общая дизайн-система для лендингов
   Цвета взяты из фирменного логотипа (красный #FD000A, чёрный #141110)
   ========================================================================== */

:root {
  --red: #E8140A;
  --red-dark: #B80D06;
  --red-light: #FEECEA;
  --ink: #141110;
  --ink-soft: #55504C;
  --ink-faint: #8A847E;
  --paper: #FFFFFF;
  --paper-soft: #FAF7F5;
  --paper-alt: #FBEDEC;
  --line: #ECE4E0;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow: 0 20px 45px -20px rgba(20, 17, 16, 0.25);
  --shadow-s: 0 8px 20px -10px rgba(20, 17, 16, 0.18);
  --container: 1120px;
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-s);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(60% 60% at 85% 0%, var(--paper-alt) 0%, rgba(251,237,236,0) 70%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
}
.hero-lead {
  font-size: 18px;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-note {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 14px;
}

/* price card */
.price-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.price-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 260px; height: 260px;
  background: var(--red);
  opacity: .18;
  border-radius: 50%;
  filter: blur(10px);
}
.price-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.price-old {
  font-size: 16px;
  color: rgba(255,255,255,.55);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.price-new {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 44px);
  margin-bottom: 6px;
}
.price-limited {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
}
.price-card .btn-primary {
  width: 100%;
}
.price-included {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
  color: rgba(255,255,255,.75);
}

/* ---------- audience toggle ---------- */
.audience-switch {
  display: inline-flex;
  padding: 6px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 auto 8px;
}
.audience-switch button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .18s ease;
}
.audience-switch button.is-active {
  background: var(--ink);
  color: #fff;
}
.audience-panel { display: none; }
.audience-panel.is-active { display: block; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--paper-soft); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }

/* two-column feature layout inside audience panel */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.split-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px;
}
.split-card h3 {
  font-size: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.split-card h3 .ic { color: var(--red); flex-shrink: 0; }

.check-list, .plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  color: var(--ink);
}
.check-list li:last-child { border-bottom: none; }
.check-list li svg { flex-shrink: 0; margin-top: 2px; }

/* result / checkmark list variant (red icon) */
.result-list li svg { color: var(--red); }
.included-list li svg { color: var(--ink); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 22px;
}
.step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--red);
  margin-bottom: 10px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
}
.trust-item .l {
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- faq ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--red);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; font-size: 15px; }

/* ---------- form ---------- */
.form-section {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.form-section h2 { color: #fff; }
.form-section p { color: rgba(255,255,255,.7); }
.form-section .check-list li { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.14); }
.form-section .check-list svg { color: var(--red); }

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(255,255,255,.75);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,.1);
}
.form-consent {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 12px;
}
.form-consent a { color: rgba(255,255,255,.75); text-decoration: underline; }
.form-success, .form-error {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}
.form-success { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); }
.form-error { background: rgba(232,20,10,.18); border: 1px solid var(--red); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-grid img { height: 24px; }
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-links a { text-decoration: none; }
.footer-copy { font-size: 13px; color: var(--ink-faint); }

/* ---------- utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-32 { margin-top: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .form-section { grid-template-columns: 1fr; padding: 36px 24px; border-radius: var(--radius-m); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .price-card { padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
