:root {
  --bg: #070910;
  --panel: #111527;
  --panel2: #151a30;
  --text: #f2f4ff;
  --muted: #98a0bd;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #8b5cf6;
  --accent2: #22d3ee;
  --green: #34d399;
  --red: #fb7185;
  --amber: #fbbf24;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(139, 92, 246, 0.24), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(34, 211, 238, 0.08), transparent 55%),
    var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5vw, 62px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0; padding-left: 20px; }
code, pre { font-family: "SF Mono", Consolas, "Liberation Mono", monospace; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.center { text-align: center; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 960px; }

.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 16, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand-logo { width: 38px; height: 38px; border-radius: 11px; }
.brand-footer { margin-bottom: 10px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav-user { color: var(--text); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; transition: 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #0b0716;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6 45%, #22d3ee);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(139, 92, 246, 0.5); }
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-small { padding: 9px 14px; border-radius: 11px; font-size: 13px; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.35);
  color: #d8ccff; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.badge-green { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.35); color: #a7f3d0; }

.chip {
  display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05); color: var(--text);
}
.chip-wb { color: #f9a8d4; border-color: rgba(236, 72, 153, 0.4); background: rgba(236, 72, 153, 0.1); }
.chip-ozon { color: #93c5fd; border-color: rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.1); }
.chip-avito { color: #86efac; border-color: rgba(34, 197, 94, 0.35); background: rgba(34, 197, 94, 0.08); }
.chip-soft { color: var(--muted); font-weight: 600; }

.hero { padding: 78px 0 50px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin-top: 18px; }
.grad {
  background: linear-gradient(100deg, #c4b5fd, #8b5cf6 45%, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 19px; max-width: 570px; margin-top: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.hero-meta span::before { content: "•"; color: var(--accent2); margin-right: 8px; }

.demo-card {
  background: linear-gradient(160deg, rgba(21, 26, 48, 0.95), rgba(12, 15, 28, 0.98));
  border: 1px solid var(--line); border-radius: 28px; padding: 26px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.demo-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 65%);
}
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.demo-score { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.demo-title { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.demo-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.demo-cta b { display: block; font-size: 22px; }

.ring {
  --score: 0;
  width: 116px; height: 116px; flex: 0 0 auto; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--score) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--panel); }
.ring span, .ring small { position: relative; z-index: 1; }
.ring span { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; }
.ring small { font-size: 12px; color: var(--muted); align-self: end; margin-bottom: 31px; }
.ring-big { width: 156px; height: 156px; }
.ring-big span { font-size: 48px; }
.ring-big small { margin-bottom: 44px; }

.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 108px 1fr 52px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.bar-row b { color: var(--text); font-size: 12px; text-align: right; }
.bar { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent2)); }

.demo-issues { display: grid; gap: 10px; margin-top: 16px; }
.issue { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border-left: 3px solid var(--muted); }
.issue > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, 0.08); flex: 0 0 auto; }
.issue b { display: block; font-size: 13px; }
.issue small { color: var(--muted); font-size: 12px; }
.issue-1 { border-left-color: var(--red); }
.issue-2 { border-left-color: var(--amber); }
.issue-3 { border-left-color: var(--accent2); }

.section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { margin-top: 8px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature, .step {
  background: linear-gradient(160deg, rgba(21, 26, 48, 0.8), rgba(11, 14, 26, 0.9));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.3);
  color: #d8ccff; font-weight: 800; font-size: 13px; margin-bottom: 16px;
}
.feature p, .step p { color: var(--muted); font-size: 14px; margin: 0; }
.step-num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #0b0716; font-weight: 900; margin-bottom: 16px; }
.note { margin-top: 18px; padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.16); color: var(--muted); font-size: 14px; }
.note b { color: var(--text); }

.pricing-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.pricing-copy .check-list { margin-top: 18px; }
.price-card {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(139, 92, 246, 0.4); border-radius: 28px; padding: 30px;
  box-shadow: var(--shadow); text-align: center;
}
.price-old { color: var(--muted); text-decoration: line-through; font-size: 17px; }
.price-now { font-size: 58px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; margin: 4px 0 6px; }
.price-small { font-size: 38px; }
.price-card .btn { margin: 20px 0 12px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent2); font-weight: 900; }
.check-list-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.faq { display: grid; gap: 10px; }
.faq details { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }

