
  /**
 * Demo Center Styles
 * @version 2.1.0
 * 2.1.0 - ADDED: Modern single demo preview page styles for demo/show.php.
 *      - ADDED: Blue-gradient preview hero, summary card, live preview heading, upgraded action band, and related demo header.
 *  @last_updated 2026-06-02

 *
 * @version 2.0.1
 * 2.0.1 - FIXED: Added spacing below Demo Gallery hero search bar so it no longer appears covered by the white content section.
 * @last_updated 2026-06-02
 * @version 2.0.0
 * @last_updated 2026-06-02
 * Used by:
 * - app/Views/layouts/demo-layout.php
 * - app/Views/demo/index.php
 *
 * 2.0.0 - REDESIGNED: Aligned Demo Gallery with new blue-gradient Draftsend landing style.
 *        - ADDED: Blue gradient demo hero, glow blobs, preview card, modern search, summary strip, upgraded cards, and matching CTA/footer.
 *        - UPDATED: Demo Gallery now visually supports broader campaign demos, not only newsletter examples.
 *        - PRESERVED: Demo nav, gallery, preview pages, categories, pagination, CTA blocks, footer, newsletter preview wrappers, and responsive behavior.
 * 1.3.0 - UPDATED: Demo footer now visually aligns with landing footer.
 *        - UPDATED: Demo footer uses compact 2-column mobile layout.
 *        - UPDATED: Footer colors, logo treatment, spacing, and rounded top match landing style.
 *        - PRESERVED: Demo nav, gallery, preview, CTA, design-help blocks, and responsive behavior.
 */

:root {
    --demo-blue-950: #070d34;
    --demo-blue-900: #111a58;
    --demo-blue-800: #182d8f;
    --demo-blue-700: #1d4ed8;
    --demo-blue-600: #2563eb;
    --demo-cyan-400: #22d3ee;
    --demo-cyan-300: #67e8f9;
    --demo-purple-500: #8b5cf6;
    --demo-pink-400: #fb7185;
    --demo-amber-300: #fcd34d;

    --demo-text: #101828;
    --demo-muted: #667085;
    --demo-soft: #f6f8ff;
    --demo-border: #e6ebf5;
    --demo-white: #ffffff;

    --demo-radius-sm: 12px;
    --demo-radius-md: 18px;
    --demo-radius-lg: 28px;
    --demo-radius-xl: 36px;
    --demo-radius-pill: 999px;

    --demo-shadow-sm: 0 10px 28px rgba(16, 24, 40, 0.08);
    --demo-shadow-md: 0 20px 55px rgba(16, 24, 40, 0.12);
    --demo-shadow-blue: 0 30px 90px rgba(37, 99, 235, 0.26);
}

/* ------------------ Base ------------------ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.demo-body {
    margin: 0;
    background: #ffffff;
    color: var(--demo-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.demo-body,
.demo-body h1,
.demo-body h2,
.demo-body h3,
.demo-body h4,
.demo-body h5,
.demo-body h6,
.demo-body p,
.demo-body a,
.demo-body button,
.demo-body input,
.demo-body textarea,
.demo-body select,
.demo-body label {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.demo-preview-plain,
.demo-preview-plain pre,
.demo-body code,
.demo-body pre,
.demo-body kbd,
.demo-body samp {
    font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", monospace;
}

.demo-body .fa,
.demo-body .fas,
.demo-body .far,
.demo-body .fab,
.demo-body .fa-solid,
.demo-body .fa-regular,
.demo-body .fa-brands,
.demo-body [class^="fa-"],
.demo-body [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

.demo-body .fas,
.demo-body .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.demo-body .far,
.demo-body .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

.demo-body .fab,
.demo-body .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.demo-main {
    min-height: 60vh;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

/* ------------------ Navigation ------------------ */

.demo-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 13, 52, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.demo-nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px clamp(18px, 4vw, 72px);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
}

.demo-logo,
.demo-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.demo-logo:hover,
.demo-brand-logo:hover {
    color: inherit;
    text-decoration: none;
}

.demo-logo-img {
    display: block;
    width: 176px;
    max-width: 42vw;
    height: auto;
   
}

