/* ==========================================================================
   CIANA V4 — DUAL-PORTAL LIQUID GLASS LANDING PAGE
   ========================================================================== */

#landing-page {
    padding-top: 0;
}

.split-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 640px;
    overflow: hidden;
    background: #0d0e12;
}

.split-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.75s var(--ease-liquid);
}

.split-side + .split-side {
    border-left: 1px solid rgba(255, 255, 255, 0.26);
}

/* Ambient Ken Burns Editorial Photography */
.split-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.76) contrast(1.06) saturate(1.04);
    transform: scale(1.03);
    animation: kenBurnsAmbient 18s ease-in-out infinite alternate;
    transition: transform 1.1s var(--ease-liquid), filter 0.75s ease;
    z-index: 1;
}

@keyframes kenBurnsAmbient {
    0% { transform: scale(1.02) translate3d(0, 0, 0); }
    100% { transform: scale(1.08) translate3d(-1%, -1%, 0); }
}

/* Subtle Optical Vignette */
.split-side::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(15, 18, 26, 0.04) 0%, rgba(15, 18, 26, 0.38) 100%);
    transition: opacity 0.6s ease;
}

/* Interactive Cursor Caustic Spotlight */
.split-spotlight {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.split-side:hover .split-spotlight {
    opacity: 1;
}

#split-left .split-spotlight {
    background: radial-gradient(560px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
                rgba(246, 220, 166, 0.28), transparent 62%);
}

#split-right .split-spotlight {
    background: radial-gradient(560px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
                rgba(162, 245, 252, 0.26), transparent 62%);
}

/* Refractive Liquid Glass Portal Plaque */
.split-content {
    position: relative;
    z-index: 3;
    width: min(100%, 435px);
    padding: 3.1rem 2.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.74) 100%);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 26px 60px -12px rgba(8, 10, 16, 0.34),
                inset 0 2px 1.5px rgba(255, 255, 255, 0.98),
                inset 0 -1.5px 2px rgba(255, 255, 255, 0.45);
    transition: transform 0.6s var(--ease-liquid),
                background 0.5s ease,
                box-shadow 0.6s ease,
                border-color 0.5s ease;
}

.portal-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.34rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 18, 22, 0.08);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-secondary);
}

.left-side .portal-pill-badge i {
    color: var(--accent-shop-deep);
}

.right-side .portal-pill-badge i {
    color: var(--accent-salon-deep);
}

.split-logo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.15rem 0;
    transition: transform 0.5s var(--ease-liquid);
}

.left-side .split-logo-wrap {
    max-width: 280px;
}

.right-side .split-logo-wrap {
    max-width: 235px;
}

.split-side p {
    color: #1c1e26;
    font-size: 0.96rem;
    line-height: 1.66;
    font-weight: 450;
    max-width: 340px;
}

/* Hover States (Desktop Spatial Expansion) */
@media (hover: hover) and (min-width: 769px) {
    .split-side:hover {
        flex: 1.38;
    }

    .split-side:hover .split-bg {
        filter: brightness(0.9) contrast(1.08) saturate(1.1);
    }

    .split-side:hover .split-content {
        transform: translateY(-6px) scale(1.015);
        background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 100%);
    }

    #split-left:hover .split-content {
        border-color: rgba(201, 160, 80, 0.72);
        box-shadow: 0 32px 72px -12px rgba(8, 10, 16, 0.38),
                    0 0 36px rgba(201, 160, 80, 0.24),
                    inset 0 2px 2px #ffffff;
    }

    #split-right:hover .split-content {
        border-color: rgba(0, 184, 196, 0.68);
        box-shadow: 0 32px 72px -12px rgba(8, 10, 16, 0.38),
                    0 0 36px rgba(0, 184, 196, 0.24),
                    inset 0 2px 2px #ffffff;
    }
}

/* Center Refractive Liquid Crystal Orb */
.brand-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 12;
    pointer-events: none;
}

.brand-logo-glow {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.96) 0%, rgba(244, 246, 250, 0.82) 55%, rgba(226, 232, 240, 0.75) 100%);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35),
                inset 0 2px 4px #ffffff,
                inset 0 -3px 8px rgba(17, 18, 22, 0.12);
    transition: transform 0.6s var(--ease-liquid),
                box-shadow 0.6s ease,
                border-color 0.6s ease;
}

