/* Лендинг «Свой ИИ-блогер» — общий для RU и EN. Токены и кнопки — как на главной. */
:root {
  --ivory: #F6F0E7;
  --ivory-dark: #ECE6DC;
  --espresso: #17120F;
  --mint: #5FE0B8;
  --coral: #FF7A66;
  --cobalt: #2956FF;
  --lilac: #B9A6F2;
  --ink-70: rgba(23,18,15,0.72);
  --ink-40: rgba(23,18,15,0.48);
  --ink-15: rgba(23,18,15,0.15);
  --card: rgba(255,255,255,0.72);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory); color: var(--espresso);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.55; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── Шапка ── */
.top {
  position: sticky; top: 0; z-index: 50; height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 20px; background: rgba(246,240,231,0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,18,15,0.08);
}
.top-logo img { height: 22px; width: auto; }
.top-right { display: flex; align-items: center; gap: 10px; }
.lang {
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-decoration: none;
  color: var(--ink-70); padding: 6px 12px; border-radius: 100px; border: 1px solid var(--ink-15);
}

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer;
  font: 800 17px/1.2 'Manrope', system-ui, sans-serif; letter-spacing: -0.01em;
  text-decoration: none; text-align: center; transition: transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(0.98); }
.btn-pay { background: var(--espresso); color: #fff; box-shadow: 0 6px 24px rgba(23,18,15,0.28); }
.btn-mint { background: var(--mint); color: var(--espresso); box-shadow: 0 6px 24px rgba(95,224,184,0.4); }
.btn-ghost { background: transparent; color: var(--espresso); border: 1.5px solid var(--ink-40); min-height: 46px; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.alt-pay { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-40); text-align: center; }
.fine { font-size: 13px; color: var(--ink-40); margin-top: 10px; }

/* ── Первый экран ── */
.hero {
  background:
    radial-gradient(ellipse 80% 50% at 90% 10%, rgba(95,224,184,0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 90%, rgba(255,122,102,0.16), transparent 60%),
    var(--ivory);
  padding: 18px 0 28px;
}
.hero .wrap { display: flex; flex-direction: column; gap: 16px; }
.hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); }
.hero h1 { font-weight: 800; font-size: clamp(32px, 8.6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 em { color: var(--cobalt); }
.hero-sub { font-size: 16px; color: var(--ink-70); max-width: 520px; }
.hero-cta .btn { width: 100%; }
.hero-media { position: relative; align-self: center; justify-self: center; max-width: 100%; height: min(44svh, 520px); aspect-ratio: 9 / 16; }
.hero h1 { order: 1; } .hero-media { order: 2; } .hero-cta { order: 3; } .hero-sub { order: 4; } .hero-eyebrow { order: 0; }
.hero-media video, .case-media video, .ph {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px;
  background: linear-gradient(160deg, #2b2320, var(--espresso));
  box-shadow: 0 18px 50px rgba(23,18,15,0.22);
}
.hero-media video, .hero-media .ph { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  padding: 8px 12px; border-radius: 14px; background: rgba(23,18,15,0.72); color: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.hero-badge b { color: var(--mint); font-size: 18px; }
.sound {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(23,18,15,0.6); color: #fff; font-size: 18px; cursor: pointer;
}
.ph { display: flex; align-items: center; justify-content: center; padding: 20px; color: rgba(255,255,255,0.7); font-size: 14px; text-align: center; }

/* ── Секции ── */
.sec { padding: 56px 0; }
.sec-alt { background: var(--ivory-dark); }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 10px; }
h2 { font-weight: 800; font-size: clamp(28px, 6.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 14px; }
h3 { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 6px; }
.lead { color: var(--ink-70); max-width: 620px; }
.card { background: var(--card); border: 1.5px solid rgba(255,255,255,0.9); border-radius: 22px; padding: 22px; box-shadow: 0 6px 30px rgba(23,18,15,0.06); }
.grid { display: grid; gap: 16px; margin-top: 28px; }

/* ── Кейсы ── */
.case { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.case-media { position: relative; }
.case-media video, .case-media .ph { border-radius: 16px; }
.case-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; cursor: pointer; font-size: 34px; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.case-num { font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.case-net { font-size: 14px; font-weight: 700; color: var(--ink-70); margin: 4px 0 8px; }
.case-title { font-size: 13px; color: var(--ink-40); font-weight: 600; margin-bottom: 8px; }
.case-note { font-size: 15px; font-weight: 700; }
.case-extra { font-size: 13px; color: var(--ink-70); margin-top: 6px; }
.cases-foot { font-size: 13px; color: var(--ink-40); margin-top: 18px; }

/* ── Шаги ── */
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: var(--espresso); color: #fff; }
.step:nth-child(2) .step-n { background: var(--mint); color: var(--espresso); }
.step:nth-child(3) .step-n { background: var(--coral); }
.step p, .aud p { font-size: 15px; color: var(--ink-70); }

/* ── Аудитории ── */
.aud-ico { font-size: 28px; margin-bottom: 8px; }
.aud .ph { aspect-ratio: 16 / 9; margin-top: 14px; border-radius: 14px; font-size: 13px; box-shadow: none; }
.aud video { width: 100%; aspect-ratio: 9 / 16; max-height: 420px; object-fit: cover; border-radius: 14px; margin-top: 14px; }
.aud .aud-cap { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-70); }

/* ── Тарифы ── */
.tier { display: flex; flex-direction: column; }
.tier-name { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-40); }
.tier-price { font-weight: 800; font-size: 34px; letter-spacing: -0.02em; margin: 4px 0; }
.tier-price span { font-size: 15px; font-weight: 600; color: var(--ink-40); }
.tier-meta { font-size: 14px; color: var(--ink-70); margin-bottom: 14px; }
.tier ul { list-style: none; margin-bottom: 18px; }
.tier li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-70); margin-bottom: 6px; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: #1fa97e; font-weight: 800; }
.tier-grow { flex: 1; }
.tier-main { background: var(--espresso); color: #fff; border-color: rgba(255,255,255,0.12); }
.tier-main .tier-name, .tier-main .tier-price span { color: rgba(255,255,255,0.55); }
.tier-main .tier-meta, .tier-main li { color: rgba(255,255,255,0.8); }
.tier-main li::before { color: var(--mint); }
.tier-main .btn-pay { background: var(--mint); color: var(--espresso); }
.tier-main .alt-pay { color: rgba(255,255,255,0.55); }
.credit-note { margin-top: 18px; font-size: 14px; color: var(--ink-70); }

/* ── FAQ ── */
details { border-bottom: 1px solid var(--ink-15); padding: 16px 0; }
summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ink-40); }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; font-size: 15px; color: var(--ink-70); }

/* ── Финал и подвал ── */
.final { text-align: center; }
.final .btn { width: 100%; max-width: 420px; }
footer { padding: 28px 0 90px; font-size: 13px; color: var(--ink-40); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer .operator { flex-basis: 100%; font-size: 12px; line-height: 1.5; }

/* ── Липкая кнопка (мобильный) ── */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246,240,231,0.95); border-top: 1px solid var(--ink-15);
  transform: translateY(110%); transition: transform .25s;
}
.sticky.on { transform: none; }
.sticky .btn { width: 100%; min-height: 48px; }