.demo-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 34px);
    min-width: 0;
}

.demo-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.demo-nav-links a:hover,
.demo-nav-links a.active {
    color: #ffffff;
    text-decoration: none;
}

.demo-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

.demo-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.demo-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px 24px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 13, 52, 0.98);
}

.demo-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 800;
}

.demo-mobile-menu a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ------------------ Buttons ------------------ */

.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--demo-radius-pill);
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 0.9rem;
    line-height: 1;
}

.demo-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.demo-btn-primary {
    background: var(--demo-blue-700);
    color: #ffffff !important;
    box-shadow: var(--demo-shadow-sm);
}

.demo-btn-primary:hover {
    background: var(--demo-blue-800);
    color: #ffffff !important;
    box-shadow: var(--demo-shadow-md);
}

.demo-btn-light {
    color: var(--demo-blue-700) !important;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 34px rgba(7, 13, 52, 0.18);
}

.demo-btn-light:hover {
    color: var(--demo-blue-800) !important;
    box-shadow: 0 18px 45px rgba(7, 13, 52, 0.25);
}

.demo-btn-ghost {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.36);
}

.demo-btn-ghost:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
}

.demo-btn-outline {
    background: #ffffff;
    border-color: #d8e2f3;
    color: var(--demo-blue-700) !important;
}

.demo-btn-outline:hover {
    background: #f7faff;
    color: var(--demo-blue-800) !important;
}

.demo-btn-large {
    min-height: 52px;
    padding: 0 28px;
    font-size: 1rem;
}

/* ------------------ New Demo Gallery Hero ------------------ */

.demo-gallery-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 8vw, 120px) clamp(18px, 4vw, 72px) 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 74% 24%, rgba(103, 232, 249, 0.38), transparent 20%),
        radial-gradient(circle at 62% 62%, rgba(251, 113, 133, 0.32), transparent 20%),
        radial-gradient(circle at 46% 42%, rgba(139, 92, 246, 0.38), transparent 24%),
        linear-gradient(135deg, #20127a 0%, #2334b6 42%, #445ee8 100%);
}

.demo-gallery-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, rgba(19, 24, 82, 0.28));
    pointer-events: none;
}

.demo-hero-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(36px);
    opacity: 0.78;
    mix-blend-mode: screen;
}

.demo-hero-glow-one {
    width: 420px;
    height: 420px;
    right: 7%;
    top: 90px;
    background: rgba(103, 232, 249, 0.38);
}

.demo-hero-glow-two {
    width: 360px;
    height: 360px;
    left: 44%;
    top: 220px;
    background: rgba(251, 113, 133, 0.34);
}

.demo-hero-glow-three {
    width: 520px;
    height: 520px;
    right: 24%;
    bottom: -120px;
    background: rgba(139, 92, 246, 0.32);
}

.demo-gallery-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
    gap: clamp(38px, 6vw, 90px);
    align-items: center;
}

.demo-hero-copy {
    max-width: 760px;
}

.demo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: var(--demo-radius-pill);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.demo-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.demo-hero-copy p {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    line-height: 1.56;
    font-weight: 500;
}

.demo-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.demo-hero-card {
    position: relative;
    padding: 28px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 40px 110px rgba(7, 13, 52, 0.26);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.demo-hero-card-lines {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
}

.demo-hero-card-lines span {
    display: block;
    height: 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.72);
}

.demo-hero-card-lines span:first-child {
    width: 84%;
}

.demo-hero-card-lines span:last-child {
    width: 62%;
}

