/* Лендинг сервиса. Цвета — от --accent: у marflow лайм, у marftuber свой (marftuber/landing.css). */

/* ---------- первый экран ---------- */

.hero { padding: 88px 0 72px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  color: var(--muted);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

h1 {
  margin: 22px 0 0;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.accent { color: var(--accent); }

.lead { margin: 22px 0 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.sub { margin: 12px 0 0; max-width: 520px; font-size: 17px; color: var(--muted); line-height: 1.5; }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* макет стрима с оверлеем */
.mock-stream {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 48px),
    var(--surface);
  overflow: hidden;
}
.mock-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%);
}

.mock-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 380px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(11, 11, 14, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }

.mock-media { aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; background: #000; }
.mock-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mock-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 4px 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.mock-logo { width: 13px; height: 13px; fill: var(--accent); }
.mock-time { margin-left: auto; letter-spacing: 0.02em; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.eq i { width: 2px; height: 100%; background: var(--accent); border-radius: 1px; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

.mock-title { margin: 5px 4px 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-by { margin: 2px 4px 0; font-size: 13px; color: var(--muted); }
.mock-by b { color: var(--accent); font-weight: 600; }
.mock-bar { margin: 10px 4px 2px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.mock-bar div { width: 44%; height: 100%; background: var(--accent); animation: progress 12s linear infinite; }
@keyframes progress { from { width: 10%; } to { width: 100%; } }

/* ---------- секции ---------- */

.section { padding: 72px 0; border-top: 1px solid var(--border); }

h2 {
  margin: 0 0 32px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-num { margin-bottom: 28px; font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.feature p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}
.steps p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--accent) 2%, transparent));
}
.cta-band h2 { margin: 0; }

.footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .brand-logo { width: 22px; height: 22px; }
.footer .brand-name { font-size: 17px; }

/* ---------- мобильные ---------- */

@media (max-width: 900px) {
  .top-links { display: none; }
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mock-stream { aspect-ratio: 4 / 3.4; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 52px 0; }
  .cta-band { padding: 28px 22px; }
}

/* ---------- шапка ---------- */
.topbar .container { gap: 24px; }
.top-links { display: flex; gap: 22px; margin-left: auto; }
.top-links a { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.top-links a:hover { color: var(--text); }

/* ---------- первый экран: всплывашки на «стриме» ---------- */
.bubble {
  position: absolute;
  z-index: 2;
  max-width: 300px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  line-height: 1.35;
  animation: pop 9s ease-in-out infinite;
}
.bubble-points { top: 26px; right: 22px; display: flex; gap: 10px; align-items: center; animation-delay: -1s; transform: rotate(1.5deg); }
.bubble-points small { display: block; color: var(--muted); font-size: 12px; }
.bubble-chat { top: 112px; left: 22px; transform: rotate(-1.5deg); animation-delay: -3.5s; }
.bubble-chat span { color: var(--muted); }
.bot { color: #a98bff; font-weight: 700; margin-right: 6px; }
.pts { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: #a970ff; box-shadow: inset 0 0 0 5px #7d48d8; }
@keyframes pop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---------- возможности: мозаика ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.tile:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.tile-wide { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.tile-half { grid-column: span 3; }
.tile p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.tile .art { margin-bottom: 20px; }
.tile-wide .art { margin: 0; }

/* мини-картинки: кусочки настоящего интерфейса */
.art { padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); font-size: 13px; }
.src { display: inline-block; width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; vertical-align: -3px; }
.src.yt { background: #ff0033 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 5v6l5-3z' fill='white'/%3E%3C/svg%3E") center / 100% no-repeat; }
.src.vk { background: #0077ff; position: relative; }
.src.vk::after { content: "VK"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 7px; font-weight: 800; }
.art-input { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); }
.art-arrow { padding: 4px 0; text-align: center; color: var(--accent); font-weight: 700; }
.art-queue { list-style: none; margin: 0; padding: 0; }
.art-queue li { display: flex; align-items: center; gap: 8px; padding: 7px 4px; color: var(--muted); }
.art-queue li + li { border-top: 1px solid var(--border); }
.art-queue li:first-child { color: var(--text); font-weight: 600; }
.art-queue i { width: 14px; font-style: normal; color: var(--muted); font-size: 12px; font-weight: 400; }
.art-queue em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }

.art-refund { display: grid; place-items: center; min-height: 92px; }
.chip-refund { padding: 8px 14px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent); font-weight: 700; transform: rotate(-3deg); }

.art-bg { display: grid; align-items: center; min-height: 92px; }
.timeline { display: flex; gap: 4px; }
.seg { padding: 10px 0; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 600; }
.seg.bg { flex: 2; background: rgba(169, 139, 255, 0.16); color: #a98bff; }
.seg.ord { flex: 1.3; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }

.art-dock { display: grid; place-items: center; min-height: 92px; }
.mini-dock { width: 150px; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.mini-row { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.mini-play { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.mini-btn { width: 18px; height: 18px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); }
.mini-gap { flex: 1; }
.mini-pill { height: 12px; margin-top: 5px; border-radius: 5px; background: linear-gradient(to right, #3a3a46 var(--w), var(--surface-2) var(--w)); }

.art-volume { display: grid; gap: 8px; align-content: center; min-height: 92px; }
.vol { position: relative; display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); overflow: hidden; font-weight: 600; }
.vol i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: #3a3a46; }
.vol span, .vol b { position: relative; }
.vol span { color: var(--muted); font-weight: 500; }

.art-chat { display: grid; gap: 8px; }
.art-chat .line { color: var(--muted); line-height: 1.4; }

.art-safe { display: grid; gap: 8px; }
.safe-row { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.safe-row.ok { color: var(--text); }
.dot-warn, .dot-ok { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-warn { background: var(--warn); }
.dot-ok { background: var(--accent); }

.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.perks li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 500; }
.perks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- важно: YouTube в России ---------- */
.notice {
  padding: 36px;
  border-radius: 22px;
  border: 1px solid rgba(255, 181, 71, 0.4);
  background: linear-gradient(140deg, rgba(255, 181, 71, 0.09), rgba(255, 181, 71, 0.02) 60%), var(--surface);
}
.notice-head { display: flex; gap: 18px; align-items: flex-start; }
.notice-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--warn); color: var(--accent-ink); font-size: 24px; font-weight: 800; }
.notice h2 { margin: 0; font-size: clamp(24px, 2.8vw, 34px); }
.notice-lead { margin: 10px 0 0; max-width: 680px; font-size: 17px; line-height: 1.5; }
.notice-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.notice-col { padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.notice-col.good { border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.notice-col p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.src-head { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.notice-foot { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- вопросы ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.55; }

/* мобильные правила новых блоков — в самом конце, иначе их перебивают основные правила выше */
@media (max-width: 900px) {
  .top-links { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile-wide, .tile-half { grid-column: auto; }
  .tile-wide { grid-template-columns: minmax(0, 1fr); }
  .notice-cols { grid-template-columns: minmax(0, 1fr); }
  .notice { padding: 26px 20px; }
  .bubble { max-width: 230px; font-size: 12px; }
  .bubble-points { top: 16px; right: 14px; }
  .bubble-chat { top: 84px; left: 14px; }
  .notice-head { flex-direction: column; gap: 14px; }
}
@media (max-width: 520px) {
  .bubble-chat { display: none; }  /* на узком экране сообщение бота закрывало бы карточку */
  .mock-card { left: 14px; right: 14px; bottom: 14px; }
}

