.seo-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.seo-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.seo-hero-blob--a {
  top: -80px;
  right: -40px;
  width: 460px;
  height: 420px;
  filter: blur(64px);
  background: radial-gradient(circle, rgba(5, 150, 105, 0.12), transparent 65%);
  animation: svc-drift 22s ease-in-out infinite;
}
.seo-hero-blob--b {
  bottom: -40px;
  left: -60px;
  width: 380px;
  height: 340px;
  filter: blur(60px);
  background: radial-gradient(
    circle,
    rgba(109, 93, 252, 0.12),
    transparent 65%
  );
  animation: svc-drift 18s ease-in-out infinite reverse;
}
.seo-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
}
.seo-hero-copy h1 {
  font-size: clamp(28px, 3.4vw, 50px);
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 20px;
}
.seo-hero-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
}
.seo-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.web-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.web-hero-pills svg {
  width: 13px;
  height: 13px;
  stroke: var(--ink-soft);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Dashboard SVG */
.seo-hero-visual {
  position: relative;
}
.seo-dashboard {
  position: relative;
}
.seo-dash-svg {
  width: 100%;
  max-width: 500px;
  border-radius: 18px;
  filter: drop-shadow(0 20px 40px rgba(60, 40, 120, 0.13));
  animation: svc-float 6s ease-in-out infinite;
}
.seo-dash-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px -8px rgba(60, 40, 120, 0.14);
}
.seo-dash-badge b {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.seo-dash-badge span {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.seo-dash-badge-icon {
  font-size: 14px;
  color: #059669;
}
.seo-dash-badge--rank {
  top: -12px;
  left: -16px;
  animation: svc-float 5s ease-in-out infinite;
}
.seo-dash-badge--roas {
  bottom: 30px;
  right: -16px;
  animation: svc-float 5s ease-in-out infinite;
  animation-delay: -2s;
}

/* Three channel cards */
.seo-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.seo-channel-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
}
.seo-channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -24px rgba(60, 40, 120, 0.2);
}
.seo-channel-card--seo:hover {
  border-color: rgba(109, 93, 252, 0.35);
}
.seo-channel-card--gads {
  border-color: rgba(26, 115, 232, 0.2);
}
.seo-channel-card--gads:hover {
  border-color: rgba(26, 115, 232, 0.4);
  box-shadow: 0 24px 48px -24px rgba(26, 115, 232, 0.2);
}
.seo-channel-card--meta:hover {
  border-color: rgba(24, 119, 242, 0.35);
}
.seo-channel-card--featured {
  background: linear-gradient(
    160deg,
    rgba(26, 115, 232, 0.03),
    rgba(109, 93, 252, 0.03)
  );
  border-color: rgba(26, 115, 232, 0.25);
}
.seo-channel-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.seo-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(109, 93, 252, 0.14);
  background: rgba(109, 93, 252, 0.07);
}
.seo-channel-card--gads .seo-channel-icon {
  border-color: rgba(26, 115, 232, 0.14);
  background: rgba(26, 115, 232, 0.07);
}
.seo-channel-card--meta .seo-channel-icon {
  border-color: rgba(24, 119, 242, 0.14);
  background: rgba(24, 119, 242, 0.07);
}
.seo-channel-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--v1);
  stroke-width: 1.5;
  fill: none;
}
.seo-channel-card--gads .seo-channel-icon svg {
  stroke: #1a73e8;
}
.seo-channel-card--meta .seo-channel-icon svg {
  stroke: #1877f2;
}
.seo-channel-head h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -0.015em;
}
.seo-channel-type {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}
.seo-channel-card > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.seo-channel-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.seo-channel-includes span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}
.seo-channel-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
}
.seo-channel-metric-label {
  font-size: 12px;
  color: var(--muted);
}
.seo-channel-metric-val {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #059669;
}

/* SEO pillars */
.seo-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.seo-pillar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.seo-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 40px -22px rgba(60, 40, 120, 0.16);
}
.seo-pillar-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--v1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.seo-pillar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.seo-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(109, 93, 252, 0.07);
  border: 1px solid rgba(109, 93, 252, 0.14);
  display: grid;
  place-items: center;
}
.seo-pillar-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--v1);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.seo-pillar h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.seo-pillar p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.seo-pillar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.seo-pillar-items span {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--v1);
  background: rgba(109, 93, 252, 0.07);
  border: 1px solid rgba(109, 93, 252, 0.15);
  padding: 3px 9px;
  border-radius: 999px;
}

