/* ===== کامل CSS برای صفحه SEO با کنترل دقیق ===== */
/* فارسی: این فایل CSS مخصوص صفحه SEO است و روی بقیه صفحات تأثیر نمی‌گذارد */

/* ===== متغیرهای رنگ ===== */
.page-seo {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-blue: #667eea;
  --primary-purple: #764ba2;
  --accent-gold: #ffd700;
  --accent-gold-light: #ffed4e;
  --white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-light-muted: rgba(255, 255, 255, 0.7);
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}



.page-seo .section {
  padding: 80px 0;
}

/* ===== فاصله از Header (فارسی: جای خالی برای هدر بالای صفحه) ===== */

/* ===== HERO: چیدمان نهایی (بدون تغییر HTML) ===== */
.page-seo .seo-hero_grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;        /* چپ بزرگ‌تر برای H1 */
  grid-template-areas:
    "copy chart"
    "copy kpi";
  gap: 28px 48px;
  align-items: start;
}

/* نسبت‌دادن ناحیه‌ها به عناصر موجود */
.page-seo .seo-hero_copy{ grid-area: copy; }
.page-seo svg.chart{ grid-area: chart; align-self: start; }
.page-seo .kpi-summary{ grid-area: kpi; }

/* کمی هم‌ترازی بصری چارت با H1 */
@media (min-width: 992px){
  .page-seo svg.chart{ margin-top: 8px; }
}

/* ===== KPI: در یک ردیف زیر چارت + استایل لوکس ===== */
.page-seo .kpi-summary{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  max-width: 560px;              /* با چارت ست می‌شود؛ خواستی 480/600 کن */
  width: 100%;
  margin-top: 14px;
}
.page-seo .kpi{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(199,125,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.12) inset,
    0 10px 32px rgba(155,91,255,.20),
    0 4px 12px rgba(0,0,0,.45);
  min-height: 72px;
}
.page-seo .kpi::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:3px;
  background: linear-gradient(90deg,#9B5BFF,#C77DFF);
  opacity:.9;
}
.page-seo .kpi .label{
  display:block; font-size:10px; letter-spacing:.5px;
  color: rgba(255,255,255,.7); text-transform: uppercase; margin-bottom: 4px;
}
.page-seo .kpi .val{
  display:block; font-weight:900; font-size:1.2rem; line-height:1.2;
  color:#FFD700; text-shadow:0 2px 10px rgba(255,215,0,.35);
}

/* ===== چارت: جعبه شیشه‌ای مرتب ===== */
.page-seo .chart{
  max-width: 560px;              /* با KPI هماهنگ */
  width: 100%;
  height: 320px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(199,125,255,.18) inset;
}

/* ===== لیست ۴تایی: کارت/پیل شیشه‌ای مرتب زیر پاراگراف ===== */
.page-seo .seo-hero_points{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 14px;
  list-style: none;
  padding: 0;
  margin: 18px 0 16px;
}
.page-seo .seo-hero_points li{
  position: relative;
  padding: 12px 16px 12px 40px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(199,125,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 10px 28px rgba(155,91,255,.18);
}
.page-seo .seo-hero_points li::before{
  content: "✓";
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg,#FFD700,#FFED4E);
  color:#333; font-size:11px; font-weight:900;
  box-shadow: 0 2px 8px rgba(255,215,0,.35);
}
.page-seo .seo-hero_points li:hover{
  transform: translateY(-2px);
  border-color: rgba(199,125,255,.5);
  box-shadow: 0 16px 40px rgba(155,91,255,.26);
}

/* فاصله CTA بعد از لیست */
.page-seo .seo-hero_cta{ margin-top: 10px; }

/* ===== ریسپانسیو ===== */
@media (max-width: 991.98px){
  .page-seo .seo-hero_grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "chart"
      "kpi";
    gap: 18px;
  }
  .page-seo .chart,
  .page-seo .kpi-summary{ max-width: 100%; }
  .page-seo .seo-hero_points{ grid-template-columns: 1fr; }
}

/* ===== قسمت راست - Chart و KPI (فارسی: نمودار و آمار سمت راست) ===== */
.page-seo .chart-kpi-container {
  display: flex;
  flex-direction: column;
    height: 80%;
  max-height: calc(100vh - 300px);
}

/* ===== KPI Summary در بالا (فارسی: آمار کلیدی در بالای نمودار) ===== */
.page-seo .kpi-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 480px;
}

.page-seo .kpi {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 2px solid var(--glass-border);
  padding: 16px 12px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
   min-height: 72px;
    /* این خطوط رو اضافه کن */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-seo .kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
  border-radius: 14px 14px 0 0;
}

