/* =============================================
   SEO RELATED ARTICLES
   InSync Agency — seo-related-articles.css
   ============================================= */

.seo-ra-section {
  background: #080808;
  padding: 80px 40px 100px;
  position: relative;
  overflow: hidden;
}

.seo-ra-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(233,30,140,0.08) 0%,
    rgba(124,58,237,0.05) 40%,
    transparent 70%
  );
  filter: blur(80px);
  pointer-events: none;
}

/* ── Header ── */
.seo-ra-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.seo-ra-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.seo-ra-heading {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 800px;
}

.seo-ra-heading-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* ── Grid ── */
.seo-ra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Card ── */
.seo-ra-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s ease;
}
.seo-ra-card:hover { transform: translateY(-6px); }
.seo-ra-card:hover .seo-ra-card-title { color: #e91e8c; }

/* ── Card image ── */
.seo-ra-card-img {
  aspect-ratio: 1.45 / 1;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.seo-ra-img-1 { background: linear-gradient(135deg, #1a3a3a 0%, #0a2222 100%); }
.seo-ra-img-2 { background: linear-gradient(135deg, #2a1a3a 0%, #1a0a2a 100%); }
.seo-ra-img-3 { background: linear-gradient(135deg, #3a2a1a 0%, #1a0a05 100%); }

.seo-ra-img-vis {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seo-ra-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3));
  pointer-events: none;
}
.seo-ra-img-stat-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 50px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 9px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: 1.5px;
  z-index: 3;
}

/* ── Card body ── */
.seo-ra-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.seo-ra-card-meta .dot {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
}
.seo-ra-card-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  transition: color 0.3s ease;
}
.seo-ra-card-desc {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ════════════════════════════════
   CARD 1 — Ranking (teal)
   ════════════════════════════════ */
.seo-ra-vis1-screen {
  width: 78%;
  height: 68%;
  background: #fff;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  padding: 12px;
}
.seo-ra-vis1-url {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 10px;
  color: #555;
  font-weight: 600;
  margin-bottom: 8px;
}
.seo-ra-vis1-bar {
  height: 5px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  margin-bottom: 6px;
}
.seo-ra-vis1-bar-2 { width: 65%; }
.seo-ra-vis1-pos {
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(74,222,128,0.12);
  border-left: 3px solid #4ade80;
  border-radius: 4px;
}
.seo-ra-vis1-pos-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #166534;
}
.seo-ra-vis1-pos-sub {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 8px;
  color: #4ade80;
}
.seo-ra-vis1-stat {
  position: absolute;
  top: 15%;
  right: 8%;
  padding: 8px 14px;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(74,222,128,0.4);
  border-radius: 50px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 9px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 1px;
  transform: rotate(8deg);
}
.seo-ra-vis1-mag {
  position: absolute;
  bottom: 12%;
  left: 6%;
  width: 64px;
  height: 64px;
  border: 2.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.seo-ra-vis1-mag::after {
  content: '';
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 26px;
  height: 5px;
  background: rgba(255,255,255,0.7);
  border-radius: 4px;
  transform: rotate(45deg);
  transform-origin: left center;
}

/* ════════════════════════════════
   CARD 2 — Local SEO (purple)
   ════════════════════════════════ */
.seo-ra-vis2-map {
  width: 75%;
  height: 68%;
  background: linear-gradient(135deg, #4a3a52 0%, #2a1a3a 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.seo-ra-vis2-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, transparent 1px, transparent 28px);
}
.seo-ra-vis2-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.seo-ra-vis2-pin::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(45deg);
}
.seo-ra-vis2-pin-1 { top: 25%; left: 20%; background: #e91e8c; box-shadow: 0 6px 16px rgba(233,30,140,0.6); }
.seo-ra-vis2-pin-2 { top: 50%; left: 55%; background: #b59bff; box-shadow: 0 6px 16px rgba(181,155,255,0.6); }
.seo-ra-vis2-pin-3 { top: 35%; right: 18%; background: #4ade80; box-shadow: 0 6px 16px rgba(74,222,128,0.6); }

.seo-ra-vis2-card {
  position: absolute;
  padding: 8px 12px;
  background: rgba(255,255,255,0.97);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  font-family: var(--font-sans, 'Inter', sans-serif);
}
.seo-ra-vis2-card-1 { top: 10%; right: 8%; transform: rotate(4deg); }
.seo-ra-vis2-card-2 { bottom: 14%; left: 12%; transform: rotate(-3deg); }
.seo-ra-vis2-card-name { font-size: 9px; font-weight: 700; color: #0a0a0a; }
.seo-ra-vis2-card-stars { font-size: 8px; color: #f59e0b; margin-top: 2px; }
.seo-ra-vis2-stat {
  position: absolute;
  bottom: 8%;
  right: 8%;
  padding: 6px 12px;
  background: rgba(0,0,0,0.85);
  border-radius: 50px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

/* ════════════════════════════════
   CARD 3 — Reporting (amber)
   ════════════════════════════════ */
.seo-ra-vis3-stack {
  width: 80%;
  height: 70%;
  position: relative;
}
.seo-ra-vis3-card {
  position: absolute;
  padding: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  font-family: var(--font-sans, 'Inter', sans-serif);
}
.seo-ra-vis3-card-3 { top: 10%; left: 4%; width: 58%; aspect-ratio: 4/3; transform: rotate(-6deg); }
.seo-ra-vis3-card-2 { top: 16%; left: 26%; width: 60%; aspect-ratio: 4/3; transform: rotate(2deg); }
.seo-ra-vis3-card-1 { top: 22%; left: 12%; width: 64%; aspect-ratio: 4/3; transform: rotate(-2deg); z-index: 3; }

.seo-ra-vis3-stat-label { font-size: 9px; color: rgba(0,0,0,0.5); letter-spacing: 1.2px; font-weight: 600; }
.seo-ra-vis3-stat-value { font-size: 28px; font-weight: 900; color: #0a0a0a; margin-top: 4px; line-height: 1; }
.seo-ra-vis3-stat-trend {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  background: rgba(233,30,140,0.1);
  color: #e91e8c;
  border-radius: 50px;
  font-size: 9px;
  font-weight: 700;
}
.seo-ra-vis3-mini {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-top: 8px;
  height: 24px;
}
.seo-ra-vis3-mini div {
  flex: 1;
  background: linear-gradient(180deg, #e91e8c, #7c3aed);
  border-radius: 2px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .seo-ra-section { padding: 50px 16px 70px; }
  .seo-ra-header { margin-bottom: 36px; }
  .seo-ra-grid { grid-template-columns: 1fr; gap: 28px; }
}
