/* ─────────────────────────────────────────────────────────
   GA4 Setup Services Pro — /products/google-analytics-4-setup-services-pro/
   ───────────────────────────────────────────────────────── */


/* Per-product accent — scoped to the whole page via body class */
body.ld-tpl-new-google-analytics-service,
body.ld-tpl-ga4-lite {
  --red: #FFC000;
}
.ga-h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 900; letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 16px; color: var(--black); text-transform: uppercase; }
.ga-h2 em { font-style: normal; color: var(--red); font-weight: 900; }
.ga-h2--center { text-align: center; }
.ga-section-inner { max-width: 1200px; margin: 0 auto; }
.ga-section-head {
  position: static !important;
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0;
  text-align: center;
  background: transparent;
  top: auto;
  z-index: auto;
}
.ga-section-head .ga-h2 { display: block; width: 100%; margin: 0 0 14px; }
.ga-section-sub { display: block; font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 auto; max-width: 640px; }

.ga-btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-radius: 8px; transition: background 0.22s, color 0.22s, transform 0.22s, border-color 0.22s; }
.ga-btn svg { width: 14px; height: 14px; transition: transform 0.22s; }
.ga-btn:hover svg:last-child { transform: translateX(4px); }
.ga-btn--primary { background: var(--red); color: var(--white); box-shadow: 0 12px 28px rgba(255, 192, 0,0.25); }
.ga-btn--primary:hover { background: var(--black); transform: translateY(-2px); }
.ga-btn--ghost { background: transparent; color: inherit; border: 2px solid currentColor; }

/* ── HERO ──────────────────────────────────────────── */
.ga-hero { position: relative; padding: 96px 48px 96px; background: radial-gradient(circle at 88% 10%, rgba(255, 192, 0,0.2) 0%, transparent 45%), radial-gradient(circle at 0% 100%, rgba(255, 192, 0,0.08) 0%, transparent 50%), var(--black); color: var(--white); overflow: hidden; }
.ga-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%); }
.ga-hero-watermark { position: absolute; bottom: -36px; right: -24px; font-size: clamp(8rem, 22vw, 20rem); font-weight: 900; letter-spacing: -0.05em; color: rgba(255,255,255,0.04); pointer-events: none; white-space: nowrap; line-height: 1; }
.ga-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ga-hero-text { min-width: 0; }
.ga-hero-h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 24px; color: var(--white); text-transform: uppercase; }
.ga-hero-h1 em { font-style: normal; color: var(--red); font-weight: 900; }

.ga-hero-price { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 22px; background: rgba(255, 192, 0,0.12); border: 1px solid rgba(255, 192, 0,0.3); border-radius: 999px; font-size: 24px; font-weight: 900; color: var(--white); letter-spacing: -0.02em; margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.ga-hero-price .woocommerce-Price-amount { color: var(--red); }
.ga-hero-price-unit { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.65); }

.ga-hero-desc { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.78); margin: 0 0 30px; max-width: 560px; }
.ga-hero-desc p { margin: 0 0 14px; }
.ga-hero-desc p:last-child { margin-bottom: 0; }

.ga-hero-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.ga-hero .ga-btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.ga-hero .ga-btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.ga-hero-chat { font-size: 13.5px; color: rgba(255,255,255,0.6); margin: 0; }
.ga-hero-chat a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ga-hero-chat a:hover { color: var(--white); }

.ga-hero-media { display: flex; justify-content: center; min-width: 0; }
.ga-hero-thumb { width: 100%; max-width: 480px; height: auto; display: block; border-radius: 14px; box-shadow: 0 32px 70px rgba(0,0,0,0.45); }

/* ── WHAT'S INCLUDED (from WC description) ──────────── */
.ga-features { padding: 96px 48px; background: var(--white); }
.ga-features-content { max-width: 1200px; margin: 0 auto; }
.ga-features-content p { font-size: 17px; line-height: 1.7; color: var(--black); margin: 0 0 16px; }
/* Bullet lists from WC description — render as 2-col checklist */
.ga-features-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.ga-features-content li {
  position: relative;
  padding: 14px 18px 14px 50px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--black);
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.ga-features-content li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.ga-features-content li:hover {
  background: var(--white);
  border-color: color-mix(in srgb, var(--red) 35%, transparent);
  transform: translateX(3px);
}

/* ── INTRO ──────────────────────────────────────────── */
.ga-intro { padding: 96px 48px; background: var(--white); }
.ga-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ga-intro-text p { font-size: 17px; line-height: 1.7; color: var(--black); margin: 0 0 18px; }
.ga-intro-text p:last-child { margin-bottom: 0; }

.ga-intro-card { width: 100%; max-width: 440px; margin: 0 auto; background: linear-gradient(155deg, #0F0F0F, #1A1A1A); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,0.18); border: 1px solid rgba(255, 192, 0,0.18); overflow: hidden; }
.ga-intro-card-head { display: flex; align-items: center; gap: 6px; padding: 14px 18px; background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.06); }
.ga-intro-dot { width: 10px; height: 10px; border-radius: 50%; }
.ga-intro-card-title { margin-left: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.ga-intro-card-body { padding: 24px 24px 28px; }
.ga-intro-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ga-intro-row:last-of-type { border-bottom: 0; }
.ga-intro-row span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ga-intro-row strong { font-size: 22px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ga-intro-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; height: 80px; margin-top: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }
.ga-intro-bars span { background: linear-gradient(180deg, var(--red), rgba(255, 192, 0,0.3)); border-radius: 3px 3px 0 0; min-height: 8px; }

/* ── STEPS — compact 2-column checklist ────────────── */
.ga-steps { padding: 96px 48px; background: var(--bg); border-top: 1px solid var(--rule); }

.ga-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ga-step {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.ga-step:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 192, 0,0.32);
  box-shadow: 0 14px 32px rgba(0,0,0,0.06);
}

.ga-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--red), #FFD740);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
  position: relative;
}