/* Decision matrix */
.seo-matrix-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.seo-matrix {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
.seo-matrix-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.seo-matrix-row:last-child {
  border-bottom: none;
}
.seo-matrix-row--header {
  background: var(--bg-soft);
}
.seo-matrix-cell {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.seo-matrix-cell:last-child {
  border-right: none;
}
.seo-matrix-cell--label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.seo-matrix-cell--col {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  gap: 8px;
  justify-content: center;
  text-align: center;
}
.seo-matrix-cell--col svg {
  width: 14px;
  height: 14px;
  stroke: var(--v1);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}
.seo-matrix-col--gads svg {
  stroke: #1a73e8;
}
.seo-matrix-col--meta svg {
  stroke: #1877f2;
}
.seo-matrix-cell--highlight {
  font-weight: 600;
  color: #059669;
}
.seo-matrix-note {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  padding: 14px 20px;
  background: rgba(109, 93, 252, 0.04);
  border: 1px solid rgba(109, 93, 252, 0.12);
  border-radius: 10px;
}

/* Deliverables */
.seo-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.seo-deliverable-col {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.seo-deliverable-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.seo-deliv-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.seo-deliv-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.seo-deliv-icon--seo {
  background: rgba(109, 93, 252, 0.08);
  border: 1px solid rgba(109, 93, 252, 0.15);
}
.seo-deliv-icon--seo svg {
  stroke: var(--v1);
}
.seo-deliv-icon--gads {
  background: rgba(26, 115, 232, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.15);
}
.seo-deliv-icon--gads svg {
  stroke: #1a73e8;
}
.seo-deliv-icon--meta {
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.15);
}
.seo-deliv-icon--meta svg {
  stroke: #1877f2;
}
.seo-deliverable-head h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.seo-deliv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.seo-deliv-list li {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.seo-deliv-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--v1);
  font-size: 10px;
  font-weight: 700;
  top: 2px;
}

/* Results timeline */
.seo-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.seo-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--v1), rgba(109, 93, 252, 0.1));
}
.seo-tl-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}
.seo-tl-item:last-child {
  margin-bottom: 0;
}
.seo-tl-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.seo-tl-marker--done {
  background: linear-gradient(135deg, var(--v1), var(--v2));
  border-color: transparent;
  color: white;
}
.seo-tl-item--last .seo-tl-body {
  background: linear-gradient(
    135deg,
    rgba(109, 93, 252, 0.04),
    rgba(91, 141, 239, 0.04)
  );
  border-color: rgba(109, 93, 252, 0.2);
}
.seo-tl-body {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 8px;
}
.seo-tl-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.seo-tl-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   SEO PAGE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .seo-hero-in {
    grid-template-columns: 1fr;
    padding-top: 116px;
  }
  .seo-hero-visual {
    display: none;
  }
  .seo-channel-grid {
    grid-template-columns: 1fr;
  }
  .seo-pillar-grid {
    grid-template-columns: 1fr;
  }
  .seo-matrix-row {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .seo-deliverables-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .seo-hero-in {
    padding-top: 104px;
    padding-bottom: 56px;
  }
  .seo-timeline::before {
    left: 22px;
  }
  .seo-tl-marker {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  /* Card-per-row layout for comparison table */
  .seo-matrix-head,
  .seo-matrix-body {
    display: block;
  }

  /* Hide desktop column-header row — labels shown inline via ::before */
  .seo-matrix-row--header {
    display: none;
  }

  /* Each criterion row becomes a stacked card */
  .seo-matrix-body .seo-matrix-row {
    display: flex;
    flex-direction: column;
  }

  /* Criterion label = card heading */
  .seo-matrix-body .seo-matrix-cell--label {
    background: var(--bg-soft);
    border-right: none;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 14px;
  }

  /* Each channel value cell: badge + value side-by-side */
  .seo-matrix-body
    .seo-matrix-row
    > .seo-matrix-cell:not(.seo-matrix-cell--label) {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 9px 14px;
    font-size: 13px;
  }
  .seo-matrix-body .seo-matrix-row > .seo-matrix-cell:last-child {
    border-bottom: none;
  }

  /* SEO badge */
  .seo-matrix-body .seo-matrix-row > .seo-matrix-cell:nth-child(2)::before {
    content: "SEO";
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--v1);
    background: rgba(109, 93, 252, 0.08);
    border: 1px solid rgba(109, 93, 252, 0.2);
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    min-width: 76px;
    text-align: center;
  }

  /* Google Ads badge */
  .seo-matrix-body .seo-matrix-row > .seo-matrix-cell:nth-child(3)::before {
    content: "Google Ads";
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 700;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.08);
    border: 1px solid rgba(26, 115, 232, 0.2);
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    min-width: 76px;
    text-align: center;
  }

  /* Meta Ads badge */
  .seo-matrix-body .seo-matrix-row > .seo-matrix-cell:nth-child(4)::before {
    content: "Meta Ads";
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 700;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.08);
    border: 1px solid rgba(24, 119, 242, 0.2);
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    min-width: 76px;
    text-align: center;
  }
}

/* ============================================
   ANDROID DEVELOPMENT PAGE
   ============================================ */

.seo-channel-pill--seo {
  color: var(--v1);
  background: rgba(109, 93, 252, 0.07);
  border-color: rgba(109, 93, 252, 0.2);
}
.seo-channel-pill--gads {
  color: #1a73e8;
  background: rgba(26, 115, 232, 0.07);
  border-color: rgba(26, 115, 232, 0.2);
}
.seo-channel-pill--meta {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.07);
  border-color: rgba(24, 119, 242, 0.2);
}
.seo-matrix-head {
  display: contents;
}
.seo-matrix-body {
  display: contents;
}
.seo-matrix-col--seo svg {
  stroke: var(--v1);
}
