/* =========================================================
   N-FLUX HERO SECTION
========================================================= */

.hero-section {

    position: relative;

    min-height: calc(100vh - 86px);

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--primary-light) 0%,
            var(--bg) 48%,
            var(--accent-light) 100%
        );

}


/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] .hero-section {

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(22,141,226,.16),
            transparent 38%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(53,168,83,.10),
            transparent 35%
        ),
        var(--bg);

}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.hero-bg {

    position: absolute;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

}


.hero-bg-circle {

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    opacity: .7;

}


.hero-bg-circle--one {

    width: 420px;

    height: 420px;

    top: -180px;

    right: -100px;

    background:
        rgba(22,141,226,.10);

    animation:
        heroFloat 9s ease-in-out infinite;

}


.hero-bg-circle--two {

    width: 280px;

    height: 280px;

    bottom: -130px;

    left: -80px;

    background:
        rgba(53,168,83,.09);

    animation:
        heroFloat 11s ease-in-out infinite reverse;

}


/* =========================================================
   HERO CONTAINER
========================================================= */

.hero-container {

    position: relative;

    z-index: 2;

    width: 100%;

    padding-top: 45px;

    padding-bottom: 45px;

}


/* =========================================================
   HERO GRID
========================================================= */

.hero-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, .9fr);

    align-items: center;

    gap: 50px;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

    max-width: 650px;

}


.hero-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding: 8px 14px;

    border: 1px solid
        rgba(11,59,130,.10);

    border-radius: var(--radius-pill);

    background:
        rgba(255,255,255,.68);

    color: var(--primary);

    font-size: .75rem;

    font-weight: 600;

    letter-spacing: .08em;

    text-transform: uppercase;

    box-shadow: var(--shadow-sm);

}


[data-theme="dark"] .hero-eyebrow {

    background:
        rgba(255,255,255,.05);

    border-color:
        var(--border);

}


.hero-eyebrow-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 5px
        rgba(53,168,83,.12);

    animation:
        heroPulse 2s ease-in-out infinite;

}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-title {

    max-width: 680px;

    margin-bottom: 20px;

    color: var(--text);

    font-size:
        clamp(
            2.7rem,
            5vw,
            4.7rem
        );

    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -.055em;

}


.hero-title-highlight {

    display: block;

    color: var(--primary);

}


.hero-title-accent {

    color: var(--accent);

}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {

    max-width: 600px;

    margin-bottom: 28px;

    color: var(--text-muted);

    font-size: 1.05rem;

    line-height: 1.75;

}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

    margin-bottom: 28px;

}


.hero-actions .btn {

    min-height: 52px;

    padding-inline: 22px;

}


/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}


.hero-trust-item {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--text-soft);

    font-size: .76rem;

    font-weight: 700;

}


.hero-trust-item i {

    color: var(--accent);

    font-size: .85rem;

}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================================================
   PRODUCT GLOW
========================================================= */

.hero-product-glow {

    position: absolute;

    width: 440px;

    height: 440px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22,141,226,.18),
            rgba(22,141,226,.04) 55%,
            transparent 70%
        );

    animation:
        heroGlow 5s ease-in-out infinite;

}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.hero-product {

    position: relative;

    z-index: 2;

    width: min(100%, 470px);

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 35px
            rgba(11,59,130,.20)
        );

    animation:
        heroProductFloat 5s ease-in-out infinite;

}


/* =========================================================
   FLOATING BADGES
========================================================= */

.hero-badge {

    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 14px;

    background:
        rgba(255,255,255,.88);

    border: 1px solid
        rgba(255,255,255,.70);

    border-radius: 16px;

    box-shadow: var(--shadow-md);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

}


[data-theme="dark"] .hero-badge {

    background:
        rgba(13,27,45,.88);

    border-color:
        var(--border);

}


.hero-badge-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: var(--accent-light);

    color: var(--accent);

}


.hero-badge-content {

    display: flex;

    flex-direction: column;

    line-height: 1.2;

}


.hero-badge-title {

    color: var(--text);

    font-size: .78rem;

    font-weight: 800;

}


.hero-badge-text {

    margin-top: 3px;

    color: var(--text-muted);

    font-size: .64rem;

    font-weight: 600;

}


