/* =========================================================
   MEDNUS HERO
========================================================= */

.mednus-hero {
    position: relative;

    min-height: 820px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #f8fbff 48%,
            #eef5ff 100%
        );

    padding: 65px 5% 30px;

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   BACKGROUND CIRCLES
========================================================= */

.mednus-hero-bg-circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.mednus-circle-1 {

    width: 700px;
    height: 700px;

    right: -180px;
    top: -240px;

    background:
        rgba(37, 99, 235, .035);
}

.mednus-circle-2 {

    width: 600px;
    height: 600px;

    right: 50px;
    top: 100px;

    border:
        1px solid rgba(37, 99, 235, .10);
}

.mednus-circle-3 {

    width: 420px;
    height: 420px;

    left: -220px;
    bottom: -300px;

    background:
        rgba(37, 99, 235, .035);
}


/* =========================================================
   GRID
========================================================= */

.mednus-hero-grid {

    position: absolute;

    width: 300px;
    height: 220px;

    right: 20px;
    bottom: 20px;

    opacity: .45;

    background-image:
        radial-gradient(
            #80aef5 1.5px,
            transparent 1.5px
        );

    background-size: 18px 18px;

    mask-image:
        linear-gradient(
            to bottom left,
            black,
            transparent
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.mednus-hero-container {

    position: relative;

    z-index: 2;

    max-width: 1450px;

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(500px, .9fr);

    align-items: center;

    gap: 30px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.mednus-hero-content {

    max-width: 720px;

    padding-top: 15px;
}


/* =========================================================
   BADGE
========================================================= */

.mednus-hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 11px 18px;

    margin-bottom: 28px;

    border:
        1px solid #d8e7ff;

    border-radius: 50px;

    background: #ffffff;

    color: #1769e8;

    font-size: 15px;

    font-weight: 700;

    box-shadow:
        0 8px 25px rgba(37, 99, 235, .06);
}

.mednus-badge-dot {

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #1769e8;

    box-shadow:
        0 0 0 5px rgba(37, 99, 235, .08);
}


/* =========================================================
   TITLE
========================================================= */

.mednus-hero-title {

    margin: 0;

    line-height: 1.02;

    letter-spacing: -2px;
}

.mednus-title-main {

    display: block;

    color: #172033;

    font-size: clamp(
        55px,
        5vw,
        82px
    );

    font-weight: 900;
}

.mednus-title-blue {

    display: block;

    margin-top: 5px;

    max-width: 720px;

    color: #2469dc;

    font-size: clamp(
        45px,
        4vw,
        68px
    );

    font-weight: 900;

    text-transform: uppercase;
}


/* =========================================================
   TITLE LINE
========================================================= */

.mednus-title-line {

    display: flex;

    align-items: center;

    gap: 8px;

    margin: 27px 0 22px;
}

.mednus-title-line span {

    display: block;

    height: 4px;

    border-radius: 10px;

    background: #216ce5;
}

.mednus-title-line span:nth-child(1) {
    width: 70px;
}

.mednus-title-line span:nth-child(2) {
    width: 25px;
}

.mednus-title-line span:nth-child(3) {
    width: 8px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.mednus-hero-description {

    max-width: 690px;

    margin: 0;

    color: #6d819f;

    font-size: 19px;

    line-height: 1.8;

    font-weight: 400;
}


/* =========================================================
   BUTTONS
========================================================= */

.mednus-hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 32px;
}

.mednus-btn {

    min-height: 56px;

    padding: 0 27px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    border-radius: 13px;

    text-decoration: none;

    font-size: 16px;

    font-weight: 750;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.mednus-btn:hover {

    transform:
        translateY(-3px);
}


/* PRIMARY */

.mednus-btn-primary {

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1f6fea,
            #1760d4
        );

    box-shadow:
        0 12px 25px
        rgba(31, 111, 234, .25);
}

.mednus-btn-primary:hover {

    box-shadow:
        0 17px 30px
        rgba(31, 111, 234, .32);
}


/* SECONDARY */

.mednus-btn-secondary {

    color: #26344a;

    background: #ffffff;

    border:
        1px solid #d9e5f5;
}

.mednus-btn-secondary i {

    color: #1769e8;
}


/* =========================================================
   MINI FEATURES
========================================================= */

.mednus-mini-features {

    display: flex;

    align-items: center;

    gap: 24px;

    margin-top: 38px;
    margin-bottom: 15px;

}

.mednus-mini-feature {

    display: flex;

    align-items: center;

    gap: 12px;
}

.mednus-mini-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #1769e8;

    background: #edf5ff;

    font-size: 17px;
}

.mednus-mini-feature strong {

    display: block;

    color: #202d40;

    font-size: 15px;

    margin-bottom: 4px;
}

.mednus-mini-feature small {

    display: block;

    color: #9aabc0;

    font-size: 12px;
}

.mednus-mini-divider {

    width: 1px;

    height: 45px;

    background: #d8e2ef;
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.mednus-hero-visual {

    position: relative;

    min-height: 590px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   RINGS
========================================================= */

.mednus-rings {

    position: absolute;

    width: 590px;
    height: 590px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);
}

.mednus-rings span {

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(
            37,
            99,
            235,
            .10
        );

    border-radius: 50%;
}

.mednus-rings span:nth-child(2) {

    inset: 35px;

    border-color:
        rgba(37, 99, 235, .08);
}

.mednus-rings span:nth-child(3) {

    inset: 75px;

    border-color:
        rgba(37, 99, 235, .06);
}


/* =========================================================
   LOGO STAGE
========================================================= */

.mednus-logo-stage {

    position: relative;

    z-index: 3;

    width: 470px;
    height: 470px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #ffffff 0%,
            #ffffff 68%,
            #f1f6fd 69%,
            #ffffff 73%
        );

    box-shadow:
        0 25px 70px
        rgba(40, 78, 130, .12);

    animation:
        mednusLogoFloat
        5s
        ease-in-out
        infinite;
}


/* =========================================================
   LOGO
========================================================= */

.mednus-hero-logo {

    display: block;

    width: 390px;
    height: 390px;

    max-width: 390px;
    max-height: 390px;

    object-fit: contain;

    object-position: center;

    filter:
        drop-shadow(
            0 20px 25px
            rgba(20, 60, 110, .18)
        );
}


/* =========================================================
   LOGO FALLBACK
========================================================= */

.mednus-logo-empty {

    width: 390px;
    height: 390px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #2469dc;

    background: #ffffff;

    font-size: 75px;

    box-shadow:
        inset 0 0 0 1px #edf3fa;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.mednus-floating-card {

    position: absolute;

    z-index: 6;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    background:
        rgba(
            255,
            255,
            255,
            .97
        );

    border:
        1px solid #e2ebf6;

    border-radius: 18px;

    box-shadow:
        0 20px 45px
        rgba(39, 69, 110, .13);

    backdrop-filter:
        blur(10px);

    animation:
        mednusCardFloat
        6s
        ease-in-out
        infinite;
}

.mednus-card-top {

    top: 50px;

    left: 0;

    width: 250px;
}

.mednus-card-bottom {

    right: -10px;

    bottom: 50px;

    width: 300px;

    animation-delay:
        -2s;
}


/* =========================================================
   FLOATING ICON
========================================================= */

.mednus-floating-icon {

    flex:
        0 0 54px;

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #1769e8;

    background: #edf5ff;

    font-size: 22px;
}

.mednus-floating-card strong {

    display: block;

    color: #172033;

    font-size: 15px;

    line-height: 1.3;

    margin-bottom: 6px;
}

.mednus-floating-card span {

    display: block;

    color: #94a5bc;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   SMALL FLOATING ICONS
========================================================= */

.mednus-floating-small {

    position: absolute;

    z-index: 7;

    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    color: #1769e8;

    background: #ffffff;

    box-shadow:
        0 15px 35px
        rgba(39, 69, 110, .12);

    font-size: 23px;

    animation:
        mednusSmallFloat
        4s
        ease-in-out
        infinite;
}

.mednus-small-top {

    top: 10px;

    right: 30px;
}

.mednus-small-bottom {

    right: 30px;

    bottom: 15px;

    animation-delay:
        -1.5s;
}


/* =========================================================
   STATISTICS
========================================================= */

.mednus-statistics {

    position: relative;

    z-index: 5;

    max-width: 790px;

    margin:
        25px
        0
        0
        max(
            0px,
            calc(
                (100% - 1450px) / 2
            )
        );

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background:
        rgba(
            255,
            255,
            255,
            .95
        );

    border:
        1px solid #e3ebf5;

    border-radius: 20px;

    box-shadow:
        0 15px 40px
        rgba(50, 82, 120, .10);

    overflow: hidden;
}

.mednus-stat-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 18px 20px;

    border-right:
        1px solid #e1e9f3;
}

.mednus-stat-item:last-child {

    border-right: none;
}

.mednus-stat-icon {

    flex:
        0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #1769e8;

    background: #edf5ff;
}

.mednus-stat-text strong {

    display: block;

    color: #172033;

    font-size: 20px;

    font-weight: 800;
}

.mednus-stat-text span {

    display: block;

    color: #243247;

    font-size: 12px;

    font-weight: 700;

    margin-top: 3px;
}

.mednus-stat-text small {

    display: block;

    color: #9aabc0;

    font-size: 10px;

    margin-top: 2px;
}


/* =========================================================
   PARTNERS
========================================================= */

.mednus-partners {

    position: relative;

    z-index: 5;

    max-width: 1100px;

    margin:
        22px
        auto
        0;

    min-height: 85px;

    padding: 15px 25px;

    display: grid;

    grid-template-columns:
        1.2fr
        repeat(4, 1fr);

    align-items: center;

    gap: 15px;

    border:
        1px solid #e2eaf4;

    border-radius: 18px;

    background:
        rgba(
            255,
            255,
            255,
            .85
        );

    box-shadow:
        0 12px 30px
        rgba(50, 82, 120, .06);
}

.mednus-partner-title {

    padding-right: 20px;

    border-right:
        1px solid #e0e8f2;
}

.mednus-partner-title strong {

    display: block;

    color: #52657f;

    font-size: 14px;
}

.mednus-partner-title span {

    display: block;

    margin-top: 5px;

    color: #9aaabd;

    font-size: 11px;
}

.mednus-partner-item {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    color: #8d9eb3;

    font-size: 12px;

    font-weight: 650;
}

.mednus-partner-item i {

    font-size: 23px;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes mednusLogoFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-10px);
    }
}


