/* ====== V6 Tariffs: Сравнение + V5-hero (built from archived snapshot) ====== */
a { text-decoration: none; }
a[data-editable-id] { color: inherit; }

/* Фирменная контейнерная ширина как на главной */
.container,
.container-lg,
.container-md {
  max-width: 1200px !important;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

body {
  background: #f6f7fb;
  color: #1d2433;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* === V6: ограничиваем три широких секции до 1200px по центру === */
.v5-hero,
.v5-dark,
.cta-yellow {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
}
.v5-hero { margin-top: 16px; }
.v5-dark { margin-top: 28px; }
.cta-yellow { margin-top: 28px; margin-bottom: 28px; }

/* ============ ГОЛОВА (V5): HERO ============ */
.v5-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 40px 0 48px;
  position: relative;
  overflow: hidden;
}
.v5-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 70%);
  border-radius: 50%;
}
.v5-hero h1 {
  font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.v5-hero .lead {
  max-width: 860px;
  font-size: 1.05rem;
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  margin: 0 auto 18px;
}
.hero-free-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-free-pill strong { font-weight: 800; }

/* ============ ГОЛОВА (V5): TIER CARDS ============ */
.v5-tiers {
  margin-top: -32px;
  position: relative;
  z-index: 5;
  padding-bottom: 28px;
}
.v5-tier {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 18px;
  padding: 28px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 34px rgba(40, 22, 90, .08);
  transition: transform .15s, box-shadow .15s;
}
.v5-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(102,126,234,.18);
}
.v5-tier.is-popular {
  background: linear-gradient(160deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  box-shadow: 0 18px 44px rgba(118,75,162,.4);
}
.v5-tier .tier-name {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6d3fd6;
  margin-bottom: 8px;
}
.v5-tier.is-popular .tier-name { color: rgba(255,255,255,.95); }
.v5-tier .tier-vol {
  font-size: 1.45rem;
  font-weight: 800;
  color: #3b1f8e;
  margin-bottom: 4px;
}
.v5-tier.is-popular .tier-vol { color: #fff; }
.v5-tier .tier-price {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: #3b1f8e;
}
.v5-tier.is-popular .tier-price { color: #fff; }
.v5-tier .tier-price small {
  font-size: .85rem;
  font-weight: 600;
  color: #94a3b8;
}
.v5-tier.is-popular .tier-price small { color: rgba(255,255,255,.8); }
.v5-tier .tier-term {
  font-size: .85rem;
  color: #94a3b8;
  margin: 6px 0 18px;
}
.v5-tier.is-popular .tier-term { color: rgba(255,255,255,.85); }
.v5-tier .tier-cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 11px;
  font-weight: 700;
  background: #eef2ff;
  color: #6d3fd6 !important;
  transition: .15s;
}
.v5-tier .tier-cta:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff !important;
}
.v5-tier.is-popular .tier-cta {
  background: #fff;
  color: #6d3fd6 !important;
}
.v5-tier.is-popular .tier-cta:hover {
  background: #4338ca;
  color: #fff !important;
}
.tier-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #6d3fd6;
  font-weight: 800;
  font-size: .78rem;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  letter-spacing: .04em;
}

/* ============ ГОЛОВА (V5): DARK BANNER ============ */
.v5-dark {
  background: linear-gradient(135deg, #4338ca 0%, #764ba2 100%);
  color: #fff;
  padding: 32px 0;
}
.v5-dark .deploy-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 12px;
}
.v5-dark h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.v5-dark p.deploy-desc {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 24px;
}
.v5-dark .deploy-cta {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff !important;
  transition: .15s;
}
.v5-dark .deploy-cta:hover {
  background: #fff;
  color: #764ba2 !important;
}

