/* =====================================================================
   AVORCMS V2 HERO
   ===================================================================== */

.v2-hero {
    position: relative;
    overflow: hidden;
    background: var(--v2-bg);

    /*
     * Header is outside the hero.
     * Therefore the hero occupies exactly
     * the remaining viewport height.
     */
    height: 100vh;
min-height: 100vh;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding: 30px 0 30px;

    font-family: var(--v2-font);
}

/* =========================================================
   BACKGROUND AMBIENCE
   ========================================================= */

.v2-hero::before,
.v2-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.v2-hero::before {
    width: 420px;
    height: 420px;
    background: rgba(92, 27, 179, 0.08);
    top: -180px;
    left: -140px;
}

.v2-hero::after {
    width: 380px;
    height: 380px;
    background: rgba(255, 87, 87, 0.06);
    bottom: -180px;
    right: -120px;
}


/* =========================================================
   INNER
   ========================================================= */

.v2-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);

    display: grid;
    grid-template-columns: 1.08fr 0.92fr;

    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}


/* =========================================================
   LEFT COLUMN
   ========================================================= */

.v2-hero__content {
    position: relative;
    z-index: 5;
    margin-top: 30px;

    max-width: 620px;
    padding: 10px 0 10px;

    transform: translateY(-4px);
}

.v2-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 16px;

    background: var(--v2-card-bg);
    border: 1px solid rgba(92, 27, 179, 0.18);

    border-radius: var(--v2-radius-pill);

    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: var(--v2-cta);

    margin-bottom: 20px;

    box-shadow: 0 5px 14px rgba(92, 27, 179, 0.08);

    max-width: 100%;
    line-height: 1.45;

    text-align: center;
}

.v2-hero__eyebrow svg {
    flex-shrink: 0;
}

.v2-hero__title {
    margin: 0 0 20px;

    font-size: clamp(32px, 3.15vw, 46px);
    line-height: 1.12;

    letter-spacing: -1.4px;

    font-weight: 800;
    color: var(--v2-heading);

    max-width: 610px;
}

.v2-hero__title em {
    font-style: normal;
    color: var(--v2-highlight);
}

.v2-hero__sub {
    margin: 0 0 24px;

    max-width: 570px;

    font-size: clamp(14.5px, 1.12vw, 16px);
    line-height: 1.7;

    font-weight: 500;
    color: var(--v2-subheading);
}


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

.v2-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 18px;
}

.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 26px;

    border-radius: var(--v2-radius-pill);

    font-family: var(--v2-font);
    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
    cursor: pointer;

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

.v2-btn--primary {
    background: var(--v2-cta);
    color: #fff;

    box-shadow: 0 14px 28px rgba(98, 34, 213, 0.32);
}

.v2-btn--primary:hover {
    background: var(--v2-cta-hover);
    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 18px 34px rgba(98, 34, 213, 0.38);
}

.v2-btn--outline {
    background: transparent;

    color: var(--v2-secondary);

    border: 2px solid var(--v2-secondary);
}

.v2-btn--outline:hover {
    background: var(--v2-highlight-soft);
    color: #e04040;

    transform: translateY(-2px);
}


/* =========================================================
   NOTE
   ========================================================= */

.v2-hero__note {
    margin: 0 0 22px;

    font-size: 12.5px;
    font-weight: 600;

    color: #8b8598;

    line-height: 1.6;

    max-width: 540px;
}


/* =========================================================
   TRUST
   ========================================================= */

.v2-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px 24px;

    padding-top: 18px;

    border-top: 1px solid rgba(57, 29, 119, 0.1);
}

.v2-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-trust__icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--v2-logo-soft);
    color: var(--v2-cta);
}

.v2-trust__text {
    font-size: 12.5px;
    font-weight: 700;

    color: var(--v2-heading);

    line-height: 1.25;

    max-width: 150px;
}


/* =========================================================
   RIGHT VISUAL
   ========================================================= */

.v2-hero__visual {

    margin-top: 20px;
    position: relative;

    height: min(620px, calc(100vh - var(--v2-header-h) - 60px));
    min-height: 480px;

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

    isolation: isolate;
}


/* =========================================================
   PURPLE OVAL
   ========================================================= */

.v2-hero__purple-orb {
    position: absolute;

    width: 470px;
    height: 470px;

    left: 50%;
    top: 50%;

    transform: translate(-45%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 45% 42%,
            rgba(177, 135, 255, 0.30),
            rgba(98, 34, 213, 0.13) 55%,
            rgba(98, 34, 213, 0.04) 75%,
            transparent 78%
        );

    z-index: 0;
}


/* =========================================================
   DECORATIVE RINGS
   ========================================================= */

