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

body {
    font-family: 'Montserrat', sans-serif;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: url('background.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
}

/* ===== POPUP BOX ===== */
.popup-box {
    margin-top: 200px;
    position: relative;
    width: 520px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    color: #fff;
    z-index: 2;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

/* Book mockup */
.book-mockup {
    position: absolute;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.book-mockup img {
    max-height: 350px;
}

.popup-content {
    margin-top: 60px;
}

.popup-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.popup-content strong {
    font-weight: 600;
}

/* ===== INPUT ===== */
.email-input {
    width: 100%;
    padding: 18px 20px;
    border-radius: 40px;
    border: none;
    font-size: 16px;
    margin-bottom: 20px;
    background: #fff;
    outline: none;
    border: 3px solid #ff8e2a;
}

/* ===== BUTTON ===== */
.cta-btn {
    width: 100%;
    height: 90px; /* chỉnh theo chiều cao ảnh */
    border: none;
    cursor: pointer;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;

    background: url('button.png?v=1') center center no-repeat;
    background-size: contain;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.25s ease;
    text-indent: -9999px; /* ẩn text */
}

.cta-btn:hover {
    transform: scale(1.03);
}

.cta-btn:active {
    transform: scale(0.97);
}

/* Small disclaimer */
.disclaimer {
    font-size: 11px;
    margin-top: 18px;
    opacity: 0.75;
    line-height: 1.4;
    color: #ffffff50;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 13px;
    opacity: 0.8;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

/* ============================= */
/* ===== MOBILE RESPONSIVE ===== */
/* ============================= */

@media (max-width: 768px) {

    .hero {
        padding: 120px 20px;
        align-items: flex-start;
        display: block;
        background: url('background-mobile.jpg') center center / cover no-repeat;
    }

    .popup-box {
        max-width: 520px;
        width: 100%;
        margin-top: 140px;
        margin-left: auto;
        margin-right: auto;
        padding: 30px 20px;
        border-radius: 18px;
    }

    /* Book mockup nhỏ lại và đẩy lên ít hơn */
    .book-mockup {
        top: -180px;
        gap: 10px;
    }

    .book-mockup img {
        max-height: 250px;
    }

    .popup-content {
        margin-top: 40px;
    }

    .popup-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Input */
    .email-input {
        padding: 16px 18px;
        font-size: 15px;
    }

    /* Button */
    .cta-btn {
        height: 70px;
        font-size: 18px;
        background-size: 100% 100%; /* mobile nên fill full */
    }

    .disclaimer {
        font-size: 10px;
    }

    /* Footer không absolute nữa để khỏi đè */
    .footer {
        position: relative;
        bottom: auto;
        margin-top: 40px;
        font-size: 12px;
    }
}




body.landing-page{
    font-family:'Montserrat',sans-serif;
    background:#f2f2f2;
    text-align:center;
    color:#333;
}

/* ================= HEADER ================= */

.bonus-header{
    background:#fed206;
    display:inline-block;
    padding:15px 60px;
    margin-top:60px;
}

.bonus-header h1{
    font-size:72px;
    font-weight:700;
    letter-spacing:1px;
    color: #333132;
}

/* ================= CONTENT ================= */

.content{
    max-width:950px;
    margin:40px auto 20px;
    font-size:20px;
    line-height:1.7;
    padding:0 20px;
}

.content strong.red{
    color:#ed2124;
    font-weight:700;
}

.content strong.bold{
    font-weight:800;
}

.loading-text{
    margin-top:30px;
    font-size:28px;
    font-weight:700;
}

/* ================= LOADER ================= */

.loader{
    margin:30px auto 60px;
    width:60px;
    height:60px;
    border:6px solid #ddd;
    border-top:6px solid #bbb;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{ transform:rotate(360deg); }
}

/* ================= BOTTOM SECTION ================= */

.bottom-section{
    background:#fff4d6;
    margin-top:80px;
}

.bottom-inner{
    max-width:1100px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:50px;
}

/* Book image */
.book img{
    max-height:300px;
    margin: -90px 0 -120px;
}

/* Divider line */
.divider{
    width:2px;
    height:200px;
    background:#33313280;
}

/* Right text */
.right-text{
    text-align:left;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.right-text h2{
    font-size: 8.5rem;
    color: #2ed5d3;
    font-weight: 700;
    line-height: 1;
}

.right-text p{
    font-size:30px;
    color:#2ed5d3;
    font-weight:600;
}

.right-text span{
    color:#24aef1;
    font-weight:800;
}

/* ================= FOOTER ================= */

.footer-2{
    margin: 80px 0 40px 0;
    font-size:12px;
    color:#999;
}

/* ================= RESPONSIVE ================= */
.desktop {
    display:block;
}
.mobile {
    display:none;
}

@media(max-width:768px){
    .desktop {
        display:none;
    }
    .mobile {
        display:block;
    }

    .bonus-header{
        background:none;
        margin-top: 20px;
    }

    .bonus-header h1{
        font-size: 75px;
    }

    .bonus-header h1 span{
        background:#fed206;
        display: inline-block;
        margin: 5px auto;
        padding: 0 10px;
    }

    .content{
        font-size:16px;
        margin: 30px 0;
    }

    .loading-text{
        font-size:20px;
    }

    .bottom-section {
        padding: 10px 0;
        margin-top: 60px;
    }

    .bottom-inner{
        gap: 20px;
    }

    .divider {
        height: 80px;
    }

    .right-text h2{
        font-size:60px;
    }

    .right-text p{
        font-size:13px;
    }

    .book img{
        max-height: 150px;
        margin: -75px 0;
    }
}