/* =========================================================
   VITAFLOW — COMPLETE CSS
   Clean / Organized / Responsive
   Existing classes, values and design preserved
========================================================= */


/* =========================================================
   01. HEADER
========================================================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: all 0.35s ease;
}


/* =========================================================
   02. MAIN HERO SCROLL AREA
========================================================= */

.hero-story {
    position: relative;
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    overflow: visible !important;
}


/* =========================================================
   03. HERO SCENE
========================================================= */

.hero-scene {
    position: sticky !important;
    top: 0 !important;

    width: 100%;
    height: 100vh;

    margin: 0;
    padding: 0;

    overflow: hidden;

    align-self: flex-start;
    z-index: 1;
}


/* =========================================================
   04. HERO BACKGROUND VIDEO
========================================================= */

.hero-bg-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    z-index: 0;
    pointer-events: none;
}


/* =========================================================
   05. HERO VIDEO OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(2, 18, 32, 0.20) 0%,
            rgba(2, 18, 32, 0.03) 45%,
            rgba(2, 18, 32, 0.30) 100%
        );
}


/* =========================================================
   06. HERO CONTENT LAYER
========================================================= */

.hero-content {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    z-index: 10 !important;
    pointer-events: none;
}


/* =========================================================
   07. LEFT BUTTON AREA
========================================================= */

.hero-left {
    position: absolute;

    left: calc(50% - 550px);
    top: 50%;

    transform: translateY(-50%);

    z-index: 30;
    pointer-events: auto;
}


/* =========================================================
   08. LEFT BUTTON
========================================================= */

.hero-left-button {
    min-width: 150px;
    min-height: 52px;

    padding: 0 28px;

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

    border: 1px solid rgba(255,255,255,0.60);
    border-radius: 999px;

    background: rgba(5, 24, 40, 0.20);
    color: #ffffff;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.hero-left-button:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.90);
}


/* =========================================================
   09. CENTER IMAGE AREA
========================================================= */

.hero-center {
    position: absolute;

    left: 50%;
    top: 50%;

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

    width: 380px;
    max-width: 32vw;

    z-index: 25;
    pointer-events: none;
}


/* =========================================================
   10. CENTER IMAGE
========================================================= */

.hero-center-image {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    margin: 0;
    padding: 0;

    opacity: 1;
    visibility: visible;

    will-change:
        transform,
        opacity;
}


/* =========================================================
   11. RIGHT BUTTON AREA
========================================================= */

.hero-right {
    position: absolute;

    right: calc(50% - 550px);
    top: 50%;

    transform: translateY(-50%);

    z-index: 30;
    pointer-events: auto;
}


/* =========================================================
   12. RIGHT BUTTON
========================================================= */

.hero-right-button {
    min-width: 150px;
    min-height: 52px;

    padding: 0 28px;

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

    border: 1px solid rgba(255,255,255,0.60);
    border-radius: 999px;

    background: rgba(5, 24, 40, 0.20);
    color: #ffffff;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.hero-right-button:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.90);
}


/* =========================================================
   13. METRIC CARDS — BASE
========================================================= */

.metrics {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 40;
    pointer-events: none;
    overflow: visible;
}


.metric-card {
    position: absolute;

    left: 100px;
    top: 50%;

    width: 300px;
    min-height: 60px !important;

    box-sizing: border-box;
    padding: 2px 22px;

    border-radius: 18px;

    background: #071833 !important;

    border: 1px solid rgba(150, 190, 230, 0.22);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;

    transform-origin: center center;

    will-change:
        transform,
        opacity;
}


/* =========================================================
   14. METRIC CARD STARTING POSITIONS
========================================================= */

.metric-01,
.metric-02,
.metric-03,
.metric-04,
.metric-05 {
    left: 100px;
    top: 50%;
}


/* =========================================================
   15. METRIC CARD TYPOGRAPHY
========================================================= */

.metric-card h1,
.metric-card h2,
.metric-card h3,
.metric-card h4,
.metric-card h5,
.metric-card h6,
.metric-card p {
    margin-top: 0;
}

.metric-label {
    font-size: 10px;
    line-height: 1;

    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: 0.65;
}

.metric-value {
    margin: 6px 0;

    font-size: 30px;
    line-height: 1;
    font-weight: 600;
}