.v2-hero__ring {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}

.v2-hero__ring--outer {
    width: 485px;
    height: 485px;

    left: 50%;
    top: 50%;

    transform: translate(-45%, -50%);

    border: 2px dashed rgba(98, 34, 213, 0.20);

    animation: v2RingRotate 28s linear infinite;
}

.v2-hero__ring--inner {
    width: 450px;
    height: 450px;

    left: 50%;
    top: 50%;

    transform: translate(-45%, -50%);

    border: 1px solid rgba(98, 34, 213, 0.09);
}


/* =========================================================
   DOCTOR IMAGE
   ========================================================= */

.v2-hero__doctor {
    position: absolute;

    z-index: 2;

    left: 50%;
    bottom: -2px;

    width: 560px;
    max-width: 125%;

    transform: translateX(-43%);

    pointer-events: none;
}

.v2-hero__doctor img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    /* Slightly softer integration with the hero */
    filter:
        drop-shadow(0 20px 30px rgba(43, 20, 95, 0.10));
}


/* =========================================================
   DOT GRID
   ========================================================= */

.v2-hero__dots {
    position: absolute;

    width: 125px;
    height: 125px;

    background-image:
        radial-gradient(
            circle,
            rgba(98, 34, 213, 0.30) 1.7px,
            transparent 1.8px
        );

    background-size: 15px 15px;

    z-index: 1;

    pointer-events: none;
}

.v2-hero__dots--top {
    top: 5px;
    right: -5px;
}

.v2-hero__dots--bottom {
    bottom: 15px;
    left: -15px;

    width: 95px;
    height: 95px;

    opacity: 0.65;
}


/* =========================================================
   CORAL SWOOSH
   ========================================================= */

.v2-hero__coral-swoosh {
    position: absolute;

    z-index: 1;

    width: 430px;
    height: 125px;

    left: 50%;
    bottom: 2px;

    transform:
        translateX(-54%)
        rotate(-10deg);

    border-top: 9px solid rgba(255, 87, 87, 0.95);

    border-radius: 50%;

    filter:
        drop-shadow(0 3px 5px rgba(255, 87, 87, 0.12));

    pointer-events: none;
}

.v2-hero__coral-swoosh::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 80px;

    left: 80px;
    top: -1px;

    border-top: 3px solid rgba(255, 87, 87, 0.25);

    border-radius: 50%;
}


/* =========================================================
   SMALL DECORATIVE CROSS
   ========================================================= */

.v2-deco-cross {
    position: absolute;

    width: 26px;
    height: 26px;

    z-index: 3;

    pointer-events: none;
}

.v2-deco-cross::before,
.v2-deco-cross::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 99px;
}

.v2-deco-cross::before {
    width: 25px;
    height: 4px;
}

.v2-deco-cross::after {
    width: 4px;
    height: 25px;
}

.v2-deco-cross--red {
    top: 90px;
    left: 12px;
}

.v2-deco-cross--red::before,
.v2-deco-cross--red::after {
    background: rgba(255, 87, 87, 0.55);
}

.v2-deco-cross--purple {
    right: 35px;
    bottom: 105px;
}

.v2-deco-cross--purple::before,
.v2-deco-cross--purple::after {
    background: rgba(98, 34, 213, 0.45);
}


/* =========================================================
   DECORATIVE DOTS
   ========================================================= */

.v2-deco-dot {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    z-index: 3;
}

.v2-deco-dot--red {
    left: 38px;
    bottom: 155px;

    background: rgba(255, 87, 87, 0.55);
}

.v2-deco-dot--purple {
    right: 22px;
    top: 165px;

    background: rgba(98, 34, 213, 0.45);
}


/* =========================================================
   FLOATING STAT CARDS
   ========================================================= */

.v2-statcard {
    position: absolute;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 185px;

    padding: 13px 15px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(92, 27, 179, 0.08);

    border-radius: 14px;

    box-shadow:
        0 18px 40px rgba(57, 29, 119, 0.14),
        0 3px 10px rgba(57, 29, 119, 0.05);

    backdrop-filter: blur(10px);

    animation:
        v2Float 5.5s ease-in-out infinite;
}


/* card 1 */

.v2-statcard--1 {
    top: 62px;
    left: -10px;
}


/* card 2 */

.v2-statcard--2 {
    left: -5px;
    bottom: 145px;

    animation-delay: 1.8s;
}


/* card 3 */

.v2-statcard--3 {
    top: 215px;
    right: -15px;

    animation-delay: 3.2s;

    flex-direction: row;
}

/* =========================================================
   STAT ICON
   ========================================================= */

.v2-statcard__icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff;
}

