/* ==========================================================
   PARADOSE HOMEPAGE
   Combined Bottle + Pedestal 360 Build
   ========================================================== */


/* ==========================================================
   PARADOSE — OBVIA FONT FAMILY
   ========================================================== */

@font-face {
    font-family: "Obvia";
    src: url("../fonts/obvia-book.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Obvia";
    src: url("../fonts/obvia-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Obvia";
    src: url("../fonts/obvia-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Obvia";
    src: url("../fonts/obvia-bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Obvia";
    src: url("../fonts/obvia-black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================
   GLOBAL
   ========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    background: #000;
    overflow: hidden;
}


/* ==========================================================
   HERO
   ========================================================== */

.hero-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}


/* ==========================================================
   HERO BACKGROUND
   ========================================================== */

.hero-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-image:
        url("../assets/images/paradose-topographic-lines.webp");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    z-index: 1;
}


/* ==========================================================
   TOP + BOTTOM GRADIENTS
   ========================================================== */

.hero-gradient-top,
.hero-gradient-bottom {
    position: absolute;
    left: 0;

    width: 100%;

    pointer-events: none;

    z-index: 2;
}

.hero-gradient-top {
    top: 0;

    height: 38%;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.90) 12%,
            rgba(0, 0, 0, 0.68) 28%,
            rgba(0, 0, 0, 0.35) 52%,
            rgba(0, 0, 0, 0.12) 75%,
            rgba(0, 0, 0, 0) 100%
        );
}

.hero-gradient-bottom {
    bottom: 0;

    height: 46%;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.88) 18%,
            rgba(0, 0, 0, 0.55) 42%,
            rgba(0, 0, 0, 0.22) 68%,
            rgba(0, 0, 0, 0) 100%
        );
}


/* ==========================================================
   HEADER
   ========================================================== */

.hero-header {
    position: absolute;

    top: 22px;
    left: 50%;

    width: calc(100% - 90px);
    height: 115px;

    display: grid;

    grid-template-columns:
        230px
        minmax(0, 1fr)
        90px;

    align-items: center;

    column-gap: 30px;

    transform: translateX(-50%);

    z-index: 10;
}


/* ==========================================================
   LOGO
   ========================================================== */

.hero-logo {
    display: block;

    width: 210px;
    height: auto;

    transform: translateY(28px);
}


/* ==========================================================
   NAVIGATION
   ========================================================== */

.hero-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 40px;

    margin-left: 0;

    transform: translateY(-6px);
}

.hero-nav a {
    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-family:
        "Obvia Book",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 400;

    letter-spacing: 1.6px;
}

.hero-nav a.active {
    color: #ff00c8;
}

.hero-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -14px;

    height: 2px;

    background: #ff00c8;
}


/* ==========================================================
   ACCOUNT + CART
   ========================================================== */

.hero-actions {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 24px;

    color: #ffffff;

    z-index: 20;
}

.hero-action {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    text-decoration: none;
}

.hero-action svg {
    display: block;

    width: 24px;
    height: 24px;

    fill: none;

    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-action:hover svg {
    stroke: #00c8ff;
}


/* ==========================================================
   MOBILE MENU TOGGLE
   ========================================================== */

.mobile-menu-toggle {
    display: none;
}


/* ==========================================================
   HERO CONTENT
   ========================================================== */

.hero-content {
    position: relative;

    width: 100%;
    height: 100vh;

    z-index: 5;
}


/* ==========================================================
   HERO COPY
   ========================================================== */

.hero-copy {
    position: absolute;

    left: 8%;
    top: 40%;

    width: 48%;
    max-width: 760px;

    color: #ffffff;

    font-family:
        Arial,
        sans-serif;

    z-index: 5;
}

.hero-copy h1 {
    margin: 0 0 22px;

    font-family:
        "Obvia",
        Arial,
        sans-serif;

    font-size:
        clamp(
            38px,
            3vw,
            56px
        );

    line-height: 1.06;

    font-weight: 400;

    letter-spacing: -1px;
}

.hero-copy h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #ff00c8 0%,
            #ad3cff 48%,
            #00c8ff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-copy p {
    max-width: 600px;

    margin: 0 0 38px;

    color: #f1edf3;

    font-family:
        "Obvia Book",
        Arial,
        sans-serif;

    font-size: 18px;

    line-height: 1.5;

    letter-spacing: 0.5px;
}


/* ==========================================================
   CTA BUTTONS
   ========================================================== */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-top: 0;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0 30px;

    border-radius: 12px;

    font-family:
        "Obvia Book",
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 400;

    letter-spacing: 1.3px;

    white-space: nowrap;

    text-decoration: none;
}

.btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #ff00c8,
            #8a00ff
        );

    box-shadow:
        0 0 8px rgba(255, 0, 200, 0.65),
        0 0 18px rgba(255, 0, 200, 0.40),
        0 0 28px rgba(255, 0, 200, 0.22);
}

.btn-secondary {
    color: #ffffff;

    background:
        rgba(
            0,
            0,
            0,
            0.45
        );

    border:
        2px solid #00c8ff;

    box-shadow:
        inset 0 0 18px rgba(0, 200, 255, 0.08),
        0 0 18px rgba(0, 200, 255, 0.15);
}

.btn-arrow {
    margin-left: 12px;

    font-size: 22px;

    line-height: 1;
}

.btn-primary .btn-arrow {
    color: #ffffff;
}

.btn-secondary .btn-arrow {
    color: #00c8ff;
}


/* ==========================================================
   PRODUCT STAGE
   ========================================================== */

.hero-product-stage {
    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 2;
}


/* ==========================================================
   COMBINED BOTTLE + PEDESTAL CANVAS
   ========================================================== */

#bottle-canvas {
    position: absolute;

    top: 5%;
    right: -1%;

    width: 62%;
    height: 92%;

    display: block;

    pointer-events: none;

    z-index: 2;
}


/* ==========================================================
   BOTTOM PANEL
   ========================================================== */

.hero-bottom-panel {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: auto;

    pointer-events: none;

    z-index: 3;
}


/* ==========================================================
   LARGE DESKTOP
   1600PX+
   ========================================================== */

@media (min-width: 1600px) {

    .hero-header {
        width: calc(100% - 90px);
    }

    .hero-copy {
        left: 8%;
        top: 40%;
        width: 46%;
    }

    #bottle-canvas {
        top: 4%;
        right: 2%;

        width: 50%;
        height: 100%;
    }
}


/* ==========================================================
   DESKTOP / LAPTOP
   1199PX AND BELOW
   ========================================================== */

@media (max-width: 1199px) {

    .hero-header {
        width: calc(100% - 50px);

        grid-template-columns:
            200px
            minmax(0, 1fr)
            75px;

        column-gap: 18px;
    }

    .hero-logo {
        width: 185px;
    }

    .hero-nav {
        gap: 24px;
    }

    .hero-nav a {
        font-size: 11px;

        letter-spacing: 1.2px;
    }

    .hero-actions {
        gap: 16px;
    }

    .hero-copy {
        left: 7%;
        top: 39%;

        width: 50%;
    }

    #bottle-canvas {
        top: 8%;
        right: -5%;

        width: 66%;
        height: 90%;
    }
}


/* ==========================================================
   TABLET / COMPACT DESKTOP
   950PX AND BELOW
   ========================================================== */

@media (max-width: 950px) {

    .hero-header {
        width: calc(100% - 34px);

        grid-template-columns:
            170px
            minmax(0, 1fr)
            58px;

        column-gap: 12px;
    }

    .hero-logo {
        width: 160px;
    }

    .hero-nav {
        gap: 18px;
    }

    .hero-nav a {
        font-size: 10px;

        letter-spacing: 1px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-action {
        width: 26px;
        height: 26px;
    }

    .hero-action svg {
        width: 21px;
        height: 21px;
    }

    .hero-copy {
        left: 7%;
        top: 39%;

        width: 53%;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-buttons {
        gap: 16px;
    }

    .btn {
        min-height: 48px;

        padding: 0 22px;

        font-size: 11px;

        letter-spacing: 1px;
    }

    .btn-arrow {
        margin-left: 9px;

        font-size: 18px;
    }

    #bottle-canvas {
        top: 12%;
        right: -10%;

        width: 70%;
        height: 86%;
    }
}


/* ==========================================================
   MOBILE
   690PX AND BELOW
   ========================================================== */

@media (max-width: 690px) {

    .hero-content {
        height: 100vh;
    }

    /* Combined Bottle + Pedestal */

    #bottle-canvas {
        top: 14%;

        left: 50%;
        right: auto;

        width: 94%;
        height: 48%;

        transform: translateX(-50%);

        pointer-events: auto;
    }

    /* Copy */

    .hero-copy {
        left: 50%;
        top: 63%;

        width: 86%;
        max-width: none;

        transform: translateX(-50%);

        text-align: center;
    }

    .hero-copy h1 {
        margin-bottom: 18px;

        font-size: 34px;

        line-height: 1.05;
    }

    .hero-copy > p {
        margin-bottom: 24px;

        font-size: 15px;

        line-height: 1.4;
    }

    .hero-buttons {
        width: 100%;

        justify-content: center;

        gap: 12px;
    }

    .btn {
        min-height: 44px;

        padding: 0 18px;

        font-size: 10px;
    }

    .btn-arrow {
        margin-left: 8px;

        font-size: 16px;
    }

    /* Bottom panel made larger on mobile */

    .hero-bottom-panel {
        left: 50%;
        right: auto;

        bottom: 0;

        width: 175%;
        max-width: none;

        transform: translateX(-50%);

        z-index: 3;
    }
}


