/*
Theme Name: Revive NexaGen Labs
Theme URI: https://example.com/
Author: Revive NexaGen Labs
Description: Premium peptide and human-performance WordPress theme based on the supplied Revive NexaGen Labs homepage design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: revive-nexagen
*/

:root {
            --navy: #111d42;
            --blue: #2867dc;
            --purple: #6436d7;
            --ink: #17203d;
            --muted: #626b83;
            --line: #e7e9f2;
            --soft: #f5f6ff;
            --white: #fff;
            --radius: 22px;
            --shadow: 0 20px 55px rgba(35, 45, 100, .10);
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            margin: 0;
            font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: var(--ink);
            background: #fff;
            line-height: 1.55;
        }
        a { color: inherit; text-decoration: none; }
        img { max-width: 100%; height: auto; display: block; }
        button, a { -webkit-tap-highlight-color: transparent; }

        .rv-container {
            width: min(1180px, calc(100% - 48px));
            margin-inline: auto;
        }

        /* Header */
        .rv-header {
            position: relative;
            z-index: 20;
            background: rgba(255,255,255,.92);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(30,40,80,.04);
        }
        .rv-nav {
            min-height: 88px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }
        .rv-logo {
            display: inline-flex;
            align-items: center;
            font-weight: 800;
            letter-spacing: .14em;
            color: var(--navy);
            font-size: 27px;
            line-height: 1;
        }
        .rv-logo-mark {
            display: inline-grid;
            place-items: center;
            width: 39px;
            height: 34px;
            margin-right: 6px;
            font-size: 25px;
            font-weight: 900;
            color: var(--navy);
        }
        .rv-logo-word {
            background: linear-gradient(90deg, #16254c 15%, #2e70e1 55%, #6637d5 90%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .rv-logo-sub {
            display: block;
            margin-top: 4px;
            font-size: 11px;
            letter-spacing: .05em;
            color: var(--blue);
            font-weight: 700;
        }
        .rv-brand {
            display: flex;
            flex-direction: column;
        }
        .rv-menu {
            display: flex;
            align-items: center;
            gap: 43px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .02em;
            text-transform: uppercase;
        }
        .rv-menu a { transition: color .2s ease; }
        .rv-menu a:hover { color: var(--purple); }
        .rv-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 48px;
            padding: 0 28px;
            border-radius: 14px;
            border: 0;
            color: #fff;
            background: linear-gradient(105deg, #6737d6, #2867dc);
            font-size: 13px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .04em;
            box-shadow: 0 12px 28px rgba(69, 71, 210, .22);
            transition: transform .2s ease, box-shadow .2s ease;
        }
        .rv-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(69, 71, 210, .30);
        }
        .rv-mobile-toggle { display: none; }

        /* Hero */
        .rv-hero {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 82% 52%, rgba(103, 89, 220, .15), transparent 31%),
                radial-gradient(circle at 58% 10%, rgba(68, 114, 226, .10), transparent 35%),
                linear-gradient(105deg, #fff 0%, #fbfcff 54%, #f3f2ff 100%);
        }
        .rv-hero::after {
            content: "";
            position: absolute;
            right: -10%;
            bottom: 5%;
            width: 55%;
            height: 50%;
            opacity: .24;
            background-image: radial-gradient(#756ee1 1px, transparent 1px);
            background-size: 8px 8px;
            transform: perspective(450px) rotateY(-25deg) rotateZ(-8deg);
            mask-image: linear-gradient(90deg, transparent, black 25%, black 70%, transparent);
            pointer-events: none;
        }
        .rv-hero-grid {
            min-height: 635px;
            display: grid;
            grid-template-columns: 48% 52%;
            align-items: center;
            position: relative;
            z-index: 2;
        }
        .rv-kicker {
            display: inline-flex;
            border: 1px solid #bba9f2;
            color: #6542cb;
            border-radius: 30px;
            padding: 8px 18px;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .06em;
            margin-bottom: 19px;
        }
        .rv-hero h1 {
            margin: 0;
            max-width: 650px;
            font-size: clamp(48px, 5.1vw, 73px);
            line-height: .98;
            letter-spacing: -.045em;
            color: #111c3d;
        }
        .rv-gradient {
            background: linear-gradient(90deg, #2869dc, #6238d4);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .rv-rule {
            width: 60px;
            height: 3px;
            margin: 27px 0 23px;
            background: linear-gradient(90deg, #2d6cde, #6437d4);
        }
        .rv-hero-copy {
            max-width: 500px;
            color: #59627a;
            font-size: 15px;
            margin-bottom: 18px;
        }
        .rv-benefits {
            display: grid;
            gap: 15px;
            margin-top: 20px;
        }
        .rv-benefit {
            display: grid;
            grid-template-columns: 54px 1fr;
            align-items: center;
            gap: 14px;
        }
        .rv-icon {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            color: #2f6ee0;
            background: linear-gradient(145deg, #f2f4ff, #e9edff);
            font-size: 23px;
        }
        .rv-benefit strong {
            display: block;
            font-size: 12px;
            color: #2263d5;
            text-transform: uppercase;
            letter-spacing: .02em;
            margin-bottom: 2px;
        }
        .rv-benefit span {
            display: block;
            font-size: 12px;
            line-height: 1.35;
            color: #59627a;
            max-width: 280px;
        }

        .rv-vial-wrap {
            min-height: 600px;
            display: grid;
            place-items: center;
            position: relative;
        }
        .rv-vial-glow {
            position: absolute;
            width: 430px;
            height: 430px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(110,93,229,.18), transparent 66%);
            filter: blur(8px);
        }
        .rv-vial {
            position: relative;
            width: min(420px, 76%);
            aspect-ratio: .70;
            border-radius: 27px 27px 42px 42px;
            background:
                linear-gradient(90deg, rgba(255,255,255,.9), rgba(221,229,237,.35) 18%, rgba(255,255,255,.9) 48%, rgba(164,175,187,.32) 84%, rgba(255,255,255,.8)),
                linear-gradient(#e9f0f6, #fff);
            border: 2px solid rgba(116,126,137,.26);
            box-shadow: 22px 38px 35px rgba(34,41,60,.20), inset 13px 0 18px rgba(255,255,255,.8);
            transform: translateY(8px);
        }
        .rv-vial::before {
            content: "";
            position: absolute;
            top: -55px;
            left: 9%;
            width: 82%;
            height: 72px;
            border-radius: 18px 18px 11px 11px;
            background: linear-gradient(180deg, #cbd9e8, #95a8bb 65%, #708194);
            box-shadow: 0 6px 9px rgba(30,45,70,.18), inset 0 8px 12px rgba(255,255,255,.48);
        }
        .rv-vial::after {
            content: "";
            position: absolute;
            top: 0;
            left: 20%;
            width: 16%;
            height: 100%;
            border-radius: 40%;
            background: linear-gradient(90deg, rgba(255,255,255,.62), transparent);
            opacity: .7;
        }
        .rv-vial-label {
            position: absolute;
            z-index: 2;
            top: 34%;
            left: -1px;
            width: calc(100% + 2px);
            min-height: 46%;
            padding: 46px 24px 30px;
            background: rgba(255,255,255,.92);
            border-top: 1px solid rgba(100,110,125,.18);
            border-bottom: 1px solid rgba(100,110,125,.18);
            box-shadow: 0 12px 20px rgba(30,40,60,.06);
        }
        .rv-vial-brand {
            font-size: clamp(28px, 4vw, 47px);
            letter-spacing: .08em;
            font-weight: 300;
            color: #101b3c;
            line-height: 1;
        }
        .rv-vial-brand b { color: #2e70df; font-weight: 500; }
        .rv-vial-sub {
            color: #1d65d4;
            font-size: 20px;
            margin-top: 4px;
            font-weight: 600;
        }
        .rv-vial-meta {
            margin-top: 25px;
            font-size: 8px;
            color: #252a3d;
            letter-spacing: .07em;
            text-transform: uppercase;
        }

        /* Trust strip */
        .rv-trust {
            position: relative;
            z-index: 4;
            margin-top: -34px;
        }
        .rv-trust-card {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            background: rgba(255,255,255,.96);
            border: 1px solid #edf0f7;
            border-radius: 20px;
            box-shadow: 0 14px 45px rgba(31,45,91,.10);
            overflow: hidden;
        }
        .rv-trust-item {
            min-height: 100px;
            display: grid;
            grid-template-columns: 54px 1fr;
            align-items: center;
            gap: 14px;
            padding: 18px 25px;
            position: relative;
        }
        .rv-trust-item + .rv-trust-item::before {
            content: "";
            position: absolute;
            left: 0;
            top: 25%;
            width: 1px;
            height: 50%;
            background: #dfe2eb;
        }
        .rv-trust-icon {
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            color: #5938d3;
            font-size: 26px;
        }
        .rv-trust-item strong {
            display: block;
            color: #3f36b9;
            font-size: 11px;
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        .rv-trust-item span {
            color: #59627a;
            font-size: 11px;
            line-height: 1.3;
        }

        /* Collections */
        .rv-section {
            padding: 84px 0;
        }
        .rv-section-heading {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 34px;
        }
        .rv-section-heading h2 {
            margin: 0 0 8px;
            font-size: clamp(28px, 3vw, 37px);
            line-height: 1.1;
            letter-spacing: -.025em;
        }
        .rv-section-heading p {
            color: var(--muted);
            margin: 0;
            font-size: 13px;
        }
        .rv-collections {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
        }
        .rv-collection {
            min-height: 260px;
            position: relative;
            border-radius: 17px;
            overflow: hidden;
            background: #172034;
            box-shadow: 0 8px 22px rgba(15,26,50,.12);
        }
        .rv-collection img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s ease;
        }
        .rv-collection:hover img { transform: scale(1.05); }
        .rv-collection::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(9,16,30,.03) 15%, rgba(7,12,25,.84) 100%);
        }
        .rv-collection-content {
            position: absolute;
            z-index: 2;
            left: 18px;
            right: 18px;
            bottom: 17px;
            color: #fff;
        }
        .rv-collection h3 {
            margin: 0 0 6px;
            font-size: 19px;
        }
        .rv-collection p {
            margin: 0 0 13px;
            max-width: 220px;
            font-size: 11px;
            line-height: 1.35;
            color: rgba(255,255,255,.9);
        }
        .rv-arrow {
            font-size: 11px;
            font-weight: 800;
        }

        /* About */
        .rv-about {
            padding: 0 0 88px;
        }
        .rv-about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }
        .rv-lab-image {
            position: relative;
            border-radius: 17px;
            overflow: hidden;
            min-height: 360px;
            background: #dce8f7;
        }
        .rv-lab-image img {
            width: 100%;
            height: 100%;
            min-height: 360px;
            object-fit: cover;
        }
        .rv-about-label {
            color: #633fd0;
            font-weight: 800;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: .05em;
        }
        .rv-about h2 {
            margin: 10px 0 18px;
            font-size: clamp(31px, 3vw, 43px);
            line-height: 1.05;
            letter-spacing: -.035em;
        }
        .rv-about p {
            color: #59627a;
            font-size: 13px;
            max-width: 520px;
        }
        .rv-about .rv-button {
            margin-top: 16px;
        }

        /* CTA */
        .rv-cta {
            background: linear-gradient(100deg, #6635d3, #2b67dc);
            color: #fff;
        }
        .rv-cta-inner {
            min-height: 110px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
        }
        .rv-cta-copy {
            display: flex;
            align-items: center;
            gap: 18px;
        }
        .rv-cta-icon {
            width: 48px;
            height: 48px;
            border: 1px solid rgba(255,255,255,.75);
            border-radius: 50%;
            display: grid;
            place-items: center;
            font-size: 22px;
        }
        .rv-cta h3 {
            margin: 0 0 3px;
            font-size: 17px;
        }
        .rv-cta p {
            margin: 0;
            font-size: 11px;
            color: rgba(255,255,255,.9);
        }
        .rv-cta .rv-button {
            background: transparent;
            border: 1px solid rgba(255,255,255,.85);
            box-shadow: none;
            min-width: 140px;
        }

        /* Footer */
        .rv-footer {
            padding: 28px 0;
            background: #0e1730;
            color: rgba(255,255,255,.68);
            font-size: 11px;
        }
        .rv-footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }
        .rv-footer-links {
            display: flex;
            gap: 22px;
        }
        .rv-footer a:hover { color: #fff; }

        @media (max-width: 980px) {
            .rv-menu { gap: 20px; }
            .rv-hero-grid { grid-template-columns: 52% 48%; }
            .rv-hero h1 { font-size: 55px; }
            .rv-vial { width: 75%; }
            .rv-trust-item { padding: 16px; }
            .rv-collections { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 760px) {
            .rv-container { width: min(100% - 32px, 600px); }
            .rv-nav { min-height: 72px; }
            .rv-mobile-toggle {
                display: inline-flex;
                width: 44px;
                height: 44px;
                border: 1px solid var(--line);
                background: #fff;
                border-radius: 12px;
                align-items: center;
                justify-content: center;
                font-size: 22px;
            }
            .rv-menu {
                display: none;
                position: absolute;
                left: 16px;
                right: 16px;
                top: 72px;
                background: #fff;
                border: 1px solid var(--line);
                border-radius: 16px;
                padding: 18px;
                box-shadow: var(--shadow);
                flex-direction: column;
                align-items: stretch;
                gap: 0;
            }
            .rv-menu.is-open { display: flex; }
            .rv-menu a { padding: 13px 8px; }
            .rv-menu .rv-button { margin-top: 7px; }
            .rv-hero-grid {
                grid-template-columns: 1fr;
                min-height: auto;
                padding: 62px 0 40px;
            }
            .rv-hero-copy { max-width: 100%; }
            .rv-vial-wrap {
                min-height: 490px;
                margin-top: 20px;
            }
            .rv-vial { width: 56%; }
            .rv-trust { margin-top: 0; padding: 0 0 30px; }
            .rv-trust-card { grid-template-columns: 1fr 1fr; }
            .rv-trust-item:nth-child(3)::before { display: none; }
            .rv-trust-item:nth-child(3),
            .rv-trust-item:nth-child(4) { border-top: 1px solid #e6e8ef; }
            .rv-collections { grid-template-columns: 1fr 1fr; }
            .rv-about-grid { grid-template-columns: 1fr; gap: 30px; }
            .rv-cta-inner { padding: 20px 0; }
        }

        @media (max-width: 520px) {
            .rv-logo { font-size: 22px; }
            .rv-logo-sub { font-size: 9px; }
            .rv-hero h1 { font-size: 46px; }
            .rv-vial { width: 66%; }
            .rv-vial-label { padding-top: 38px; }
            .rv-vial-brand { font-size: 27px; }
            .rv-vial-sub { font-size: 15px; }
            .rv-trust-card { grid-template-columns: 1fr; }
            .rv-trust-item + .rv-trust-item::before { display: none; }
            .rv-trust-item + .rv-trust-item { border-top: 1px solid #e6e8ef; }
            .rv-collections { grid-template-columns: 1fr; }
            .rv-collection { min-height: 300px; }
            .rv-cta-inner { align-items: flex-start; flex-direction: column; }
            .rv-footer-inner { flex-direction: column; align-items: flex-start; }
        }

/* WordPress navigation integration */
.rv-menu-list,
.rv-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.rv-menu-list {
    display: flex;
    align-items: center;
    gap: 43px;
}
.rv-menu-list > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.rv-menu-list .rv-button {
    min-height: 48px;
}
.rv-footer-menu {
    display: flex;
    gap: 22px;
}
.rv-footer-menu a {
    color: inherit;
}
.custom-logo-link {
    display: block;
}
.custom-logo {
    max-height: 70px;
    width: auto;
}
.rv-page-content {
    color: #59627a;
    font-size: 15px;
}
.rv-page article h1 {
    font-size: clamp(36px, 5vw, 60px);
    color: #111c3d;
    line-height: 1.05;
}
@media (max-width: 760px) {
    .rv-menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .rv-menu-list > li > a {
        padding: 13px 8px;
    }
    .rv-menu-list .rv-button {
        margin-top: 7px;
        justify-content: center;
    }
    .rv-footer-menu {
        flex-wrap: wrap;
    }
}

/* Interior page styling */
.rv-page { background: linear-gradient(180deg, #fbfcff 0, #fff 45%); min-height: 60vh; }
.rv-page-article { max-width: 900px; margin: 0 auto; }
.rv-page-kicker { color: #633fd0; font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.rv-page-article h1 { margin: 0 0 26px; color: #111c3d; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.rv-page-content { color: #59627a; font-size: 16px; }
.rv-page-content h2 { color: #17203d; font-size: 28px; margin: 42px 0 12px; }
.rv-page-content p { max-width: 760px; margin: 0 0 18px; }
.rv-page-content a { color: #315fd3; text-decoration: underline; text-underline-offset: 3px; }

/* Exact supplied homepage reference overrides */
.rv-container { width: min(1120px, calc(100% - 120px)); }
.rv-header { background:#fff; border:0; }
.rv-nav { min-height:92px; }
.rv-brand-image { width:154px; height:auto; display:block; }
.rv-menu-list { gap:42px; }
.rv-menu-list > li > a { font-size:11px; font-weight:700; color:#111; }
.rv-menu-list .rv-button { min-height:43px; padding:0 24px; border-radius:13px; }
.rv-hero { min-height:620px; background:radial-gradient(circle at 86% 56%,rgba(121,112,232,.16),transparent 30%),radial-gradient(circle at 62% 8%,rgba(76,117,225,.09),transparent 32%),linear-gradient(110deg,#fff 0%,#fbfcff 54%,#f2f1ff 100%); }
.rv-hero-grid { min-height:620px; grid-template-columns:47% 53%; }
.rv-kicker { margin-bottom:20px; padding:7px 17px; font-size:10px; }
.rv-hero h1 { font-size:clamp(48px,5.4vw,68px); max-width:610px; line-height:.96; }
.rv-rule { width:58px; height:3px; margin:24px 0 22px; }
.rv-hero-copy { max-width:410px; font-size:14px; line-height:1.5; }
.rv-benefits { gap:14px; margin-top:17px; }
.rv-benefit { grid-template-columns:52px 1fr; gap:13px; }
.rv-icon { width:52px; height:52px; }
.rv-vial-wrap { min-height:590px; align-items:center; }
.rv-vial-glow { width:500px; height:500px; }
.rv-vial-image { position:relative; z-index:2; width:410px; max-width:100%; height:570px; object-fit:contain; object-position:center; filter:drop-shadow(18px 26px 24px rgba(40,48,70,.18)); }
.rv-trust { margin-top:-30px; }
.rv-trust-card { border-radius:18px; }
.rv-trust-item { min-height:96px; padding:15px 22px; }
.rv-section { padding:66px 0 54px; }
.rv-section-heading { margin-bottom:28px; }
.rv-section-heading h2 { font-size:26px; }
.rv-section-heading p { font-size:12px; max-width:610px; margin-inline:auto; }
.rv-collections { gap:16px; }
.rv-collection { min-height:205px; border-radius:14px; }
.rv-collection h3 { font-size:17px; }
.rv-collection p { font-size:10px; max-width:180px; }
.rv-collection-content { left:16px; right:14px; bottom:14px; }
.rv-about { padding-bottom:42px; }
.rv-about-grid { gap:34px; }
.rv-lab-image { min-height:275px; border-radius:14px; }
.rv-lab-image img { min-height:275px; }
.rv-about h2 { font-size:28px; }
.rv-about p { font-size:12px; line-height:1.5; }
.rv-about .rv-button { min-height:42px; padding:0 22px; border-radius:11px; font-size:11px; }
.rv-cta-inner { min-height:92px; }
.rv-cta h3 { font-size:15px; }
.rv-cta p { font-size:10px; }
.rv-cta .rv-button { min-height:40px; font-size:11px; border-radius:20px; }
@media (max-width:760px) { .rv-container{width:min(100% - 32px,600px)} .rv-brand-image{width:135px} .rv-hero-grid{grid-template-columns:1fr;min-height:auto;padding:50px 0 35px} .rv-vial-wrap{min-height:440px} .rv-vial-image{width:340px;height:430px} .rv-trust-card{grid-template-columns:1fr 1fr} }
