/* SEO landing subpages — minimalistic, без синего */
.lp-seo {
  padding: calc(var(--lp-nav-h) + 2.5rem) 0 4rem;
}

.lp-seo .lp-btn--primary {
  background: #8C4DF8;
  color: #fff;
  border: 1px solid rgba(140,77,248,0.22);
  box-shadow: none;
}

.lp-seo .lp-btn--primary:hover {
  background: #7b3de8;
  color: #fff;
  box-shadow: none;
}

.lp-seo__hero {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.lp-seo__hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.lp-seo__hero p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--lp-text-secondary);
  line-height: 1.65;
}

.lp-seo__grid {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .lp-seo__grid { grid-template-columns: repeat(2, 1fr); }
}

.lp-seo__card {
  padding: 1.5rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-sm);
}

.lp-seo__card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.lp-seo__card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--lp-text-secondary);
  line-height: 1.6;
}

.lp-seo__steps {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: seo-step;
}

.lp-seo__steps li {
  counter-increment: seo-step;
  position: relative;
  padding: 0 0 1.25rem 2.75rem;
  font-size: 0.9375rem;
  color: var(--lp-text-secondary);
  line-height: 1.6;
}

.lp-seo__steps li::before {
  content: counter(seo-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-seo__cta {
  text-align: center;
  margin-top: 2rem;
}

.lp-seo__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.lp-seo__links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-seo__links a:hover { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.24); text-decoration: none; }

.lp-breadcrumb {
  max-width: var(--lp-max);
  margin: 0 auto 1.5rem;
  padding: 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--lp-muted);
}

.lp-breadcrumb a {
  color: var(--lp-text-secondary);
  text-decoration: none;
}

.lp-breadcrumb a:hover { color: rgba(255,255,255,0.88); }

/* Callout / note — minimalistic */
.lp-seo__note {
  max-width: 40rem;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--lp-radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.lp-seo__note p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--lp-text-secondary);
  line-height: 1.6;
}

.lp-seo__note--warn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.lp-seo__section-title {
  max-width: 40rem;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-seo__lead {
  max-width: 40rem;
  margin: 0 auto 1rem;
  font-size: 0.9375rem;
  color: var(--lp-text-secondary);
  line-height: 1.6;
}

/* Example data table */
.lp-seo__data {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-sm);
  overflow: hidden;
}

.lp-seo__data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.125rem;
  font-size: 0.9375rem;
}

.lp-seo__data-row + .lp-seo__data-row {
  border-top: 1px solid var(--lp-border);
}

.lp-seo__data-row span {
  color: var(--lp-text-secondary);
}

.lp-seo__data-row b {
  font-weight: 600;
  text-align: right;
}

/* Inline callout — minimalistic */
.lp-seo__alert {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--lp-radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--lp-text-secondary);
}

.lp-seo__alert a {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-seo__alert a:hover { color: #fff; border-color: rgba(255,255,255,0.28); text-decoration: none; }

/* AI-post cover image */
.lp-seo__cover {
  max-width: 44rem;
  margin: 1.5rem auto 0;
}
.lp-seo__cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Long-form article prose (blog) */
.lp-seo__prose {
  max-width: 44rem;
  margin: 0 auto;
}

.lp-seo__prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lp-seo__prose h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.lp-seo__prose p,
.lp-seo__prose li {
  font-size: 1rem;
  color: var(--lp-text-secondary);
  line-height: 1.7;
}

.lp-seo__prose p { margin: 0 0 1rem; }

.lp-seo__prose ul,
.lp-seo__prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.lp-seo__prose li { margin: 0 0 0.5rem; }

.lp-seo__prose a:not(.lp-btn) {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-seo__prose a:not(.lp-btn):hover { color: #fff; border-color: rgba(255,255,255,0.28); text-decoration: none; }

/* CTA-кнопки внутри статьи: не наследовать цвет prose-ссылок */
.lp-seo__prose a.lp-btn--primary,
.lp-seo__cta a.lp-btn--primary,
.lp-seo__prose a.lp-btn--primary:visited,
.lp-seo__cta a.lp-btn--primary:visited {
  color: #fff;
}

.lp-seo__prose a.lp-btn--ghost,
.lp-seo__cta a.lp-btn--ghost,
.lp-seo__prose a.lp-btn--ghost:visited,
.lp-seo__cta a.lp-btn--ghost:visited {
  color: var(--lp-text);
}

.lp-seo__prose strong { color: var(--lp-text); font-weight: 700; }

.lp-seo__meta {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  font-size: 0.8125rem;
  color: var(--lp-muted);
  text-align: center;
}

/* Blog index cards */
.lp-seo__posts {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .lp-seo__posts { grid-template-columns: repeat(2, 1fr); }
}

.lp-seo__post {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--lp-radius-lg);
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lp-seo__post:hover {
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow);
  border-color: rgba(255,255,255,0.12);
}

.lp-seo__post-tag {
  display: inline-block;
  margin: 0 0 0.625rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lp-seo__post h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.lp-seo__post p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--lp-text-secondary);
  line-height: 1.6;
}

/* ── Blog listing pagination ── */
.lp-seo__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

.lp-seo__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: var(--lp-bg-elevated);
  border: 1px solid var(--lp-border);
  color: var(--lp-text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}

.lp-seo__page:hover {
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}

.lp-seo__page.is-active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
  cursor: default;
}

.lp-seo__page--nav {
  font-weight: 700;
}

.lp-seo__page-gap {
  color: var(--lp-text-secondary);
  padding: 0 0.25rem;
  user-select: none;
}

/* ── Blog engagement: views & likes ── */
.blog-engage {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem auto 0;
  max-width: 44rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lp-border);
  font-size: 0.9375rem;
  color: var(--lp-text-secondary);
}

.blog-engage__views {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-engage__views i,
.blog-engage__views svg {
  color: var(--lp-muted);
}

.blog-engage__like {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.5rem 1rem;
  border: 1px solid var(--lp-border);
  border-radius: 999px;
  background: var(--lp-bg-elevated);
  color: var(--lp-text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}

.blog-engage__like:hover {
  border-color: #ff375f;
  color: #ff375f;
}

.blog-engage__like.is-liked {
  border-color: #ff375f;
  color: #ff375f;
  background: rgba(255, 55, 95, 0.08);
}

.blog-engage__like:active {
  transform: scale(0.96);
}

.blog-engage__like i,
.blog-engage__like svg {
  font-size: 1rem;
}

.blog-engage__like.is-liked svg {
  fill: currentColor;
}

@keyframes blog-like-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.blog-engage__like--pop i,
.blog-engage__like--pop svg {
  animation: blog-like-pop 0.32s ease;
}

/* Compact, read-only variant on listing cards */
.blog-engage--card {
  margin: auto 0 0;
  padding-top: 0.875rem;
  gap: 1rem;
  font-size: 0.8125rem;
}

.blog-engage--card .blog-engage__likes {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-engage--card .blog-engage__likes i,
.blog-engage--card .blog-engage__likes svg {
  color: #ff375f;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .blog-engage__like--pop i,
  .blog-engage__like--pop svg { animation: none; }
}
