/* Public multi-language Product Brochure — cover + QR/barcode + print */

.mkt-brochure-body {
    margin: 0;
    padding: 1rem;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(var(--primary-rgb, 47, 109, 147), 0.18), transparent 60%),
        radial-gradient(900px 420px at 100% 0%, rgba(15, 23, 42, 0.08), transparent 55%),
        #e8eef5;
    font-family: "Manrope", system-ui, sans-serif;
    color: #0f172a;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.mkt-public-wrap {
    max-width: 210mm;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    padding: 0.85rem;
    overflow: hidden;
}

#mkt-printable { width: 100%; }

.mkt-public-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.mkt-toolbar-brand {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.mkt-toolbar-brand strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    font-family: "Outfit", "Manrope", sans-serif;
}

.mkt-toolbar-brand span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mkt-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.mkt-lang-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    color: #475569;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mkt-lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mkt-lang-btn.is-active {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

/* ── Cover ── */
.mkt-cover {
    position: relative;
    margin: 0 0 1.25rem;
    padding: 1.5rem;
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(135deg, #0b1220 0%, #152033 48%, color-mix(in srgb, var(--primary) 55%, #0b1220) 100%);
    color: #fff;
}

.mkt-cover__glow {
    position: absolute;
    inset: auto -20% -40% 30%;
    height: 70%;
    background: radial-gradient(circle, rgba(var(--primary-rgb, 47, 109, 147), 0.45), transparent 65%);
    pointer-events: none;
}

.mkt-cover__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 1.25rem;
    align-items: stretch;
}

.mkt-cover__brand { min-width: 0; }

.mkt-cover__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 0.35rem;
    margin-bottom: 1rem;
}

.mkt-cover__mark {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.mkt-cover__kicker {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.mkt-cover__title {
    margin: 0 0 0.65rem;
    font-family: "Outfit", "Manrope", sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff !important;
}

.mkt-cover__sub {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 38rem;
}

.mkt-cover__langs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mkt-cover__langs li {
    min-width: 42px;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.mkt-cover__scan {
    display: flex;
    justify-content: flex-end;
}

.mkt-cover__scan-card {
    width: 100%;
    max-width: 240px;
    background: #fff;
    color: #0f172a;
    border-radius: 16px;
    padding: 1rem 0.95rem 1.05rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.mkt-cover__scan-label {
    margin: 0 0 0.65rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.mkt-cover__scan-label i { margin-inline-end: 0.25rem; }

.mkt-cover__qr {
    width: 148px;
    height: 148px;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mkt-cover__qr img,
.mkt-cover__qr canvas {
    width: 148px !important;
    height: 148px !important;
    display: block;
}

.mkt-cover__barcode {
    width: 100%;
    max-width: 200px;
    height: 42px;
    margin: 0 auto 0.25rem;
}

.mkt-cover__scan-code {
    margin: 0 0 0.55rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
}

.mkt-cover__scan-title {
    margin: 0 0 0.25rem;
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
}

.mkt-cover__scan-sub {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #64748b;
}

.mkt-cover__scan-link {
    display: inline-flex;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.mkt-cover__scan-link:hover { text-decoration: underline; }

@media (max-width: 760px) {
    .mkt-brochure-body { padding: 0.5rem; }
    .mkt-cover__inner { grid-template-columns: 1fr; }
    .mkt-cover__scan { justify-content: center; }
    .mkt-cover__scan-card { max-width: 280px; }
}

@media print {
    @page { size: A4 portrait; margin: 8mm; }
    .mkt-brochure-body { padding: 0; background: #fff !important; }
    .mkt-public-wrap {
        max-width: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    .mkt-public-toolbar,
    .mkt-no-print { display: none !important; }
    .mkt-cover {
        break-after: page;
        page-break-after: always;
        border-radius: 0 !important;
        min-height: 250mm;
        display: flex;
        align-items: center;
    }
    .mkt-page { max-width: none !important; padding: 0 !important; }
    .mkt-page-a4-section { break-inside: auto !important; page-break-inside: auto !important; }
    .mkt-pricing-grid { grid-template-columns: 1fr 1fr 1fr !important; gap: 0.5rem !important; }
    .mkt-price-card--featured { transform: none !important; }
    .mkt-saas-page-break { page-break-before: always; }
}
