/* ============================================================
   AGENTIC PRO — Money Page (/agentic-marketing-agency/)
   Extracted from money-page-body.html so the browser can cache it
   independently. Scoped under .amp-mp-root — never leaks to other pages.
   Enqueued by agentic_money_page_assets() in functions.php.
   ============================================================ */

/* ============================================================
   THEME COMPAT — neutralize Twenty Twenty-Four block wrappers.
   When the page runs the default template, TT4 wraps the_content
   in .entry-content.is-layout-constrained (620px column + padding)
   and injects spacer divs. Scoped via :has(.amp-mp-root) so ONLY
   the money page is affected. Harmless no-op on the dedicated
   template. Lives here (not functions.php) so the page is
   self-sufficient.
   ============================================================ */
main .is-layout-constrained:has(.amp-mp-root),
.entry-content:has(.amp-mp-root),
.amp-mp-root:has(.amp-mp-hero) {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
main :has(.amp-mp-root) > .wp-block-spacer { display: none !important; }
.amp-mp-root { max-width: none !important; }
/* ============================================================
   AGENTIC MARKETING PRO — MONEY PAGE /agentic-marketing-agency/
   Design System: Neural Commerce Dark (homepage-compatible)
   Scope: .amp-mp-root — fully self-contained, theme-independent
   ============================================================ */
.amp-mp-root {
  /* Design tokens — cloned verbatim from amp-homepage.css .amp-hp-root */
  --amp-bg: #0B0F19;
  --amp-base: #080C14;
  --amp-surface: #121826;
  --amp-surface-elevated: #162032;
  --amp-card-bg: rgba(255, 255, 255, 0.04);
  --amp-card-border: rgba(255, 255, 255, 0.1);
  --amp-card-hover-border: rgba(40, 204, 205, 0.55);
  --amp-teal: #28CCCD;
  --amp-teal-bright: #3CDECF;
  --amp-teal-glow: rgba(40, 204, 205, 0.4);
  --amp-teal-ghost: rgba(40, 204, 205, 0.1);
  --amp-violet: #7C3AED;
  --amp-violet-soft: #A855F7;
  --amp-green: #10B981;
  --amp-amber: #F59E0B;
  --amp-text-main: #FFFFFF;
  --amp-text-sub: rgba(255, 255, 255, 0.88);
  --amp-text-muted: rgba(255, 255, 255, 0.65);
  --amp-text-faint: rgba(255, 255, 255, 0.4);
  --amp-grad-brand: linear-gradient(135deg, #28CCCD 0%, #7C3AED 100%);
  --amp-grad-teal: linear-gradient(135deg, #28CCCD 0%, #3CDECF 100%);
  --amp-grad-violet: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  --amp-grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  --amp-font-display: 'Mona Sans', system-ui, -apple-system, sans-serif;
  --amp-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --amp-font-mono: 'Space Grotesk', 'JetBrains Mono', monospace;
  --amp-radius-md: 14px;
  --amp-radius-lg: 20px;
  --amp-radius-pill: 9999px;

  position: relative;
  isolation: isolate;
  /* Patternless translucent veil: theme background shows through, but this layer
     contributes NO pattern of its own — cannot produce seams/lines on ANY host theme. */
  background: rgba(11, 15, 25, 0.42);
  color: var(--amp-text-sub);
  font-family: var(--amp-font-body);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: clip;
}
.amp-mp-root *, .amp-mp-root *::before, .amp-mp-root *::after { box-sizing: border-box; }
.amp-mp-root p { margin: 0 0 16px; color: var(--amp-text-sub); }
.amp-mp-root a { color: var(--amp-teal-bright); text-decoration: none; transition: color .25s ease; }
.amp-mp-root a:hover { color: #ffffff; }
.amp-mp-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* Reading progress bar */
#amp-mp-prog { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 99999; background: transparent; pointer-events: none; }
#amp-mp-prog span { display: block; height: 100%; width: 100%; background: var(--amp-grad-teal); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 12px var(--amp-teal-glow); }

/* Scroll-reveal (JS-gated: visible by default, hidden only when JS active) */
.amp-mp-root.amp-mp-js .amp-mp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1); }
.amp-mp-root.amp-mp-js .amp-mp-reveal.amp-mp-in { opacity: 1; transform: translateY(0); }

/* Kicker + headings */
.amp-mp-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--amp-font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amp-teal-bright); padding: 6px 18px; background: var(--amp-teal-ghost); border: 1px solid rgba(40,204,205,.3); border-radius: var(--amp-radius-pill); margin: 0 0 18px; }
.amp-mp-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amp-teal-bright); box-shadow: 0 0 10px var(--amp-teal-glow); animation: amp-mp-pulse 2.2s infinite; }
@keyframes amp-mp-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.amp-mp-root h1 { font-family: var(--amp-font-display); font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.15; color: var(--amp-text-main); margin: 0 0 18px; }
.amp-mp-root h2 { font-family: var(--amp-font-display); font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.25; color: var(--amp-text-main); margin: 0 0 16px; }
.amp-mp-root h3 { font-family: var(--amp-font-display); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--amp-text-main); margin: 0 0 10px; }
.amp-mp-grad-text { background: var(--amp-grad-teal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.amp-mp-grad-brand-text { background: var(--amp-grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Hero */
.amp-mp-hero { position: relative; padding: 84px 0 46px; overflow: hidden; }
.amp-mp-hero-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.amp-mp-hero-glow.g1 { top: -180px; left: -120px; background: rgba(40,204,205,.16); }
.amp-mp-hero-glow.g2 { bottom: -220px; right: -140px; background: rgba(124,58,237,.14); }
.amp-mp-hero::after { content: ""; position: absolute; left: 0; right: 0; top: -34%; height: 34%; background: linear-gradient(180deg, transparent, rgba(40,204,205,.06), transparent); animation: amp-mp-scan 7s linear infinite; pointer-events: none; }
@keyframes amp-mp-scan { 0% { top: -34%; } 100% { top: 104%; } }
.amp-mp-hero-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--amp-font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amp-teal-bright); background: rgba(8,12,20,.7); border: 1px solid rgba(40,204,205,.35); border-radius: var(--amp-radius-pill); padding: 8px 18px; margin-bottom: 26px; }
.amp-mp-hero-badge .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amp-green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: amp-mp-ring 2s infinite; }
@keyframes amp-mp-ring { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.amp-mp-hero-sub { font-size: 17.5px; max-width: 780px; color: var(--amp-text-sub); }
.amp-mp-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.amp-mp-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--amp-font-display); font-weight: 800; font-size: 15.5px; padding: 15px 30px; border-radius: 12px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease; }
.amp-mp-btn-primary { background-image: var(--amp-grad-teal); color: #062B2B !important; box-shadow: 0 4px 24px rgba(40,204,205,.35); }
.amp-mp-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 34px rgba(40,204,205,.5); color: #062B2B !important; }
.amp-mp-btn-secondary { border: 1px solid var(--amp-card-border); background: var(--amp-card-bg); color: var(--amp-text-main) !important; }
.amp-mp-btn-secondary:hover { border-color: var(--amp-card-hover-border); transform: translateY(-3px); }
.amp-mp-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; max-width: 760px; }
.amp-mp-stat { position: relative; overflow: hidden; background: var(--amp-card-bg); border: 1px solid var(--amp-card-border); border-radius: var(--amp-radius-md); padding: 16px 18px; transition: border-color .3s ease, transform .3s ease; }
.amp-mp-stat::after { content: ""; position: absolute; top: 0; right: 0; width: 60px; height: 60px; background: radial-gradient(circle at top right, rgba(40,204,205,.2), transparent 70%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.amp-mp-stat:hover::after { opacity: 1; }
.amp-mp-stat:hover { border-color: var(--amp-card-hover-border); transform: translateY(-4px); }
.amp-mp-stat-num { font-family: var(--amp-font-display); font-weight: 800; font-size: 26px; color: var(--amp-text-main); }
.amp-mp-stat-lbl { font-family: var(--amp-font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--amp-text-muted); margin-top: 4px; }

/* Marquee */
.amp-mp-marquee { border-top: 1px solid var(--amp-card-border); border-bottom: 1px solid var(--amp-card-border); background: rgba(8,12,20,.6); overflow: hidden; padding: 16px 0; }
.amp-mp-marquee-track { display: flex; gap: 42px; width: max-content; animation: amp-mp-scroll 32s linear infinite; }
.amp-mp-marquee:hover .amp-mp-marquee-track { animation-play-state: paused; }
@keyframes amp-mp-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.amp-mp-marquee-item { display: inline-flex; align-items: center; gap: 42px; font-family: var(--amp-font-mono); font-size: 13px; letter-spacing: .1em; color: var(--amp-text-muted); white-space: nowrap; }
.amp-mp-marquee-item b { color: var(--amp-teal-bright); font-weight: 600; }
.amp-mp-marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amp-teal); }

