/* =========================================
   HOME HERO - COMPONENTS
   ========================================= */

/* Bottom Right Logo Badge */
.home-logo-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    /* Ensure no underline since it's a link now */
}

.home-logo-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.home-logo-badge-image {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.home-logo-badge picture {
    display: block;
    width: 18px;
    height: 18px;
}

.home-logo-badge-name {
    font-family: var(--home-font-body);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* Hero trust strip */
.home-hero-trust {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: min(620px, 100%);
    margin-top: 1.35rem;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(8, 5, 14, 0.52);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    animation: homeHeroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.35s forwards;
}

.home-hero-trust-avatar {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.home-hero-trust-avatar img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

.home-hero-trust span:not(.home-hero-trust-avatar) {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--home-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.3rem;
    opacity: 0;
    animation: homeHeroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.48s forwards;
}

.home-hero-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--home-font-body);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.home-hero-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.09);
}

.home-hero-cta:focus-visible {
    outline: 2px solid rgba(216, 180, 254, 0.95);
    outline-offset: 3px;
}

.home-hero-cta--primary {
    color: #12071d;
    border-color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(135deg, #ffffff, #efe3ff 48%, #c99dff);
    box-shadow: 0 18px 44px rgba(139, 92, 246, 0.22);
}

.home-hero-cta--primary:hover {
    color: #0b0412;
    border-color: rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, #ffffff, #f6efff 44%, #d8b4fe);
    box-shadow: 0 22px 54px rgba(185, 131, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .home-logo-badge-name {
        display: none;
    }

    .home-logo-badge {
        padding: 10px;
        /* Adjust padding to be round/square since text is gone */
        border-radius: 50%;
        bottom: 16px;
        right: 16px;
    }

    .home-hero-trust {
        justify-content: center;
        width: auto;
        max-width: min(330px, 100%);
        margin-top: 0.82rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .home-hero-trust span:not(.home-hero-trust-avatar) {
        min-height: auto;
        padding: 0;
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        background: transparent;
    }

    .home-hero-trust-avatar {
        display: none;
    }

    .home-hero-trust span:not(.home-hero-trust-avatar) + span:not(.home-hero-trust-avatar)::before {
        content: "•";
        margin: 0 8px 0 2px;
        color: rgba(216, 180, 254, 0.52);
    }

    .home-hero-actions {
        justify-content: center;
        width: 100%;
        margin-top: 0.9rem;
        gap: 10px;
    }

    .home-hero-cta {
        min-height: 44px;
        padding: 0 15px;
        font-size: 0.78rem;
    }
}

@media (max-width: 390px) {
    .home-hero-trust {
        max-width: 250px;
        gap: 5px;
    }

    .home-hero-trust span:not(.home-hero-trust-avatar) {
        font-size: 0.62rem;
    }

    .home-hero-cta {
        width: min(100%, 270px);
    }
}