.metric-unit {
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.55;
}


/* =========================================================
   16. FINAL HERO MESSAGE
========================================================= */

.hero-message {
    position: absolute;

    left: 100px;
    top: 50%;

    width: min(900px, calc(100% - 200px));

    margin: 0;
    padding: 0;

    transform: translateY(-50%);

    z-index: 50;

    text-align: left;

    opacity: 0;
    visibility: hidden;

    will-change:
        transform,
        opacity;

    pointer-events: none;
}

.hero-message-buttons,
.hero-message-buttons a,
.hero-message-buttons button {
    pointer-events: auto;
}

.hero-message-buttons a {
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-message-buttons a:hover {
    transform: translateY(-3px);
}


/* =========================================================
   17. FINAL MESSAGE TYPOGRAPHY
========================================================= */

.hero-message-tag {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.75;
}

.hero-message-title {
    max-width: 850px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 500;
}

.hero-message-text {
    max-width: 620px;

    margin: 25px 0 0;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.6;
    opacity: 0.75;
}

.hero-message-buttons {
    display: flex;

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

    gap: 14px;
    margin-top: 30px;
}

.hero-message-button {
    min-height: 52px;

    padding: 0 28px;

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

    border-radius: 999px;

    transition: transform 0.3s ease;

    margin-left: -30px;
}

.hero-message-button:hover {
    transform: translateY(-3px);
}


/* =========================================================
   18. GENERAL SECTION OVERFLOW
========================================================= */

.text-img-effect,
.iv-therapy,
.peptide-slider {
    overflow: hidden;
}


/* =========================================================
   19. NAD+ FLOATING IMAGE ANIMATION
========================================================= */

.nad-floating {
    animation: nadFloat 4s ease-in-out infinite;
    will-change: transform;
}

@keyframes nadFloat {
    0% {
        transform: translateY(0);
    }

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

    100% {
        transform: translateY(0);
    }
}


/* =========================================================
   20. PEPTIDE SLIDER — BASE
========================================================= */

.peptide-slider {
    overflow-x: hidden !important;

    cursor: grab;

    user-select: none;
    -webkit-user-drag: none;
}

.peptide-slider:active {
    cursor: grabbing;
}

.peptide-track {
    display: flex !important;
    flex-wrap: nowrap !important;

    width: max-content !important;

    will-change: transform;
}

.peptide-card {
    flex-shrink: 0 !important;
    user-select: none;
}

.peptide-card img,
.peptide-card a {
    -webkit-user-drag: none;
    pointer-events: auto;
}


/* =========================================================
   21. TABLET RESPONSIVE
   768px — 1024px
========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .hero-left {
        left: 50px;
    }

    .hero-right {
        right: 50px;
    }

    .hero-center {
        width: 340px;
        max-width: 30vw;
    }

    .hero-left-button,
    .hero-right-button {
        min-width: 130px;
        padding: 0 20px;
    }


    /* --------------------------------------------------------
       Tablet Metric Cards
    -------------------------------------------------------- */

    .metric-card {
        left: 70px;

        width: 290px;
        min-height: 92px;

        padding: 16px 19px;
    }

    .metric-01 {
        top: calc(50% - 145px);
    }

    .metric-02 {
        top: calc(50% - 72px);
    }

    .metric-03 {
        top: 50%;
    }

    .metric-04 {
        top: calc(50% + 72px);
    }

    .metric-05 {
        top: calc(50% + 145px);
    }


    /* --------------------------------------------------------
       Tablet Final Message
    -------------------------------------------------------- */

    .hero-message {
        left: 50px;

        width: min(
            760px,
            calc(100% - 100px)
        );
    }
}


/* =========================================================
   22. MOBILE RESPONSIVE
   767px and below
========================================================= */