.demo-hero-preview {
    position: relative;
    min-height: 280px;
    display: grid;
    align-items: end;
    padding: 22px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 13, 52, 0.08) 0%, rgba(7, 13, 52, 0.76) 100%),
        radial-gradient(circle at 78% 24%, rgba(103, 232, 249, 0.78), transparent 24%),
        radial-gradient(circle at 28% 34%, rgba(252, 211, 77, 0.65), transparent 20%),
        radial-gradient(circle at 52% 62%, rgba(251, 113, 133, 0.72), transparent 24%),
        linear-gradient(135deg, #0f4c81 0%, #2563eb 48%, #7c3aed 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.demo-hero-preview::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.demo-hero-preview-overlay {
    position: relative;
    z-index: 2;
    max-width: 330px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(7, 13, 52, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.demo-hero-preview-overlay span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(103, 232, 249, 0.22);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.demo-hero-preview-overlay strong {
    display: block;
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.demo-hero-preview-overlay p {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    line-height: 1.45;
}

.demo-hero-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.demo-hero-tags span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.82rem;
}

.demo-hero-search-wrap {
    position: relative;
    z-index: 5;
    max-width: 760px;
    margin: 54px auto -12px;
    padding-bottom: 32px;
}

/* ------------------ Search ------------------ */

.demo-search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    border-radius: var(--demo-radius-pill);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 24px 70px rgba(7, 13, 52, 0.2);
}

.demo-search-form i {
    position: absolute;
    left: 24px;
    color: var(--demo-blue-700);
    z-index: 1;
}

.demo-search-form input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 18px 0 48px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--demo-text);
    font-size: 0.98rem;
    font-weight: 700;
}

.demo-search-form input::placeholder {
    color: #98a2b3;
}

.demo-search-form button {
    border: none;
    min-height: 50px;
    padding: 0 24px;
    border-radius: var(--demo-radius-pill);
    background: var(--demo-blue-700);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
}

.demo-search-form button:hover {
    background: var(--demo-blue-800);
}

/* ------------------ Main Container ------------------ */

.demo-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 88px clamp(18px, 4vw, 72px) 58px;
}

/* ------------------ Intro Strip ------------------ */

.demo-intro-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 34px;
}

.demo-intro-strip div {
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--demo-border);
    box-shadow: var(--demo-shadow-sm);
    text-align: center;
}

.demo-intro-strip span {
    display: block;
    color: var(--demo-blue-700);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 7px;
}

.demo-intro-strip strong {
    color: var(--demo-muted);
    font-size: 0.9rem;
}

/* ------------------ Design Help CTA ------------------ */

.demo-design-help-cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    margin: 0 0 32px;
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 20%, rgba(103, 232, 249, 0.28), transparent 22%),
        linear-gradient(135deg, #162179, #2452df 54%, #4f46e5);
    color: #ffffff;
    box-shadow: var(--demo-shadow-blue);
    overflow: hidden;
    position: relative;
}

.demo-design-help-cta::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -90px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.demo-design-help-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.demo-design-help-copy {
    position: relative;
    z-index: 1;
}

.demo-design-help-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 11px;
    border-radius: var(--demo-radius-pill);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.demo-design-help-copy h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.demo-design-help-copy p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
    line-height: 1.6;
}

.demo-design-help-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.demo-design-help-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: var(--demo-radius-pill);
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.demo-design-help-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.demo-design-help-btn-light {
    background: #ffffff;
    color: var(--demo-blue-700);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.demo-design-help-btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
}

/* ------------------ Categories ------------------ */

.demo-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 42px;
    justify-content: center;
}

.demo-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--demo-radius-pill);
    background: #ffffff;
    border: 1px solid var(--demo-border);
    color: var(--demo-muted);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.demo-category:hover {
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--demo-blue-700);
    text-decoration: none;
    transform: translateY(-1px);
}

.demo-category.active {
    background: var(--demo-blue-700);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}

/* ------------------ Demo Grid ------------------ */

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 52px;
}

.demo-card {
    background: #ffffff;
    border: 1px solid var(--demo-border);
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--demo-shadow-sm);
}

.demo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--demo-shadow-md);
}

.demo-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 20%, rgba(34, 211, 238, 0.14), transparent 28%),
        linear-gradient(145deg, #f6f8ff, #eef4ff);
    text-decoration: none;
}

.demo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.demo-card:hover .demo-card-image img {
    transform: scale(1.05);
    filter: saturate(1.08);
}

.demo-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(7, 13, 52, 0.52) 100%);
    opacity: 0.8;
    pointer-events: none;
}

.demo-card-category {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: rgba(7, 13, 52, 0.64);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--demo-radius-pill);
    font-size: 0.74rem;
    color: #ffffff;
    font-weight: 900;
}