.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-title { font-size: clamp(26px, 4vw, 44px); }
.orders-head { margin-top: 46px; }
.panel {
  background: linear-gradient(160deg, rgba(21, 26, 48, 0.82), rgba(10, 13, 24, 0.92));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.form-panel { padding: 22px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03); color: var(--muted); font: inherit; font-weight: 700; cursor: pointer;
}
.tab.active { color: var(--text); border-color: rgba(139, 92, 246, 0.6); background: rgba(139, 92, 246, 0.16); }
.platform-hint { background: rgba(34, 211, 238, 0.06); border: 1px solid rgba(34, 211, 238, 0.16); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.platform-hint b { color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.field span { color: var(--text); }
.field-full { grid-column: 1 / -1; }
.input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(4, 6, 12, 0.7); color: var(--text); font: inherit; font-size: 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus { border-color: rgba(139, 92, 246, 0.7); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16); }
textarea.input { resize: vertical; min-height: 100px; }
.form-panel .btn-block { margin-top: 18px; }
.alert { background: rgba(251, 113, 133, 0.1); border: 1px solid rgba(251, 113, 133, 0.35); color: #fecdd3; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-size: 14px; }

.orders { display: grid; gap: 8px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.order-row:hover { border-color: rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.06); }
.order-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-main b { font-size: 14px; }
.order-side { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.status { font-size: 11px; font-weight: 800; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.status-ready { color: #a7f3d0; background: rgba(52, 211, 153, 0.12); }
.status-generating, .status-paid { color: #fde68a; background: rgba(251, 191, 36, 0.12); }
.status-failed { color: #fecdd3; background: rgba(251, 113, 133, 0.12); }
.status-pending_payment { color: #bfdbfe; background: rgba(59, 130, 246, 0.12); }
.empty { border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 28px; color: var(--muted); text-align: center; }

.result-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; margin-bottom: 16px; }
.score-panel { text-align: center; }
.score-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.score-panel .ring { margin: 0 auto 16px; }
.score-panel .bars { text-align: left; margin-top: 18px; }
.free-panel { margin-bottom: 16px; }
.free-panel h2 { margin-top: 14px; }
.insights { display: grid; gap: 10px; color: var(--muted); margin: 14px 0 18px; }
.insights li { padding-left: 4px; }
.copy-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.copy-text { flex: 1; background: rgba(4, 6, 12, 0.65); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #e9e6ff; overflow-wrap: anywhere; }
.copy-row .copy-text { display: block; }
.buy-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.buy-side { min-width: 220px; text-align: center; }
.buy-side .btn { margin-top: 10px; }
.h2-small { font-size: 20px; }
.issues { display: grid; gap: 10px; }
.report-section { margin-bottom: 16px; }
.section-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-pre { white-space: pre-wrap; background: rgba(4, 6, 12, 0.6); border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-family: inherit; font-size: 15px; line-height: 1.65; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.numbered { color: var(--muted); display: grid; gap: 8px; }
.replies { display: grid; gap: 12px; }
.reply { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.reply b { color: var(--text); }
.warn-list { color: var(--muted); display: grid; gap: 8px; }
.warn-list li::marker { color: var(--amber); }
.center-panel { text-align: center; padding: 52px 26px; }
.center-panel .btn { margin-top: 12px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--accent2); border-radius: 50%; display: inline-block; animation: spin 0.8s linear infinite; vertical-align: -3px; }
.spinner-big { width: 46px; height: 46px; border-width: 4px; margin-bottom: 16px; }
.login-panel { text-align: center; }
.login-logo { width: 84px; height: 84px; margin: 0 auto 18px; }
.login-logo img { border-radius: 20px; }
.login-status { margin: 18px 0; color: var(--muted); font-size: 14px; }
.login-status.failed { color: var(--red); }

.footer { border-top: 1px solid var(--line); padding: 34px 0; margin-top: 20px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.legal h2 { margin-top: 28px; font-size: 22px; }
.legal p { color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hero-grid, .pricing-grid, .result-grid, .two-col { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .check-list-inline { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .nav-user { display: none; }
  .hero { padding-top: 48px; }
  .buy-panel { flex-direction: column; align-items: stretch; }
  .buy-side { text-align: left; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .page-head { flex-direction: column; }
  .order-row { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; }
  .ring { width: 96px; height: 96px; }
  .ring span { font-size: 30px; }
  .ring small { margin-bottom: 24px; }
  .price-now { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