@media (max-width: 767px) {

    /* --------------------------------------------------------
       Main Hero
    -------------------------------------------------------- */

    .hero-story {
        min-height: 100vh;

        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        box-sizing: border-box !important;
    }


    /* --------------------------------------------------------
       Hero Scene
    -------------------------------------------------------- */

    .hero-scene {
        width: 100%;

        height: 100dvh;
        min-height: 100dvh;

        max-width: 100vw !important;
        min-width: 100vw !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        box-sizing: border-box !important;

        overflow: hidden !important;
    }


    /* --------------------------------------------------------
       Mobile Background Video
    -------------------------------------------------------- */

    .hero-bg-video {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center center;

        display: block;
    }

    .hero-scene .elementor-background-video-container {
        width: 100% !important;
        height: 100% !important;

        left: 0 !important;
        right: 0 !important;
    }

    .hero-scene video {
        width: 100% !important;
        height: 100% !important;

        max-width: none !important;

        object-fit: cover !important;
        object-position: center center !important;
    }


    /* --------------------------------------------------------
       Mobile Overlay
    -------------------------------------------------------- */

    .hero-overlay {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;
    }


    /* --------------------------------------------------------
       Mobile Hero Content
    -------------------------------------------------------- */

    .hero-content {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        margin-left: 0;
        margin-right: 0;
    }


    /* --------------------------------------------------------
       Mobile Center Image
    -------------------------------------------------------- */

    .hero-center {
        width: 300px;
        max-width: 65vw;

        top: 42%;
    }


    /* --------------------------------------------------------
       Mobile Hero Buttons
    -------------------------------------------------------- */

    .hero-left {
        left: 20px;

        top: auto;
        bottom: 100px;

        transform: none;
    }

    .hero-right {
        right: 20px;

        top: auto;
        bottom: 100px;

        transform: none;
    }

    .hero-left-button,
    .hero-right-button {
        min-width: 110px;
        min-height: 44px;

        padding: 0 14px;

        font-size: 9px;
        letter-spacing: 1.4px;
    }


    /* --------------------------------------------------------
       Mobile Metric Cards — Base
    -------------------------------------------------------- */

    .metric-card {
        position: absolute;

        left: 100px;
        top: 50%;

        width: 300px;
        min-height: 60px !important;

        box-sizing: border-box;

        padding: 2px 22px;

        border-radius: 18px;

        background: #10C89B91;

        border: 1px solid rgba(150, 190, 230, 0.22);

        box-shadow:
            0 18px 50px rgba(0, 0, 0, 0.30),
            inset 0 1px 0 rgba(255,255,255,0.08);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        opacity: 0;
        visibility: hidden;

        transform-origin: center center;

        will-change:
            transform,
            opacity;
    }


    .metric-01,
    .metric-02,
    .metric-03,
    .metric-04,
    .metric-05 {
        left: 100px;
        top: 50%;
    }


    /* --------------------------------------------------------
       Mobile Metric Typography
    -------------------------------------------------------- */

    .metric-card h1,
    .metric-card h2,
    .metric-card h3,
    .metric-card h4,
    .metric-card h5,
    .metric-card h6,
    .metric-card p {
        margin-top: 0;
    }

    .metric-label {
        font-size: 10px;
        line-height: 1;

        letter-spacing: 1.4px;
        text-transform: uppercase;
        opacity: 0.65;
    }

    .metric-value {
        margin: 6px 0;

        font-size: 30px;
        line-height: 1;
        font-weight: 600;
    }

    .metric-unit {
        font-size: 11px;
        line-height: 1.2;
        opacity: 0.55;
    }


    /* --------------------------------------------------------
       Mobile Metric Card Layout
       Icon Left / Text Right
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card {
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;

        padding: 8px 14px !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;

        box-sizing: border-box !important;

        overflow: hidden !important;

        margin-top: 40px !important;
    }


    /* --------------------------------------------------------
       Mobile Card Icon
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card .icondiv {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;

        transform: none !important;

        order: 1 !important;

        flex: 0 0 42px !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;

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

        z-index: 50 !important;
    }


    /* --------------------------------------------------------
       Mobile Card Text Group
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card .textitem {
        position: absolute !important;

        left: 72px !important;
        right: auto !important;

        top: 50% !important;

        width: auto !important;
        max-width: calc(100% - 125px) !important;

        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: translateY(-50%) !important;

        display: block !important;

        opacity: 1 !important;
        visibility: visible !important;

        z-index: 20 !important;
    }


    .hero-scene .metrics .metric-card .textitem > * {
        margin: 0 !important;
        padding: 0 !important;
    }


    /* --------------------------------------------------------
       Mobile Card Label
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card .textitem .metric-label {
        display: block !important;

        margin: 0 0 1px 0 !important;
        padding: 0 !important;

        font-size: 8px !important;
        line-height: 9px !important;

        white-space: nowrap !important;
    }


    /* --------------------------------------------------------
       Mobile Card Value
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card .textitem .metric-value {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 16px !important;

        white-space: nowrap !important;
    }


    /* --------------------------------------------------------
       Mobile Card Unit
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card .textitem .metric-unit {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 7px !important;
        line-height: 8px !important;

        white-space: nowrap !important;
    }


    /* --------------------------------------------------------
       Elementor Internal Spacing
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card .textitem .elementor-widget,
    .hero-scene .metrics .metric-card .textitem .elementor-widget-container {
        margin: 0 !important;
        padding: 0 !important;
    }


    /* --------------------------------------------------------
       Mobile Card Headings / Paragraphs
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card .textitem h1,
    .hero-scene .metrics .metric-card .textitem h2,
    .hero-scene .metrics .metric-card .textitem h3,
    .hero-scene .metrics .metric-card .textitem h4,
    .hero-scene .metrics .metric-card .textitem h5,
    .hero-scene .metrics .metric-card .textitem h6,
    .hero-scene .metrics .metric-card .textitem p {
        margin: 0 !important;
        padding: 0 !important;
    }


    /* --------------------------------------------------------
       Mobile Final Message
    -------------------------------------------------------- */

    .hero-message {
        left: 20px;
        top: 50%;

        width: calc(100% - 40px);

        transform: translateY(-50%);

        text-align: left;
    }

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

        font-size: 40px;
        line-height: 1;
        letter-spacing: -1.5px;

        margin-bottom: 10px !important;
    }

    .hero-message-text {
        max-width: 100%;

        font-size: 15px;

        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }


    /* --------------------------------------------------------
       Mobile Final Message Buttons
       Side by Side
    -------------------------------------------------------- */

    .hero-message-buttons {
        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;
        justify-content: flex-start !important;

        flex-wrap: nowrap !important;

        gap: 8px !important;

        width: 100% !important;

        margin-top: 0 !important;
    }

    .hero-message-button {
        width: auto !important;

        min-width: 0 !important;

        flex: 1 1 0 !important;

        margin: 0 !important;

        min-height: 38px !important;

        padding: 0 12px !important;

        font-size: 11px !important;
    }
}