.demo-card-view {
    position: absolute;
    z-index: 3;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--demo-radius-pill);
    background: #ffffff;
    color: var(--demo-blue-700);
    font-weight: 900;
    font-size: 0.82rem;
    box-shadow: 0 14px 30px rgba(7, 13, 52, 0.18);
}

.demo-card-content {
    padding: 22px;
}

.demo-card-content h3 {
    font-size: 1.16rem;
    margin: 0 0 9px;
    color: var(--demo-text);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.demo-card-content p {
    font-size: 0.94rem;
    color: var(--demo-muted);
    margin: 0 0 18px;
    line-height: 1.62;
}

.demo-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 15px;
    background: #f3f6ff;
    border-radius: var(--demo-radius-pill);
    text-decoration: none;
    color: var(--demo-blue-700);
    font-weight: 900;
    font-size: 0.86rem;
    transition: all 0.2s ease;
}

.demo-card-btn:hover {
    background: var(--demo-blue-700);
    color: #ffffff;
    text-decoration: none;
}

/* ------------------ Pagination ------------------ */

.demo-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.demo-pagination-prev,
.demo-pagination-next {
    padding: 10px 16px;
    border-radius: var(--demo-radius-pill);
    background: #ffffff;
    border: 1px solid var(--demo-border);
    text-decoration: none;
    color: var(--demo-blue-700);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.05);
}

.demo-pagination-prev:hover,
.demo-pagination-next:hover {
    background: var(--demo-blue-700);
    border-color: var(--demo-blue-700);
    color: #ffffff;
    text-decoration: none;
}

.demo-pagination-info {
    color: var(--demo-muted);
    font-weight: 800;
}

/* ------------------ Empty State ------------------ */

.demo-empty {
    text-align: center;
    padding: 66px 24px;
    background: #ffffff;
    border: 1px solid var(--demo-border);
    border-radius: 30px;
    box-shadow: var(--demo-shadow-sm);
}

.demo-empty i {
    font-size: 64px;
    color: #c6d2e5;
    margin-bottom: 16px;
}

.demo-empty h3 {
    font-size: 1.6rem;
    margin: 0 0 8px;
    color: var(--demo-text);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.demo-empty p {
    color: var(--demo-muted);
    margin: 0 0 24px;
}

/* ------------------ Custom Help Strip ------------------ */

.demo-custom-help-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 36px 0 26px;
    padding: 26px 28px;
    border-radius: 30px;
    background: var(--demo-blue-950);
    color: #ffffff;
    box-shadow: var(--demo-shadow-md);
}

.demo-custom-help-strip h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.demo-custom-help-strip p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
    line-height: 1.55;
}

.demo-custom-help-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 17px;
    border-radius: var(--demo-radius-pill);
    background: #ffffff;
    color: var(--demo-blue-700);
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.demo-custom-help-link:hover {
    color: var(--demo-blue-800);
    text-decoration: none;
}

/* ------------------ Final CTA ------------------ */

.demo-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(66px, 7vw, 92px) 24px;
    border-radius: 36px;
    margin-top: 50px;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.28), transparent 26%),
        linear-gradient(135deg, #162179, #2452df 54%, #4f46e5);
}

.demo-cta-glow {
    position: absolute;
    width: 520px;
    height: 280px;
    left: 50%;
    top: -120px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(103, 232, 249, 0.36);
    filter: blur(36px);
}

.demo-cta .demo-eyebrow,
.demo-cta h2,
.demo-cta p,
.demo-cta-buttons {
    position: relative;
    z-index: 2;
}

.demo-cta .demo-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.demo-cta h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.6rem);
    margin: 0;
    line-height: 1.06;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.demo-cta p {
    max-width: 680px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.demo-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ------------------ Preview Page Compatibility ------------------ */

.demo-preview-header {
    background: #ffffff;
    border-bottom: 1px solid var(--demo-border);
    padding: 32px 24px;
}

.demo-preview-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.demo-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--demo-blue-700);
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 900;
}

.demo-back-link:hover {
    text-decoration: none;
    color: var(--demo-blue-800);
}

