/* ИИ на «ты» — лендинг. Стиль по презентации: тёплый светлый фон, сирень, стеклянные карточки. */

@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(assets/fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(assets/fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(assets/fonts/manrope-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(assets/fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(assets/fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(assets/fonts/manrope-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FBF8F4;
  --bg-tint: #F4EEF8;
  --ink: #2A1638;
  --ink-soft: #5A4868;
  --accent: #9B6BD6;
  --accent-ink: #7A4BB8;
  --deep: #5B2F86;
  --peach: #F2B8A0;
  --peach-soft: #FBE7DD;
  --glass: rgba(255, 255, 255, .62);
  --line: rgba(155, 107, 214, .22);
  --shadow: 0 10px 30px rgba(91, 47, 134, .10);
  --r: 24px;
  --gutter: 16px;
  --sticky-h: 0px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: var(--sticky-h);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(52px, 13vw, 104px); letter-spacing: -.035em; line-height: 1; margin-bottom: .25em; }
h2 { font-size: clamp(28px, 6.4vw, 46px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b { font-weight: 800; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: 64px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg-tint), #F8F3FB); }
.accent { color: var(--accent-ink); }
.eyebrow { color: var(--accent-ink); font-weight: 600; font-size: 15px; margin-bottom: .8em; }
.lead-text { font-size: 19px; color: var(--ink-soft); max-width: 680px; }
.note { color: var(--accent-ink); font-weight: 600; font-style: italic; }
.small { font-size: 14px; color: var(--ink-soft); }

.card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.num {
  flex: none; display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #c7a6f0, var(--accent)); color: #fff;
  font-weight: 800; font-size: 15px;
}

/* Кнопки */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--tg { background: linear-gradient(135deg, #8457c6, var(--deep)); box-shadow: 0 8px 22px rgba(91, 47, 134, .3); }
.btn--wa { background: #fff; color: var(--deep); border: 1.5px solid var(--line); }
.btn--wa svg { color: #25A244; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Бейджи */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.badge {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px;
}
.badge--dark { background: var(--deep); border-color: var(--deep); color: #fff; }

/* 1. Hero */
.hero {
  padding: 28px 0 56px;
  background:
    radial-gradient(circle at -10% 45%, rgba(190, 150, 240, .55) 0, transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(232, 214, 250, .8) 0, transparent 35%),
    var(--bg);
}
.hero__grid { display: grid; gap: 28px; }
.hero__lead { font-size: clamp(21px, 4.8vw, 28px); font-weight: 800; line-height: 1.25; margin-bottom: .5em; }
.hero__sub { font-size: 18px; color: var(--ink-soft); }
.hero__accent { font-size: 17px; background: var(--peach-soft); border-radius: 16px; padding: 12px 16px; max-width: 520px; }
.tagline { color: var(--accent-ink); font-weight: 600; margin: 0; }
.hero__media img { border-radius: 32px; box-shadow: var(--shadow); aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 70% 40%; width: 100%; }

/* 2. Знакомо */
.split { display: grid; gap: 28px; align-items: center; }
.pain-list { display: grid; gap: 10px; margin: 8px 0 20px; }
.pain-list .card { padding: 14px 18px; position: relative; padding-left: 44px; }
.pain-list .card::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.photo { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; }
#pain .photo { max-width: 420px; justify-self: center; }

/* 3. Результаты */
.results { display: grid; gap: 12px; margin-top: 8px; }
.results .card { display: flex; gap: 14px; align-items: center; font-weight: 600; }

/* 4. Автор */
.author { display: grid; gap: 28px; align-items: start; }
.author__photo img { border-radius: 32px; box-shadow: var(--shadow); width: 100%; max-width: 440px; margin: 0 auto; }
.quote {
  margin: 0 0 22px; padding: 16px 22px; border-radius: 20px;
  background: linear-gradient(135deg, #a77ddc, var(--deep)); color: #fff;
  font-size: 19px; font-weight: 600; font-style: italic;
}
.facts { display: grid; gap: 8px; margin-bottom: 22px; }
.facts li { color: var(--ink-soft); }
.facts b { color: var(--ink); font-size: 20px; margin-right: 6px; }
.cases { display: grid; gap: 10px; }
.cases .card { padding: 14px 18px; }

/* 5. Философия */
.flow { display: grid; gap: 10px; margin: 18px 0 24px; }
.flow__step { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 18px; }
.flow__arrow { text-align: center; color: var(--accent); font-size: 24px; transform: rotate(90deg); line-height: 1; }

/* 6. Программа */
.program { display: grid; gap: 24px; margin-top: 12px; }
.steps { display: grid; gap: 12px; }
.step {
  background: linear-gradient(135deg, rgba(232, 214, 250, .85), rgba(255, 255, 255, .7));
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.step h3 { margin: 6px 0 4px; }
.step p { margin: 0; color: var(--ink-soft); }
.step__tag { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; padding: 4px 12px; }
.step--peach { background: linear-gradient(135deg, var(--peach-soft), #fff); }
.step--peach .step__tag { background: #E3906F; }
.format { display: grid; gap: 10px; align-content: start; }
.format__item b { display: block; font-size: 20px; }
.format__item span { color: var(--ink-soft); }
.format__item--accent { background: var(--deep); border-color: var(--deep); color: #fff; }
.format__item--accent span { color: #E9DDF7; }

/* 7. Материалы */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.gift-line { font-size: 18px; background: var(--peach-soft); }

/* 8. Агент */
.agent { display: grid; gap: 32px; align-items: center; }
.ticks { display: grid; gap: 8px; margin: 14px 0 22px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-ink); font-weight: 800; }
.chain { display: grid; gap: 8px; counter-reset: c; margin-bottom: 12px; }
.chain li {
  counter-increment: c; background: var(--deep); color: #fff; border-radius: 16px;
  padding: 12px 16px 12px 52px; position: relative; font-weight: 600;
}
.chain li::before {
  content: counter(c); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .2);
  display: grid; place-items: center; font-size: 14px;
}
.phone { margin: 0; max-width: 360px; justify-self: center; }
.phone img { border-radius: 36px 36px 20px 20px; box-shadow: 0 20px 50px rgba(42, 22, 56, .25); }
.phone figcaption { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 10px; }

/* 9. Тарифы */
.pricing__head { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.pricing__photo { display: none; }
.plans { display: grid; gap: 14px; margin: 16px 0 18px; }
.plan { padding: 24px 22px; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 22px; }
.plan__price { font-size: 34px; font-weight: 800; margin: 4px 0 0; letter-spacing: -.02em; }
.plan__motto { color: var(--accent-ink); font-weight: 600; margin-bottom: 14px; }
.plan ul { display: grid; gap: 6px; margin-bottom: 16px; }
.plan li { position: relative; padding-left: 18px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
.plan__pay { margin: auto 0 0; font-size: 14px; font-style: italic; color: var(--ink-soft); }
.plan--peach { background: linear-gradient(160deg, var(--peach-soft), rgba(255, 255, 255, .8)); }
.plan--vip {
  background: linear-gradient(160deg, #3a1d52, var(--ink)); color: #fff;
  border-radius: var(--r); box-shadow: 0 16px 40px rgba(42, 22, 56, .35);
}
.plan--vip .plan__motto { color: #CDB2F0; }
.plan--vip .plan__pay { color: #D9CBE8; }
.vip-mark { color: #fff; text-decoration: underline; text-decoration-color: var(--peach); text-underline-offset: 4px; }
.help { display: grid; gap: 4px; }
.help p { margin: 0; font-size: 18px; }
.help .cta { margin: 10px 0 0; }

/* 10. Подарок */
.gift { display: grid; gap: 28px; align-items: center; }

/* 11. FAQ */
.faq { display: grid; gap: 10px; margin: 8px 0 28px; }
.faq details { padding: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 800; font-size: 18px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--accent-ink); font-weight: 600; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }
.not-for { border: 2px dashed var(--peach); border-radius: var(--r); padding: 20px 22px; background: #fff; }
.not-for h3 { color: #C46A47; }
.not-for p { margin: 0; }

/* 12. Финал */
.final {
  background:
    radial-gradient(circle at 100% 10%, rgba(190, 150, 240, .45) 0, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(242, 184, 160, .35) 0, transparent 40%),
    var(--bg);
}
.final__grid { display: grid; gap: 28px; align-items: center; }
.final__photo { border-radius: 32px; box-shadow: var(--shadow); width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; }
.start-steps { display: grid; gap: 10px; counter-reset: s; margin: 16px 0 8px; }
.start-steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; font-weight: 600; }
.start-steps li::before {
  content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--deep); color: #fff; font-weight: 800;
}

.footer { padding: 28px 0; text-align: center; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); }

/* Закреплённая панель на мобильном */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; gap: 8px; align-items: center;
  padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(251, 248, 244, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(91, 47, 134, .08);
}
.sticky-cta__label { display: none; }
.sticky-cta .btn { flex: 1; min-height: 48px; padding: 10px 12px; font-size: 15px; }
@media (max-width: 767px) {
  :root { --sticky-h: calc(70px + env(safe-area-inset-bottom)); }
}

/* Планшет и десктоп */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 96px 0; }
  .sticky-cta { display: none; }
  .hero { padding: 56px 0 88px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
  .hero__media img { aspect-ratio: 818 / 978; }
  .split { grid-template-columns: 1.2fr .8fr; gap: 56px; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .results .card:last-child { grid-column: 1 / -1; }
  .author { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .flow__arrow { transform: none; align-self: center; }
  .program { grid-template-columns: 1.5fr 1fr; gap: 32px; }
  .step:nth-child(2) { margin-left: 4%; }
  .step:nth-child(3) { margin-left: 8%; }
  .step:nth-child(4) { margin-left: 12%; }
  .step:nth-child(5) { margin-left: 16%; }
  .agent { grid-template-columns: 1.3fr .7fr; gap: 56px; }
  .pricing__photo { display: block; width: 150px; border-radius: 20px; box-shadow: var(--shadow); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .help { grid-template-columns: 1fr auto; align-items: center; padding: 18px 24px; }
  .help .cta { margin: 0; }
  .gift { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .final__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