.v2-statcard__icon--purple {
    background: var(--v2-cta);
}

.v2-statcard__icon--coral {
    background: var(--v2-secondary);
}


/* =========================================================
   STAT TEXT
   ========================================================= */

.v2-statcard__content {
    display: flex;

    flex-direction: column;

    min-width: 0;
}

.v2-statcard__label {
    font-size: 9.5px;

    font-weight: 700;

    color: #777181;

    white-space: nowrap;

    margin-bottom: 3px;
}

.v2-statcard__value {
    font-size: 18px;

    font-weight: 800;

    line-height: 1.05;

    color: var(--v2-heading);

    white-space: nowrap;

    margin-bottom: 3px;
}

.v2-statcard__delta {
    font-size: 9.5px;

    font-weight: 800;

    white-space: nowrap;
}

.v2-statcard__delta small {
    font-size: 8.5px;

    font-weight: 600;

    color: #8c8794;
}

.v2-statcard__delta--up {
    color: #18a36a;
}

.v2-statcard__delta--down {
    color: #18a36a;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes v2Float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes v2RingRotate {
    from {
        transform:
            translate(-45%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-45%, -50%)
            rotate(360deg);
    }
}


/* =========================================================
   REVEAL
   ========================================================= */

.v2-hero__reveal {
    opacity: 0;

    transform: translateY(26px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.v2-hero__reveal.is-in {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 1100px) {

    .v2-hero__inner {
        grid-template-columns: 1fr 0.9fr;

        gap: 20px;
    }

    .v2-hero__visual {
        min-height: 480px;
    }

    .v2-hero__doctor {
        width: 500px;
    }

    .v2-hero__purple-orb,
    .v2-hero__ring--outer {
        width: 420px;
        height: 420px;
    }

    .v2-hero__ring--inner {
        width: 395px;
        height: 395px;
    }

    .v2-statcard--1 {
        left: -5px;
    }

    .v2-statcard--2 {
        left: 0;
    }

    .v2-statcard--3 {
        right: -5px;
    }
}


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

@media (max-width: 991.98px) {

    .v2-hero {
        height: auto;
        min-height: auto;

        padding:
            40px
            0
            50px;
    }

    .v2-hero__inner {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .v2-hero__visual {
        order: -1;

        min-height: 500px;
        height: auto;

        width: 100%;
    }

    .v2-hero__doctor {
        width: min(560px, 95vw);

        transform: translateX(-50%);
    }

    .v2-hero__purple-orb {
        transform: translate(-50%, -50%);
    }

    .v2-hero__ring--outer {
        transform: translate(-50%, -50%);
    }

    .v2-hero__ring--inner {
        transform: translate(-50%, -50%);
    }

    .v2-statcard--1 {
        left: 2%;
    }

    .v2-statcard--2 {
        left: 2%;
        bottom: 110px;
    }

    .v2-statcard--3 {
        right: 2%;
    }

    .v2-hero__content {
        text-align: left;
    }
}


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

@media (max-width: 575.98px) {

    .v2-hero__visual {
        min-height: 420px;
    }

    .v2-hero__doctor {
        width: 125%;
        max-width: none;

        bottom: 0;
    }

    .v2-hero__purple-orb {
        width: 350px;
        height: 350px;
    }

    .v2-hero__ring--outer {
        width: 365px;
        height: 365px;
    }

    .v2-hero__ring--inner {
        width: 340px;
        height: 340px;
    }

    .v2-hero__dots--top {
        right: -20px;
        top: 0;

        transform: scale(0.75);
    }

    .v2-hero__dots--bottom {
        left: -25px;
        bottom: 0;

        transform: scale(0.7);
    }

    .v2-statcard {
        min-width: 155px;

        padding: 9px 11px;

        gap: 8px;
    }

    .v2-statcard__icon {
        width: 34px;
        height: 34px;
    }

    .v2-statcard__value {
        font-size: 14px;
    }

    .v2-statcard__label {
        font-size: 8px;
    }

    .v2-statcard__delta {
        font-size: 8px;
    }

    .v2-statcard--1 {
        top: 20px;
        left: -5px;
    }

    .v2-statcard--2 {
        left: -5px;
        bottom: 55px;
    }

    .v2-statcard--3 {
        top: 145px;
        right: -5px;
    }

    .v2-hero__coral-swoosh {
        width: 330px;
        height: 100px;
    }

    .v2-btn {
        width: 100%;
    }

    .v2-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .v2-trust {
        gap: 16px;
    }
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .v2-statcard,
    .v2-hero__ring--outer {
        animation: none;
    }

    .v2-hero__reveal {
        transition: none;
    }
}