.demo-preview-header h1 {
    font-size: 32px;
    margin: 0 0 12px;
    letter-spacing: -0.035em;
    color: var(--demo-text);
    font-weight: 900;
}

.demo-preview-header p {
    color: var(--demo-muted);
    margin: 0 0 16px;
}

.demo-preview-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.demo-meta-badge {
    padding: 5px 12px;
    background: #f3f6ff;
    border-radius: var(--demo-radius-pill);
    font-size: 0.78rem;
    color: var(--demo-muted);
    font-weight: 900;
}

.demo-preview-frame {
    max-width: 900px;
    margin: -24px auto 48px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--demo-shadow-md);
}

.demo-preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #1f2937;
    color: #ffffff;
}

.demo-preview-toolbar-dots {
    display: flex;
    gap: 8px;
}

.demo-preview-toolbar-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.demo-preview-toolbar-dots span:nth-child(2) {
    background: #f59e0b;
}

.demo-preview-toolbar-dots span:nth-child(3) {
    background: #10b981;
}

.demo-preview-toolbar-title {
    font-size: 0.78rem;
    color: #9ca3af;
}

.demo-preview-toolbar-actions {
    display: flex;
    gap: 8px;
}

.demo-toolbar-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.demo-toolbar-btn.active {
    background: #374151;
    color: #ffffff;
}

.demo-preview-content {
    padding: 24px;
    background: #f5f7fa;
    min-height: 600px;
}

.demo-preview-iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    background: #ffffff;
}

.demo-preview-plain {
    padding: 24px;
    background: #172033;
    color: #10b981;
    font-size: 0.9rem;
    min-height: 600px;
    overflow-x: auto;
}

.demo-preview-plain pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ------------------ Actions Section Compatibility ------------------ */

.demo-actions {
    background: #f8fafc;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 24px;
}

.demo-actions-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.demo-actions-left h3 {
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: var(--demo-text);
    font-weight: 900;
}

.demo-actions-left p {
    color: var(--demo-muted);
    font-size: 0.9rem;
    margin: 0;
}

.demo-actions-right {
    display: flex;
    gap: 12px;
}

/* ------------------ Related Demos Compatibility ------------------ */

.demo-related {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 0;
    border-top: 1px solid var(--demo-border);
}

.demo-related h2 {
    font-size: 1.6rem;
    margin: 0 0 24px;
    color: var(--demo-text);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.demo-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.demo-related-card {
    background: #ffffff;
    border: 1px solid var(--demo-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--demo-shadow-sm);
}

.demo-related-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.demo-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-related-card-content {
    padding: 16px;
}

.demo-related-card-content h3 {
    font-size: 1rem;
    margin: 0 0 12px;
    color: var(--demo-text);
    font-weight: 900;
}

.demo-related-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--demo-blue-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 900;
}

.demo-related-btn:hover {
    color: var(--demo-blue-800);
    text-decoration: none;
}

/* ------------------ Not Found Page ------------------ */

.demo-not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
}

.demo-not-found-content i {
    font-size: 80px;
    color: #c6d2e5;
    margin-bottom: 24px;
}

.demo-not-found-content h1 {
    font-size: 32px;
    margin: 0 0 16px;
    color: var(--demo-text);
    font-weight: 900;
}

.demo-not-found-content p {
    color: var(--demo-muted);
    margin: 0 0 32px;
}

.demo-not-found-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ------------------ Newsletter Preview Wrapper ------------------ */

.demo-newsletter-preview-wrap {
    width: 100%;
    padding: 2rem 1rem 3rem;
    background: #f6f8fb;
}

.demo-newsletter-preview-shell {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.demo-newsletter-shadow-root {
    width: 100%;
    min-height: 240px;
}

.demo-newsletter-noscript {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid var(--demo-border);
    border-radius: 24px;
    color: var(--demo-muted);
    text-align: center;
}

/* ------------------ Footer ------------------ */

.demo-footer {
    padding: 58px clamp(18px, 4vw, 72px) 34px;
    background: var(--demo-blue-950);
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0;
}

.demo-footer-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 46px;
}

.demo-footer-text-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-decoration: none;
}

