:root {
    /* Color Palette */
    --b2b-bg: #2F4F6F;
    /* Cold, professional Dark Blue/Grey */
    --b2b-text: #FFFFFF;
    --b2b-accent: #B19870;
    /* Gold/Brown detail */

    --b2c-bg: #DCD1BE;
    /* Approachable Light Beige */
    --b2c-text: #2c2c2c;
    --b2c-accent: #B19870;

    --transition-speed: 0.6s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: Tahoma, "IBM Plex Sans", sans-serif;
    overflow-x: hidden;
}

/* =========================================
   SPLIT LANDING PAGE
========================================= */

.split-landing {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Base Split Section */
.split-section {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: flex var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    overflow: hidden;
}

/* Expand effect on hover */
.split-landing:hover .split-section {
    flex: 1;
    /* Reset to base just in case */
}

.split-section:hover {
    flex: 1.4;
    /* Expand the hovered section safely */
}

/* B2B (Business) Side */
.b2b-section {
    background-color: var(--b2b-bg);
    color: var(--b2b-text);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* B2C (Consumer) Side */
.b2c-section {
    background-color: var(--b2c-bg);
    color: var(--b2c-text);
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    opacity: 0.9;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.split-section:hover .content-wrapper {
    transform: scale(1.05);
    opacity: 1;
}

/* Logos */
.logo-container {
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-height: 100%;
    max-width: 420px;
    object-fit: contain;
    transition: transform var(--transition-speed) ease;
}


.b2c-logo-squirrel {
    /* Using SVG filter to perfectly remove white background without dark frames */
    filter: url(#remove-white) contrast(1.1) brightness(1.02);
}

.split-section:hover .logo {
    transform: translateY(-10px);
}

/* Titles */
.split-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    position: relative;
}

/* Add a line under title on hover */
.split-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--b2b-accent);
    /* same color for both sides as accent */
    transition: width var(--transition-speed) ease;
}

.split-section:hover .split-title::after {
    width: 80px;
}

/* Subtitle */
.split-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Action Buttons */
.action-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.b2b-section .action-btn {
    background-color: transparent;
    color: var(--b2b-text);
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    /* Sharp corners for B2B */
}

.b2b-section:hover .action-btn {
    background-color: var(--b2b-text);
    color: var(--b2b-bg);
}

.b2c-section .action-btn {
    background-color: var(--b2b-accent);
    color: var(--b2b-text);
    border-radius: 50px;
    /* Rounded corners for B2C */
    box-shadow: 0 4px 15px rgba(177, 152, 112, 0.4);
}

.b2c-section:hover .action-btn {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(177, 152, 112, 0.6);
}

/* Overlay Gradients for depth */
.hover-overlay-b2b,
.hover-overlay-b2c {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.hover-overlay-b2b {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hover-overlay-b2c {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.split-section:hover .hover-overlay-b2b,
.split-section:hover .hover-overlay-b2c {
    opacity: 1;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media screen and (max-width: 900px) {
    .split-landing {
        flex-direction: column;
    }

    .split-section {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .split-section:hover {
        flex: 1.2;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .split-title {
        font-size: 1.8rem;
        /* Scaled down ~25% from 2.5rem */
    }

    .split-subtitle {
        font-size: 0.85rem;
        /* Scaled down ~25% from 1rem */
        margin-bottom: 1rem;
    }

    .logo-container {
        height: auto;
        margin-bottom: 0.75rem;
    }

    .logo {
        max-width: 300px;
        /* Scaled down from 420px */
    }

    .b2c-section .logo-container {
        flex-direction: column;
        gap: 10px !important;
        align-items: center;
    }

    .b2c-logo-squirrel {
        width: 30%;
        /* Scaled down from 40% */
    }

    .action-btn {
        padding: 0.75rem 1.8rem;
        font-size: 0.9rem;
    }
}