/* ============================================================
   ROTOWIZARDS — PUBLIC FEATURE DEMO (/demo/)
   Dark wrapper + Astra break-out + demo chrome. The Moves panel
   itself is styled by war-room.css (shared with the real page).
   ============================================================ */

/* Force the whole content chain to true full-width. This page is code-routed,
   so it bypasses Astra's page.php (no #primary) — the element left pinned at
   ~70% is the <main> itself. Override the container AND <main> with id-level
   specificity so nothing caps it. */
body.rw-demo-page #content.site-content,
body.rw-demo-page #content.site-content > .ast-container,
body.rw-demo-page .ast-container,
body.rw-demo-page main#main.rw-demo-page-main {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 1 1 100% !important;
    float: none !important;
}

body.rw-demo-page #secondary { display: none !important; }

body.rw-demo-page { background: var(--rw-dark, #0A0F1E); }

.rw-demo-page-main {
    background: var(--rw-dark, #0A0F1E);
    color: var(--rw-text, #F9FAFB);
    min-height: 100vh;
    overflow-x: hidden;
}

.rw-demo-grad {
    background: var(--rw-gradient, linear-gradient(135deg, #0ABFBC, #7C3AED));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Hero ─────────────────────────────────────────────────── */
.rw-demo-hero {
    position: relative;
    background: var(--rw-surface, #111827);
    border-bottom: 1px solid var(--rw-border, rgba(255,255,255,0.08));
    padding: 56px 24px 44px;
    text-align: center;
    overflow: hidden;
}

.rw-demo-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rw-teal, #0ABFBC), var(--rw-purple, #7C3AED));
}

.rw-demo-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.rw-demo-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rw-teal, #0ABFBC);
    margin: 0 0 12px;
}

.rw-demo-hero h1 {
    font-family: 'Barlow', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.1;
    color: #fff;
    margin: 0 0 14px;
}

.rw-demo-hero-desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--rw-text-muted, #9CA3AF);
    margin: 0;
}
.rw-demo-hero-desc strong { color: #fff; }

/* ── Example-data banner ──────────────────────────────────── */
.rw-demo-banner {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(10,191,188,0.10), rgba(124,58,237,0.10));
    border: 1px solid var(--rw-border, rgba(255,255,255,0.10));
    border-radius: 12px;
}

.rw-demo-banner-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--rw-purple, #7C3AED);
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.rw-demo-banner-text {
    font-size: 14px;
    color: var(--rw-text-muted, #9CA3AF);
    flex: 1;
    min-width: 200px;
}
.rw-demo-banner-text strong { color: #fff; }

/* ── Bottom CTA ───────────────────────────────────────────── */
.rw-demo-cta {
    max-width: 760px;
    margin: 16px auto 72px;
    padding: 44px 24px;
    text-align: center;
}

.rw-demo-cta h2 {
    font-family: 'Barlow', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #fff;
    margin: 0 0 10px;
}

.rw-demo-cta p {
    color: var(--rw-text-muted, #9CA3AF);
    margin: 0 0 22px;
}