/* TOC */
.amp-mp-toc { background: var(--amp-card-bg); border: 1px solid var(--amp-card-border); border-radius: var(--amp-radius-lg); padding: 22px 26px; margin: 34px 0; backdrop-filter: blur(10px); }
.amp-mp-toc-title { display: flex; align-items: center; gap: 10px; font-family: var(--amp-font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--amp-text-muted); margin-bottom: 12px; }
.amp-mp-toc-title .amp-mp-toc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amp-teal); }
.amp-mp-toc ol { list-style: none; counter-reset: mp-toc; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.amp-mp-toc li { counter-increment: mp-toc; }
.amp-mp-toc a { display: flex; gap: 10px; color: var(--amp-text-sub); font-size: 14.5px; padding: 4px 0; }
.amp-mp-toc a::before { content: counter(mp-toc, decimal-leading-zero); font-family: var(--amp-font-mono); font-size: 12px; color: var(--amp-teal); padding-top: 2px; }
.amp-mp-toc a:hover { color: var(--amp-teal-bright); }

/* Sections */
.amp-mp-section { position: relative; padding: 64px 0; }
.amp-mp-section + .amp-mp-section { border-top: 1px solid rgba(255,255,255,.05); }
.amp-mp-alt { background: rgba(255,255,255,.015); }

/* AEO answer block */
.amp-mp-answer { position: relative; background: var(--amp-grad-card); border: 1px solid var(--amp-card-border); border-left: 3px solid var(--amp-teal); border-radius: var(--amp-radius-md); padding: 18px 22px 6px; margin: 20px 0 22px; }
.amp-mp-answer::before { content: "QUICK ANSWER"; display: block; font-family: var(--amp-font-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--amp-teal-bright); margin-bottom: 8px; }
.amp-mp-answer p { font-size: 16.5px; color: var(--amp-text-main); }

/* Table */
.amp-mp-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--amp-card-border); border-radius: var(--amp-radius-md); margin: 22px 0; }
.amp-mp-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14.5px; }
.amp-mp-table th { font-family: var(--amp-font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; text-align: left; color: var(--amp-text-muted); background: rgba(255,255,255,.03); padding: 14px 16px; border-bottom: 1px solid var(--amp-card-border); }
.amp-mp-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--amp-text-sub); vertical-align: top; }
.amp-mp-table tr:last-child td { border-bottom: none; }
.amp-mp-table tbody tr { transition: background .25s ease; }
.amp-mp-table tbody tr:hover { background: rgba(40,204,205,.04); }
.amp-mp-table .highlight-col { color: var(--amp-teal-bright) !important; font-weight: 600; }

