/* Modern UI/UX Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center; /* Centered for Desktop */
    justify-content: center;
    color: #2d3436;
    padding: 20px;
}

.container {
    background: #ffffff;
    max-width: 1000px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 60px;
}

.squeeze-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image Section */
.content__image-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pdf-cover-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Text Section */
.content__text-section {
    flex: 1.5;
}

h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: -0.5px;
}

.sub-headline {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 30px;
}

.bullets ul {
    list-style: none;
    margin-bottom: 30px;
}

.bullets li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0000ff;
    font-weight: bold;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #0000ff;
}

/* Form Styling */
.optin-form {
    margin-top: 40px;
}

.form-row {
    display: flex;
    gap: 12px;
}

input[type="email"] {
    flex: 2;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

.cta-btn {
    flex: 1;
    padding: 16px 24px;
    background-color: #00C853;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

/* --- THE MOBILE FIX --- */

@media (max-width: 768px) {
    body {
        align-items: flex-start; /* Start at top so user can scroll */
        padding: 10px;
    }

    .container {
        padding: 30px 15px; /* Thinner padding so content isn't squashed */
        border-radius: 15px;
        margin-top: 10px;
    }

    .squeeze-grid {
        flex-direction: column;
        gap: 25px; /* Tighter gap */
        text-align: center;
    }

    .content__image-section {
        order: 1; /* Image stays at top */
    }

    .pdf-cover-image {
        max-width: 220px; /* Smaller image to save vertical space */
    }

    .content__text-section {
        order: 2;
    }

    h1 {
        font-size: 1.6rem; /* Smaller font for small screens */
    }

    .bullets li {
        text-align: left; /* Keep bullets easy to read */
        font-size: 0.95rem;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .cta-btn {
        width: 100%;
    }
}
