/* SAP HUB — keep PHP/JS hidden states authoritative */
.home-sap-hub [hidden],
.sap-hub-brochure [hidden],
.qr-success[hidden] {
    display: none !important;
}

.sap-hub-same {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--muted, #5c7290);
    cursor: pointer;
}

.sap-hub-same input {
    margin-top: 3px;
}

.sap-hub-download {
    display: inline-flex;
    margin-top: 14px;
    text-decoration: none;
    text-align: center;
}

/* ================================================================
   HOMEPAGE — SAP HUB BROCHURE CTA
   ================================================================ */
.home-sap-hub {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071f49 0%, #0b2f67 55%, #082451 100%);
    border-top: 1px solid #163e73;
    border-bottom: 1px solid #163e73;
}

.home-sap-hub::before {
    content: "";
    position: absolute;
    width: 22rem;
    height: 22rem;
    right: -8rem;
    top: -11rem;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.14);
    pointer-events: none;
}

.home-sap-hub__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max, 1200px);
    margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 5vw, 2rem);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.home-sap-hub__inner > div {
    min-width: 0;
    max-width: 48rem;
}

.home-sap-hub__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 .75rem;
    padding: .35rem .75rem;
    border: 1px solid rgba(96, 208, 255, .40);
    border-radius: 999px;
    background: rgba(37, 99, 235, .22);
    color: #8edcff;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-sap-hub__title {
    margin: 0 0 .7rem;
    color: #ffffff;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.home-sap-hub__text {
    max-width: 46rem;
    margin: 0;
    color: #d9e7ff;
    font-size: clamp(.98rem, 1.5vw, 1.08rem);
    line-height: 1.7;
}

.home-sap-hub__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 3rem;
    padding: .85rem 1.25rem;
    border: 1px solid #1d4ed8;
    border-radius: var(--radius-md, 10px);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.home-sap-hub__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
}

.home-sap-hub__cta:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .home-sap-hub__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .home-sap-hub__cta {
        width: 100%;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-sap-hub__cta {
        transition: none;
    }

    .home-sap-hub__cta:hover {
        transform: none;
    }
}