/* ==========================================================
   SMALL TABLET / LARGE PHONE HEADER
   620PX AND BELOW
   ========================================================== */

@media (max-width: 620px) {

    .hero-header {
        width: calc(100% - 30px);

        grid-template-columns:
            180px
            minmax(0, 1fr)
            65px;

        column-gap: 12px;
    }

    .hero-logo {
        width: 175px;
    }

    .hero-nav {
        gap: 20px;
    }

    .hero-nav a {
        font-size: 10px;

        letter-spacing: 1px;
    }

    .hero-actions {
        gap: 14px;
    }

    .hero-action {
        width: 24px;
        height: 24px;
    }

    .hero-action svg {
        width: 21px;
        height: 21px;
    }
}


/* ==========================================================
   HAMBURGER NAVIGATION
   590PX AND BELOW
   ========================================================== */

@media (max-width: 590px) {

    .hero-header {
        grid-template-columns:
            150px
            minmax(0, 1fr)
            60px
            40px;

        column-gap: 10px;
    }

    .hero-nav {
        display: none;
    }

    .mobile-menu-toggle {
        position: relative;

        display: flex;

        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 5px;

        width: 34px;
        height: 34px;

        padding: 0;

        background: transparent;

        border: 0;

        cursor: pointer;

        z-index: 30;
    }

    .mobile-menu-toggle span {
        display: block;

        width: 24px;
        height: 2px;

        background: #ffffff;

        border-radius: 2px;

        transition:
            transform 0.25s ease,
            opacity 0.2s ease;
    }

    .mobile-menu-toggle.menu-open
    span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .mobile-menu-toggle.menu-open
    span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.menu-open
    span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

    .hero-nav.mobile-open {
        position: absolute;

        top: 82px;
        right: 14px;

        display: flex;

        width: 120px;

        flex-direction: column;

        align-items: center;

        gap: 16px;

        padding: 16px 10px;

        background: rgba(0, 0, 0, 0.92);

        border:
            1px solid
            rgba(255, 255, 255, 0.15);

        border-radius: 12px;

        transform: none;

        z-index: 50;
    }

    .hero-nav.mobile-open a {
        width: 100%;

        font-size: 12px;

        white-space: nowrap;

        text-align: center;
    }
}


/* ==========================================================
   PHONE
   510PX AND BELOW
   ========================================================== */

@media (max-width: 510px) {

    #bottle-canvas {
        top: 15%;

        width: 100%;
        height: 46%;
    }

    .hero-copy {
        top: 63%;
    }

    .hero-copy h1 {
        margin-bottom: 16px;

        font-size: 33px;
    }

    .hero-copy > p {
        margin-bottom: 22px;
    }
}


/* ==========================================================
   SMALL PHONE
   420PX AND BELOW
   ========================================================== */

@media (max-width: 420px) {

    #bottle-canvas {
        top: 16%;

        width: 104%;
        height: 44%;
    }

    .hero-copy {
        top: 62%;
    }

    .hero-copy h1 {
        margin-bottom: 14px;

        font-size: 31px;

        line-height: 1.02;
    }

    .hero-copy > p {
        margin-bottom: 20px;

        font-size: 14px;

        line-height: 1.3;
    }

    .hero-buttons {
        gap: 10px;
    }
}


/* ==========================================================
   VERY NARROW HEADER
   410PX AND BELOW
   ========================================================== */

@media (max-width: 410px) {

    .hero-header {
        width: calc(100% - 6px);
    }

    .hero-actions {
        position: absolute;

        right: 62px;

        margin-left: 0;
    }

    .mobile-menu-toggle {
        position: absolute;

        right: 8px;

        margin-left: 0;
    }
}


/* ==========================================================
   VERY SMALL PHONE
   330PX AND BELOW
   ========================================================== */