.demo-footer-text-logo span {
    color: var(--demo-cyan-300);
}

.demo-footer-text-logo:hover {
    color: #ffffff;
    text-decoration: none;
}

.demo-footer-about p {
    max-width: 370px;
    margin: 0;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.demo-footer-column h4 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
}

.demo-footer-column a {
    display: block;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.demo-footer-column a:hover {
    color: #ffffff;
    text-decoration: none;
}

.demo-footer-bottom {
    max-width: 1320px;
    margin: 42px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.demo-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.demo-footer-social {
    display: flex;
    gap: 18px;
}

.demo-footer-social a {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 1.1rem;
}

.demo-footer-social a:hover {
    color: #ffffff;
}

/* ------------------ Responsive ------------------ */

@media (max-width: 1100px) {
    .demo-nav-container {
        grid-template-columns: auto 1fr auto;
    }

    .demo-nav-actions {
        display: none;
    }

    .demo-gallery-hero-inner {
        grid-template-columns: 1fr;
    }

    .demo-hero-card {
        max-width: 640px;
    }

    .demo-design-help-cta {
        grid-template-columns: 1fr;
    }

    .demo-design-help-actions {
        justify-content: flex-start;
    }

    .demo-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .demo-nav-container {
        grid-template-columns: auto auto;
    }

    .demo-nav-links {
        display: none;
    }

    .demo-mobile-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .demo-mobile-menu.show {
        display: flex;
    }

    .demo-gallery-hero {
        padding-top: 64px;
    }

    .demo-hero-copy h1 {
        font-size: clamp(2.7rem, 13vw, 4.8rem);
    }

    .demo-hero-search-wrap {
        margin-top: 42px;
    }

    .demo-intro-strip {
        grid-template-columns: 1fr;
    }

    .demo-custom-help-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-custom-help-link {
        width: 100%;
    }

    .demo-example-grid,
    .demo-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .demo-gallery-hero-inner {
        text-align: center;
    }

    .demo-hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .demo-hero-actions {
        justify-content: center;
    }

    .demo-search-form {
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .demo-search-form i {
        display: none;
    }

    .demo-search-form input {
        padding: 0 14px;
        text-align: center;
    }

    .demo-search-form button {
        width: 100%;
    }

    .demo-container {
        padding-top: 64px;
    }

    .demo-hero-preview {
        min-height: 230px;
    }

    .demo-cta {
        border-radius: 28px;
    }

    .demo-cta-buttons {
        flex-direction: column;
    }

    .demo-cta-buttons .demo-btn {
        width: 100%;
    }

    .demo-preview-content {
        padding: 14px;
    }

    .demo-actions-container {
        flex-direction: column;
        text-align: center;
    }

    .demo-actions-right {
        flex-direction: column;
        width: 100%;
    }

    .demo-actions-right .demo-btn {
        justify-content: center;
    }

    .demo-newsletter-preview-wrap {
        padding: 1rem 0 2rem;
    }

    .demo-newsletter-preview-shell {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .demo-nav-container {
        padding: 13px 18px;
    }

    .demo-mobile-menu {
        padding: 12px 18px 16px;
    }

    .demo-logo-img {
        width: 150px;
        max-width: 60vw;
    }

    .demo-gallery-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .demo-hero-card {
        padding: 18px;
        border-radius: 28px;
    }

    .demo-hero-preview {
        min-height: 220px;
        padding: 16px;
        border-radius: 22px;
    }

    .demo-hero-preview-overlay {
        max-width: 100%;
        padding: 16px;
    }

    .demo-hero-preview-overlay strong {
        font-size: 1.08rem;
    }

    .demo-hero-preview-overlay p {
        font-size: 0.78rem;
    }

    .demo-hero-tags {
        justify-content: center;
    }

    .demo-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

    .demo-category {
        padding: 8px 13px;
        font-size: 0.82rem;
    }

    .demo-design-help-cta {
        padding: 22px;
        border-radius: 24px;
    }

    .demo-design-help-icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 24px;
    }

    .demo-design-help-actions {
        width: 100%;
    }

    .demo-design-help-btn {
        width: 100%;
    }

    .demo-custom-help-strip {
        padding: 22px;
        border-radius: 24px;
    }

    .demo-not-found-actions {
        flex-direction: column;
    }

    .demo-footer-grid {
        grid-template-columns: 1fr;
    }

    .demo-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .demo-hero-copy h1 {
        font-size: 2.48rem;
    }

    .demo-hero-card-lines {
        margin-bottom: 22px;
    }

    .demo-card-content {
        padding: 19px;
    }

    .demo-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media print {
    .demo-nav,
    .demo-footer,
    .demo-mobile-menu,
    .demo-gallery-hero,
    .demo-design-help-cta,
    .demo-custom-help-strip,
    .demo-cta {
        display: none !important;
    }

    .demo-body {
        background: #ffffff;
    }
}/* ============================================================
   Single Demo Show Page
   @version 2.1.0
   ============================================================ */

.demo-show {
    background: #ffffff;
}

/* ------------------ Show Hero ------------------ */

.demo-show-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 8vw, 118px) clamp(18px, 4vw, 72px);
    color: #ffffff;
    background:
        radial-gradient(circle at 74% 24%, rgba(103, 232, 249, 0.38), transparent 20%),
        radial-gradient(circle at 62% 62%, rgba(251, 113, 133, 0.32), transparent 20%),
        radial-gradient(circle at 46% 42%, rgba(139, 92, 246, 0.38), transparent 24%),
        linear-gradient(135deg, #20127a 0%, #2334b6 42%, #445ee8 100%);
}

.demo-show-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, rgba(19, 24, 82, 0.28));
    pointer-events: none;
}

.demo-show-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
}

