/* =================================================================
   Палитра и общий тон
   ================================================================= */
:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --pink-soft: #fce7f3;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #171717;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--gray-700);
  background: #fff;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--gray-900);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: var(--pink-dark); text-decoration: none; }
a:hover { color: var(--pink); }

/* =================================================================
   Кнопка-акцент
   ================================================================= */
.btn-pink {
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 32px;
  border: none;
  transition: all 0.15s ease;
}
.btn-pink:hover {
  background: var(--pink-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-pink:focus { box-shadow: 0 0 0 4px var(--pink-soft); color: #fff; }

/* =================================================================
   Секции
   ================================================================= */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-50); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}
.section-closing {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.block-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

/* =================================================================
   1. HERO
   ================================================================= */
.hero {
  padding: 100px 0 80px;
  background: #fff;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--gray-500);
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-meta {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* =================================================================
   2. УЗНАВАНИЕ — цитаты
   ================================================================= */
.quote-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px 22px;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-700);
  height: 100%;
  position: relative;
}
.quote-card::before {
  content: '\201C';
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--pink);
  margin-bottom: 6px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: normal;
}

/* =================================================================
   2.5 ТРЕНИНГИ — почему советы не работают
   ================================================================= */
.section-pink-soft { background: var(--pink-soft); }
.training-intro {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.training-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 12px;
  padding: 20px 22px;
  height: 100%;
}
.training-advice {
  font-style: italic;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.training-result {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0;
}
.training-conclusion {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0;
}

/* =================================================================
   3. ПОЧЕМУ НЕ РАБОТАЕТ — мифы
   ================================================================= */
.myth-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 24px;
  height: 100%;
}
.myth-tag {
  display: inline-block;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  text-decoration: line-through;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
}
.myth-body { color: var(--gray-500); font-size: 0.98rem; }

/* =================================================================
   4. РАЗВОДКА — планеты
   ================================================================= */
.planet-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 28px;
  height: 100%;
}
.planet-card--small {
  padding: 24px 20px;
}

/* Третья колонка — другие планеты */
.planet-card--other {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.planets-other-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}
.planets-other-caption {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.02em;
}
.planet-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.25rem;
}
.planet-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.planet-card--small .planet-img {
  width: 56px;
  height: 56px;
}
.planet-tag {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.planet-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.planet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.planet-list li {
  padding: 7px 0 7px 24px;
  position: relative;
  color: var(--gray-700);
  font-size: 0.97rem;
}
.planet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 2px;
  background: var(--pink);
}

/* =================================================================
   5. РЕШЕНИЕ — что на выходе + 3 шага
   ================================================================= */
.result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.result-list li {
  padding: 12px 0 12px 36px;
  position: relative;
  color: var(--gray-700);
  font-size: 1.02rem;
  border-bottom: 1px solid var(--gray-100);
}
.result-list li:last-child { border-bottom: none; }
.result-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 12px;
  color: var(--pink);
  font-weight: 700;
}

/* До / После */
.before-label,
.after-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.before-label { color: var(--gray-400, #a3a3a3); }
.after-label  { color: var(--pink); }

.before-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.before-list li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.92rem;
  color: var(--gray-400, #a3a3a3);
  font-style: italic;
  line-height: 1.5;
}
.before-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gray-300);
}
.before-list__ellipsis {
  font-style: normal !important;
  font-size: 1.1rem !important;
  color: var(--gray-300) !important;
  padding-top: 2px !important;
}
.before-list__ellipsis::before { content: "" !important; }

.outcome-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.outcome-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.6;
}
.outcome-list li:last-child { border-bottom: none; }
.outcome-list li strong {
  color: var(--gray-900);
  font-size: 1.05rem;
  margin-right: 2px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.step-text {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}

/* =================================================================
   6. КТО Я + ОТЗЫВЫ
   ================================================================= */
.author-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--gray-200), 0 8px 24px rgba(0, 0, 0, 0.06);
}
.author-text { font-size: 1.05rem; margin-bottom: 0.5rem; }
.author-meta { color: var(--gray-500); font-size: 0.95rem; margin: 0; }

.testimonial-anchor {
  text-align: center;
  padding: 32px 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
}
.testimonial-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--gray-900);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.testimonial-meta { color: var(--gray-500); font-size: 0.95rem; margin: 0; }

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px 22px;
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-700);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--pink);
  margin-bottom: 6px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: normal;
}

/* =================================================================
   7. РАЗБЕРЁМ ВСЁ — core card + addons
   ================================================================= */
.core-card {
  background: #fff;
  border: 2px solid var(--pink);
  border-radius: 16px;
  padding: 32px 28px;
  position: sticky;
  top: 24px;
}
.core-badge {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.core-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.core-example {
  margin: 1.25rem 0 0;
}
.example-link {
  font-size: 0.9rem;
  color: var(--pink-dark);
  font-weight: 500;
}
.example-link:hover { color: var(--pink); }
.core-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}
.core-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}
.addons-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.addon-plus {
  color: var(--pink);
  font-weight: 700;
  margin-right: 4px;
}
.addon-example-link {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}
.addon-example-link a { color: var(--pink-dark); font-weight: 500; }
.addon-example-link a:hover { color: var(--pink); }

/* =================================================================
   FAQ (перенесён в отдельную секцию если нужно)
   ================================================================= */
.accordion-flush .accordion-item {
  border: none;
  border-bottom: 1px solid var(--gray-200);
  background: transparent;
}
.accordion-button {
  background: transparent;
  color: var(--gray-900);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 0;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background: transparent; color: var(--pink-dark); }
