/* SEO akışında her blok tipine (page-section, filtreler, sonuç çubuğu, ürün
   listesi vb.) tek tip dikey aralık ver — böylece hiçbir bölüm birbirine yapışmaz. */
.machines-seo-flow {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.machines-seo-flow > * + * {
  margin-top: clamp(3rem, 5vw, 5rem);
}

/* chart-section-head ile aynı görsel dil: ortalı, ince, ferah başlık bloğu */
.seo-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  padding: 0;
}

.seo-section-head__title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 300;
  color: #000;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 0.5rem;
}

.seo-section-head__sub {
  margin: 0 auto;
  color: rgba(15, 23, 42, 0.72);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.5;
  max-width: 62ch;
}

.seo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.seo-benefits-grid__item,
.seo-card-grid__item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
}

.seo-benefits-grid__title,
.seo-card-grid__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
}

.seo-benefits-grid__text,
.seo-card-grid__text,
.seo-intro__text {
  margin: 0;
  color: rgba(15, 23, 42, 0.76);
  line-height: 1.55;
}

.seo-intro__text {
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
}

.seo-intro__text .seo-intro__link {
  color: #4caf50;
  text-decoration: none;
  font-weight: 600;
}

.seo-intro__text .seo-intro__link:hover {
  text-decoration: underline;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-card-grid--apps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-table-wrap {
  overflow-x: auto;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.seo-table th,
.seo-table td {
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.seo-table thead th {
  background: rgba(15, 23, 42, 0.04);
  font-weight: 700;
}

.seo-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.seo-faq {
  display: grid;
  gap: 1.5rem;
}

.seo-faq__item {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
}

.seo-faq__question {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.4rem;
}

.seo-faq__answer {
  margin: 0;
  color: rgba(15, 23, 42, 0.76);
  line-height: 1.6;
}

.seo-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-related-links a {
  color: #4caf50;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.seo-related-links a:hover {
  color: #3d9140;
}

.seo-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.95));
}

.seo-cta__text {
  margin: 0;
  max-width: 52ch;
  font-weight: 600;
}

.seo-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* Öncesi / Sonrası (before-after) — ürün detayından çekilen reveal görselleri */
.seo-before-after__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.seo-before-after__grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(720px, 100%);
}

.seo-before-after .product-reveal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

.seo-before-after .pr-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.7);
  margin: 0;
}

.seo-before-after .product-reveal--combo .pr-label--after {
  align-self: flex-start;
}

.seo-before-after .product-reveal--combo .pr-label--before {
  align-self: flex-end;
}

/* Slider */
.seo-before-after .ba-slider {
  width: 100%;
  touch-action: pan-y;
}

.seo-before-after .ba-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  user-select: none;
  -webkit-user-select: none;
}

.seo-before-after .ba-slider__pane {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.seo-before-after .ba-slider__pane--before {
  left: 0;
  width: calc(var(--ba-pct, 50) * 1%);
}

.seo-before-after .ba-slider__pane--after {
  left: calc(var(--ba-pct, 50) * 1%);
  right: 0;
}

.seo-before-after .ba-slider__img {
  position: absolute;
  top: 0;
  height: 100%;
  width: var(--ba-viewport-px, 100%);
  max-width: none;
  object-fit: cover;
  display: block;
}

.seo-before-after .ba-slider__img--before {
  left: 0;
}

.seo-before-after .ba-slider__img--after {
  right: 0;
}

.seo-before-after .ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--ba-pct, 50) * 1%);
  width: 40px;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  cursor: ew-resize;
  z-index: 3;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.seo-before-after .ba-slider__handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25);
}

.seo-before-after .ba-slider__handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.28);
}

.seo-before-after .ba-slider__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.7);
}

/* Statik (yan yana) before/after */
.seo-before-after .pr-static-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  border-radius: 12px;
  background: transparent;
}

.seo-before-after .pr-static-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  padding: 0;
}

.seo-before-after .pr-static-half .pr-img--static {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

/* Birleşik (composite) görsel — tek görselde öncesi/sonrası, ekstra etiket yok */
.seo-before-after .product-reveal--combo .pr-combo-frame {
  width: 100%;
  margin: 0;
}

.seo-before-after .pr-img--combo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .seo-benefits-grid,
  .seo-card-grid {
    grid-template-columns: 1fr;
  }

  .seo-card-grid--apps {
    grid-template-columns: 1fr;
  }
}