/* ── Баннер согласия ── */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 520px; margin: 0 auto;
  padding: 16px; border-radius: 18px; background: var(--espresso); color: #fff; font-size: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.consent p { color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.consent a { color: var(--mint); }
.consent-btns { display: flex; gap: 10px; }
.consent-btns .btn { flex: 1; min-height: 42px; font-size: 14px; padding: 8px 12px; }
.consent .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ── Страница после оплаты ── */
.paid { min-height: 80svh; display: flex; align-items: center; text-align: center; }
.paid .card { max-width: 520px; margin: 0 auto; padding: 32px 24px; }
.paid h1 { font-weight: 800; font-size: clamp(30px, 7vw, 44px); line-height: 1.1; margin-bottom: 12px; }
.paid p { color: var(--ink-70); margin-bottom: 18px; }
.paid .btn { width: 100%; }

@media (min-width: 720px) {
  .wrap { padding: 0 40px; }
  .top { padding: 0 40px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; }
  .case-media { max-width: 240px; }
  .sec { padding: 88px 0; }
  .sticky { display: none; }
}
@media (min-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; column-gap: 48px; row-gap: 20px; }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-cta { grid-column: 1; }
  .hero-media { grid-row: 1 / span 4; grid-column: 2; height: 600px; }
  .hero-sub { order: 3; } .hero-cta { order: 4; }
  .hero-sub { font-size: 19px; }
  .hero-cta .btn { width: auto; min-width: 320px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 719px) { .hero-eyebrow { display: none; } }