/* =========================================================
   23. SMALL MOBILE
   480px and below
========================================================= */

@media (max-width: 480px) {

    .hero-center {
        width: 250px;
        max-width: 62vw;
    }


    .hero-left {
        left: 10px;
    }

    .hero-right {
        right: 10px;
    }


    .hero-left-button,
    .hero-right-button {
        min-width: 100px;
        min-height: 42px;

        padding: 0 9px;

        font-size: 8px;
        letter-spacing: 1.1px;
    }


    /* --------------------------------------------------------
       Small Mobile Metric Cards
    -------------------------------------------------------- */

    .metric-card {
        left: 18px;

        width: calc(100vw - 36px);

        min-height: 82px;

        padding: 13px 15px;
    }

    .metric-value {
        font-size: 24px;
    }

    .metric-01 {
        top: calc(50% - 112px);
    }

    .metric-02 {
        top: calc(50% - 56px);
    }

    .metric-03 {
        top: 50%;
    }

    .metric-04 {
        top: calc(50% + 56px);
    }

    .metric-05 {
        top: calc(50% + 112px);
    }


    /* --------------------------------------------------------
       Small Mobile Card Size
    -------------------------------------------------------- */

    .hero-scene .metrics .metric-card {
        width: calc(100vw - 36px) !important;

        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;

        padding: 9px 14px !important;
    }


    /* --------------------------------------------------------
       Small Mobile Final Message
    -------------------------------------------------------- */

    .hero-message {
        left: 15px;

        width: calc(100% - 30px);
    }

    .hero-message-title {
        font-size: 34px;
    }
}


/* =========================================================
   24. PEPTIDE SLIDER — MOBILE
   1 Full Card + Partial Next Card
========================================================= */

@media (max-width: 767px) {

    .peptide-slider {
        overflow-x: auto !important;

        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;

        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .peptide-slider::-webkit-scrollbar {
        display: none;
    }

    .peptide-card {
        width: 75vw !important;

        scroll-snap-align: start;

        box-sizing: border-box;
    }
}