.page-seo .kpi:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.page-seo .kpi .label {
  display: block;
  color: var(--text-light-muted);
  font-size: 10px;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-seo .kpi .val {
  display: block;
  color: var(--accent-gold);
  font-size: 1.3rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  line-height: 1.2;
}

/* ===== Chart زیر KPI (فارسی: نمودار رشد در زیر آمار) ===== */
.page-seo .chart {
  width: 100%;
  max-width: 480px;
  height: 280px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.page-seo .chart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  border-radius: 18px 18px 0 0;
}

/* ===== استایل نمودار SVG (فارسی: شکل‌دهی خطوط و نقاط نمودار) ===== */
.page-seo .chart .grid path {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 2, 4;
}

.page-seo .chart .line {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
  animation: drawLine 2s ease-out;
}

@keyframes drawLine {
  0% { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
  100% { stroke-dasharray: 1000; stroke-dashoffset: 0; }
}

.page-seo .chart .milestone circle {
  fill: var(--white);
  stroke: var(--accent-gold);
  stroke-width: 3;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.page-seo .chart .milestone text {
  fill: var(--white);
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===== انیمیشن فلش‌ها (فارسی: فلش‌های متحرک روی نمودار) ===== */
.page-seo .seo-arrow path {
  fill: var(--accent-gold);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.page-seo .seo-arrow .dot {
  fill: rgba(255, 215, 0, 0.9);
  animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ==== EXTRA PROOF – LUX DARK / NEON PURPLE ==== */

/* سکشن روی بک‌گراند تیره سایت */
.page-seo .seo-extra-proof{
  padding: clamp(56px, 8vw, 96px) 0;
  background: transparent;                 /* حذف گرادیان روشن */
  position: relative;
  isolation: isolate;                      /* برای لایه‌های درخشان */
}

/* هاله‌های نرم پس‌زمینه */
.page-seo .seo-extra-proof::before{
  content:"";
  position:absolute; inset: -10% -5% -15% -5%;
  background:
    radial-gradient(600px 220px at 18% 10%, rgba(155,91,255,.12), transparent 60%),
    radial-gradient(480px 220px at 82% 15%, rgba(199,125,255,.10), transparent 60%),
    radial-gradient(680px 320px at 50% 100%, rgba(155,91,255,.12), transparent 70%);
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}

/* تیتر و توضیح */
.page-seo .seo-extra-proof .h2{
  margin: 0 0 10px;
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 900;
  text-align: center;
  letter-spacing: .5px;
  background: linear-gradient(180deg,#C77DFF 0%,#9B5BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: 0 10px 40px rgba(155,91,255,.25);
}

.page-seo .seo-extra-proof .text--md{
  color: rgba(255,255,255,.80);
  text-align: center;
  margin: 0 auto clamp(28px, 4vw, 44px);
  max-width: 900px;
  line-height: 1.75;
}

/* شبکه کارت‌ها */
.page-seo .seo-extra-proof-grid{
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: clamp(14px, 2vw, 22px);
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  list-style: none;
}
.page-seo .seo-extra-proof-grid > li{
  grid-column: span 4;                     /* 3 ستونه دسکتاپ */
}
@media (max-width: 991.98px){
  .page-seo .seo-extra-proof-grid > li{ grid-column: span 6; } /* 2 ستونه */
}
@media (max-width: 575.98px){
  .page-seo .seo-extra-proof-grid > li{ grid-column: 1 / -1; } /* تک‌ستونه */
}

/* کارت لوکس شیشه‌ای با نئون بنفش */
.page-seo .seo-extra-proof-grid li{
  position: relative;
  border-radius: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(199,125,255,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.15) inset,
    0 18px 60px rgba(155,91,255,.18),
    0 6px 18px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
  min-height: 138px;
}

/* نوار براق بالا */
.page-seo .seo-extra-proof-grid li::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:3px;
  background: linear-gradient(90deg,#9B5BFF 0%,#C77DFF 100%);
  opacity:.9;
}

/* حاشیه درخشان Hover */
.page-seo .seo-extra-proof-grid li:hover{
  transform: translateY(-6px);
  border-color: rgba(199,125,255,.55);
  box-shadow:
    0 0 0 1px rgba(199,125,255,.35) inset,
    0 26px 86px rgba(155,91,255,.30),
    0 8px 22px rgba(0,0,0,.55);
}

/* تایپوگرافی داخل کارت */
.page-seo .seo-extra-proof-grid li strong{
  display:block;
  margin: 2px 0 8px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height:1.2;
  color:#FFFFFF;                            /* تیتر بولد سفید */
  text-shadow: 0 6px 30px rgba(155,91,255,.35);
  letter-spacing:.2px;
}
.page-seo .seo-extra-proof-grid li p,
.page-seo .seo-extra-proof-grid li span{
  color: rgba(255,255,255,.64);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

/* واریاسیون نرم برای کارت‌های 2/3/4 (فقط هیو نور بالا) */
.page-seo .seo-extra-proof-grid li:nth-child(2)::before{
  background: linear-gradient(90deg,#B17CFF,#7C4DFF);
}
.page-seo .seo-extra-proof-grid li:nth-child(3)::before{
  background: linear-gradient(90deg,#7C4DFF,#6AA8FF);
}
.page-seo .seo-extra-proof-grid li:nth-child(4)::before{
  background: linear-gradient(90deg,#6AA8FF,#9B5BFF);
}

/* ===== بخش Modules (فارسی: بخش ماژول‌های SEO) ===== */
.page-seo .seo-modules {
  padding: 80px 0;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.page-seo .seo-modules::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.page-seo .seo-modules .container {
  position: relative;
  z-index: 2;
}

.page-seo .seo-modules .h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white) !important;
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
}

/* ===== تب‌های Modules (فارسی: تب‌های انتخاب نوع SEO) ===== */
.page-seo .seo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  padding: 8px;
  border-radius: 50px;
  border: 2px solid var(--glass-border);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-seo .tab {
  background: transparent;
  border: none;
  padding: 14px 24px;
  color: var(--text-light-muted);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.page-seo .tab:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.page-seo .tab.is-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: var(--accent-gold);
  box-shadow: 
    inset 3px 3px 6px rgba(0, 0, 0, 0.1),
    inset -3px -3px 6px rgba(255, 255, 255, 0.1);
}

/* ===== محتوای تب‌ها (فارسی: محتوای هر تب SEO) ===== */
.page-seo .seo-panes {
  position: relative;
  min-height: 500px;
}

.page-seo .pane {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.page-seo .pane.is-show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== کارت‌های Modules (فارسی: کارت‌های توضیح هر ماژول) ===== */
.page-seo .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

.page-seo .card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.page-seo .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
}

.page-seo .card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.page-seo .card_title {
  color: var(--accent-gold) !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  line-height: 1.3 !important;
}

/* ===== لیست کارت‌ها (فارسی: لیست امکانات هر ماژول) ===== */
.page-seo .card .list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.page-seo .card .list li {
  color: var(--text-light);
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
  font-weight: 500;
  font-size: 15px;
}

.page-seo .card .list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-gold);
  font-weight: 900;
  font-size: 16px;
  background: rgba(255, 215, 0, 0.1);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 215, 0, 0.3);
}

/* ===== متا اطلاعات کارت (فارسی: اطلاعات تأثیر و زمان) ===== */
.page-seo .card .meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-seo .card .meta span {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-seo .card .meta span:first-child {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
}

.page-seo .card .meta span:nth-child(2) {
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.3);
}

.page-seo .card .meta span:last-child {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.3);
}

.page-seo .seo-modules_cta {
  text-align: center;
  margin-top: 50px;
}

/* ===== بخش Audit (فارسی: چک‌لیست 20 نکته SEO) ===== */
/* ==================== SEO AUDIT (Drop-in Replacement) ==================== */
/* اسکوپ: فقط صفحهٔ SEO */
.page-seo .seo-extra-audit{
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(155,91,255,.18) 0%, rgba(155,91,255,0) 60%),
    radial-gradient(40% 80% at 85% 10%, rgba(102,126,234,.14) 0%, rgba(102,126,234,0) 60%),
    #0b0b0f; /* بک‌گراند تیرهٔ هماهنگ با سایت */
  overflow: hidden;
}

/* خط براق بالای سکشن */
.page-seo .seo-extra-audit::before{
  content:"";
  position:absolute; inset:0 0 auto 0; height:1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold-light), transparent);
  opacity:.35;
}

.page-seo .seo-extra-audit .h2{
  margin: 0 0 clamp(28px, 4vw, 44px);
  text-align:center;
  font-weight: 900;
  letter-spacing:-.02em;
  line-height:1.05;
  background: linear-gradient(135deg,#fff 0%, #d7d7ff 45%, #bba8ff 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow: 0 0 0 rgba(0,0,0,0);
}

/* ===== Grid & Global Counter (01..20 پیوسته) ===== */
.page-seo .seo-extra-audit-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(16px, 2.5vw, 28px);
  counter-reset: audit 0;
}
@media (max-width:1100px){
  .page-seo .seo-extra-audit-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:620px){
  .page-seo .seo-extra-audit-grid{ grid-template-columns: 1fr; }
}

/* ===== Cards (همان <ul>) – شیشه‌ای با بوردر گرادیان ===== */
.page-seo .seo-extra-audit-grid ul{
  --card-bg: rgba(255,255,255,.04);
  --card-stroke: rgba(255,255,255,.18);
  position:relative;
  list-style:none; margin:0; padding: clamp(18px, 3vw, 28px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035)) /* glass */;
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 20px 40px rgba(0,0,0,.35);
  border: 1px solid var(--card-stroke);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow:hidden;
}
.page-seo .seo-extra-audit-grid ul::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  border-radius: inherit;
  /* هالهٔ خیلی ظریف */
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 120px rgba(255, 237, 78, .06);
}

.page-seo .seo-extra-audit-grid ul:hover{
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 28px 56px rgba(0,0,0,.45);
  border-color: rgba(255,255,255,.28);
}

/* خط بالای کارت با گرادیان‌های متفاوت (چهار ستون) */
.page-seo .seo-extra-audit-grid ul::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:3px;
  background: linear-gradient(90deg, var(--accent-gold-light), #9B5BFF);
  opacity:.9;
}
.page-seo .seo-extra-audit-grid ul:nth-child(2)::before{
  background: linear-gradient(90deg, #9B5BFF, #667eea);
}
.page-seo .seo-extra-audit-grid ul:nth-child(3)::before{
  background: linear-gradient(90deg, #667eea, #00d1ff);
}
.page-seo .seo-extra-audit-grid ul:nth-child(4)::before{
  background: linear-gradient(90deg, #00d1ff, var(--accent-gold-light));
}

/* ===== List Items (01..20) ===== */
.page-seo .seo-extra-audit-grid li{
  counter-increment: audit;
  position:relative;
  margin: 0 0 12px;
  padding: 10px 10px 10px 46px;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  line-height:1.55;
  font-size: 15.5px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.page-seo .seo-extra-audit-grid li:last-child{ margin-bottom: 0; }

.page-seo .seo-extra-audit-grid li::before{
  content: counter(audit, decimal-leading-zero);
  position:absolute; left:12px; top:8px;
  width: 28px; height: 28px; border-radius: 50%;
  display:grid; place-items:center;
  font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color:#0b0b0f;
  background: linear-gradient(135deg, var(--accent-gold-light), #ffd86b);
  box-shadow: 0 6px 16px rgba(255, 237, 78, .35);
}

/* هاور آیتم: کمی برجسته و روشن‌تر */
.page-seo .seo-extra-audit-grid li:hover{
  background: rgba(255,255,255,.06);
  color: #ffffff;
  transform: translateX(3px);
}

/* ===== CTA زیر گرید ===== */
.page-seo .seo-extra-cta{
  margin-top: clamp(28px, 5vw, 44px);
  text-align:center;
}
.page-seo .seo-extra-cta .btn{
  font-weight:800;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 24px rgba(155,91,255,.28);
}
.page-seo .seo-extra-cta .btn--accent{
  background: linear-gradient(135deg, var(--accent-gold-light), #ffd86b);
  color:#0b0b0f;
}
.page-seo .seo-extra-cta .btn--accent:hover{
  filter: brightness(1.05);
  transform: translateY(-2px);
}

/* دسترس‌پذیری: وقتی کاربر کاهش حرکت خواست */
@media (prefers-reduced-motion: reduce){
  .page-seo .seo-extra-audit-grid ul,
  .page-seo .seo-extra-audit-grid li{
    transition: none;
  }
}
/* ===== بخش Industries (فارسی: SEO برای صنایع مختلف) ===== */
/* ==================== SEO INDUSTRIES (بازنویسی کامل) ==================== */
.page-seo .seo-extra-industries {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #0b0b0f; /* پس‌زمینه تاریک مثل بقیه صفحه */
  position: relative;
  overflow: hidden;
}

/* تیتر */
.page-seo .seo-extra-industries .h2 {
  text-align: center;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #9B5BFF, #667eea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-seo .seo-extra-industries .text--md {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
}

/* ===== Grid ===== */
.page-seo .seo-extra-industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: clamp(18px, 3vw, 28px);
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}

/* ===== Cards ===== */
.page-seo .seo-extra-industry-list li {
  background: rgba(255,255,255,.04);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 20px 40px rgba(0,0,0,.35);
}
.page-seo .seo-extra-industry-list li::before {
  content:"";
  position:absolute; left:0; right:0; top:0; height:3px;
  border-radius:18px 18px 0 0;
  background: linear-gradient(90deg, #9B5BFF, #667eea);
}
.page-seo .seo-extra-industry-list li:nth-child(2)::before{
  background: linear-gradient(90deg, #ff4ef7, #9B5BFF);
}
.page-seo .seo-extra-industry-list li:nth-child(3)::before{
  background: linear-gradient(90deg, #667eea, #00d1ff);
}
.page-seo .seo-extra-industry-list li:nth-child(4)::before{
  background: linear-gradient(90deg, #00d1ff, #9B5BFF);
}
.page-seo .seo-extra-industry-list li:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(255,255,255,.25);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 28px 56px rgba(0,0,0,.45);
}

/* ===== Titles inside cards ===== */
.page-seo .seo-extra-industry-list strong {
  display:block;
  margin-bottom:6px;
  font-size:1.25rem;
  font-weight:800;
  color:#fff;
}
.page-seo .seo-extra-industry-list li:nth-child(1) strong{ color:#9B5BFF; }
.page-seo .seo-extra-industry-list li:nth-child(2) strong{ color:#ff4ef7; }
.page-seo .seo-extra-industry-list li:nth-child(3) strong{ color:#667eea; }
.page-seo .seo-extra-industry-list li:nth-child(4) strong{ color:#00d1ff; }

/* متن کارت */
.page-seo .seo-extra-industry-list li {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.55;
  font-weight: 500;
}

/* ===== Links زیر گرید ===== */
.page-seo .seo-extra-links {
  text-align:center;
  font-weight:600;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.page-seo .seo-extra-links .seo-extra-link {
  color: var(--accent-gold-light);
  text-decoration:none;
  font-weight:700;
}
.page-seo .seo-extra-links .seo-extra-link:hover {
  text-decoration:underline;
}
/* ===== بخش Process (فارسی: فرآیند SEO ما) ===== */
/* ==================== SEO PROCESS (بازنویسی کامل) ==================== */
.page-seo .seo-extra-process{
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(155,91,255,.18) 0%, rgba(155,91,255,0) 60%),
    radial-gradient(40% 80% at 85% 10%, rgba(102,126,234,.14) 0%, rgba(102,126,234,0) 60%),
    #0b0b0f;
  position: relative;
  overflow: hidden;
}
.page-seo .seo-extra-process .h2{
  margin: 0 0 clamp(28px, 4vw, 44px);
  text-align:center;
  font-weight: 900;
  letter-spacing:-.02em;
  line-height:1.05;
  background: linear-gradient(135deg,#fff 0%, #d7d7ff 45%, #bba8ff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ===== Steps list ===== */
.page-seo .seo-extra-steps{
  counter-reset: step-counter 0;
  list-style:none;
  margin:0 auto;
  padding:0;
  max-width: 980px;
  display:grid;
  gap: clamp(14px, 2.4vw, 20px);
}

/* ===== Step item card ===== */
.page-seo .seo-extra-steps li{
  counter-increment: step-counter;
  position:relative;
  display:flex; align-items:center; gap: 18px;
  padding: clamp(18px, 3.2vw, 26px) clamp(18px, 3.2vw, 28px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 22px 44px rgba(0,0,0,.38),
    0 0 80px rgba(155,91,255,.10);
  color: rgba(255,255,255,.85);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  backdrop-filter: blur(6px);
  overflow:hidden;
}
.page-seo .seo-extra-steps li::after{
  /* نوار باریک براق بالا */
  content:"";
  position:absolute; left:0; right:0; top:0; height:3px;
  background: linear-gradient(90deg, #9B5BFF, #667eea);
  opacity:.9;
}

/* ===== Number badge ===== */
.page-seo .seo-extra-steps li::before{
  content: counter(step-counter);
  flex:0 0 auto;
  width: 46px; height: 46px; border-radius: 50%;
  display:grid; place-items:center;
  font: 900 1.05rem/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#0b0b0f;
  background: radial-gradient(120% 120% at 30% 20%, #ffd86b 0%, var(--accent-gold-light) 35%, #9B5BFF 100%);
  box-shadow: 0 10px 24px rgba(155,91,255,.35), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

/* ===== Content inside step ===== */
.page-seo .seo-extra-steps li strong{
  font-weight: 900;
  letter-spacing:-.01em;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color:#cbbcff; /* تیتر بنفش روشن */
  margin-right: 6px;
}
.page-seo .seo-extra-steps li a{
  color:#b392ff; text-decoration:none; font-weight:800;
  border-bottom:2px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
  margin:0 4px;
}
.page-seo .seo-extra-steps li a:hover,
.page-seo .seo-extra-steps li a:focus-visible{
  color: var(--accent-gold-light);
  border-bottom-color: var(--accent-gold-light);
  outline:none; transform: translateY(-1px);
}

/* ===== Hover / Active feel ===== */
.page-seo .seo-extra-steps li:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.26);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.045));
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 30px 60px rgba(0,0,0,.48),
    0 0 120px rgba(155,91,255,.16);
}
.page-seo .seo-extra-steps li:hover::before{
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(155,91,255,.45), 0 0 0 1px rgba(255,255,255,.16) inset;
  filter: saturate(1.1);
}

/* ریسپانسیو: در موبایل فاصله‌ها کمی فشرده‌تر */
@media (max-width:640px){
  .page-seo .seo-extra-steps li{ gap:14px; }
}

/* کاهش حرکت */
@media (prefers-reduced-motion: reduce){
  .page-seo .seo-extra-steps li,
  .page-seo .seo-extra-steps li::before{
    transition:none;
  }
}

/* ===== بخش Pricing (فارسی: پکیج‌ها و قیمت‌ها) ===== */
/* ==================== PRICING (clean rewrite) ==================== */
.page-seo .seo-extra-pricing{
  padding: clamp(56px,8vw,96px) 0;
  background: #0b0b0f;
  position: relative;
  overflow: hidden;
}
.page-seo .seo-extra-pricing::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(60% 100% at 50% -10%, rgba(155,91,255,.18) 0%, rgba(155,91,255,0) 60%),
    radial-gradient(40% 80% at 85% 10%, rgba(102,126,234,.14) 0%, rgba(102,126,234,0) 60%);
  pointer-events:none;
}
.page-seo .seo-extra-pricing .h2{
  text-align:center;
  margin:0 0 clamp(28px,4vw,44px);
  font-weight:900; letter-spacing:-.02em; line-height:1.05;
  background: linear-gradient(135deg,#fff 0%, #d7d7ff 45%, #bba8ff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* grid */
.page-seo .seo-extra-pricing-cards{
  display:grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(16px,2.6vw,28px);
  margin-bottom: clamp(24px,4vw,40px);
}
@media (max-width:960px){
  .page-seo .seo-extra-pricing-cards{ grid-template-columns: 1fr; }
}

/* card base */
.page-seo .p-card{
  position:relative;
  padding: clamp(20px,2.8vw,28px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 22px 44px rgba(0,0,0,.38);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}
.page-seo .p-card::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--accent-gold-light), #ffd86b);
  opacity:.95;
}

/* featured (وسطی) */
.page-seo .p-card:nth-child(2){
  border-color: rgba(255,255,255,.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 30px 60px rgba(0,0,0,.48),
    0 0 120px rgba(34,197,94,.12);
}
.page-seo .p-card:nth-child(2)::before{
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* hover */
.page-seo .p-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.26);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.045));
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 30px 60px rgba(0,0,0,.48);
}

/* titles */
.page-seo .p-card h3{
  margin:0 0 8px;
  font-weight: 900;
  font-size: clamp(1.2rem,2.2vw,1.6rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.page-seo .p-card:nth-child(2) h3{ color:#22c55e; }

/* desc */
.page-seo .p-card p{
  margin: 0 0 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  font-size: .98rem;
}

/* list */
.page-seo .p-card ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.page-seo .p-card li{
  position:relative; padding-left:22px;
  color: rgba(255,255,255,.7);
  font-weight:600; font-size:.95rem;
}
.page-seo .p-card li::before{
  content:"";
  position:absolute; left:0; top:.45em;
  width:10px; height:10px; border-radius:50%;
  background: linear-gradient(135deg, var(--accent-gold-light), #ffd86b);
  box-shadow: 0 0 0 2px rgba(0,0,0,.25) inset;
}
.page-seo .p-card:nth-child(2) li::before{
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* bottom link */
.page-seo .seo-extra-pricing .btn{
  display:inline-flex; align-items:center; gap:10px;
  margin: 4px auto 0; padding: 12px 18px;
  border-radius: 999px; border:1px solid rgba(255,255,255,.22);
  background: transparent; color: rgba(255,255,255,.9);
  font-weight:800; text-decoration:none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.page-seo .seo-extra-pricing .btn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
}

/* ==================== LONGFORM (clean rewrite) ==================== */
.page-seo .seo-extra-longform{
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(155,91,255,.16) 0%, rgba(155,91,255,0) 60%),
    radial-gradient(40% 80% at 85% 10%, rgba(102,126,234,.12) 0%, rgba(102,126,234,0) 60%),
    #0b0b0f;
  position:relative;
  overflow:hidden;
}

.page-seo .seo-extra-longform .container{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.page-seo .seo-extra-longform .h2{
  margin: 0 0 clamp(20px, 3.6vw, 28px);
  text-align: center;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 4vw, 3rem);
  background: linear-gradient(135deg, #ffffff 0%, #d7d7ff 45%, #bba8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.page-seo .seo-extra-longform .h2::after{
  content:"";
  position:absolute; left:50%; transform:translateX(-50%);
  bottom: -14px; width: 72px; height: 2px;
  background: linear-gradient(90deg, var(--accent-gold-light), #9B5BFF);
  border-radius: 999px; opacity:.8;
}

/* متن اصلی */
.page-seo .seo-extra-longform p{
  margin: 0 0 clamp(16px, 2.8vw, 20px);
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  text-align: left;            /* خوانایی بهتر از justify */
  -webkit-font-smoothing: antialiased;
}

/* لینک‌ها */
.page-seo .seo-extra-longform a{
  color: #cbbcff;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.page-seo .seo-extra-longform a:hover,
.page-seo .seo-extra-longform a:focus-visible{
  color: var(--accent-gold-light);
  border-bottom-color: var(--accent-gold-light);
  outline: none;
  transform: translateY(-1px);
}

/* تأکید (em به صورت چیپ ملایم) */
.page-seo .seo-extra-longform em{
  font-style: normal;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(155,91,255,.18), rgba(102,126,234,.18));
  padding: 3px 8px;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 6px 14px rgba(0,0,0,.28);
  white-space: nowrap;
}

/* کاهش حرکت */
@media (prefers-reduced-motion: reduce){
  .page-seo .seo-extra-longform a{ transition: none; }
}

/* ==================== FINAL CTA (clean rewrite) ==================== */
.page-seo .seo-extra-final-cta{
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(60% 100% at 50% -10%, rgba(155,91,255,.18) 0%, rgba(155,91,255,0) 60%),
    radial-gradient(40% 80% at 85% 10%, rgba(102,126,234,.14) 0%, rgba(102,126,234,0) 60%),
    #0b0b0f;                         /* بک‌گراند تیره مثل باقی سکشن‌ها */
  text-align:center;
  position:relative;
  overflow:hidden;
}

.page-seo .seo-extra-final-cta .container{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(16px,3vw,24px);
  position:relative; z-index:2;
}

/* تیتر: غیر روزنامه‌ای، خوانا و متعادل */
.page-seo .seo-extra-final-cta .h2{
  text-transform:none;
  margin: 0 0 clamp(10px,2.8vw,14px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-wrap: balance;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  background: linear-gradient(135deg,#ffffff 0%, #d7d7ff 45%, #bba8ff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* توضیح کوتاه: عرض کنترل‌شده و کنتراست نرم */
.page-seo .seo-extra-final-cta p{
  max-width: 62ch;
  margin: 0 auto clamp(20px, 3.6vw, 28px);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

/* دکمه: قرص براق، هاور لطیف، فوکوس واضح */
.page-seo .seo-extra-final-cta .btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 10px 24px rgba(155,91,255,.28),
    0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}

.page-seo .seo-extra-final-cta .btn--accent{
  color:#0b0b0f;
  background: linear-gradient(135deg, var(--accent-gold-light), #ffd86b); /* طلایی برند */
}

.page-seo .seo-extra-final-cta .btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  border-color: rgba(255,255,255,.28);
  box-shadow:
    0 16px 36px rgba(155,91,255,.34),
    0 0 0 1px rgba(255,255,255,.12) inset;
}

.page-seo .seo-extra-final-cta .btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.22),
    0 0 0 6px rgba(155,91,255,.35);
}

/* کاهش حرکت */
@media (prefers-reduced-motion: reduce){
  .page-seo .seo-extra-final-cta .btn{ transition: none; }
}


/* ===== انیمیشن‌های شناور (فارسی: تحرکات زیبا) ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(0.5deg); }
  50% { transform: translateY(-6px) rotate(0deg); }
  75% { transform: translateY(-3px) rotate(-0.5deg); }
}

.page-seo .seo-hero_points li:nth-child(1) { 
  animation: float 3s ease-in-out infinite; 
}

.page-seo .seo-hero_points li:nth-child(2) { 
  animation: float 3s ease-in-out infinite 0.5s; 
}

.page-seo .seo-hero_points li:nth-child(3) { 
  animation: float 3s ease-in-out infinite 1s; 
}

.page-seo .seo-hero_points li:nth-child(4) { 
  animation: float 3s ease-in-out infinite 1.5s; 
}

/* ===== طراحی واکنش‌گرا (فارسی: سازگاری با موبایل و تبلت) ===== */
@media (max-width: 1024px) {
  .page-seo .seo-hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  .page-seo .seo-hero_grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-height: none;
  }
  
  .page-seo .chart-kpi-container {
    order: -1;
    margin-bottom: 32px;
  }
  
  .page-seo .chart {
    max-width: 100%;
    height: 260px;
  }
  
  .page-seo .kpi-summary {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
  
  .page-seo .cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-seo #headerSpacer {
    height: 70px;
  }
  
  .page-seo .seo-hero {
    min-height: calc(100vh - 70px);
    padding: 40px 0;
  }
  
  .page-seo .seo-hero_points {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .page-seo .kpi-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .page-seo .chart {
    height: 220px;
    padding: 15px;
  }
  
  .page-seo .seo-hero_cta {
    flex-direction: column;
    align-items: center;
  }
  
  .page-seo .seo-tabs {
    flex-direction: column;
    gap: 6px;
    padding: 6px;
  }
  
  .page-seo .tab {
    padding: 12px 20px;
  }
  
  .page-seo .cards {
    grid-template-columns: 1fr;
  }
  
  .page-seo .seo-extra-proof-grid,
  .page-seo .seo-extra-audit-grid,
  .page-seo .seo-extra-industry-list,
  .page-seo .seo-extra-pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .page-seo .seo-extra-steps li {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .page-seo .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-seo .seo-hero {
    padding: 30px 0;
  }
  
  .page-seo .section {
    padding: 60px 0;
  }
  
  .page-seo .seo-extra-final-cta {
    padding: 60px 0;
  }
  
  .page-seo .container {
    padding: 0 16px;
  }
}

/* ===== دسترسی آسان (فارسی: برای کاربران دارای محدودیت) ===== */
@media (prefers-reduced-motion: reduce) {
  .page-seo *, .page-seo *::before, .page-seo *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.page-seo .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== استایل فوکوس (فارسی: برای ناوبری با کیبورد) ===== */
.page-seo .btn:focus,
.page-seo .tab:focus,
.page-seo .accordion-button:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ===== پایان CSS - کامل و بهینه شده ===== */

/* ====== HERO LAYOUT OVERRIDES (دو ردیفه با مناطق مشخص) ====== */
.page-seo .seo-hero_grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "copy kpi"
    "cta  rightlist";
  align-items: start;              /* ترازبندی به بالا */
  gap: 28px 48px;                  /* row gap / col gap */
  max-height: unset;               /* کنترل را خودمان می‌گیریم */
}

/* نواحی گرید */
.page-seo .seo-hero_copy{ grid-area: copy; }
.page-seo .chart-kpi-container{ grid-area: kpi; align-self: start; }
.page-seo .seo-hero_cta{ grid-area: cta; }
.page-seo .seo-hero_points-wrap{ grid-area: rightlist; }

/* عنوان فرعی سمت راست (بالای لیست ۴تایی) */
.page-seo .seo-hero_subtitle{
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

/* فاصله‌های داخلی برای اجزای چپ */
.page-seo .seo-hero_copy h1{ margin-bottom: 14px; }
.page-seo .seo-hero_copy .text--md{ margin-bottom: 16px; }

/* KPI + Chart فشرده در بالا */
.page-seo .chart-kpi-container{
  display: grid;
  grid-template-rows: auto 1fr; /* بالا KPIها، پایین چارت */
  gap: 12px;
  max-height: none;
}

/* راست: H2 + لیست ۴تایی */
.page-seo .seo-hero_points-wrap{ 
  display: grid; 
  gap: 10px; 
}
.page-seo .seo-hero_points{ margin: 0; }

/* CTA ها زیر H1 در ستون چپ */
.page-seo .seo-hero_cta{
  justify-content: flex-start;
}

/* هم‌راستاسازی بصری H1 با KPI (اختیاری، ظریف) */
@media (min-width: 992px){
  .page-seo .chart-kpi-container{ margin-top: 6px; }
}

/* ریسپانسیو: زیر 992 پیکسل تک‌ستونه با ترتیب مطلوب */
@media (max-width: 991.98px){
  .page-seo .seo-hero_grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "kpi"
      "rightlist"
      "cta";
    gap: 18px;
  }
  .page-seo .kpi-summary{ max-width: 100%; }
  .page-seo .chart{ max-width: 100%; }
}

/* کمی هوای دسترسی و خوانایی */
.page-seo .seo-hero_points li{
  line-height: 1.45;
}
/* ====== RE-LAYOUT: نقاط بیاد چپ زیر H2 و قبل از CTA ====== */
.page-seo .seo-hero_grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;     /* چپ = محتوا ، راست = KPI/Chart */
  grid-template-rows: auto auto auto;   /* ردیف‌ها: copy / leftlist / cta */
  grid-template-areas:
    "copy     kpi"
    "leftlist kpi"
    "cta      kpi";
  gap: 24px 48px;
  align-items: start;
}

/* نواحی */
.page-seo .seo-hero_copy{ grid-area: copy; }
.page-seo .chart-kpi-container{ grid-area: kpi; }
.page-seo .seo-hero_points-wrap{ grid-area: leftlist; }
.page-seo .seo-hero_cta{ grid-area: cta; }

/* تیتر فرعی + فاصله‌ها در ستون چپ */
.page-seo .seo-hero_subtitle{
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  margin: 4px 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.page-seo .seo-hero_points{ margin: 0; }
.page-seo .seo-hero_points-wrap{ margin-top: 4px; }
.page-seo .seo-hero_cta{ margin-top: 4px; }

/* راست: KPI + چارت فشرده */
.page-seo .chart-kpi-container{
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

/* ریسپانسیو موبایل: ترتیب منطقی زیر هم */
@media (max-width: 991.98px){
  .page-seo .seo-hero_grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "copy"
      "kpi"
      "leftlist"
      "cta";
    gap: 18px;
  }
  .page-seo .kpi-summary,
  .page-seo .chart{ max-width: 100%; }
}

/* ===== فاصله از هدر — یک نقطهٔ کنترل واحد ===== */
.page-seo{
  /* هر وقت خواستی فاصلهٔ بالای هیرو را کم/زیاد کنی فقط این را عوض کن */
  --header-spacer: 38px;   /* مثلا 20px یا 56px */
}

.page-seo #headerSpacer{
  height: var(--header-spacer);
}

.page-seo .seo-hero{
  /* پدینگِ بالای هیرو هم با همان متغیر هماهنگ می‌شود */
  padding-top: calc(var(--header-spacer) + 24px);
  min-height: calc(100vh - var(--header-spacer));
}

/* ===== راست: چارت بالا، KPI پایین (بدون تغییر HTML) ===== */
.page-seo .seo-hero_grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;     /* چپ محتوا، راست چارت/KPI */
  grid-template-areas:
    "copy chart"
    "copy kpi";
  gap: 24px 48px;
  align-items: start;
}

/* نسبت‌دادن نواحی به المان‌های فعلی HTML */
.page-seo .seo-hero_copy{ grid-area: copy; }
.page-seo svg.chart{ grid-area: chart; }       /* همون <svg class="chart"> */
.page-seo .kpi-summary{ grid-area: kpi; }      /* همون <div class="kpi-summary"> */

/* کمی فشرده‌سازی راست */
.page-seo .kpi-summary{ max-width: 480px; }
.page-seo .chart{ max-width: 480px; }

/* موبایل: ترتیب منطقی زیر هم */
@media (max-width: 991.98px){
  .page-seo .seo-hero_grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "chart"
      "kpi";
    gap: 18px;
  }
  .page-seo .kpi-summary,
  .page-seo .chart{ max-width: 100%; }
}
/* ===== EXTRA PROOF — Compact / Clean Overrides ===== */
.page-seo .seo-extra-proof{
  --ep-gap: clamp(12px, 1.8vw, 20px);
  --ep-card-pad: clamp(14px, 1.8vw, 22px);
  --ep-card-radius: 14px;
  --ep-glow: .16;                 /* شدت هاله‌ها را با این کم/زیاد کن */
  padding: clamp(40px, 6vw, 72px) 0;
}

/* هدر سکشن جمع‌تر */
.page-seo .seo-extra-proof .h2{
  margin: 0 0 0px;
  font-size: clamp(28px, 4.2vw, 54px);
  letter-spacing: .3px;
  text-shadow: 0 6px 24px rgba(155,91,255,.22);
}
.page-seo .seo-extra-proof .text--md{
  margin: 0 auto clamp(18px, 3vw, 26px);
  max-width: 820px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
}

/* گرید مرتب و فشرده‌تر */
.page-seo .seo-extra-proof-grid{
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: var(--ep-gap);
  margin: 0 0 clamp(18px, 3.2vw, 28px);
  padding: 0; list-style: none;
}
.page-seo .seo-extra-proof-grid > li{ grid-column: span 4; }
@media (max-width: 991.98px){ .page-seo .seo-extra-proof-grid > li{ grid-column: span 6; } }
@media (max-width: 575.98px){ .page-seo .seo-extra-proof-grid > li{ grid-column: 1 / -1; } }

/* کارت جمع‌وجور + ارتفاع یکنواخت */
.page-seo .seo-extra-proof-grid li{
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 110px;                           /* قبلاً 138px */
  padding: var(--ep-card-pad);
  border-radius: var(--ep-card-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border: 1px solid rgba(199,125,255,.24);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.12) inset,
    0 14px 36px rgba(155,91,255,var(--ep-glow)),
    0 4px 12px rgba(0,0,0,.38);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.page-seo .seo-extra-proof-grid li::before{
  content:""; position:absolute; left:0; right:0; top:0; height:2px;
  background: linear-gradient(90deg,#9B5BFF,#C77DFF);
  opacity:.85;
}

/* تایپوگرافی داخل کارت */
.page-seo .seo-extra-proof-grid li strong{
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.22;
  color:#fff;
  text-shadow: 0 4px 18px rgba(155,91,255,.28);
}
.page-seo .seo-extra-proof-grid li p,
.page-seo .seo-extra-proof-grid li span{
  margin: 0;
  color: rgba(255,255,255,.62);
  font-weight: 500;
  line-height: 1.5;
}

/* هاور ملایم‌تر و تمیز */
.page-seo .seo-extra-proof-grid li:hover{
  transform: translateY(-3px);
  border-color: rgba(199,125,255,.44);
  box-shadow:
    0 0 0 1px rgba(199,125,255,.3) inset,
    0 18px 52px rgba(155,91,255,.24),
    0 6px 18px rgba(0,0,0,.48);
}

/* لینک‌های پایین سکشن کوتاه و خوش‌فرم */
.page-seo .seo-extra-links{ margin-top: clamp(10px, 2.4vw, 20px); }
.page-seo .seo-extra-link{
  font-weight: 800; font-size: 1rem; margin: 4px 8px; padding-bottom: 2px;
}
.page-seo .seo-extra-link::after{ height: 2px; transform: scaleX(.0); }
.page-seo .seo-extra-link:hover::after{ transform: scaleX(1); }

/* هاله‌های پس‌زمینه کمی آرام‌تر */
.page-seo .seo-extra-proof::before{
  filter: blur(2px) saturate(.95) opacity(.9);
}


/* ========== SEO Extra Links - Card Style ========== */
.seo-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 0;
}

.seo-extra-link {
     position: relative;
    display: flex;
    align-items: center;
    justify-content: center;  /* این خط اضافه کن */
    text-align: center;        /* این خط اضافه کن */
    min-width: 200px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

}


.seo-extra-link:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: #0dcaf0;
}

.seo-extra-link:active {
    transform: translateY(0);
}

/* حذف نقطه separator */
.seo-extra-links::before {
    content: none;
}

/* Mobile */
@media (max-width: 768px) {
    .seo-extra-links {
        gap: 12px;
    }
    
    .seo-extra-link {
        padding: 10px 18px;
        font-size: 0.9rem;

    }
}
/* ========== SEO Extra Links - Centered & Colored ========== */
.seo-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 0;
}

.seo-extra-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 16px 28px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Gradient background on hover */
.seo-extra-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(237, 100, 166, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.seo-extra-link:hover::before {
    opacity: 1;
}

.seo-extra-link:hover {
    border-color: #0dcaf0;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
    color: #0dcaf0;
}

/* Text stays on top */
.seo-extra-link span {
    position: relative;
    z-index: 1;
}

/* Different colors for each link */
.seo-extra-link:nth-child(1) {
    border-color: rgba(255, 193, 7, 0.5);
}

.seo-extra-link:nth-child(1):hover {
    border-color: #ffc107;
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.5);
}

.seo-extra-link:nth-child(2) {
    border-color: rgba(13, 202, 240, 0.5);
}

.seo-extra-link:nth-child(2):hover {
    border-color: #0dcaf0;
    box-shadow: 0 12px 32px rgba(13, 202, 240, 0.5);
}

.seo-extra-link:nth-child(3) {
    border-color: rgba(237, 100, 166, 0.5);
}

.seo-extra-link:nth-child(3):hover {
    border-color: #ed64a6;
    box-shadow: 0 12px 32px rgba(237, 100, 166, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .seo-extra-links {
        gap: 16px;
        flex-direction: column;
    }
    
    .seo-extra-link {
        min-width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}
/* ========== Service Links - Clean Design ========== */
.service-links-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    padding: 0;
    max-width: 900px;
}

.service-link-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 18px 32px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.service-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* Yellow - Case Studies */
.service-link-yellow {
    border-color: rgba(255, 193, 7, 0.5);
}

.service-link-yellow:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
    color: #ffc107;
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.4);
}

/* Blue - Webdesign */
.service-link-blue {
    border-color: rgba(13, 202, 240, 0.5);
}

.service-link-blue:hover {
    background: rgba(13, 202, 240, 0.15);
    border-color: #0dcaf0;
    color: #0dcaf0;
    box-shadow: 0 12px 32px rgba(13, 202, 240, 0.4);
}

/* Pink - Content Marketing */
.service-link-pink {
    border-color: rgba(237, 100, 166, 0.5);
}

.service-link-pink:hover {
    background: rgba(237, 100, 166, 0.15);
    border-color: #ed64a6;
    color: #ed64a6;
    box-shadow: 0 12px 32px rgba(237, 100, 166, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
    .service-links-wrapper {
        flex-direction: column;
        gap: 16px;
        margin: 40px auto;
    }
    
    .service-link-card {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
        font-size: 0.95rem;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE & TABLET
========================================== */

/* Tablet - زیر 1024px */
@media (max-width: 1024px) {
    .page-seo .seo-hero_grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .page-seo .seo-hero_copy {
        max-width: 100%;
    }
    
    .page-seo .kpi-summary {
        justify-content: center;
        margin: 0 auto;
    }
}

/* Mobile - زیر 768px */
@media (max-width: 768px) {
    /* Hero Section */
    .page-seo .seo-hero {
        padding: 60px 20px 40px;
    }
    
    .page-seo .seo-hero_grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }
    
    /* Heading */
    .page-seo h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
        text-align: center;
    }
    
    /* Paragraph */
    .page-seo .seo-hero_copy p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        max-width: 100%;
    }
    
    /* Feature List */
    .page-seo .seo-hero_copy ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0;
        margin: 20px 0;
    }
    
    .page-seo .seo-hero_copy li {
        text-align: center;
        width: 100%;
    }
    
    /* KPI Summary - 3 تا وسط */
    .page-seo .kpi-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        max-width: 100%;
        width: 100%;
        margin: 20px auto 0;
    }
    
    .page-seo .kpi {
        padding: 12px 10px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .page-seo .kpi-value {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    
    .page-seo .kpi-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    /* Buttons - وسط و زیر هم */
    .page-seo .seo-hero_cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-top: 24px;
    }
    
    .page-seo .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    /* SVG Chart - مخفی */
    .page-seo svg.chart,
    .page-seo .seo-hero_visual {
        display: none;
    }
}

/* Mobile کوچک - زیر 480px */
@media (max-width: 480px) {
    .page-seo h1 {
        font-size: 1.6rem;
    }
    
    /* KPI - 3 تا کوچکتر */
    .page-seo .kpi-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    
    .page-seo .kpi {
        padding: 10px 6px;
    }
    
    .page-seo .kpi-value {
        font-size: 1.1rem;
    }
    
    .page-seo .kpi-label {
        font-size: 0.65rem;
    }
    
    .page-seo .btn {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