@keyframes mednusCardFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-8px);
    }
}


@keyframes mednusSmallFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-10px)
            rotate(3deg);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .mednus-hero {

        padding-left: 4%;
        padding-right: 4%;
    }

    .mednus-hero-container {

        grid-template-columns:
            1fr
            1fr;
    }

    .mednus-title-main {

        font-size: 58px;
    }

    .mednus-title-blue {

        font-size: 47px;
    }

    .mednus-hero-description {

        font-size: 16px;
    }

    .mednus-logo-stage {

        width: 400px;
        height: 400px;
    }

    .mednus-hero-logo {

        width: 335px;
        height: 335px;
    }

    .mednus-rings {

        width: 500px;
        height: 500px;
    }

    .mednus-card-top {

        left: -10px;
    }

    .mednus-card-bottom {

        right: -20px;
    }

    .mednus-statistics {

        max-width: 760px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .mednus-hero {

        min-height: auto;

        padding:
            45px
            20px
            35px;
    }

    .mednus-hero-container {

        display: flex;

        flex-direction: column;

        gap: 30px;
    }

    .mednus-hero-content {

        width: 100%;

        max-width: 100%;

        text-align: center;
    }

    .mednus-hero-badge {

        margin-bottom: 20px;
    }

    .mednus-title-main {

        font-size: 45px;
    }

    .mednus-title-blue {

        font-size: 35px;
    }

    .mednus-title-line {

        justify-content: center;
    }

    .mednus-hero-description {

        max-width: 650px;

        margin:
            auto;

        font-size: 15px;

        line-height: 1.7;
    }

    .mednus-hero-buttons {

        justify-content: center;
    }

    .mednus-mini-features {

        justify-content: center;
    }

    .mednus-hero-visual {

        width: 100%;

        min-height: 500px;
    }

    .mednus-logo-stage {

        width: 350px;
        height: 350px;
    }

    .mednus-hero-logo {

        width: 290px;
        height: 290px;
    }

    .mednus-rings {

        width: 430px;
        height: 430px;
    }

    .mednus-card-top {

        top: 15px;

        left: 0;

        width: 220px;
    }

    .mednus-card-bottom {

        right: 0;

        bottom: 15px;

        width: 250px;
    }

    .mednus-small-top {

        right: 0;
    }

    .mednus-small-bottom {

        right: 0;
    }

    .mednus-statistics {

        max-width: 100%;

        margin: 20px 0 0;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .mednus-stat-item:nth-child(2) {

        border-right: none;
    }

    .mednus-stat-item:nth-child(-n+2) {

        border-bottom:
            1px solid #e1e9f3;
    }

    .mednus-partners {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .mednus-partner-title {

        grid-column:
            1 / -1;

        border-right: none;

        border-bottom:
            1px solid #e0e8f2;

        padding:
            5px
            0
            12px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .mednus-title-main {

        font-size: 38px;
    }

    .mednus-title-blue {

        font-size: 29px;

        letter-spacing: -1px;
    }

    .mednus-hero-description {

        font-size: 14px;
    }

    .mednus-hero-buttons {

        flex-direction: column;
    }

    .mednus-btn {

        width: 100%;
    }

    .mednus-mini-features {

        flex-direction: column;

        align-items: flex-start;

        margin-left: auto;
        margin-right: auto;

        width: fit-content;
    }

    .mednus-mini-divider {

        display: none;
    }

    .mednus-hero-visual {

        min-height: 400px;
    }

    .mednus-logo-stage {

        width: 290px;
        height: 290px;
    }

    .mednus-hero-logo {

        width: 240px;
        height: 240px;
    }

    .mednus-rings {

        width: 350px;
        height: 350px;
    }

    .mednus-floating-card {

        padding: 12px;

        gap: 9px;

        border-radius: 13px;
    }

    .mednus-card-top {

        width: 190px;
    }

    .mednus-card-bottom {

        width: 210px;
    }

    .mednus-floating-icon {

        flex-basis: 40px;

        width: 40px;
        height: 40px;

        font-size: 16px;
    }

    .mednus-floating-card strong {

        font-size: 12px;
    }

    .mednus-floating-card span {

        font-size: 9px;
    }

    .mednus-floating-small {

        width: 48px;
        height: 48px;

        font-size: 17px;
    }

    .mednus-statistics {

        grid-template-columns:
            1fr;
    }

    .mednus-stat-item {

        border-right: none !important;

        border-bottom:
            1px solid #e1e9f3;
    }

    .mednus-stat-item:last-child {

        border-bottom: none;
    }

    .mednus-partners {

        grid-template-columns:
            1fr;
    }

    .mednus-partner-title {

        text-align: center;
    }
}