/* ============ ГОЛОВА (V5): LIGHT INDIVIDUAL ============ */
.v5-light {
  background: #f8fafc;
  padding: 32px 0;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  margin-top: 28px;
}
.v5-light .ind-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px dashed #cdd5e6;
  border-radius: 18px;
  padding: 40px 32px;
}
.v5-light h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #3b1f8e;
  margin-bottom: 12px;
}
.v5-light p {
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.v5-light .ind-cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, #4338ca 0%, #764ba2 100%);
  color: #fff !important;
  transition: .15s;
}
.v5-light .ind-cta:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ============ ТЕЛО (V2): SECTION TITLES ============ */
.section-title {
  font-weight: 800;
  color: #1d2433;
  margin-bottom: 8px;
}
.section-sub {
  color: #6b7280;
  margin-bottom: 18px;
}

/* ============ ТЕЛО (V2): COMPARISON TABLE ============ */
.compare-wrap {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(40, 22, 90, .07);
  border: 1px solid #eef0f6;
  overflow: hidden;
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #eef0f6;
  font-size: .94rem;
  vertical-align: middle;
}
table.compare thead th {
  background: #f3f1fb;
  color: #4b2e9e;
  font-weight: 700;
  font-size: .98rem;
  border-bottom: 2px solid #e4def9;
}
table.compare th.param,
table.compare td.param {
  text-align: left;
  color: #1d2433;
  font-weight: 600;
  background: #fafafe;
  width: 34%;
}
table.compare th.col-pro,
table.compare td.col-pro {
  background: #f3edff;
}
table.compare thead th.col-pro {
  background: #6d3fd6;
  color: #fff;
  border-bottom-color: #5a2bb8;
}
table.compare td.col-pro {
  font-weight: 600;
  color: #2a1d5e;
}
table.compare .ck {
  color: #1f9d55;
  font-size: 1.1rem;
}
table.compare tbody tr:hover td { background: #fbfaff; }
table.compare tbody tr:hover td.col-pro { background: #efe5ff; }
table.compare tbody tr:hover td.param { background: #f5f3fc; }
table.compare tbody tr:last-child td { border-bottom: none; }

/* ============ ТЕЛО (V2): INCLUDED GRID ============ */
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.included-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #eef0f6;
  font-size: .94rem;
  color: #1d2433;
}
@media (max-width: 640px) {
  .included-grid { grid-template-columns: 1fr; }
}

/* ============ ТЕЛО (V2): FAQ ============ */
.faq-item {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-weight: 600;
  color: #1d2433;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev {
  color: #6d3fd6;
  transition: transform .2s ease;
}
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  padding: 0 20px 16px;
  color: #4b5563;
  font-size: .95rem;
  line-height: 1.55;
}

section.body-section { padding: 28px 0; }

/* ============ CTA YELLOW (фиолетовый градиент) ============ */
.cta-yellow {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 36px 0;
}
.cta-yellow__inner {
  max-width: 860px;
  margin: 0 auto;
}
.cta-yellow__title {
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.cta-yellow__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 32px;
  font-weight: 500;
}
.cta-yellow__contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  max-width: 720px;
  margin: 0 auto 32px;
}
.cta-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .42);
  color: #fff !important;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .98rem;
  transition: background .15s, transform .15s;
}
.cta-contact i {
  font-size: 1.1rem;
  color: #fff;
}
.cta-contact:hover {
  background: rgba(255, 255, 255, .26);
  transform: translateY(-2px);
}
.cta-yellow__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cta-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, background .15s, border-color .15s;
}
.cta-btn--primary {
  background: #fff;
  color: #5b21b6 !important;
  border: 1px solid #fff;
}
.cta-btn--primary:hover {
  transform: translateY(-2px);
  background: #f3f1fb;
}
.cta-btn--secondary {
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
}
.cta-btn--secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .16);
}

@media (max-width: 768px) {
  .v5-hero { padding: 32px 0 40px; }
  .v5-tiers { margin-top: -28px; }
}
@media (max-width: 640px) {
  .cta-yellow { padding: 28px 0; }
  .cta-yellow__contacts { grid-template-columns: 1fr; }
  .cta-btn { flex: 1 1 100%; }
  /* На мобильном скруглённые широкие блоки без боковых зазоров */
  .v5-hero, .v5-dark, .cta-yellow, .v5-light {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}