/* Soft red wash extending into the card body */
.ga-step-num::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(255, 192, 0,0.08), transparent);
  pointer-events: none;
}

.ga-step-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--black);
  letter-spacing: -0.005em;
}

.ga-step-arrow {
  width: 16px;
  height: 16px;
  color: var(--red);
  align-self: center;
  margin-right: 22px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.ga-step:hover .ga-step-arrow { opacity: 1; transform: translateX(0); }

/* ── WHY US ─────────────────────────────────────────── */
/* Bottom padding intentionally lighter (~half) so the gap to the shared
   reviews section (which has its own 96px top padding) doesn't double up. */
.ga-why { padding: 96px 48px 48px; background: var(--white); border-top: 1px solid var(--rule); }
.ga-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }

.ga-why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 32px 36px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  text-align: left;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

/* Top accent stripe */
.ga-why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #FFD740);
  opacity: 0.85;
  transition: opacity 0.25s, height 0.25s;
}

.ga-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 192, 0,0.35);
  box-shadow: 0 22px 48px rgba(0,0,0,0.06);
}
.ga-why-card:hover::before { opacity: 1; height: 5px; }

.ga-why-num {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

.ga-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255, 192, 0,0.18) 0%, rgba(255, 192, 0,0.06) 100%);
  border: 1px solid rgba(255, 192, 0,0.28);
  color: var(--red);
  margin-bottom: 22px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.ga-why-icon svg { width: 24px; height: 24px; }

.ga-why-card:hover .ga-why-icon {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: scale(1.05);
}

.ga-why-card h3 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--black);
  text-transform: uppercase;
}

.ga-why-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.ga-why-card strong { font-weight: 800; color: var(--black); }

/* Featured middle card — slightly elevated visual treatment.
   Wash + border derive from var(--red) so they match the per-product accent
   (yellow on GA4, orange on Klaviyo, purple on Content Workshop, red elsewhere). */
.ga-why-card--featured {
  background: linear-gradient(155deg, color-mix(in srgb, var(--red) 10%, var(--white)) 0%, var(--white) 80%);
  border-color: color-mix(in srgb, var(--red) 25%, transparent);
}
.ga-why-card--featured::before { height: 4px; }

/* ── MIGRATION CTA ──────────────────────────────────── */
.ga-migrate { padding: 96px 48px; background: color-mix(in srgb, var(--red) 8%, var(--white)); border-top: 1px solid color-mix(in srgb, var(--red) 12%, transparent); }
.ga-migrate-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ga-migrate-text .ga-h2 { margin-bottom: 24px; }
.ga-migrate-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ga-migrate-points li { position: relative; padding-left: 36px; font-size: 16px; line-height: 1.55; color: var(--black); }
.ga-migrate-points li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; background: var(--red); border-radius: 50%; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 12px; }
.ga-migrate-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ga-migrate-actions .ga-btn { width: 100%; justify-content: center; max-width: 340px; }
.ga-migrate-actions .ga-btn--ghost { color: var(--black); border-color: var(--black); }
.ga-migrate-actions .ga-btn--ghost:hover { background: var(--black); color: var(--white); }

/* ── BOTTOM CTA ────────────────────────────────────── */
.ga-cta { padding: 96px 48px 104px; background: var(--black); color: var(--white); text-align: center; }
.ga-cta-inner { max-width: 880px; margin: 0 auto; }
.ga-cta-faces { display: inline-flex; margin: 0 auto 24px; }
.ga-cta-faces img { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--black); margin-left: -16px; object-fit: cover; object-position: top center; background: rgba(255, 192, 0,0.1); box-shadow: 0 6px 14px rgba(0,0,0,0.35); }
.ga-cta-faces img:first-child { margin-left: 0; }
.ga-cta-h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 36px; color: var(--white); text-transform: uppercase; }
.ga-cta-h2 em { font-style: normal; color: var(--red); font-weight: 900; }
.ga-cta-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ga-cta .ga-btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.ga-cta .ga-btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ── MOBILE ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ga-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ga-features-content ul { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .ga-hero-inner, .ga-intro-grid, .ga-migrate-grid { grid-template-columns: 1fr; gap: 40px; }
  .ga-migrate-actions .ga-btn { max-width: 100%; }
}
@media (max-width: 760px) {
  .ga-steps-list { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .ga-hero { padding: 56px 24px 64px; }
  .ga-hero-watermark { display: none; }
  .ga-intro, .ga-steps, .ga-why, .ga-migrate, .ga-cta { padding: 64px 24px; }
  .ga-hero-actions, .ga-cta-actions { flex-direction: column; width: 100%; }
  .ga-btn { width: 100%; justify-content: center; }
  .ga-step { grid-template-columns: 60px 1fr auto; }
  .ga-step-num { font-size: 15px; }
  .ga-step-text { padding: 14px 16px; font-size: 14.5px; }
  .ga-step-arrow { margin-right: 14px; }
}