.accordion-button::after { filter: grayscale(1) brightness(0.5); }
.accordion-button:not(.collapsed)::after { filter: none; }
.accordion-body { padding: 0 0 18px; color: var(--gray-500); }

/* Спойлеры допов */
.addon-list {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
}
.addon-item {
  border-bottom: 1px solid var(--gray-200);
}
.addon-item:last-child { border-bottom: none; }
.addon-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-900);
  list-style: none;
  transition: background 0.15s ease;
}
.addon-item summary::-webkit-details-marker { display: none; }
.addon-item summary:hover { background: var(--gray-50); }
.addon-item[open] summary { background: var(--gray-50); }
.addon-name { font-size: 1rem; }
.addon-price {
  color: var(--pink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
  white-space: nowrap;
}
.addon-body {
  padding: 0 24px 18px;
  color: var(--gray-500);
}
.addon-body p { margin-bottom: 0.5rem; }
.addon-body p:last-child { margin-bottom: 0; }

/* =================================================================
   8. ФИНАЛЬНЫЙ CTA
   ================================================================= */
.cta-final {
  background: var(--gray-900);
  color: #fff;
  padding: 100px 0;
}
.cta-final h2, .cta-final .cta-title { color: #fff; }
.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.cta-sub {
  color: var(--gray-300);
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.cta-contact { color: var(--gray-300); font-size: 0.95rem; }
.cta-contact a { color: var(--pink); }
.cta-contact a:hover { color: var(--pink-soft); }

/* =================================================================
   Footer
   ================================================================= */
.footer {
  padding: 32px 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
}
.footer-text {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0;
}

/* =================================================================
   ШАПКА С НАВИГАЦИЕЙ (статьи)
   ================================================================= */
.site-header {
  padding: 13px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav {
  display: flex;
  align-items: center;
}
.site-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.site-logo {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gray-900);
  white-space: nowrap;
  padding: 5px 12px 5px 0;
  border-right: 1px solid var(--gray-200);
  margin-right: 8px;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--pink); }
.site-nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.15s;
}
.site-nav-link:hover { color: var(--gray-900); background: var(--gray-50); }
.site-nav-link.active { color: var(--gray-900); font-weight: 600; background: var(--gray-100); }

/* Burger */
.burger {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  background: none;
  border: none;
  padding: 6px 4px;
  cursor: pointer;
  line-height: 0;
}
.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: background 0.15s;
}
.burger-line + .burger-line { margin-top: 5px; }
.burger:hover .burger-line { background: var(--pink); }

/* =================================================================
   СТАТЬЯ — общие стили
   ================================================================= */
.article-header {
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.article-back {
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
}
.article-back:hover { color: var(--pink); }

.article-main { padding: 56px 0 88px; }

.article-hero-img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  display: block;
}
.article-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.article-lead {
  font-size: 1.12rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}
.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-accent {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  border-left: 3px solid var(--pink);
  padding: 2px 0 2px 1rem;
  margin: 1.5rem 0;
}

/* Таблицы */
.article-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.article-table thead { background: var(--gray-50); }
.article-table th {
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gray-200);
}
.article-table td {
  padding: 12px 16px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  line-height: 1.55;
}
.article-table tr:last-child td { border-bottom: none; }

/* Списки */
.article-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}
.article-list li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.article-list li:last-child { border-bottom: none; }
.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 14px;
  height: 2px;
  background: var(--pink);
}

.article-list--summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 4px 24px 4px 48px;
}
.article-list--summary li::before { left: 4px; }

/* Цветные точки у функций */
.fn-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  flex-shrink: 0;
}
.fn-dot--orange { background: #f97316; }
.fn-dot--red    { background: #ef4444; }
.fn-dot--blue   { background: #3b82f6; }
.fn-dot--yellow { background: #ca8a04; }
.fn-dot--purple { background: #a855f7; }
.fn-dot--slate  { background: #94a3b8; }

/* CTA-вставка внизу статьи */
.article-cta {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  background: var(--pink-soft);
  border-radius: 16px;
  text-align: center;
}
.article-cta p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
}

/* Ссылки на статьи из лендинга */
.article-links-label {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-right: 10px;
}
.article-links-sep {
  color: var(--gray-300);
  margin: 0 4px;
  font-size: 0.9rem;
}
.article-link {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}
.article-link:hover { color: var(--pink); }

/* Футер с навигацией */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 12px;
}
.footer-link {
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 500;
}
.footer-link:hover { color: var(--pink); }

/* Цитата / blockquote */
.article-quote {
  border-left: 3px solid var(--gray-300);
  padding: 4px 0 4px 1.25rem;
  margin: 1.25rem 0;
  color: var(--gray-500);
  font-style: italic;
  font-size: 1.02rem;
}

/* Схема / цепочка (pre-блок) */
.article-chain {
  font-family: 'Manrope', sans-serif;
  font-size: 0.93rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--pink);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 1.5rem 0;
  white-space: pre-wrap;
  color: var(--gray-700);
  line-height: 1.8;
}

/* Вставка-заметка */
.article-callout {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 1.5rem 0;
}

/* =================================================================
   Мобильные правки
   ================================================================= */
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .cta-final { padding: 64px 0; }
  .btn-pink { padding: 12px 24px; font-size: 0.98rem; }
  .addon-item summary { padding: 16px 18px; flex-wrap: wrap; gap: 8px; }
  .addon-body { padding: 0 18px 16px; }
  .site-nav-link { font-size: 0.78rem; padding: 4px 8px; }
  .article-main { padding: 40px 0 64px; }
  .burger { display: block; }
  .site-nav { flex-wrap: wrap; }
  .site-nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    margin-left: 0;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
  }
  .site-nav-links.open { display: flex; }
}
