.seo-page {
  background: #fff;
  color: #0d0d1a;
}

.seo-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-hero {
  padding: 82px 0 70px;
  background: linear-gradient(160deg, #f8f7fc 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(13, 13, 26, 0.08);
  position: relative;
  overflow: hidden;
}

.seo-hero--image {
  background-image:
    linear-gradient(90deg, rgba(5, 5, 18, 0.96) 0%, rgba(5, 5, 18, 0.9) 35%, rgba(5, 5, 18, 0.66) 62%, rgba(5, 5, 18, 0.48) 100%),
    linear-gradient(0deg, rgba(5, 5, 18, 0.5) 0%, rgba(5, 5, 18, 0.08) 55%),
    var(--seo-hero-image);
  background-size: cover;
  background-position: center center;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.seo-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 18, 0.16);
  pointer-events: none;
}

.seo-hero--image .seo-wrap {
  position: relative;
  z-index: 1;
}

.seo-hero--image .seo-eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(119, 81, 154, 0.55);
}

.seo-hero--image h1,
.seo-hero--image p {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.seo-hero--image p {
  color: rgba(255, 255, 255, 0.9);
}

.seo-hero-grid,
.seo-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.seo-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid rgba(119, 81, 154, 0.25);
  background: rgba(119, 81, 154, 0.06);
  color: #77519A;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.seo-hero h1,
.seo-section h2 {
  margin: 0;
  color: #0d0d1a;
  letter-spacing: 0;
}

.seo-hero h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  font-weight: 900;
  text-wrap: balance;
}

.seo-hero p,
.seo-section p {
  color: rgba(13, 13, 26, 0.62);
  line-height: 1.75;
}

.seo-hero p {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.seo-hero--image .seo-hero-copy {
  max-width: 820px;
  padding: 30px 32px;
  background: rgba(5, 5, 18, 0.76);
  border-left: 4px solid #77519A;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.seo-hero--image .seo-hero-copy h1 {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.seo-hero--image .seo-hero-copy p {
  color: rgba(255, 255, 255, 0.96) !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.seo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.seo-btn:hover {
  transform: translateY(-2px);
}

.seo-btn--primary {
  background: #77519A;
  color: #fff;
}

.seo-btn--primary:hover {
  background: #5a3a78;
  color: #fff;
}

.seo-btn--secondary {
  border: 1px solid rgba(119, 81, 154, 0.35);
  color: #77519A;
}

.seo-btn--secondary:hover {
  border-color: #77519A;
  color: #5a3a78;
}

.seo-hero-panel {
  display: grid;
  gap: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  box-shadow: 0 14px 42px rgba(13, 13, 26, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.seo-hero-panel strong {
  color: #77519A;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.seo-hero-panel span {
  margin-bottom: 12px;
  color: rgba(13, 13, 26, 0.68);
  line-height: 1.45;
}

.seo-section {
  padding: 72px 0;
}

.seo-section--soft {
  background: #f8f7fc;
  border-top: 1px solid rgba(13, 13, 26, 0.06);
  border-bottom: 1px solid rgba(13, 13, 26, 0.06);
}

.seo-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  font-weight: 850;
  margin-bottom: 18px;
}

.seo-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.seo-list li {
  padding: 14px 16px;
  border-left: 3px solid #77519A;
  background: #f8f7fc;
  color: rgba(13, 13, 26, 0.7);
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.seo-card {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(13, 13, 26, 0.08);
  border-radius: 4px;
}

.seo-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #0d0d1a;
}

.seo-card p {
  margin: 0;
  font-size: 0.94rem;
}

.seo-related {
  display: grid;
  gap: 10px;
}

.seo-related a {
  padding: 14px 16px;
  background: #f8f7fc;
  border: 1px solid rgba(119, 81, 154, 0.12);
  border-radius: 3px;
  color: #77519A;
  font-weight: 700;
}

.seo-related a:hover {
  color: #5a3a78;
  border-color: rgba(119, 81, 154, 0.3);
}

.seo-faq details {
  border-bottom: 1px solid rgba(13, 13, 26, 0.1);
  padding: 18px 0;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #0d0d1a;
}

.seo-faq details p {
  margin: 12px 0 0;
  max-width: 760px;
}

@media (max-width: 860px) {
  .seo-hero-grid,
  .seo-two-col,
  .seo-card-grid {
    grid-template-columns: 1fr;
  }

  .seo-hero,
  .seo-section {
    padding: 56px 0;
  }
}
