/* ===== SEO SERVICE PAGE — seo.css ===== */

/* ── Global italic accent (Playfair Display) ── */
.italic-accent {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: #e91e8c;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.seo-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #080808;
  text-align: center;
}

#seo-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#seo-hero-canvas canvas {
  width: 100% !important;
  height: 100% !important;
}

.seo-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 1;
}
.seo-hero-blob--pink {
  width: 680px; height: 680px;
  background: #e91e8c;
  opacity: 0.1;
  top: -240px; left: -120px;
  animation: blobPulse 13s ease-in-out infinite;
}
.seo-hero-blob--purple {
  width: 480px; height: 480px;
  background: #7c3aed;
  opacity: 0.09;
  bottom: -140px; right: -90px;
  animation: blobPulse 16s ease-in-out infinite reverse;
}

.seo-float-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: #7c3aed;
  border-radius: 50%;
  z-index: 2;
  opacity: 0.5;
  top: 30%; left: 8%;
  pointer-events: none;
  animation: seoFloat 9s ease-in-out infinite;
}
@keyframes seoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-26px) scale(1.2); }
}

.seo-hero-inner {
  position: relative;
  z-index: 3;
  padding: 200px 6vw 130px;
  max-width: 1020px;
  width: 100%;
}

.seo-hero-pill {
  display: inline-block;
  border: 1px solid rgba(233,30,140,0.45);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e91e8c;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(233,30,140,0.07);
}

.seo-hero-h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
}

.seo-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 48px;
}

.seo-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   PAIN POINTS
══════════════════════════════════════════ */
.seo-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.seo-pain-card {
  background: #16161e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 40px 34px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.seo-pain-card:hover {
  border-color: rgba(233,30,140,0.35);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(233,30,140,0.12);
}
.seo-pain-icon {
  width: 52px; height: 52px;
  background: rgba(233,30,140,0.1);
  border: 1px solid rgba(233,30,140,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.seo-pain-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.seo-pain-card p { font-size: 0.87rem; color: rgba(255,255,255,0.52); line-height: 1.72; }

/* ══════════════════════════════════════════
   WHAT'S INCLUDED — CHECKLIST
══════════════════════════════════════════ */
.seo-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 60px;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}
.seo-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.seo-check-svg { flex-shrink: 0; margin-top: 1px; }
.seo-check-path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.22,1,0.36,1);
}
.seo-check-item.drawn .seo-check-path { stroke-dashoffset: 0; }

/* ══════════════════════════════════════════
   AUTHORITY GRAPH CANVAS
══════════════════════════════════════════ */
.seo-graph-section {
  padding: 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.012);
}
#seo-authority-canvas {
  width: 520px;
  height: 520px;
  max-width: 92vw;
}
#seo-authority-canvas canvas { display: block; }

/* ══════════════════════════════════════════
   PROCESS TIMELINE — 6 STEPS
══════════════════════════════════════════ */
.seo-process-steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
}
.seo-process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(233,30,140,0.5), rgba(124,58,237,0.5), transparent);
}
.seo-process-step {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  position: relative;
}
.seo-process-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #16161e;
  border: 1px solid rgba(233,30,140,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #e91e8c;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.seo-process-step.visible .seo-process-num {
  border-color: #e91e8c;
  box-shadow: 0 0 20px rgba(233,30,140,0.3);
}
.seo-process-step h3 { font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.seo-process-step p { font-size: 0.78rem; color: rgba(255,255,255,0.52); line-height: 1.62; }

/* ══════════════════════════════════════════
   CASE STUDY
══════════════════════════════════════════ */
.seo-case-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.seo-case-metrics { display: flex; flex-direction: column; gap: 36px; }
.seo-case-metric-val {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900;
  color: #e91e8c;
  letter-spacing: -0.04em;
  line-height: 1;
}
.seo-case-metric-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.48);
  margin-top: 6px;
  line-height: 1.4;
}
.seo-case-text h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 28px; color: #fff; }
.seo-case-row { margin-bottom: 20px; }
.seo-case-row-label {
  font-size: 0.67rem;
  font-weight: 700;
  color: #e91e8c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.seo-case-row p { font-size: 0.87rem; color: rgba(255,255,255,0.52); line-height: 1.72; }

/* ══════════════════════════════════════════
   WHY INSYNC
══════════════════════════════════════════ */
.seo-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.seo-why-card {
  background: #16161e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px 30px;
  transition: border-color 0.3s, transform 0.3s;
}
.seo-why-card:hover {
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-3px);
}
.seo-why-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.seo-why-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.seo-why-card p { font-size: 0.85rem; color: rgba(255,255,255,0.52); line-height: 1.68; }

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.seo-cta-banner {
  position: relative;
  overflow: hidden;
  padding: 130px 6vw;
  text-align: center;
  background: #080808;
}
.seo-cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}
.seo-cta-blob--pink {
  width: 700px; height: 700px;
  background: #e91e8c;
  opacity: 0.1;
  top: -250px; right: -120px;
  animation: blobPulse 14s ease-in-out infinite;
}
.seo-cta-blob--purple {
  width: 520px; height: 520px;
  background: #7c3aed;
  opacity: 0.08;
  bottom: -180px; left: -100px;
  animation: blobPulse 17s ease-in-out infinite reverse;
}
.seo-cta-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.seo-cta-banner h2 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}
.seo-cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.56);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.78;
}
.seo-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   LEAD FORM
══════════════════════════════════════════ */
.seo-form-section { padding: 100px 6vw; }
.seo-form-header { text-align: center; margin-bottom: 52px; }
.seo-form-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fff;
}
.seo-form-header p { font-size: 0.95rem; color: rgba(255,255,255,0.52); line-height: 1.75; }

