/* ========================================= */
/* SPLIT PAGE TEMPLATE STYLES                */
/* ========================================= */

:root {
    --text-primary: #fafafa;
    --gradient-secondary: linear-gradient(106.081deg, rgb(2, 87, 250) 2.8731%, rgb(25, 27, 197) 96.995%);
}

.split-layout-container {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 80px);
    width: 100%;
    background: #0a0b14;
    overflow: hidden;
}

@media (min-width: 992px) {
    .split-layout-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Individual Column Styles */
.split-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 24px;
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease;
}

/* Left Panel - Build Authority */
.split-column.left-column {
    background-color: #161A25;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 992px) {
    .split-column.left-column {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        padding: 60px 48px 48px;
    }
}

/* Right Panel - Generate Leads */
.split-column.right-column {
    /* background-color: #1A1F2B; */
    background-color: #282e3c;
}

@media (min-width: 992px) {
    .split-column.right-column {
        padding: 60px 48px 48px;
    }
}

/* Badge Styling */
.split-badge {
    display: none;
    /* Hide on mobile by default */
    background: rgba(89, 146, 255, 0.05);
    border: 1px solid rgba(89, 146, 255, 0.2);
    border-radius: 9999px;
    padding: 6px 16px;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(89, 146, 255, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 992px) {
    .split-badge {
        display: inline-flex;
        /* Show on desktop */
    }
}

.split-badge:hover {
    border-color: rgba(89, 146, 255, 0.4);
    box-shadow: 0 0 20px rgba(89, 146, 255, 0.08);
}

.split-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-badge-icon svg {
    width: 14px;
    height: 14px;
    fill: #5992ff;
}

.split-badge-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #a5b4fc;
    text-transform: uppercase;
}

/* Headings Styling */
.split-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    max-width: 540px;
    letter-spacing: -1px;
    color: #ffffff;
}

@media (min-width: 992px) {
    .split-title {
        font-size: clamp(2.5rem, 3.8vw, 3.25rem);
    }
}

.split-title .highlight {
    /* color: #C3C0FF; */
    color: var(--accent-green);
    display: inline;
}

/* Subtitle Styling */
.split-subtitle {
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.6;
    color: white;
    margin-bottom: 36px;
    max-width: 480px;
}

/* Buttons Styling */
.split-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--Primary-Gradient, linear-gradient(93deg, #0257FA 2.87%, #191BC5 96.99%)) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px !important;
    width: 300px !important;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    white-space: nowrap;

    @media (max-width: 768px) {
        padding: 10px !important
    }
}

.split-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(2, 87, 250, 0.4);
}

.split-btn-subtext {
    display: none;
    /* Hide on mobile by default */
    font-size: 13px;
    color: #64748b;
    margin-top: 12px;
    margin-bottom: 24px;
}

@media (min-width: 992px) {
    .split-btn-subtext {
        display: block;
        /* Show on desktop */
    }
}

.split-image-container {
    width: 100%;
    max-width: 640px;
    margin-top: 12px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.split-image-container:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 35px 60px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(89, 146, 255, 0.15);
}

.split-preview-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Micro animations on load */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Stacking & Ordering */
@media (max-width: 991px) {
    .split-layout-container {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 80px);
        min-height: calc(100vh - 80px);
        overflow: hidden;
    }

    .split-column {
        flex: 1;
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 16px 20px;
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
    }

    .split-badge {
        display: none !important;
    }

    .split-image-container {
        order: 2;
        display: flex !important;
        width: 100%;
        height: auto;
        max-height: 22vh;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        margin-bottom: 12px;
        overflow: hidden;
        box-shadow: none !important;
        border: none !important;
    }

    .split-preview-image {
        max-height: 22vh;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain;
        display: block;
        border-radius: 8px;
    }

    .split-title {
        order: 3;
        font-size: clamp(17px, 4.5vw, 20px);
        margin-top: 0;
        margin-bottom: 8px;
        line-height: 1.25;
        text-align: center;
        width: 100%;
        max-width: 340px;
    }

    .split-subtitle {
        order: 4;
        font-size: clamp(11px, 2.8vw, 13px);
        line-height: 1.4;
        margin-top: 0;
        margin-bottom: 16px;
        text-align: center;
        max-width: 320px;
        color: rgba(255, 255, 255, 0.8);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .split-cta-container {
        order: 5;
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 2;
    }

    .split-cta-btn {
        font-size: 13px !important;
        padding: 10px 20px !important;
        width: auto !important;
        min-width: 240px !important;
        max-width: 90% !important;
        white-space: nowrap;
        border-radius: 8px;
    }

    .split-btn-subtext {
        font-size: 9px !important;
        margin-top: 4px;
        opacity: 0.7;
    }
}