.brand-logo-glow::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px solid rgba(201, 160, 80, 0.48);
    transition: border-color 0.5s ease;
}

.divider-monogram {
    font-family: var(--font-editorial);
    font-size: 2.55rem;
    font-weight: 700;
    color: var(--ink-primary);
    line-height: 1;
    transition: color 0.5s ease, transform 0.5s var(--ease-liquid);
}

.brand-divider.glow-left .brand-logo-glow {
    transform: translateX(-8px) scale(1.06) rotate(-10deg);
    border-color: #f6dfb1;
    box-shadow: 0 20px 48px rgba(201, 160, 80, 0.45),
                inset 0 2px 4px #ffffff;
}

.brand-divider.glow-left .divider-monogram {
    color: var(--accent-shop-deep);
}

.brand-divider.glow-right .brand-logo-glow {
    transform: translateX(8px) scale(1.06) rotate(10deg);
    border-color: #b7f5fa;
    box-shadow: 0 20px 48px rgba(0, 184, 196, 0.42),
                inset 0 2px 4px #ffffff;
}

.brand-divider.glow-right .brand-logo-glow::before {
    border-color: rgba(0, 184, 196, 0.55);
}

.brand-divider.glow-right .divider-monogram {
    color: var(--accent-salon-deep);
}

/* Mobile Instagram / TikTok In-App Browser Fit (100dvh Poster Layout) */
@media (max-width: 768px) {
    .split-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    .split-side {
        min-height: 50dvh;
        padding: 1.35rem 1.15rem;
    }

    #split-left {
        padding-bottom: 2.3rem;
    }

    #split-right {
        padding-top: 2.3rem;
    }

    .split-side + .split-side {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
    }

    .split-content {
        padding: 1.6rem 1.35rem;
        gap: 0.72rem;
        border-radius: 26px;
        max-width: 365px;
    }

    .left-side .split-logo-wrap {
        max-width: 188px;
    }

    .right-side .split-logo-wrap {
        max-width: 165px;
    }

    .split-side p {
        font-size: 0.86rem;
        line-height: 1.48;
    }

    .split-content .btn-liquid {
        padding: 0.74rem 1.45rem;
        font-size: 0.75rem;
    }

    .brand-divider {
        top: 50%;
        transform: translate(-50%, -50%) scale(0.68);
    }
}

/* Compact Short Phones (iPhone SE 375x667 & Compact 320x568) */
@media (max-width: 768px) and (max-height: 740px) {
    .split-side {
        min-height: auto;
        padding: 0.85rem 0.9rem;
    }

    #split-left {
        padding-bottom: 1.85rem;
    }

    #split-right {
        padding-top: 1.85rem;
    }

    .split-content {
        padding: 1.05rem 1.05rem;
        gap: 0.45rem;
        border-radius: 22px;
    }

    .portal-pill-badge {
        padding: 0.24rem 0.7rem;
        font-size: 0.62rem;
    }

    .left-side .split-logo-wrap {
        max-width: 150px;
    }

    .right-side .split-logo-wrap {
        max-width: 132px;
    }

    .split-side p {
        font-size: 0.79rem;
        line-height: 1.36;
    }

    .split-content .btn-liquid {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }

    .brand-divider {
        transform: translate(-50%, -50%) scale(0.56);
    }
}

/* Mobile Landscape Orientation (e.g. 852x393) */
@media (max-height: 560px) and (orientation: landscape) {
    .split-container {
        display: flex;
        flex-direction: row;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    .split-side {
        min-height: 100dvh;
        padding: 1rem 1.25rem;
    }

    #split-left {
        padding-right: 2.35rem;
    }

    #split-right {
        padding-left: 2.35rem;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    .split-content {
        padding: 1.05rem 1.15rem;
        gap: 0.45rem;
        border-radius: 22px;
        max-width: 335px;
    }

    .portal-pill-badge {
        padding: 0.24rem 0.7rem;
        font-size: 0.62rem;
    }

    .left-side .split-logo-wrap {
        max-width: 150px;
    }

    .right-side .split-logo-wrap {
        max-width: 130px;
    }

    .split-side p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .split-content .btn-liquid {
        padding: 0.56rem 1.15rem;
        font-size: 0.69rem;
    }

    .brand-divider {
        top: 50%;
        transform: translate(-50%, -50%) scale(0.58);
    }
}