.seo-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 60px 56px;
}
.seo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.88rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #e91e8c;
  box-shadow: 0 0 0 3px rgba(233,30,140,0.1);
}
.form-field select { cursor: pointer; }
.form-field select option { background: #111; color: #fff; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #ff4d6d; box-shadow: 0 0 0 3px rgba(255,77,109,0.1); }
.field-err { font-size: 0.75rem; color: #ff4d6d; min-height: 18px; }

.gdpr-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.gdpr-field input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #e91e8c;
  cursor: pointer;
}
.gdpr-field label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.6;
  cursor: pointer;
  font-weight: 400;
}
.gdpr-field label a { color: #e91e8c; }

.seo-form-submit-wrap { grid-column: 1 / -1; margin-top: 4px; }
.seo-submit-btn {
  width: 100%;
  padding: 17px;
  font-size: 1rem;
  font-weight: 700;
  background: #e91e8c;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  font-family: var(--sans);
  letter-spacing: 0.01em;
}
.seo-submit-btn:hover:not(:disabled) { opacity: 0.88; transform: scale(1.015); }
.seo-submit-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 40px;
  text-align: center;
  gap: 16px;
}
.form-success-tick {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(233,30,140,0.12);
  border: 1px solid rgba(233,30,140,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.form-success h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.form-success p { font-size: 0.9rem; color: rgba(255,255,255,0.52); line-height: 1.75; max-width: 380px; }

/* ══════════════════════════════════════════
   FOOTER ACTIVE STATE
══════════════════════════════════════════ */
.site-footer a[href*="/seo"] { color: #e91e8c !important; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .seo-pain-grid { grid-template-columns: 1fr 1fr; }
  .seo-why-grid { grid-template-columns: 1fr 1fr; }
  .seo-case-card { grid-template-columns: 1fr; gap: 48px; padding: 48px; }
  .seo-process-steps { flex-direction: column; gap: 36px; align-items: center; }
  .seo-process-steps::before { display: none; }
  .seo-process-step { max-width: 320px; }
}
@media (max-width: 640px) {
  .seo-hero-inner { padding: 160px 5vw 80px; }
  .seo-hero-h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .seo-pain-grid { grid-template-columns: 1fr; }
  .seo-checklist { grid-template-columns: 1fr; gap: 14px; }
  .seo-why-grid { grid-template-columns: 1fr; }
  .seo-case-card { padding: 32px 28px; }
  .seo-cta-banner { padding: 80px 6vw; }
  .seo-form-wrap { padding: 36px 24px; }
  .seo-form { grid-template-columns: 1fr; }
  #seo-authority-canvas { height: 360px; }
  .seo-float-dot { display: none; }
}


/* ══════════════════════════════════════════
   SCROLL-TRIGGERED ANIMATION SYSTEM
   (data-anim / data-anim-delay attributes)
══════════════════════════════════════════ */

/* Hidden base state */
[data-anim] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity  0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animation variants */
[data-anim="fade-up"]    { transform: translateY(44px); }
[data-anim="fade-down"]  { transform: translateY(-30px); }
[data-anim="fade-left"]  { transform: translateX(-48px); }
[data-anim="fade-right"] { transform: translateX(48px); }
[data-anim="scale-in"]   { transform: scale(0.93) translateY(24px); }
[data-anim="scale-up"]   { transform: scale(0.88); }

/* Visible state — all variants converge here */
[data-anim].anim-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Reduced motion — skip transforms, fade only */
@media (prefers-reduced-motion: reduce) {
  [data-anim] { transform: none; transition: opacity 0.4s ease; }
}
