/* --- Basic Reset & Setup --- */
:root {
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --container-padding: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 400;
}

/* --- Main Layout Container --- */
.landing-page-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Left Pane (Sticky Ad) --- */
.left-pane {
    flex: 0 0 45%; /* Don't grow, don't shrink, base width 45% */
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--container-padding);
}

.ad-creative-wrapper img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    object-fit: contain;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

/* --- Right Pane (Scrolling Content) --- */
.right-pane {
    flex: 1; /* Grow to fill remaining space */
    padding: var(--container-padding);
}

.content-section {
    max-width: 65ch; /* Optimal reading width */
    margin-bottom: 5rem;
    /* Styles for JS animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Typography --- */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}
ul li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

strong {
    font-weight: 600;
}

.highlight {
    background-color: #e9ecef;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
    border-radius: 4px;
}

/* --- Call to Action Button --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-2px);
}

.small-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 1rem;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .landing-page-container {
        flex-direction: column;
    }

    .left-pane {
        position: static; /* Un-stick the pane */
        height: auto; /* Let it size to its content */
        width: 100%;
        padding: var(--container-padding) var(--container-padding) 0;
    }
    
    .ad-creative-wrapper img {
        max-height: 60vh;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .right-pane {
        padding: var(--container-padding);
        padding-top: 3rem;
    }
    
    :root {
        --container-padding: 1.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    p { font-size: 1rem; }
}