@media (max-width: 330px) {

    #bottle-canvas {
        top: 17%;

        width: 108%;
        height: 42%;
    }

    .hero-copy {
        top: 62%;
    }

    .hero-copy h1 {
        margin-bottom: 10px;

        font-size: 27px;

        line-height: 1;
    }

    .hero-copy > p {
        margin-bottom: 16px;

        font-size: 12px;

        line-height: 1.25;
    }

    .hero-buttons {
        gap: 8px;
    }

    .btn {
        min-height: 40px;

        padding: 0 14px;

        font-size: 9px;
    }
}


/* ==========================================================
   SHORT MOBILE
   ========================================================== */

@media (max-width: 400px) and (max-height: 700px) {

    #bottle-canvas {
        top: 18%;

        height: 43%;
    }

    .hero-copy {
        top: 60%;
    }
}


/* ==========================================================
   VERY SHORT MOBILE
   ========================================================== */

@media (max-width: 330px) and (max-height: 590px) {

    #bottle-canvas {
        top: 20%;

        height: 42%;
    }

    .hero-copy {
        top: 59%;
    }

    .hero-copy h1 {
        margin-bottom: 6px;

        font-size: 25px;

        line-height: 1;
    }

    .hero-copy > p {
        margin-bottom: 10px;

        font-size: 11px;

        line-height: 1.2;
    }

    .hero-buttons {
        gap: 6px;
    }

    .btn {
        min-height: 38px;

        padding: 0 12px;

        font-size: 8px;
    }
}


/* ==========================================================
   SHORT DESKTOP / LAPTOP HEIGHT
   901PX+ AND 760PX HEIGHT OR LESS
   ========================================================== */

@media (min-width: 901px) and (max-height: 760px) {

    .hero-copy {
        top: 37%;
    }

    #bottle-canvas {
        top: 4%;
        right: -6%;

        width: 68%;
        height: 96%;
    }

    .hero-bottom-panel {
        left: 50%;
        right: auto;
        bottom: 0;

        width: 125%;
        max-width: none;

        transform: translateX(-50%);

        z-index: 3;
    }
}

/* ==========================================================
   PIXEL 10 / TALL MOBILE
   SLIGHTLY LARGER BOTTLE
   ========================================================== */

@media (min-width: 401px) and (max-width: 430px) and (min-height: 850px) {

    #bottle-canvas {
        width: 130% !important;
        height: 50% !important;
    }
}

/* ==========================================================
   PRODUCT INTEGRATION
   Stronger environmental blending
   ========================================================== */

.hero-product-stage::before {
    content: "";

    position: absolute;

    right: 1%;
    top: 22%;

    width: 44%;
    height: 50%;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 200, 255, 0.20) 0%,
            rgba(173, 60, 255, 0.12) 30%,
            rgba(255, 0, 200, 0.08) 52%,
            rgba(0, 0, 0, 0) 78%
        );

    filter: blur(48px);

    pointer-events: none;

    z-index: 1;
}

#bottle-canvas {
    filter:
        drop-shadow(
            0 28px 34px
            rgba(0, 0, 0, 0.60)
        )
        drop-shadow(
            0 0 24px
            rgba(0, 200, 255, 0.12)
        )
        drop-shadow(
            0 0 18px
            rgba(255, 0, 200, 0.08)
        );
}

/* ==========================================================
   PEDESTAL EDGE BLEND
   Softens the hard bottom edge into the hero background
   ========================================================== */

.hero-product-stage::after {
    content: "";

    position: absolute;

    right: 6%;
    bottom: 5%;

    width: 31%;
    height: 13%;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.40) 34%,
            rgba(0, 0, 0, 0.18) 58%,
            rgba(0, 0, 0, 0) 82%
        );

    filter: blur(18px);

    pointer-events: none;

    z-index: 1;
}

/* ==========================================================
   MOBILE HEADER ACTIONS — FINAL POSITION OVERRIDE
   ========================================================== */

@media (max-width: 590px) {

    .hero-actions {
        position: absolute !important;

        right: 52px !important;
        left: auto !important;

        justify-content: flex-end !important;

        transform: none !important;
        margin: 0 !important;
    }

    .mobile-menu-toggle {
        position: absolute !important;

        right: 8px !important;
        left: auto !important;

        transform: none !important;
        margin: 0 !important;
    }
}

/* ==========================================================
   PARADOSE HOMEPAGE — MOBILE SAFARI HEADER LOWERING
   ========================================================== */

@media (max-width: 590px) {

    .hero-header {
        top: 24px !important;
    }

}