:root {
  --uf-bg: #0f0d0c;
  --uf-surface: #1a1715;
  --uf-text: #a19d9a;
  --uf-heading: #f0efea;
  --uf-accent: #8b5cf6;
  --uf-accent-2: #84cc16;
  --uf-border: #3a3532;
  --uf-success: #84cc16;
  --uf-warn: #fbbf24;
}
* { box-sizing: border-box; }
@keyframes pulseGlow {
  0% { transform: scale(1) translate(-50%, -50%); opacity: 0.5; }
  50% { transform: scale(1.1) translate(-45%, -45%); opacity: 0.7; }
  100% { transform: scale(1) translate(-50%, -50%); opacity: 0.5; }
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--uf-bg);
  color: var(--uf-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 50%;
  width: 120vw; height: 120vh;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.18) 0%, rgba(15, 13, 12, 0) 60%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 15s ease-in-out infinite;
}
a { color: #c4b5fd; }
a:hover { color: #ddd6fe; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, body::before { animation: none; transition: none; opacity: 1; transform: none; }
}
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
header.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--uf-border);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
  background: rgba(5,7,13,0.75);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--uf-heading); text-decoration: none; letter-spacing: -0.02em; }
nav a { margin-left: 18px; text-decoration: none; font-size: 0.95rem; }
.page-hero { padding: 48px 0 24px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--uf-heading); letter-spacing: -0.03em; }
.page-hero p { margin: 0; max-width: 720px; font-size: 1.05rem; }
section { padding: 32px 0 48px; }
section h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); color: var(--uf-heading); margin: 0 0 16px; }
.uf-service-main > section > .wrap > p,
.uf-service-main > section > .wrap > ul,
.uf-service-main > section > .wrap > ol,
.uf-service-main > section > .wrap > h3,
.uf-service-main > p,
.uf-service-main > ul,
.uf-service-main > ol,
.uf-service-main > h3 {
  max-width: 72ch;
}
.uf-service-main > section > .wrap > p,
.uf-service-main > section > .wrap > li,
.uf-service-main > p,
.uf-service-main > li {
  color: var(--text-secondary, var(--uf-text));
  line-height: 1.72;
}
.ym-faq-item {
  margin: 0 0 12px;
  background: var(--bg-subtle, var(--uf-surface));
  border: 1px solid var(--border-light, var(--uf-border));
  border-radius: 12px;
  overflow: hidden;
}
.ym-faq-item[open] {
  border-color: rgba(139, 92, 246, 0.5);
}
.ym-faq-item > summary {
  position: relative;
  display: block;
  padding: 16px 48px 16px 20px;
  color: var(--text-primary, var(--uf-heading));
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.ym-faq-item > summary::-webkit-details-marker { display: none; }
.ym-faq-item > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--brand-lime, var(--uf-success));
  font-size: 1.3rem;
  transform: translateY(-50%);
}
.ym-faq-item[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.ym-faq-item > p {
  margin: 0 20px 18px;
  color: var(--text-secondary, var(--uf-text));
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease; cursor: pointer; font-size: 1rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--uf-accent), var(--uf-accent-2)); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.06); border-color: var(--uf-border); color: var(--uf-heading); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.grid-4.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}
.grid-3 .card,
.grid-4.pricing-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.grid-3 .card .checklist,
.grid-4.pricing-grid .card .checklist { flex: 1; }
.grid-3 .card .btn,
.grid-4.pricing-grid .card .btn { margin-top: auto; width: 100%; }
.plan-featured { border-color: rgba(139, 92, 246, 0.55); box-shadow: 0 0 20px rgba(103, 126, 255, 0.12); }
.plan-lifetime { border-color: rgba(34, 197, 94, 0.35); }
.plan-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.plan-badge--alt { color: #bbf7d0; background: rgba(34, 197, 94, 0.2); }
.price-usd { font-size: 0.92rem; color: var(--uf-text); margin: -4px 0 10px; opacity: 0.85; }
.card {
  padding: 22px; border-radius: 18px;
  background: var(--uf-surface); border: 1px solid var(--uf-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); border-color: rgba(139,92,246,0.3); }
.card h3 { margin: 0 0 10px; color: var(--uf-heading); font-size: 1.1rem; }
.price { font-size: 2rem; font-weight: 800; color: var(--uf-heading); margin: 8px 0; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--uf-text); }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem; word-break: break-all;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(0,0,0,0.35); border: 1px solid var(--uf-border);
}
.callout {
  padding: 16px 18px; border-left: 4px solid var(--uf-accent);
  border-radius: 12px; background: rgba(103,126,255,0.08); margin: 20px 0;
}
.callout.warn { border-left-color: var(--uf-warn); background: rgba(251,191,36,0.08); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  padding: 16px 16px 16px 56px; position: relative;
  border-left: 2px solid rgba(103,126,255,0.35); margin-left: 12px; margin-bottom: 8px;
}
.steps li::before {
  content: counter(step); position: absolute; left: -14px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--uf-accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--uf-success); font-weight: 700; }

