/* css/landing.css */
.split-layout {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Individual Panels */
.split-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.split-panel:hover {
    flex: 1.3;
}

/* Panel Backgrounds with subtle noise/texture */
.panel-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: var(--transition-smooth);
    mix-blend-mode: overlay;
    filter: grayscale(100%);
}

.panel-left {
    background-color: var(--color-plumb-bg);
}

.panel-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--color-bg-dark) 100%);
    z-index: 1;
}

.panel-left:hover .panel-background {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.panel-right {
    background-color: var(--color-law-bg);
}

.panel-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--color-bg-dark) 100%);
    z-index: 1;
}

.panel-right:hover .panel-background {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}


/* Content Formatting */
.panel-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
    padding: 3rem;
    opacity: 0.8;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-panel:hover .panel-content {
    opacity: 1;
    transform: translateY(0);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.badge-alt {
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.panel-left .badge {
    color: var(--color-plumb-primary);
    border-color: rgba(245, 158, 11, 0.3);
}

.panel-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.panel-left .highlight {
    color: var(--color-plumb-primary);
    text-shadow: 0 0 40px var(--color-plumb-glow);
}

.panel-right .highlight-alt {
    color: var(--color-law-primary);
    text-shadow: 0 0 40px var(--color-law-glow);
}

.panel-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 400px;
}

/* Action Button */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 4px;
    background: var(--text-primary);
    color: var(--text-inverse);
    transition: var(--transition-smooth);
}

.panel-left:hover .action-btn {
    background: var(--color-plumb-primary);
    color: #fff;
    box-shadow: 0 10px 30px var(--color-plumb-glow);
}

.panel-right:hover .action-btn-alt {
    background: var(--color-law-primary);
    color: #fff;
    box-shadow: 0 10px 30px var(--color-law-glow);
}

.action-btn svg {
    transition: transform 0.3s ease;
}

.split-panel:hover .action-btn svg {
    transform: translateX(5px);
}

/* Center Brand Orb */
.center-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: none;
}

.brand-orb {
    width: 80px;
    height: 80px;
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 0 10px rgba(10, 10, 12, 0.5);
    backdrop-filter: blur(5px);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
    }

    .panel-content {
        padding: 2rem;
        transform: translateY(0);
        opacity: 1;
    }

    .center-brand {
        display: none;
    }
}