/* Страница «SEO-аудит» (/seo-audit), 26.09.2026. Общий каркас в стиле шаблона Aior — классы pf-pos-* из positions.css,
   здесь только своё: форма бесплатной проверки (seo-check), макет отчёта, «боли», видимость, закреплённая кнопка. */
.pf-aud { --audit-line: #10304a14; }

/* Hero: бейдж и форма в центре */
.pf-page .pf-aud-hero__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 8px 16px; border-radius: 99px; background: #ffffffb3; border: 1px solid #ffffff; color: #0b8f63; font-size: 14px; font-weight: 500; box-shadow: 0 8px 20px -12px #2a4a7a44; }
.pf-aud-hero__form { max-width: 820px; margin: 34px auto 0; }
.pf-aud-hero__pin { background: linear-gradient(145deg,#2ee6a6,#0b9f86) !important; box-shadow: inset 0 3px 0 #ffffff55, 0 22px 30px -10px #0b8f6388 !important; }
.pf-aud-hero__frame { margin-top: 56px; }
.pf-aud-hero__float b { font-size: 28px !important; }

/* Форма бесплатной проверки (components/audit/public-audit-check.tsx) */
.seo-check { position: relative; padding: 26px; border-radius: 20px; background: #ffffffd9; border: 1px solid #ffffff; backdrop-filter: blur(12px); box-shadow: 0 30px 70px -30px #1f5fe866, 0 0 0 6px #ffffff66; text-align: left; scroll-margin-top: 110px; }
.seo-check__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.pf-page .seo-check__header > span { display: flex; align-items: center; gap: 9px; color: #14304c; font-size: 15px; font-weight: 600; }
.seo-check__header svg { color: #1f5fe8; }
.pf-page .seo-check__header small { padding: 4px 10px; border-radius: 99px; background: #0fb37a1a; color: #0b8f63; font-size: 11px; font-weight: 600; }
.pf-page .seo-check label { display: block; color: #4a5d74; margin-bottom: 9px; font-size: 13px; }
.seo-check__input-row { display: flex; gap: 10px; padding: 6px; border-radius: 14px; background: #f3f7ff; border: 1px solid #1f5fe81f; transition: border-color .2s, box-shadow .2s; }
.seo-check__input-row:focus-within { border-color: #1f5fe8; box-shadow: 0 0 0 4px #1f5fe81f; }
.pf-page .seo-check input { min-width: 0; flex: 1; padding: 16px 16px; border: 0; border-radius: 10px; background: transparent; color: #14304c; font-size: 17px; }
.pf-page .seo-check input:focus { outline: none; }
.pf-page .seo-check button, .pf-page .seo-check__cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; background: linear-gradient(120deg,#0fb37a,#12c7a0); color: #fff; padding: 16px 26px; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; box-shadow: 0 12px 26px -12px #0b8f63aa; transition: transform .2s, filter .2s; }
.pf-page .seo-check button:hover, .pf-page .seo-check__cta:hover { transform: translateY(-1px); filter: brightness(1.05); color: #fff; }
.pf-page .seo-check button:disabled { opacity: .7; cursor: wait; transform: none; }
.pf-page .seo-check form > p { margin: 12px 0 0; font-size: 12px; color: #6b7a8f; }
.pf-page .seo-check__error { color: #c0392b; margin: 16px 0 0; font-size: 13px; }
.pf-page .seo-check__status { margin: 16px 0 0; color: #1f5fe8; font-size: 13px; }
.seo-check__spinner { animation: audit-spin 1s linear infinite; }
@keyframes audit-spin { to { transform: rotate(360deg); } }
.seo-check__result { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--audit-line); animation: pos-fade .45s ease; }
.seo-check__result-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pf-page .seo-check__result h2 { margin: 0; font-size: 20px !important; color: #14304c; letter-spacing: -.02em; }
.pf-page .seo-check__result-heading > span { padding: 4px 10px; border-radius: 99px; background: #0fb37a1a; color: #0b8f63; font-size: 11px; font-weight: 600; }
.pf-page .seo-check__url { font-size: 12px; color: #6b7a8f; overflow-wrap: anywhere; margin: 8px 0 14px; }
.seo-check dl { margin: 0; }
.seo-check__row { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--audit-line); }
.seo-check__row dt { display: flex; align-items: flex-start; gap: 8px; color: #14304c; font-size: 13px; font-weight: 500; }
.seo-check__row svg { flex-shrink: 0; margin-top: 1px; }
.seo-check__row svg[aria-label="Обнаружено"] { color: #0b8f63; }
.seo-check__row svg[aria-label="Стоит проверить"] { color: #e08a12; }
.seo-check__row dd { margin: 0; color: #4a5d74; font-size: 13px; overflow-wrap: anywhere; }
.pf-page .seo-check__note { font-size: 11px; color: #6b7a8f; margin: 14px 0 0; }
.seo-check__upsell { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(120deg,#eef4ff,#eafaf3); }
.pf-page .seo-check__upsell p { margin: 0; color: #4a5d74; font-size: 13px; line-height: 1.6; }
.pf-page .seo-check__upsell b { color: #14304c; }
.seo-check__upsell > div { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.pf-page .seo-check__next { color: #1f5fe8; font-size: 13px; }

/* Макет отчёта */
.pf-aud-report { border-radius: 16px 16px 0 0; background: #fafcff; box-shadow: 0 0 0 1px #10304a0d; padding: 22px; text-align: left; }
.pf-aud-report.is-compact { border-radius: 16px; }
.pf-aud-report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pf-page .pf-aud-report__head b { display: block; color: #14304c; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.pf-page .pf-aud-report__head small { color: #8a9aae; font-size: 12px; }
.pf-page .pf-aud-report__tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #0fb37a1a; color: #0b8f63; font-size: 12px; font-weight: 600; }
.pf-aud-report__body { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 16px; }
.pf-aud-report__score { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #10304a0d; }
.pf-aud-report__score svg { width: 150px; height: 150px; }
.pf-aud-report__ring { animation: aud-ring 1.8s .3s cubic-bezier(.3,.8,.3,1) both; }
@keyframes aud-ring { from { stroke-dasharray: 0 314; } }
.pf-aud-report__score > span { position: absolute; top: 18px; left: 0; right: 0; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pf-page .pf-aud-report__score > span b { color: #14304c; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pf-page .pf-aud-report__score > span small { color: #8a9aae; font-size: 11px; }
.pf-aud-report__counts { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; width: 100%; margin-top: 14px; }
.pf-page .pf-aud-report__counts span { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 10px; font-size: 16px; font-weight: 700; }
.pf-page .pf-aud-report__counts small { font-size: 10px; font-weight: 500; opacity: .8; }
.pf-aud-report__counts .is-error { background: #d645451a; color: #c53a3a; }
.pf-aud-report__counts .is-warn { background: #f5a5241f; color: #b86e05; }
.pf-aud-report__counts .is-ok { background: #0fb37a1a; color: #0b8f63; }
.pf-aud-report__pillars { display: grid; gap: 10px; align-content: center; padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #10304a0d; }
.pf-aud-report__pillars > div { display: grid; grid-template-columns: 150px minmax(0,1fr) 30px; align-items: center; gap: 12px; }
.pf-page .pf-aud-report__pname { display: inline-flex; align-items: center; gap: 8px; color: #14304c; font-size: 13px; }
.pf-aud-report__pname svg { color: #1f5fe8; }
.pf-aud-report__bar { height: 9px; border-radius: 99px; background: #10304a0f; overflow: hidden; }
.pf-aud-report__bar i { display: block; height: 100%; border-radius: 99px; transform-origin: left; animation: aud-bar 1.2s .4s cubic-bezier(.3,.8,.3,1) both; }
@keyframes aud-bar { from { transform: scaleX(0); } }
.pf-aud-report__bar i.is-good { background: linear-gradient(90deg,#0fb37a,#12c7a0); }
.pf-aud-report__bar i.is-mid { background: linear-gradient(90deg,#1f5fe8,#4f93ff); }
.pf-aud-report__bar i.is-bad { background: linear-gradient(90deg,#f07b1e,#ffc15a); }
.pf-page .pf-aud-report__pillars b { color: #14304c; font-size: 13px; text-align: right; }
.pf-aud-report__issues { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pf-page .pf-aud-report__issues li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #10304a0d; color: #14304c; font-size: 13px; }
.pf-page .pf-aud-report__issues em { margin-left: auto; padding: 3px 9px; border-radius: 99px; font-size: 10px; font-style: normal; font-weight: 700; }
.pf-aud-report__issues .is-error svg { color: #d64545; } .pf-aud-report__issues .is-error em { background: #d645451a; color: #c53a3a; }
.pf-aud-report__issues .is-warn svg { color: #e08a12; } .pf-aud-report__issues .is-warn em { background: #f5a5241f; color: #b86e05; }
.pf-aud-report__issues .is-ok svg { color: #0b8f63; } .pf-aud-report__issues .is-ok em { background: #0fb37a1a; color: #0b8f63; }

/* Полоса бесплатных проверок */
.pf-aud-free ul { gap: 12px !important; justify-content: center !important; }
.pf-page .pf-aud-free li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #fff; box-shadow: 0 1px 2px -14px #2a4a7a66, 0 0 0 1px #10304a0f; font-size: 15px !important; font-weight: 600 !important; letter-spacing: -.01em !important; color: #14304c !important; }
.pf-aud-free li svg { padding: 3px; width: 20px; height: 20px; border-radius: 50%; color: #fff; }
.pf-aud-free li.is-blue svg { background: #1f5fe8; } .pf-aud-free li.is-green svg { background: #0fb37a; } .pf-aud-free li.is-violet svg { background: #7c5cf0; }
.pf-aud-free li.is-orange svg { background: #f59e0b; } .pf-aud-free li.is-teal svg { background: #0d9db0; } .pf-aud-free li.is-red svg { background: #e0457b; }

/* Боли */
.pf-aud-pains { padding: 100px 0 40px; }
.pf-aud-pains__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 50px; }
.pf-aud-pains__grid article { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid #10304a12; box-shadow: 0 20px 40px -30px #2a4a7a66; transition: transform .25s, box-shadow .25s; }
.pf-aud-pains__grid article:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px #2a4a7a88; }
.pf-aud-pains__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #d645451a; color: #d64545; }
.pf-aud-pains__grid article:nth-child(2) .pf-aud-pains__icon { background: #f5a5241f; color: #e08a12; }
.pf-aud-pains__grid article:nth-child(3) .pf-aud-pains__icon { background: #7c5cf01f; color: #7c5cf0; }
.pf-page .pf-aud-pains__grid h3 { margin: 20px 0 10px; color: #14304c; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.pf-page .pf-aud-pains__grid p { margin: 0; color: #4a5d74; font-size: 14px; line-height: 1.7; }
.pf-aud-pains__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 24px 28px; border-radius: 20px; background: linear-gradient(120deg,#eef4ff,#eafaf3); }
.pf-page .pf-aud-pains__cta p { margin: 0; max-width: 700px; color: #4a5d74; font-size: 15px; line-height: 1.6; }
.pf-page .pf-aud-pains__cta b { color: #14304c; }
.pf-aud-pains__cta .pf-pos-btn { flex-shrink: 0; }

/* Полный аудит: картинка и факты */
.pf-aud-about__art { position: relative; border-radius: 26px; padding: 18px; background: linear-gradient(145deg,#cfe0ff,#e3ecff); box-shadow: inset 0 0 0 10px #ffffff66; }
.pf-page.pf-aud .pf-aud-about__art img { display: block; width: 100% !important; height: auto !important; border-radius: 18px; }
.pf-aud-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 26px 0 0; }
.pf-aud-facts div { padding: 16px; border-radius: 14px; background: #f3f7ff; }
.pf-page .pf-aud-facts strong { display: block; color: #1f5fe8; font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.pf-page .pf-aud-facts small { font-size: 18px; margin-left: 2px; }
.pf-page .pf-aud-facts > div > span { display: block; margin-top: 6px; color: #4a5d74; font-size: 12px; line-height: 1.4; }

/* Пункты во вкладках */
.pf-pos-tabs__points { display: grid; gap: 10px; margin: -14px 0 30px; padding: 0; list-style: none; }
.pf-page .pf-pos-tabs__points li { position: relative; padding-left: 26px; color: #14304c; font-size: 14px; }
.pf-pos-tabs__points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #0fb37a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.pf-aud-vis .pf-pos-dark__head p { margin-bottom: 26px; }

@media (max-width: 991px) {
  .pf-aud-pains__grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .pf-aud-pains__cta { flex-direction: column; align-items: stretch; text-align: center; }
  .pf-aud-report__body { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .seo-check { padding: 18px 14px; border-radius: 16px; }
  .seo-check__input-row { flex-direction: column; }
  .seo-check__header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .seo-check__row { grid-template-columns: 1fr; gap: 6px; }
  .seo-check__result-heading { align-items: flex-start; flex-direction: column; }
  .seo-check__upsell { flex-direction: column; align-items: stretch; }
  .seo-check__upsell > div { align-items: stretch; text-align: center; }
  .pf-aud-report { padding: 14px; }
  .pf-aud-report__pillars { padding: 14px; }
  .pf-aud-report__pillars > div { grid-template-columns: 118px minmax(0,1fr) 24px; gap: 8px; }
  .pf-page .pf-aud-report__pname { font-size: 11px; }
  .pf-aud-report__issues em { display: none; }
  .pf-aud-facts { grid-template-columns: 1fr; }
  .pf-aud-board { padding: 18px; }
  .pf-aud-board__row { grid-template-columns: 1fr; gap: 6px; }
  .pf-page .pf-aud-free li { font-size: 13px !important; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-check__spinner, .pf-aud-report__ring, .pf-aud-report__bar i, .pf-aud-board__row i, .pf-sticky-cta { animation: none !important; transition: none !important; }
}

/* Правки 26.09: фигуры не заходят на заголовок, счётчики и замок */
.pf-aud-hero .pf-pos-hero__torus { left: 5%; top: 600px; }
.pf-aud-hero .pf-pos-hero__pin { right: 6%; top: 560px; }
.pf-aud-hero .pf-pos-hero__sphere { right: 20%; top: 170px; }
.pf-page .pf-aud-facts strong span { display: inline; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.pf-page .pf-pos-note svg { display: inline-block; vertical-align: -1px; margin-right: 4px; }