/* Article / longread pages (intl + RU transcribe cluster) */
html, body { overflow-x: clip; }
main.page,
body > main.page {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 64px;
  display: grid;
  gap: 24px;
  max-width: 100%;
  box-sizing: border-box;
}
main.page > article,
.page > article {
  background: rgba(13, 20, 39, 0.82);
  border: 1px solid rgba(161, 183, 220, 0.25);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 34px);
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
main.page article h1,
.page > article h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--uf-heading);
  letter-spacing: -0.02em;
}
main.page article h2,
.page > article h2,
main.page .section h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin: 28px 0 12px;
  color: var(--uf-heading);
}
main.page article p,
.page > article p {
  margin: 0 0 14px;
}
.lead {
  border: 1px solid rgba(87, 166, 255, 0.4);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(87, 166, 255, 0.08);
}
.section { margin-top: 8px; }
main.page article table,
.page > article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}
main.page article th,
main.page article td,
.page > article th,
.page > article td {
  border: 1px solid rgba(161, 183, 220, 0.25);
  padding: 10px;
  text-align: left;
}
main.page article th,
.page > article th {
  background: rgba(87, 166, 255, 0.12);
  color: var(--uf-heading);
}
.uf-cta {
  margin: 24px 0;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
}
.uf-cta .btn {
  display: inline-block;
  margin: 6px 8px 0 0;
}
.uf-product-desktop {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--uf-border);
  border-radius: 14px;
}
.uf-product-desktop__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.uf-faq details,
.ym-faq-item {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--uf-border);
  border-radius: 10px;
}
.uf-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--uf-heading);
}

footer { padding: 40px 0 60px; border-top: 1px solid var(--uf-border); font-size: 0.9rem; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
form.checkout-form { display: grid; gap: 8px; max-width: 420px; margin-top: 28px; }
form.checkout-form label { font-size: 0.92rem; font-weight: 600; color: var(--uf-heading); }
form.checkout-form input {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--uf-border);
  background: rgba(0,0,0,0.25); color: var(--uf-heading); font-size: 1rem;
}
/* AdsPower partner banner — bottom of new articles */
main.page > article,
.page > article {
  min-width: 0;
  max-width: 100%;
}
.uf-partner-banner {
  margin: 36px auto 24px;
  width: auto;
  max-width: min(100%, 900px);
  padding: 0 16px;
  box-sizing: border-box;
  text-align: center;
}
.uf-partner-banner__media {
  width: 100%;
  max-width: 100%;
}
.uf-partner-banner a {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.uf-partner-banner a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(87, 166, 255, 0.2);
}
.uf-partner-banner img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}
.uf-partner-banner__promo {
  margin: 14px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
  padding: 14px 16px;
  border: 1px solid rgba(103, 126, 255, 0.32);
  border-radius: 14px;
  background: rgba(8, 12, 28, 0.82);
  color: var(--uf-text);
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  text-align: left;
}
.uf-partner-banner__label {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(103, 126, 255, 0.18);
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.uf-partner-banner__promo strong {
  padding: 5px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--uf-heading);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}
/* RTL overrides (legacy; RU-only site — no locale switcher) */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .site-header .wrap { flex-direction: row-reverse; }
html[dir="rtl"] nav a { margin-left: 0; margin-right: 18px; }
html[dir="rtl"] .steps li { padding: 16px 56px 16px 16px; border-left: none; border-right: 2px solid rgba(103,126,255,0.35); margin-left: 0; margin-right: 12px; }
html[dir="rtl"] .steps li::before { left: auto; right: -14px; }
html[dir="rtl"] .checklist li { padding: 8px 28px 8px 0; }
html[dir="rtl"] .checklist li::before { left: auto; right: 0; }
html[dir="rtl"] .callout { border-left: none; border-right: 4px solid var(--uf-accent); }
html[dir="rtl"] table th, html[dir="rtl"] table td { text-align: right; }
html[dir="rtl"] main.page article th,
html[dir="rtl"] main.page article td,
html[dir="rtl"] .page > article th,
html[dir="rtl"] .page > article td { text-align: right; }
html[dir="rtl"] .lead { text-align: right; }
html[dir="rtl"] .uf-product-desktop__actions { flex-direction: row-reverse; }

@media (max-width: 640px) {
  nav a { margin-left: 12px; font-size: 0.88rem; }
  .uf-partner-banner { padding: 0 12px; }
  .uf-partner-banner__promo {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .uf-partner-banner__label,
  .uf-partner-banner__promo strong {
    justify-self: center;
  }
}
