/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: Child theme for the Astra parent theme.
 Author: Reverend Sam Adeyemi
 Author URI: https://phhm.org/
 Template: astra
 Version: 1.0.0
*/

/* =====================================================
   🌍 CREATOR ECONOMY PREMIUM GUIDE STYLES
   (Fully scoped to .guide-root for isolation)
   ===================================================== */

.guide-root{
  --guide-max-w:1120px;
  --guide-gutter:1.25rem;
  --guide-radius:16px;
  --guide-shadow:0 10px 30px rgba(0,0,0,.08);
  --c-bg:#fff;
  --c-bg-muted:#f7f7f9;
  --c-border:#e6e6ef;
  --c-text:#1a1a1a;
  --c-text-muted:#5a5f71;
  --c-accent:#111827;
  --c-accent-2:#0f172a;
  --c-premium:#ffbf47;
  --c-focus:#111827;
  --c-success:#0ea5e9;

  color:var(--c-text);
  background:transparent;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  word-wrap:break-word;
  overflow-wrap:break-word;
}
.guide-root *{ box-sizing:border-box; }

/* Layout */
.guide-root .guide-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:var(--guide-gutter);
  max-width:var(--guide-max-w);
  margin:0 auto;
  padding:0 var(--guide-gutter) 5rem;
}

/* Progress bar (handles admin bar) */
.guide-root .guide-progress{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:saturate(150%) blur(6px);
  backdrop-filter:saturate(150%) blur(6px);
  border-bottom:1px solid var(--c-border);
}
body.admin-bar .guide-root .guide-progress{ top:32px; }

.guide-root .guide-progress-track{
  width:100%;height:6px;background:var(--c-bg-muted);position:relative;
}
.guide-root .guide-progress-bar{
  height:100%;width:0%;
  background:linear-gradient(90deg,var(--c-accent),var(--c-accent-2));
  transition:width .26s ease;
}
.guide-root .guide-progress-meta{
  max-width:var(--guide-max-w);
  margin:0 auto;
  padding:.35rem var(--guide-gutter) .6rem;
  font-size:12.5px;color:var(--c-text-muted);
}

/* TOC */
.guide-root .guide-toc{
  position:sticky;
  top:56px;
  align-self:start;
  background:var(--c-bg);
  border:1px solid var(--c-border);
  border-radius:var(--guide-radius);
  padding:1rem;
  box-shadow:var(--guide-shadow);
}
body.admin-bar .guide-root .guide-toc{ top:88px; } /* 56 + 32 */

.guide-root .guide-toc h3{
  margin:0 0 .5rem;font:700 .95rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;color:var(--c-accent);
  letter-spacing:.02em;
}
.guide-root .guide-toc ul{ list-style:none;margin:0;padding:0; }
.guide-root .guide-toc li{ margin:0;padding:0; }
.guide-root .guide-toc a{
  display:flex;align-items:center;gap:.4rem;
  padding:.55rem .65rem;margin:.15rem 0;border-radius:10px;
  text-decoration:none;color:var(--c-text);
  transition:background .18s ease,color .18s ease,transform .12s ease;
  outline:none;
}
.guide-root .guide-toc a:hover{ background:var(--c-bg-muted); }
.guide-root .guide-toc a:focus{ box-shadow:0 0 0 2px var(--c-focus) inset; }
.guide-root .guide-toc li.active>a,
.guide-root .guide-toc a[aria-current="true"]{
  background:var(--c-accent);color:#fff;transform:translateX(2px);
}
.guide-root .guide-toc .toc-premium{ margin-left:auto;font-size:.85em;opacity:.85; }

/* Content sections */
.guide-root .guide-content-container{ background:var(--c-bg); }
.guide-root .guide-section{
  background:var(--c-bg);
  border:1px solid var(--c-border);
  border-radius:var(--guide-radius);
  padding:clamp(1.15rem, .9rem + 1.2vw, 2rem);
  box-shadow:var(--guide-shadow);
  margin:0 0 1rem;
  scroll-margin-top:96px; /* sticky offset */
  outline:none;
}
.guide-root .guide-section:focus-visible{
  box-shadow:0 0 0 3px rgba(17,24,39,.35);
}

/* Typography */
.guide-root h1,.guide-root h2,.guide-root h3,.guide-root h4{
  color:var(--c-accent);margin:.2em 0 .4em;line-height:1.25;
}
.guide-root h1{ font-size:clamp(1.6rem,1.1rem + 2vw,2.35rem); }
.guide-root h2{ font-size:clamp(1.35rem,1.05rem + 1.2vw,1.8rem); }
.guide-root h3{ font-size:clamp(1.05rem,.95rem + .6vw,1.25rem); }
.guide-root h4{ font-size:1rem; }
.guide-root p{ margin:0 0 .9rem;color:var(--c-text); }
.guide-root p:last-child{ margin-bottom:0; }
.guide-root .guide-meta{
  display:flex;gap:1rem;align-items:center;
  font-size:.86rem;color:var(--c-text-muted);margin-bottom:.75rem;
}
.guide-root ul,.guide-root ol{ padding-left:1.15rem;margin:.25rem 0 .9rem; }
.guide-root li{ margin-bottom:.4rem; }

