/* Font Face Definitions */
@font-face {
    font-family: 'Ergonomique';
    src: url('../fonts/Ergonomique-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ergonomique';
    src: url('../fonts/Ergonomique-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: auto;
}

body {
    font-family: 'Ergonomique', -apple-system, BlinkMacSystemFont, sans-serif;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../images/bg-landing.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

.logo-img {
    height: 66px;
    width: auto;
}

/* Main Content */
.main-content {
    display: flex;
    height: calc(100vh - 80px);
    margin-top: 80px;
}

/* Left Section */
.left-section {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 30px 30px 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

/* Social Proof */
.social-proof {
    margin-bottom: 16px;
}

.trust-badge {
    max-width: 70%;
    height: auto;
}

/* Headline */
.headline {
    font-family: 'Ergonomique', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* Book Container */
.book-container {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.content-wrapper {
    flex: 1;
}

/* Benefits List */
.benefits-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.benefits-list li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
}

.benefits-list em {
    font-style: italic;
}

/* Book Wrapper */
.book-wrapper {
    position: relative;
    flex-shrink: 0;
}

.price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 183, 0, 0.4);
}

.original-price {
    font-size: 14px;
    color: #666;
    text-decoration: line-through;
}

.free-text {
    font-size: 22px;
    font-weight: 800;
    color: #99261F;
}

.book-image {
    width: 550px;
    height: auto;
}

/* Signup Form */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 450px;
    margin-bottom: 12px;
}

.email-input {
    width: 100%;
    padding: 18px 22px;
    font-family: 'Ergonomique', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-color: #00c9b7;
}

.email-input::placeholder {
    color: #999;
}

.submit-btn {
    width: 100%;
    padding: 18px 32px;
    font-family: 'Ergonomique', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: #92252A;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: #7a1f23;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Disclaimer */
.disclaimer {
    font-size: 13px;
    color: #666;
    max-width: 400px;
}

/* Footer */
.footer {
    padding: 30px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.footer-line {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

.footer-disclaimer {
    font-size: 12px;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Right Section */
.right-section {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .left-section {
        padding: 30px 40px;
    }

    .headline {
        font-size: 36px;
    }

    .book-image {
        width: 360px;
    }
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .left-section {
        flex: none;
        order: 1;
    }

    .right-section {
        flex: none;
        order: 2;
    }

    html, body {
        overflow: auto;
    }

    .left-section {
        max-width: 100%;
        padding: 30px 20px;
    }

    .right-section {
        max-width: 100%;
        padding: 20px;
    }

    .book-wrapper {
        margin-bottom: 20px;
    }

    .signup-form {
        max-width: 100%;
    }

    .disclaimer {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .header {
        height: 60px;
    }

    .main-content {
        margin-top: 60px;
        height: auto;
    }

    .left-section {
        padding: 20px 16px;
    }

    .headline {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .social-proof {
        margin-bottom: 12px;
    }

    .trust-badge {
        max-width: 100%;
    }

    .benefits-list {
        margin-bottom: 16px;
    }

    .benefits-list li {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .right-section {
        padding: 10px 16px 30px;
    }

    .book-image {
        width: 100%;
        max-width: 280px;
    }

    .price-badge {
        width: 60px;
        height: 60px;
        right: 5px;
        top: 5px;
    }

    .original-price {
        font-size: 10px;
    }

    .free-text {
        font-size: 16px;
    }

    .signup-form {
        gap: 8px;
    }

    .email-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .disclaimer {
        font-size: 11px;
    }

    .footer {
        padding: 20px 16px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-disclaimer {
        font-size: 10px;
    }
}
