/* =====================================================
   LOGOVARO HOMEPAGE
   Premium public homepage styles
   ===================================================== */


/* =====================================================
   HERO
   ===================================================== */

.hero {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;

    gap: 70px;

    max-width: 1280px;

    margin: 0 auto;
    padding: 90px 40px 110px;

    overflow: hidden;
}


/* Soft decorative background glow */
.hero::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -180px;
    top: -120px;

    background:
        radial-gradient(
            circle,
            rgba(99, 91, 255, 0.17) 0%,
            rgba(139, 124, 255, 0.08) 42%,
            transparent 72%
        );

    border-radius: 50%;

    pointer-events: none;

    z-index: -1;
}


/* =====================================================
   HERO CONTENT
   ===================================================== */

.hero-content {
    position: relative;

    z-index: 2;

    overflow: visible;
}


.hero-badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 28px;
    padding: 10px 16px;

    border: 1px solid rgba(99, 91, 255, 0.2);
    border-radius: 999px;

    background: rgba(99, 91, 255, 0.07);

    color: #635bff;

    font-size: 0.86rem;
    font-weight: 700;

    letter-spacing: 0.02em;
}


.hero-badge::before {
    content: "✦";

    margin-right: 9px;

    font-size: 1rem;
}


/* =====================================================
   MAIN HERO HEADING
   ===================================================== */

.hero-title {
    max-width: 650px;

    margin: 0;

    color: #101828;

    font-size: clamp(3.4rem, 6vw, 5.8rem);
    font-weight: 800;

    /*
     * Slightly more vertical room prevents letters
     * with descenders such as g, y, p and q
     * from being clipped.
     */
    line-height: 1.02;

    letter-spacing: -0.055em;

    overflow: visible;
}


/* =====================================================
   LOGOVARO GRADIENT WORD
   ===================================================== */

.hero-title span {
    display: inline-block;

    /*
     * Give the lowercase "g" enough room
     * below the normal text baseline.
     */
    padding-bottom: 0.08em;

    line-height: 1.05;

    overflow: visible;

    background:
        linear-gradient(
            135deg,
            #6558ff 0%,
            #7669ff 45%,
            #8f68f5 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.hero-description {
    max-width: 610px;

    margin: 30px 0 0;

    color: #667085;

    font-size: 1.18rem;
    line-height: 1.75;
}


/* =====================================================
   HERO BUTTONS
   ===================================================== */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 14px;

    margin-top: 34px;
}


.hero-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 13px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.hero-actions .button-primary {
    background:
        linear-gradient(
            135deg,
            #635bff,
            #786bff
        );

    color: #ffffff;

    box-shadow:
        0 12px 28px rgba(99, 91, 255, 0.22);
}


.hero-actions .button-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 34px rgba(99, 91, 255, 0.3);
}


.hero-actions .button-secondary {
    background: #ffffff;

    border: 1px solid #dfe3eb;

    color: #182230;
}


.hero-actions .button-secondary:hover {
    transform: translateY(-2px);

    border-color: #c8c3ff;

    box-shadow:
        0 10px 24px rgba(16, 24, 40, 0.07);
}


/* =====================================================
   PREMIUM HERO IMAGE
   ===================================================== */

.hero-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
}


.hero-image-wrapper {
    position: relative;

    width: min(100%, 650px);

    margin-left: auto;

    isolation: isolate;
}


/* Lavender glow behind product visual */
.hero-image-wrapper::before {
    content: "";

    position: absolute;

    inset: 12% 6% 8%;

    background:
        radial-gradient(
            circle,
            rgba(105, 92, 255, 0.22),
            rgba(153, 137, 255, 0.09) 48%,
            transparent 72%
        );

    filter: blur(30px);

    z-index: -1;
}


.hero-image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 34px;

    filter:
        drop-shadow(
            0 34px 45px rgba(52, 48, 105, 0.13)
        );

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}


.hero-image:hover {
    transform:
        translateY(-7px)
        scale(1.012);

    filter:
        drop-shadow(
            0 42px 55px rgba(52, 48, 105, 0.18)
        );
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1000px) {

    .hero {
        grid-template-columns: 1fr;

        gap: 55px;

        padding-top: 70px;

        text-align: center;
    }


    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .hero-title {
        max-width: 760px;
    }


    .hero-description {
        max-width: 650px;
    }


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


    .hero-image-wrapper {
        width: min(100%, 650px);

        margin: 0 auto;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .hero {
        grid-template-columns: 1fr;

        gap: 42px;

        padding:
            55px
            22px
            80px;
    }


    .hero-badge {
        margin-bottom: 22px;

        font-size: 0.8rem;
    }


    .hero-title {
        max-width: 100%;

        font-size: clamp(2.8rem, 14vw, 4rem);

        /*
         * Keep enough vertical room on mobile too.
         */
        line-height: 1.05;

        letter-spacing: -0.045em;

        overflow: visible;
    }


    .hero-title span {
        padding-bottom: 0.1em;

        line-height: 1.08;
    }


    .hero-description {
        margin-top: 24px;

        font-size: 1.05rem;
        line-height: 1.65;
    }


    .hero-actions {
        width: auto;

        flex-direction: row;
        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 12px;

        margin-top: 30px;
    }


    .hero-actions .button {
        flex: 0 0 auto;

        width: auto;

        min-width: 135px;
        min-height: 50px;

        padding: 0 20px;
    }


    .hero-image-wrapper {
        width: 100%;
    }


    .hero-image {
        width: 100%;

        border-radius: 24px;
    }

}