.hero-badge--top {

    top: 55px;

    right: 0;

    animation:
        badgeFloatOne 5s ease-in-out infinite;

}


.hero-badge--bottom {

    bottom: 65px;

    left: 0;

    animation:
        badgeFloatTwo 6s ease-in-out infinite;

}


/* =========================================================
   WATER ORBIT
========================================================= */

.hero-orbit {

    position: absolute;

    width: 510px;

    height: 510px;

    border: 1px solid
        rgba(22,141,226,.12);

    border-radius: 50%;

    transform: rotate(-20deg);

}


.hero-orbit::before {

    content: "";

    position: absolute;

    width: 11px;

    height: 11px;

    top: 15%;

    right: 10%;

    border-radius: 50%;

    background: var(--water);

    box-shadow:
        0 0 0 7px
        rgba(22,141,226,.10);

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroFloat {

    0%,
    100% {

        transform: translate3d(0,0,0);

    }

    50% {

        transform:
            translate3d(0,-20px,0);

    }

}


@keyframes heroProductFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(-12px)
            rotate(.5deg);

    }

}


@keyframes heroGlow {

    0%,
    100% {

        transform: scale(1);

        opacity: .7;

    }

    50% {

        transform: scale(1.08);

        opacity: 1;

    }

}


@keyframes heroPulse {

    0%,
    100% {

        transform: scale(1);

        opacity: 1;

    }

    50% {

        transform: scale(1.35);

        opacity: .65;

    }

}


@keyframes badgeFloatOne {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform:
            translateY(-8px);

    }

}


@keyframes badgeFloatTwo {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform:
            translateY(8px);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 25px;

    }


    .hero-title {

        font-size:
            clamp(
                2.5rem,
                5vw,
                3.8rem
            );

    }


    .hero-visual {

        min-height: 450px;

    }


    .hero-orbit {

        width: 420px;

        height: 420px;

    }


    .hero-product-glow {

        width: 370px;

        height: 370px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hero-section {

        min-height: auto;

    }


    .hero-container {

        padding-top: 25px;

        padding-bottom: 38px;

    }


    .hero-grid {

        display: flex;

        flex-direction: column-reverse;

        gap: 15px;

    }


    .hero-content {

        max-width: none;

        text-align: center;

    }


    .hero-eyebrow {

        margin-bottom: 15px;

        font-size: .67rem;

    }


    .hero-title {

        margin-bottom: 15px;

        font-size:
            clamp(
                2.25rem,
                11vw,
                3.2rem
            );

        letter-spacing: -.05em;

    }


    .hero-title-highlight {

        display: inline;

    }


    .hero-description {

        margin-inline: auto;

        margin-bottom: 22px;

        font-size: .92rem;

        line-height: 1.65;

    }


    .hero-actions {

        justify-content: center;

        gap: 9px;

        margin-bottom: 22px;

    }


    .hero-actions .btn {

        min-height: 47px;

        padding-inline: 17px;

        font-size: .78rem;

    }


    .hero-trust {

        justify-content: center;

        gap: 8px 13px;

    }


    .hero-trust-item {

        font-size: .68rem;

    }


    .hero-visual {

        width: 100%;

        min-height: 320px;

    }


    .hero-product {

        width: min(
            82%,
            340px
        );

    }


    .hero-product-glow {

        width: 290px;

        height: 290px;

    }


    .hero-orbit {

        width: 315px;

        height: 315px;

    }


    .hero-badge {

        padding: 8px 10px;

        border-radius: 13px;

    }


    .hero-badge-icon {

        width: 31px;

        height: 31px;

        border-radius: 9px;

        font-size: .8rem;

    }


    .hero-badge-title {

        font-size: .65rem;

    }


    .hero-badge-text {

        font-size: .55rem;

    }


    .hero-badge--top {

        top: 15px;

        right: 3px;

    }


    .hero-badge--bottom {

        bottom: 15px;

        left: 3px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .hero-title {

        font-size: 2.1rem;

    }


    .hero-description {

        font-size: .87rem;

    }


    .hero-actions {

        flex-direction: column;

        width: 100%;

    }


    .hero-actions .btn {

        width: 100%;

    }


    .hero-visual {

        min-height: 285px;

    }


    .hero-product {

        width: 78%;

    }


    .hero-badge {

        transform: scale(.9);

    }

}