.demo-show-copy {
    max-width: 820px;
}

.demo-show-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.92rem;
}

.demo-show-back-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.demo-show-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.7rem, 5.8vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
    font-weight: 900;
}

.demo-show-copy p {
    max-width: 720px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.02rem, 1.35vw, 1.25rem);
    line-height: 1.58;
    font-weight: 500;
}

.demo-show-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

/* ------------------ Summary Card ------------------ */

.demo-show-summary-card {
    position: relative;
    z-index: 4;
    padding: 24px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 40px 110px rgba(7, 13, 52, 0.26);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.demo-show-summary-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.demo-show-summary-top span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
}

.demo-show-summary-top span:nth-child(1) {
    background: #fb7185;
}

.demo-show-summary-top span:nth-child(2) {
    background: #fcd34d;
}

.demo-show-summary-top span:nth-child(3) {
    background: #67e8f9;
}

.demo-show-summary-top strong {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
}

.demo-show-summary-body {
    display: grid;
    gap: 12px;
}

.demo-show-summary-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--demo-text);
}

.demo-show-summary-row i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 15px;
    background: #edf4ff;
    color: var(--demo-blue-700);
}

.demo-show-summary-row span {
    display: block;
    margin-bottom: 3px;
    color: var(--demo-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.demo-show-summary-row strong {
    display: block;
    color: var(--demo-text);
    font-size: 0.95rem;
    font-weight: 900;
}

/* ------------------ Preview Section ------------------ */

.demo-show-preview-section {
    background:
        radial-gradient(circle at 12% 12%, rgba(34, 211, 238, 0.08), transparent 22%),
        radial-gradient(circle at 86% 10%, rgba(37, 99, 235, 0.08), transparent 20%),
        #f6f8ff;
    padding: clamp(66px, 7vw, 96px) clamp(18px, 4vw, 72px);
}

.demo-show-preview-header {
    max-width: 800px;
    margin: 0 auto 36px;
    text-align: center;
}

.demo-show-preview-header .demo-eyebrow {
    color: var(--demo-blue-700);
    background: #ffffff;
    border-color: var(--demo-border);
}

.demo-show-preview-header h2 {
    margin: 0;
    color: var(--demo-text);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.demo-show-preview-header p {
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--demo-muted);
    font-size: 1rem;
    line-height: 1.65;
}

/* Override existing preview wrapper spacing for show page */
.demo-show .demo-newsletter-preview-wrap {
    padding: 0;
    background: transparent;
}

.demo-show .demo-newsletter-preview-shell {
    max-width: 980px;
    padding: 16px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid var(--demo-border);
    box-shadow: var(--demo-shadow-md);
}

.demo-show .demo-newsletter-shadow-root {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
}

/* ------------------ Action Band ------------------ */

.demo-show-actions {
    max-width: 1180px;
    margin: clamp(46px, 6vw, 72px) auto;
    background: #ffffff;
    border: 1px solid var(--demo-border);
    border-radius: 30px;
    box-shadow: var(--demo-shadow-sm);
}

.demo-actions-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--demo-blue-700);
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ------------------ Related Demos ------------------ */

.demo-show-related {
    max-width: 1320px;
    padding: 0 clamp(18px, 4vw, 72px) clamp(72px, 7vw, 96px);
    border-top: 0;
}

.demo-related-header {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.demo-related-header .demo-eyebrow {
    color: var(--demo-blue-700);
    background: #ffffff;
    border-color: var(--demo-border);
}

.demo-related-header h2 {
    margin: 0;
    color: var(--demo-text);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.demo-related-header p {
    max-width: 640px;
    margin: 14px auto 0;
    color: var(--demo-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.demo-show-related .demo-related-grid {
    max-width: 1120px;
    margin: 0 auto;
}

.demo-show-related .demo-related-card {
    border-radius: 28px;
    border: 1px solid var(--demo-border);
    box-shadow: var(--demo-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-show-related .demo-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--demo-shadow-md);
}

.demo-show-related .demo-related-card-image {
    position: relative;
    display: block;
    text-decoration: none;
}

.demo-show-related .demo-related-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(7, 13, 52, 0.52) 100%);
    pointer-events: none;
}

/* ------------------ Responsive ------------------ */

@media (max-width: 1100px) {
    .demo-show-hero-inner {
        grid-template-columns: 1fr;
    }

    .demo-show-summary-card {
        max-width: 620px;
    }
}

@media (max-width: 768px) {
    .demo-show-hero-inner {
        text-align: center;
    }

    .demo-show-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .demo-show-hero-actions {
        justify-content: center;
    }

    .demo-show-summary-card {
        margin: 0 auto;
        width: 100%;
    }

    .demo-show-preview-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .demo-show .demo-newsletter-preview-shell {
        padding: 10px;
        border-radius: 24px;
    }

    .demo-show .demo-newsletter-shadow-root {
        border-radius: 18px;
    }

    .demo-actions-container {
        text-align: center;
    }

    .demo-actions-left {
        width: 100%;
    }

    .demo-actions-right {
        width: 100%;
    }

    .demo-actions-right .demo-btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .demo-show-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .demo-show-copy h1 {
        font-size: 2.42rem;
    }

    .demo-show-summary-card {
        padding: 18px;
        border-radius: 26px;
    }

    .demo-show-summary-row {
        align-items: flex-start;
        text-align: left;
    }

    .demo-show-preview-header h2,
    .demo-related-header h2 {
        font-size: 2rem;
    }
}/* ==========================================================
   Demo/Public Nav Logo Visibility Fix
   Targets the actual Draftsend logo image by src
   ========================================================== */

a:has(img[src*="draftsend_logo_web_350x75"]),
a:has(img[src*="draftsend_logo"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 52px !important;
    padding: 8px 14px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 12px 28px rgba(7, 13, 52, 0.22) !important;
    overflow: hidden !important;
}

img[src*="draftsend_logo_web_350x75"],
img[src*="draftsend_logo"] {
    display: block !important;
    width: 185px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

@media (max-width: 640px) {
    a:has(img[src*="draftsend_logo_web_350x75"]),
    a:has(img[src*="draftsend_logo"]) {
        min-height: 46px !important;
        padding: 7px 12px !important;
        border-radius: 14px !important;
    }

    img[src*="draftsend_logo_web_350x75"],
    img[src*="draftsend_logo"] {
        width: 150px !important;
    }
}

@media (max-width: 390px) {
    img[src*="draftsend_logo_web_350x75"],
    img[src*="draftsend_logo"] {
        width: 132px !important;
    }
}