/* Timeline */
.amp-mp-timeline { list-style: none; padding: 0; margin: 24px 0; position: relative; }
.amp-mp-timeline::before { content: ""; position: absolute; left: 52px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--amp-teal), var(--amp-violet)); opacity: .5; }
.amp-mp-timeline li { position: relative; padding: 0 0 22px 84px; }
.amp-mp-timeline li:last-child { padding-bottom: 0; }
.amp-mp-timeline li::before { content: attr(data-day); position: absolute; left: 0; top: 0; font-family: var(--amp-font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: #062B2B; background: var(--amp-grad-teal); border-radius: 8px; padding: 5px 10px; white-space: nowrap; box-shadow: 0 0 16px var(--amp-teal-glow); }
.amp-mp-timeline b { color: var(--amp-text-main); }

/* Cards: cases, tiers, keypoint */
.amp-mp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 24px 0; }
.amp-mp-card { background: var(--amp-grad-card); border: 1px solid var(--amp-card-border); border-radius: var(--amp-radius-lg); padding: 24px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.amp-mp-card:hover { transform: translateY(-5px); border-color: var(--amp-card-hover-border); box-shadow: 0 12px 40px -12px var(--amp-teal-glow); }
.amp-mp-card h3 { color: var(--amp-teal-bright); }
.amp-mp-card p:last-child { margin-bottom: 0; }
.amp-mp-tag { display: inline-block; font-family: var(--amp-font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amp-teal-bright); background: var(--amp-teal-ghost); border: 1px solid rgba(40,204,205,.3); border-radius: var(--amp-radius-pill); padding: 4px 12px; margin-bottom: 12px; }
.amp-mp-note { border-left: 3px solid var(--amp-amber); background: rgba(245,158,11,.06); border-radius: 0 var(--amp-radius-md) var(--amp-radius-md) 0; padding: 14px 18px; margin: 20px 0; font-size: 14.5px; color: var(--amp-text-sub); }
.amp-mp-keypoint { border: 1px solid rgba(168,85,247,.35); background: rgba(124,58,237,.07); border-radius: var(--amp-radius-md); padding: 16px 20px; margin: 20px 0; }
.amp-mp-keypoint b { color: var(--amp-violet-soft); }

/* FAQ accordion */
.amp-mp-faq-item { background: var(--amp-grad-card); border: 1px solid var(--amp-card-border); border-radius: var(--amp-radius-md); margin-bottom: 12px; overflow: hidden; transition: border-color .3s ease; }
.amp-mp-faq-item.active { border-color: var(--amp-card-hover-border); }
.amp-mp-faq-trigger { width: 100%; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: transparent; border: none; cursor: pointer; font-family: var(--amp-font-display); font-size: 16.5px; font-weight: 700; color: var(--amp-text-main); }
.amp-mp-faq-icon { flex: 0 0 auto; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--amp-card-border); color: var(--amp-teal-bright); font-size: 18px; transition: transform .3s ease, border-color .3s ease; }
.amp-mp-faq-item.active .amp-mp-faq-icon { transform: rotate(45deg); border-color: var(--amp-teal); }
.amp-mp-faq-content { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.amp-mp-faq-item.active .amp-mp-faq-content { max-height: 420px; }
.amp-mp-faq-content p { padding: 0 22px 20px; margin: 0; font-size: 15px; color: var(--amp-text-sub); }

/* Final CTA */
.amp-mp-cta-final { position: relative; border: 1px solid rgba(40,204,205,.4); border-radius: var(--amp-radius-lg); background: linear-gradient(120deg, rgba(40,204,205,.08), rgba(124,58,237,.07), rgba(40,204,205,.08)); background-size: 220% 220%; animation: amp-mp-ctaflow 9s ease infinite; padding: 38px 32px; margin: 48px 0 26px; overflow: hidden; }
@keyframes amp-mp-ctaflow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.amp-mp-cta-final::before { content: ""; position: absolute; top: -120px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(40,204,205,.14); filter: blur(70px); pointer-events: none; }

/* Entity footer */
.amp-mp-entity { border-top: 1px solid var(--amp-card-border); margin-top: 34px; padding-top: 26px; }
.amp-mp-entity-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; }
.amp-mp-entity-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--amp-font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--amp-text-sub); background: var(--amp-card-bg); border: 1px solid var(--amp-card-border); border-radius: var(--amp-radius-pill); padding: 8px 16px; transition: border-color .25s ease, transform .25s ease; }
.amp-mp-entity-chip:hover { border-color: var(--amp-card-hover-border); transform: translateY(-2px); color: var(--amp-text-main); }
.amp-mp-entity-chip .ec-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amp-green); }
.amp-mp-entity-chip.is-slot { border-style: dashed; color: var(--amp-text-faint); }
.amp-mp-entity-chip.is-slot .ec-dot { background: var(--amp-amber); }
.amp-mp-entity-meta { font-size: 13px; color: var(--amp-text-muted); }
.amp-mp-entity-meta a { color: var(--amp-teal-bright); }