/* Free badge */
.guide-root .free-section .section-badge{
  display:inline-block;font:700 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing:.06em;text-transform:uppercase;color:var(--c-accent);
  background:var(--c-bg-muted);border:1px solid var(--c-border);
  padding:.25rem .5rem;border-radius:999px;margin:0 0 .75rem;
}

/* Principles grid (used in intro) */
.guide-root .principles-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.85rem;
  margin-top:.5rem;
}
.guide-root .principle-card{
  background:var(--c-bg-muted);
  border:1px solid var(--c-border);
  border-radius:14px;
  padding:.9rem;
}
.guide-root .principle-icon{
  font-size:1.2rem;
  line-height:1;
  margin-bottom:.35rem;
}

/* Premium teaser */
.guide-root .premium-badge-large{
  display:inline-flex;align-items:center;gap:.4rem;
  font-weight:800;font-size:.8rem;letter-spacing:.08em;
  padding:.35rem .6rem;border-radius:999px;color:#111;
  background:linear-gradient(180deg,#ffe9b3,#ffdd86);border:1px solid #f5cf78;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.guide-root .premium-section .section-content>*:first-child{ margin-top:0; }

.guide-root .premium-teaser{
  background:#fffef6;border:1px dashed #f1c76a;border-radius:14px;padding:1.1rem 1.25rem;
}
.guide-root .premium-teaser .teaser-header{ display:flex;align-items:center;gap:.6rem;margin:0 0 .6rem; }
.guide-root .premium-teaser h3{ margin:0;font-size:1.1rem; }
.guide-root .teaser-features{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.5rem 1rem;margin:.6rem 0 .85rem;
}
.guide-root .feature-item{ font-size:.95rem; }

/* Buttons (unlock + modal CTAs) */
.guide-root .unlock-btn,
.guide-root .upgrade-btn.primary{
  position:relative;overflow:hidden;
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.62rem .95rem;border-radius:10px;border:0;background:linear-gradient(90deg,#0ea5e9,#10b981);
  color:#fff;font-weight:700;cursor:pointer;
  transition:transform .25s ease,box-shadow .25s ease,opacity .2s ease;
}
.guide-root .unlock-btn:hover,
.guide-root .upgrade-btn.primary:hover{
  transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,128,255,.22);
}
.guide-root .unlock-btn:focus,
.guide-root .upgrade-btn:focus{ outline:none;box-shadow:0 0 0 3px rgba(17,24,39,.35); }

.guide-root .upgrade-btn{ border:1px solid var(--c-accent); border-radius:10px; padding:.62rem .95rem; font-weight:800; cursor:pointer; }
.guide-root .upgrade-btn.secondary{ background:#fff;color:var(--c-accent); }
.guide-root .upgrade-btn.secondary:hover{ background:var(--c-bg-muted); }

/* Callouts / Examples / Formula */
.guide-root .callout{
  background:var(--c-bg-muted);border:1px solid var(--c-border);
  border-left:4px solid var(--c-accent);padding:.75rem .9rem;border-radius:12px;margin-top:.75rem;
}
.guide-root .examples{
  background:#f8fafc;border:1px solid var(--c-border);
  padding:.75rem .9rem;border-radius:12px;
}
.guide-root .formula{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  background:#0b1020;color:#e5e7eb;border-radius:12px;padding:.65rem .8rem;overflow-x:auto;
}

/* Modal */
.guide-root .upgrade-modal-overlay{
  position:fixed;inset:0;background:rgba(15,18,30,.5);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  display:grid;place-items:center;z-index:10000;padding:1rem;overscroll-behavior:contain;
}
.guide-root .upgrade-modal{
  width:min(720px,100%);max-height:90vh;overflow:auto;
  background:var(--c-bg);border-radius:18px;border:1px solid var(--c-border);
  box-shadow:0 20px 60px rgba(0,0,0,.25);position:relative;-webkit-overflow-scrolling:touch;
}
.guide-root .modal-close{
  position:absolute;top:10px;right:12px;border:0;background:transparent;
  font-size:1.35rem;line-height:1;cursor:pointer;color:var(--c-text-muted);
}
.guide-root .modal-content{ padding:1.2rem 1.25rem 1.1rem; }
.guide-root .modal-badge{
  display:inline-block;font-weight:800;letter-spacing:.06em;font-size:.8rem;color:#111;
  background:linear-gradient(180deg,#ffe9b3,#ffdd86);border:1px solid #f5cf78;
  padding:.35rem .6rem;border-radius:999px;margin:0 0 .6rem;
}
.guide-root .premium-features{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:.85rem 0 1.1rem;
}
.guide-root .feature-card{ background:var(--c-bg-muted);border:1px solid var(--c-border);border-radius:12px;padding:.75rem; }
.guide-root .feature-icon{ font-size:1.2rem;margin:0 0 .35rem; }
.guide-root .modal-cta{ display:flex;flex-wrap:wrap;gap:.6rem; }

/* Media & embeds */
.guide-root img, .guide-root iframe, .guide-root video{
  max-width:100%;height:auto;border-radius:12px;
}

/* Motion preferences */
.guide-root .guide-section, .guide-root .premium-teaser{ transition:transform .3s ease, box-shadow .3s ease; }
.guide-root .guide-section:hover{ box-shadow:0 6px 20px rgba(0,0,0,.05); transform:translateY(-2px); }
.guide-root .wow-in{ animation:fadeUp .6s ease forwards; }
@keyframes fadeUp{ from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
@media (prefers-reduced-motion:reduce){
  .guide-root .guide-section,.guide-root .premium-teaser{ transition:none !important; transform:none !important; }
  .guide-root .guide-progress-bar,.guide-root .unlock-btn,.guide-root .upgrade-btn{ transition:none !important; }
}

/* Responsive */
@media (max-width:1024px){
  .guide-root .guide-layout{ grid-template-columns:1fr; }
  .guide-root .guide-toc{ position:relative; top:0; border-radius:14px; margin:0 0 .75rem; }
}
@media (max-width:780px){
  .guide-root .principles-grid{ grid-template-columns:1fr; }
  .guide-root .premium-features{ grid-template-columns:1fr; }
  .guide-root .teaser-features{ grid-template-columns:1fr; }
  .guide-root .modal-cta .upgrade-btn{ width:100%; text-align:center; }
}

/* Dark mode */
@media (prefers-color-scheme:dark){
  .guide-root{
    --c-bg:#0b1020;
    --c-bg-muted:#0f162e;
    --c-border:#192040;
    --c-text:#e5e7eb;
    --c-text-muted:#a5b0d0;
    --c-accent:#f8fafc;
    --c-accent-2:#cbd5e1;
    --c-focus:#a5b4fc;
  }
  .guide-root .formula{ background:#0b1020;color:#e5e7eb; }
  .guide-root .guide-toc{ box-shadow:0 10px 30px rgba(0,0,0,.35); }
  .guide-root .guide-section{ box-shadow:0 14px 36px rgba(0,0,0,.35); }
  .guide-root .premium-teaser{ background:#0f162e;border-color:#2a3566; }
  .guide-root .premium-badge-large,.guide-root .modal-badge{
    color:#0b1020;background:linear-gradient(180deg,#ffe9b3,#ffdd86);border-color:#f5cf78;
  }
}

/* Print */
@media print{
  .guide-root .guide-progress,
  .guide-root .guide-toc,
  .guide-root .upgrade-modal-overlay,
  .guide-root .premium-teaser .unlock-btn{ display:none !important; }
  .guide-root .guide-layout{ display:block;padding:0; }
  .guide-root .guide-section{ break-inside:avoid;border:none;box-shadow:none;padding:0;margin:0 0 1rem; }
  .guide-root .formula{ color:#000;background:#fff;border:1px solid #000; }
}

/* ===================== Upgrade Block (.dag-*) ===================== */
.dag-upgrade {
  background: linear-gradient(180deg, #ffffff, #f7f7f9);
  border-top: 1px solid #e6e6ef;
  padding: clamp(2rem, 4vw, 4rem) 1.25rem;
}
.dag-upgrade__wrap { max-width: 1120px; margin: 0 auto; }

.dag-upgrade .dag-chip {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .08em;
  font-weight: 800;
  text-transform: uppercase;
  color: #111827;
  background: #eef2ff;
  border: 1px solid #e6e6ef;
  padding: .35rem .6rem;
  border-radius: 999px;
}
.dag-upgrade__head h2 {
  margin: .6rem 0 .25rem;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
  color: #0b1020;
}
.dag-upgrade__head p {
  color: #5a5f71;
  max-width: 860px;
  margin: 0 0 1rem;
}

/* Benefits grid */
.dag-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .85rem;
  margin: 1rem 0 1.25rem;
}
.dag-benefit {
  background: #fff;
  border: 1px solid #e6e6ef;
  border-radius: 14px;
  padding: .9rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}
.dag-benefit__icon { font-size: 1.2rem; margin-bottom: .35rem; }
.dag-benefit h3 { margin: 0 0 .25rem; font-size: 1.05rem; color: #111827; }
.dag-benefit p { margin: 0; color: #5a5f71; }

/* Offer split */
.dag-offer {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e6e6ef;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  margin-top: .5rem;
}
.dag-offer__left h3 { margin: 0 0 .35rem; color: #0b1020; }
.dag-list { margin: .35rem 0 .6rem; padding-left: 1.15rem; }
.dag-list li { margin: .25rem 0; color: #1a1a1a; }
.dag-guarantee { color: #0ea5e9; font-weight: 700; }

.dag-offer__right {
  align-self: start;
  background: #0b1020;
  color: #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}
.dag-price { margin-bottom: .6rem; }
.dag-price__label { display:block; font-size:.8rem; color:#cbd5e1; }
.dag-price__num { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; line-height: 1; }
.dag-price__sub { font-size:.95rem; color:#a5b0d0; }

.dag-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid #111827;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  margin: .35rem 0;
}
.dag-btn:focus{ outline:none; box-shadow:0 0 0 3px rgba(17,24,39,.35); border-radius:12px; }
.dag-btn--xl { width: 100%; }
.dag-btn--primary {
  background: linear-gradient(90deg, #0ea5e9, #10b981);
  color: #fff; border: none;
}
.dag-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,.2); }
.dag-btn--ghost { background: #fff; color: #111827; }
.dag-btn--ghost:hover { background: #f7f7f9; }

.dag-safe { margin-top: .3rem; font-size: .9rem; color: #a5b0d0; }

/* Testimonial + FAQ */
.dag-voice--inline {
  margin-top: 1rem;
  background: #f8fafc;
  border: 1px solid #e6e6ef;
  padding: .85rem 1rem;
  border-radius: 12px;
  color: #1a1a1a;
}
.dag-voice--inline em { color:#111827; }
.dag-faq { margin-top: 1rem; }
.dag-faq details {
  background: #fff; border: 1px solid #e6e6ef; border-radius: 12px;
  padding: .65rem .8rem; margin-bottom: .5rem;
}
.dag-faq summary { cursor: pointer; font-weight: 700; color: #111827; }
.dag-faq p { margin: .5rem 0 0; color: #5a5f71; }

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .dag-upgrade { background: linear-gradient(180deg, #0b1020, #0f162e); border-top-color: #192040; }
  .dag-upgrade__head h2 { color: #f8fafc; }
  .dag-upgrade__head p { color: #a5b0d0; }
  .dag-benefit { background:#0f162e; border-color:#192040; }
  .dag-benefit h3 { color:#f8fafc; } .dag-benefit p { color:#a5b0d0; }
  .dag-offer { background:#0f162e; border-color:#192040; }
  .dag-offer__left h3, .dag-list li { color:#e5e7eb; }
  .dag-voice--inline { background:#0f162e; border-color:#192040; color:#e5e7eb; }
  .dag-faq details { background:#0f162e; border-color:#192040; }
  .dag-faq summary { color:#f8fafc; } .dag-faq p { color:#a5b0d0; }
}

/* Responsive */
@media (max-width: 980px) {
  .dag-benefits { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dag-offer { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dag-benefits { grid-template-columns: 1fr; }
}

/* =========================================================
   THE AFRICAN DATA ADVANTAGE — page polish (scoped)
   Scope: #apex-data-guide
   ========================================================= */
#apex-data-guide{
  --max: 1120px;
  --g: 1.25rem;
  --c-text: #0b1020;
  --c-muted:#5a5f71;
  --c-soft:#eef2ff;
  --c-accent:#111827;
  --c-accent-2:#0ea5e9;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  color:var(--c-text);
  line-height:1.65;
}

/* Center the content and tighten vertical rhythm */
#apex-data-guide .adg-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--g) 3rem;
}

/* ---------- Hero / Title block ---------- */
#apex-data-guide .adg-hero{
  padding: clamp(1.25rem, 2vw, 2rem) 0 1rem;
  border-bottom:1px solid #e6e6ef;
  margin-bottom: 1rem;
}

#apex-data-guide .adg-title{
  line-height:1.08;
  letter-spacing:-0.01em;
  margin:0 0 .35em;
  font-size: clamp(2rem, 1.6rem + 2.8vw, 3.2rem);
  color:#0b1020;
}

#apex-data-guide .adg-subtitle{
  margin: .2rem 0 .6rem;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  font-weight:700;
  line-height:1.12;
}

#apex-data-guide .adg-lede{
  font-size: clamp(1.02rem, .98rem + .4vw, 1.125rem);
  color:var(--c-muted);
  max-width: 85ch;
}

/* meta badges row */
#apex-data-guide .adg-meta{
  display:flex; flex-wrap:wrap; gap:.6rem 1rem;
  align-items:center;
  margin:.85rem 0 1.1rem;
  color:var(--c-muted);
  font-size:.96rem;
}
#apex-data-guide .adg-chip{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.35rem .6rem;
  border:1px solid #e6e6ef; border-radius:999px;
  background:#fff; color:#111827; font-weight:700; font-size:.85rem;
}

/* CTA buttons under hero */
#apex-data-guide .adg-cta{ display:flex; gap:.6rem; flex-wrap:wrap; margin:.6rem 0 1.1rem; }
#apex-data-guide .adg-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.7rem 1rem; border-radius:12px; text-decoration:none; font-weight:800;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
#apex-data-guide .adg-btn--primary{ background:linear-gradient(90deg,#0ea5e9,#10b981); color:#fff; border:none; }
#apex-data-guide .adg-btn--primary:hover{ transform:translateY(-1px); box-shadow:0 8px 22px rgba(0,128,255,.18); }
#apex-data-guide .adg-btn--ghost{ background:#fff; border:1px solid #e6e6ef; color:#111827; }
#apex-data-guide .adg-btn--ghost:hover{ background:#f7f7f9; }

/* “Voices of Victory” pull-quote */
#apex-data-guide .adg-voice{
  margin: .8rem 0 1.2rem;
  background:#f8fafc; border:1px solid #e6e6ef; border-radius:14px;
  padding:.85rem 1rem; color:#111827;
  box-shadow: var(--shadow);
}
#apex-data-guide .adg-voice em{ font-style:italic; }

/* Scorecard image card */
#apex-data-guide .adg-card{
  margin: .8rem 0 1.2rem;
  background:#fff; border:1px solid #e6e6ef; border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
#apex-data-guide .adg-card img{ display:block; width:100%; height:auto; }
#apex-data-guide .adg-card .adg-cap{
  padding:.65rem .85rem; font-size:.92rem; color:var(--c-muted);
}

/* Section headings + spacing (the large H2 list) */
#apex-data-guide .adg-section{
  margin:1.25rem 0 1.25rem;
  padding-top:.25rem;
}
#apex-data-guide h2.adg-h2{
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2rem);
  line-height:1.15; letter-spacing:-0.01em; margin:.6rem 0 .25rem;
}
#apex-data-guide .adg-desc{ color:var(--c-muted); margin:0 0 .8rem; }

/* Emoji bullets alignment before H2s */
#apex-data-guide .adg-kicker{
  display:flex; align-items:center; gap:.5rem;
  font-weight:700; color:#374151; margin-top:.75rem;
}
#apex-data-guide .adg-kicker .emoji{
  display:inline-flex; width:1.25em; justify-content:center;
}

/* Make default WP images inside the guide look nice */
#apex-data-guide img.aligncenter,
#apex-data-guide .wp-block-image img{
  border-radius:12px; box-shadow:var(--shadow);
}

/* Mobile tweaks */
@media (max-width: 820px){
  #apex-data-guide .adg-title{ font-size: clamp(1.8rem, 1.4rem + 3.2vw, 2.4rem); }
  #apex-data-guide .adg-subtitle{ font-size: clamp(1.25rem, 1.05rem + 2.2vw, 1.8rem); }
  #apex-data-guide .adg-cta .adg-btn{ width:100%; text-align:center; }
}

/* Dark mode */
@media (prefers-color-scheme:dark){
  #apex-data-guide{ --c-text:#e5e7eb; --c-muted:#a5b0d0; }
  #apex-data-guide .adg-hero{ border-bottom-color:#192040; }
  #apex-data-guide .adg-chip{ background:#0f162e; border-color:#192040; color:#e5e7eb; }
  #apex-data-guide .adg-voice{ background:#0f162e; border-color:#192040; color:#e5e7eb; }
  #apex-data-guide .adg-card{ background:#0f162e; border-color:#192040; }
  #apex-data-guide .adg-btn--ghost{ background:#0f162e; border-color:#192040; color:#e5e7eb; }
  #apex-data-guide .adg-btn--ghost:hover{ background:#111834; }
}

/* Add these to your existing CSS */

/* Premium badge in TOC */
.guide-root .guide-toc .toc-premium { 
  margin-left: auto; 
  font-size: .85em; 
  opacity: .85; 
}

/* Premium section styling */
.guide-root .premium-section {
  position: relative;
}

.guide-root .premium-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-premium), #ff6b35);
  border-radius: var(--guide-radius) var(--guide-radius) 0 0;
}

/* Teaser features grid fix */
.guide-root .teaser-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 1rem;
  margin: .6rem 0 .85rem;
}

.guide-root .feature-item { 
  font-size: .95rem; 
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Modal feature cards alignment */
.guide-root .feature-card {
  text-align: center;
  background: var(--c-bg-muted);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 1rem 0.75rem;
}

.guide-root .feature-icon { 
  font-size: 1.5rem; 
  margin: 0 0 .5rem; 
  display: block;
}

.guide-root .feature-card h4 {
  margin: 0 0 .5rem;
  font-size: 1rem;
}

.guide-root .feature-card p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--c-text-muted);
}

/* Modal CTA button spacing */
.guide-root .modal-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.guide-root .modal-cta .upgrade-btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

/* Section content spacing */
.guide-root .section-content {
  width: 100%;
}

.guide-root .section-content > *:first-child {
  margin-top: 0;
}

.guide-root .section-content > *:last-child {
  margin-bottom: 0;
}

/* Update responsive section */
@media (max-width: 780px){
  .guide-root .principles-grid { grid-template-columns: 1fr; }
  .guide-root .premium-features { grid-template-columns: 1fr; }
  .guide-root .teaser-features { grid-template-columns: 1fr; }
  
  /* Fix modal CTA on mobile */
  .guide-root .modal-cta {
    flex-direction: column;
  }
  
  .guide-root .modal-cta .upgrade-btn {
    width: 100%;
  }
  
  /* Better mobile padding */
  .guide-root .guide-section {
    padding: 1rem;
  }
  
  .guide-root .premium-teaser {
    padding: 1rem;
  }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
  .guide-root .guide-layout {
    padding: 0 0.75rem 3rem;
  }
  
  .guide-root .guide-toc {
    padding: 0.75rem;
  }
  
  .guide-root .modal-content {
    padding: 1rem;
  }
}

/* Smooth transitions for premium sections */
.guide-root .premium-section {
  transition: all 0.3s ease;
}

.guide-root .premium-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Modal animation */
.guide-root .upgrade-modal {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Button hover effects */
.guide-root .unlock-btn.glow-on-hover {
  position: relative;
  overflow: hidden;
}

.guide-root .unlock-btn.glow-on-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.guide-root .unlock-btn.glow-on-hover:hover::before {
  left: 100%;
}

/* Focus styles for better accessibility */
.guide-root .guide-toc a:focus,
.guide-root .unlock-btn:focus,
.guide-root .upgrade-btn:focus,
.guide-root .modal-close:focus {
  outline: 2px solid var(--c-focus);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .guide-root {
    --c-border: #000;
    --c-text: #000;
    --c-text-muted: #333;
  }
  
  .guide-root .premium-badge-large {
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .guide-root * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .guide-root .upgrade-modal {
    animation: none;
  }
}

@media print {
  .guide-root .guide-toc,
  .guide-root .upgrade-modal-overlay,
  .guide-root .premium-teaser,
  .guide-root .unlock-btn {
    display: none !important;
  }
  
  .guide-root .guide-layout {
    display: block;
    grid-template-columns: none;
  }
  
  .guide-root .premium-section::before {
    display: none;
  }
  
  /* Show all premium content when printing */
  .guide-root .premium-section .section-content {
    display: block !important;
  }
  
  .guide-root .guide-section {
    break-inside: avoid;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    margin-bottom: 1rem;
  }
}

/* =====================================================
   🌟 PREMIUM UPGRADE SHOWCASE STYLES
   (Global styles for all guide upgrade blocks)
   ===================================================== */

/* Enhanced Premium Showcase */
.guide-premium-showcase {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid #e6e6ef;
  margin: 4rem 0 0;
  padding: 4rem 0;
}

.guide-premium-showcase .dag-upgrade__wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.showcase-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.showcase-badge {
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: white;
  border: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1rem;
}

.showcase-header h2 {
  margin: 0.6rem 0 0.25rem;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
  color: #0b1020;
}

.showcase-header p {
  color: #5a5f71;
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.showcase-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.showcase-benefit {
  background: #fff;
  border: 1px solid #e6e6ef;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.showcase-benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.showcase-benefit__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.showcase-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #111827;
}

.showcase-benefit p {
  margin: 0;
  color: #5a5f71;
  font-size: 0.95rem;
  line-height: 1.5;
}

.showcase-offer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  background: #fff;
  border: 2px solid #e6e6ef;
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.showcase-offer__left h3 {
  margin: 0 0 1rem;
  color: #0b1020;
  font-size: 1.3rem;
}

.dag-list {
  margin: 1rem 0;
  padding-left: 1.15rem;
}

.dag-list li {
  margin: 0.5rem 0;
  color: #1a1a1a;
  line-height: 1.5;
}

.showcase-guarantee {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  color: #0369a1;
  font-weight: 600;
}

.showcase-pricing {
  align-self: start;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.showcase-price {
  margin-bottom: 1.5rem;
}

.dag-price__label {
  display: block;
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.dag-price__num {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: #10b981;
  margin: 0.5rem 0;
}

.dag-price__sub {
  font-size: 1rem;
  color: #a5b0d0;
  margin-bottom: 0.25rem;
}

.dag-price__note {
  font-size: 0.9rem;
  color: #10b981;
  font-weight: 600;
}

.showcase-ctas {
  margin-top: 1.5rem;
}

.dag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #111827;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.3s ease;
  margin: 0.35rem 0;
  width: 100%;
  text-align: center;
}

.dag-btn--primary {
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #fff;
  border: none;
}

.dag-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.showcase-cta-primary {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.showcase-cta-primary small {
  font-size: 0.8rem;
  opacity: 0.9;
  font-weight: 600;
}

.showcase-security {
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
  margin-top: 1rem;
}

.showcase-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.proof-item {
  padding: 1.5rem;
}

.proof-metric {
  font-size: 2rem;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: 0.5rem;
}

.proof-label {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .guide-premium-showcase {
    background: linear-gradient(135deg, #0b1020, #0f162e);
    border-top-color: #192040;
  }
  
  .showcase-header h2 {
    color: #f8fafc;
  }
  
  .showcase-header p {
    color: #a5b0d0;
  }
  
  .showcase-benefit {
    background: #0f162e;
    border-color: #192040;
  }
  
  .showcase-benefit h3 {
    color: #f8fafc;
  }
  
  .showcase-benefit p {
    color: #a5b0d0;
  }
  
  .showcase-offer {
    background: #0f162e;
    border-color: #192040;
  }
  
  .showcase-offer__left h3,
  .dag-list li {
    color: #e5e7eb;
  }
  
  .showcase-guarantee {
    background: #1e3a5f;
    border-color: #1e40af;
    color: #bfdbfe;
  }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .showcase-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .guide-premium-showcase {
    padding: 3rem 0;
    margin: 3rem 0 0;
  }
  
  .showcase-benefits {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .showcase-offer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .showcase-proof {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .proof-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .guide-premium-showcase .dag-upgrade__wrap {
    padding: 0 1rem;
  }
  
  .showcase-benefit {
    padding: 1.25rem;
  }
}

/* Enhanced Meta Styles */
.guide-meta.enhanced-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border: 1px solid #e6e6ef;
  border-radius: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

/* Enhanced Callout Styles */
.callout.premium-callout {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

.callout-badge {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: #f59e0b;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.callout-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #92400e;
  font-size: 0.9rem;
}

/* Fix spacing for the new structure */
.guide-content-container .guide-section:first-child {
  margin-top: 0;
}

/* Ensure proper section spacing */
.section-content > *:first-child {
  margin-top: 0;
}

.section-content > *:last-child {
  margin-bottom: 0;
}
/* Add these to fix the enhanced ExecSummary styling */

/* Enhanced Meta Styles - Fixed */
.guide-root .guide-meta.enhanced-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--c-bg-muted), var(--c-bg));
  border: 1px solid var(--c-border);
  border-radius: var(--guide-radius);
}

.guide-root .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

/* Enhanced Callout Styles - Fixed */
.guide-root .callout.premium-callout {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: var(--guide-radius);
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

.guide-root .callout-badge {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: #f59e0b;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.guide-root .callout-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #92400e;
  font-size: 0.9rem;
}

/* Fix spacing for the new structure */
.guide-root .guide-content-container .guide-section:first-child {
  margin-top: 0;
}

/* Ensure proper section spacing */
.guide-root .section-content > *:first-child {
  margin-top: 0;
}

.guide-root .section-content > *:last-child {
  margin-bottom: 0;
}

/* =====================================================
   🎯 GUIDE HERO SECTION STYLES
   ===================================================== */

.guide-root .guide-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f4f8 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 3rem 0 2rem;
  margin: 0 0 3rem;
  position: relative;
  overflow: hidden;
}

.guide-root .guide-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #10b981, #0ea5e9);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: -200% 0; }
  50% { background-position: 200% 0; }
}

.guide-root .guide-hero-content {
  max-width: var(--guide-max-w);
  margin: 0 auto;
  padding: 0 var(--guide-gutter);
  position: relative;
  z-index: 2;
}

.guide-root .guide-hero-title {
  font-size: clamp(2rem, 1.6rem + 2.8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.35em;
  color: var(--c-accent);
  text-align: center;
}

.guide-root .guide-hero-subtitle {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  margin: 0.2rem 0 0.6rem;
  color: var(--c-accent);
}

.guide-root .guide-hero-lede {
  font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.125rem);
  color: var(--c-text-muted);
  max-width: 85ch;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.6;
}

/* Hero Meta Chips */
.guide-root .guide-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0 1.5rem;
}

.guide-root .guide-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-text);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.guide-root .guide-hero-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.guide-root .guide-hero-chip-premium {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #f59e0b;
  color: #92400e;
}

/* Hero CTA Buttons */
.guide-root .guide-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.guide-root .guide-hero-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.guide-root .guide-hero-btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.guide-root .guide-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.guide-root .guide-hero-btn-ghost {
  background: var(--c-bg);
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
}

.guide-root .guide-hero-btn-ghost:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-2px);
}

.guide-root .guide-hero-btn small {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Hero Voice Section */
.guide-root .guide-hero-voice {
  background: linear-gradient(135deg, var(--c-bg), var(--c-bg-muted));
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
  text-align: center;
}

.guide-root .guide-voice-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981, #0ea5e9);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.guide-root .guide-voice-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

/* Hero Card */
.guide-root .guide-hero-card {
  margin: 2rem 0 0;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  box-shadow: var(--guide-shadow);
  overflow: hidden;
  position: relative;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.guide-root .guide-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0ea5e9;
}

.guide-root .guide-card-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.guide-root .guide-hero-card:hover .guide-card-image {
  transform: scale(1.02);
}

.guide-root .guide-card-caption {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.guide-root .guide-card-caption strong {
  color: var(--c-accent);
  font-size: 1rem;
}

.guide-root .guide-card-caption span {
  color: var(--c-text-muted);
  font-size: 0.875rem;
}

/* Dark Mode Support for Hero */
@media (prefers-color-scheme: dark) {
  .guide-root .guide-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  }
  
  .guide-root .guide-hero-chip {
    background: #1e293b;
    border-color: #374151;
  }
  
  .guide-root .guide-hero-voice {
    background: linear-gradient(135deg, #1e293b, #334155);
  }
  
  .guide-root .guide-hero-btn-ghost {
    background: #1e293b;
    border-color: #0ea5e9;
    color: #0ea5e9;
  }
  
  .guide-root .guide-hero-btn-ghost:hover {
    background: #0ea5e9;
    color: #1e293b;
  }
  
  .guide-root .guide-card-badge {
    background: rgba(30, 41, 59, 0.95);
    color: #7dd3fc;
  }
}

/* Mobile Responsive for Hero */
@media (max-width: 768px) {
  .guide-root .guide-hero {
    padding: 2rem 0 1rem;
    margin: 0 0 2rem;
  }
  
  .guide-root .guide-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .guide-root .guide-hero-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .guide-root .guide-hero-meta {
    gap: 0.5rem;
  }
  
  .guide-root .guide-hero-chip {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .guide-root .guide-hero-content {
    padding: 0 1rem;
  }
  
  .guide-root .guide-hero-meta {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
}

/* =====================================================
   🚫 MEMBERPRESS UNAUTHORIZED ACCESS STYLES
   (Global styles for protected content across site)
   ===================================================== */

.apex-unauthorized-message {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 2px solid #ffbf47;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.apex-unauthorized-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffbf47, #ff6b35);
}

.apex-unauthorized-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.apex-unauthorized-title {
    color: #111827;
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.apex-unauthorized-description {
    color: #5a5f71;
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.apex-unauthorized-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.apex-unauthorized-btn {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.apex-unauthorized-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.apex-unauthorized-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.apex-unauthorized-btn-ghost {
    background: transparent;
    color: #0ea5e9;
    border: 2px solid #0ea5e9;
}

.apex-unauthorized-btn-ghost:hover {
    background: #0ea5e9;
    color: white;
    transform: translateY(-2px);
}

.apex-unauthorized-features {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    border: 1px solid #e6e6ef;
}

.apex-unauthorized-features p {
    margin: 0;
    color: #5a5f71;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .apex-unauthorized-message {
        background: linear-gradient(135deg, #0f162e, #1e293b);
        border-color: #f59e0b;
    }
    
    .apex-unauthorized-title {
        color: #f8fafc;
    }
    
    .apex-unauthorized-description {
        color: #a5b0d0;
    }
    
    .apex-unauthorized-features {
        background: rgba(30, 41, 59, 0.7);
        border-color: #374151;
    }
    
    .apex-unauthorized-features p {
        color: #a5b0d0;
    }
    
    .apex-unauthorized-btn-ghost {
        color: #7dd3fc;
        border-color: #7dd3fc;
    }
    
    .apex-unauthorized-btn-ghost:hover {
        background: #7dd3fc;
        color: #0f172a;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .apex-unauthorized-message {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .apex-unauthorized-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .apex-unauthorized-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }
    
    .apex-unauthorized-title {
        font-size: 1.3rem;
    }
    
    .apex-unauthorized-description {
        font-size: 1rem;
    }
}

/* Integration with MemberPress default classes */
.mepr-notice,
.mepr-unauthorized-message {
    border-radius: 16px !important;
    overflow: hidden;
}

/* Ensure consistency with your guide design */
.apex-unauthorized-message .mepr-price-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* =====================================================
   🚀 MODERN PAYWALL STYLES
   (For MemberPress Modern PayWall)
   ===================================================== */

.apex-paywall-message {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 2px solid #e6e6ef;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
}

.apex-paywall-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    border-radius: 20px 20px 0 0;
}

.apex-paywall-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.apex-paywall-title {
    color: #111827;
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.apex-paywall-description {
    color: #5a5f71;
    margin: 0 0 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.apex-paywall-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0 0 2rem;
    text-align: left;
}

.apex-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e6e6ef;
}

.apex-feature-icon {
    font-size: 1.25rem;
    width: 30px;
    text-align: center;
}

.apex-paywall-pricing {
    margin: 0 0 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 12px;
    color: white;
}

.apex-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.apex-price-note {
    font-size: 0.9rem;
    color: #cbd5e1;
    opacity: 0.9;
}

.apex-paywall-cta {
    margin-top: 1.5rem;
}

.apex-paywall-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.apex-paywall-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.apex-paywall-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.apex-paywall-security {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .apex-paywall-message {
        background: linear-gradient(135deg, #0f172a, #1e293b);
        border-color: #374151;
    }
    
    .apex-paywall-title {
        color: #f8fafc;
    }
    
    .apex-paywall-description {
        color: #a5b0d0;
    }
    
    .apex-feature {
        background: #1e293b;
        border-color: #374151;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .apex-paywall-message {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .apex-paywall-icon {
        font-size: 3rem;
    }
    
    .apex-paywall-title {
        font-size: 1.3rem;
    }
    
    .apex-price {
        font-size: 2.5rem;
    }
}