/* Container */
.dm-split-landing-container {
    min-height: 100vh;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 768px) {
    .dm-split-landing-container {
        flex-direction: row;
        height: 100vh;
        /* Restore fixed height for desktop logic */
        min-height: 100vh;
    }
}

/* Central Logo */
.dm-split-logo-overlay {
    /* Mobile: Position in flow between sides */
    position: relative;
    order: 2;
    height: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    pointer-events: none;
    filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

@media (min-width: 768px) {
    .dm-split-logo-overlay {
        /* Desktop: Absolute centering */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        order: unset;
        height: auto;
        width: auto;
        display: block;
    }
}

.dm-split-logo-wrapper {
    background-color: white;
    padding: 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 4px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dm-split-logo {
    transform: scale(1.25);
    max-width: 100px;
}

.dm-split-logo-text {
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
}

/* Sides Common */
.dm-split-side {
    position: relative;
    width: 100%;
    min-height: 50vh;
    /* Mobile default */
    cursor: pointer;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
}

/* Sides Order for Mobile */
.dm-split-left {
    order: 1;
}

.dm-split-right {
    order: 3;
}

@media (min-width: 768px) {
    .dm-split-side {
        width: 50%;
        min-height: 100vh;
        /* Desktop default */
        order: unset;
    }
}

/* Background Image */
.dm-split-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1000ms;
}

.dm-split-side:hover .dm-split-bg {
    transform: scale(1.1);
}

/* Overlay */
.dm-split-overlay {
    position: absolute;
    inset: 0;
    transition: background-color 300ms;
}

/* Content */
.dm-split-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

/* Icon Wrapper */
.dm-split-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 300ms;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dm-split-side:hover .dm-split-icon-wrapper {
    transform: scale(1.1);
}

.dm-split-icon-wrapper svg {
    width: 4rem;
    height: 4rem;
}

/* Typography */
.dm-split-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    /* Default fallback */
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07));
    line-height: 1.1;
}

@media (min-width: 768px) {
    .dm-split-title {
        font-size: 3rem;
    }
}

.dm-split-desc {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 28rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .dm-split-desc {
        font-size: 1.25rem;
    }
}

/* Left Specifics */
.dm-split-left {
    border-bottom: 4px solid white;
}

@media (min-width: 768px) {
    .dm-split-left {
        border-bottom: 0;
        border-right: 4px solid white;
    }
}

.dm-split-left .dm-split-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Button */
.dm-split-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: #22c55e;
    /* Brand Primary fallback */
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transition: all 300ms;
}

.dm-split-side:hover .dm-split-button {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.2);
}

/* Right Specifics */
.dm-split-right .dm-split-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    /* gray-300 */
}

.dm-split-right:hover .dm-split-icon-wrapper,
.dm-split-right:hover .dm-split-title,
.dm-split-right:hover .dm-split-desc,
.dm-split-right:hover .dm-split-badge {
    color: white;
    border-color: white;
}

.dm-split-right .dm-split-title {
    color: #d1d5db;
    transition: color 300ms;
}

.dm-split-right .dm-split-desc {
    color: #9ca3af;
    /* gray-400 */
    transition: color 300ms;
}

/* Badge */
.dm-split-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #9ca3af;
    /* gray-400 */
    color: #d1d5db;
    /* gray-300 */
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 300ms;
}

/* Footer */
.dm-split-footer {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
    pointer-events: none;
}

.dm-split-footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}