/* Figures */
.amp-mp-fig { margin: 26px 0; }
.amp-mp-fig-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--amp-card-border); border-radius: var(--amp-radius-md); background: rgba(8,12,20,0.35); padding: 14px; }
.amp-mp-fig-scroll svg { display: block; width: 100%; min-width: 560px; height: auto; }
.amp-mp-card-flow { display: block; width: 100%; height: auto; margin: 4px 0 12px; }
.amp-mp-tier-icon { display: block; width: 40px; height: 40px; margin: 0 0 12px; }

/* Responsive */
@media (max-width: 768px) {
  .amp-mp-hero { padding: 56px 0 36px; }
  .amp-mp-hero-stats { grid-template-columns: 1fr; }
  .amp-mp-toc ol { grid-template-columns: 1fr; }
  .amp-mp-section { padding: 46px 0; }
  .amp-mp-timeline::before { left: 44px; }
  .amp-mp-timeline li { padding-left: 66px; }
}
@media print {
  .amp-mp-root .amp-mp-reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .amp-mp-marquee-track { animation: none; }
  .amp-mp-root.amp-mp-js .amp-mp-reveal { opacity: 1; transform: none; transition: none; }
  .amp-mp-kicker-dot, .amp-mp-hero-badge .pulse-dot { animation: none; }
  .amp-mp-hero::after { animation: none; display: none; }
  .amp-mp-cta-final { animation: none; }
}

