/* ===================================
   EBOOK HERO
=================================== */

.ebook-hero{

    padding-top:180px;
    padding-bottom:120px;

    background:
    linear-gradient(
        135deg,
        #081326 0%,
        #102447 100%
    );

    color:white;

}

.ebook-hero-grid{

    display:grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap:80px;

    align-items:center;

}

.ebook-tag{

    display:inline-block;

    padding:
    8px 18px;

    border-radius:50px;

    background:
    rgba(216,178,109,.15);

    border:
    1px solid rgba(216,178,109,.35);

    color:var(--gold);

    font-size:.9rem;

    margin-bottom:25px;

}

.ebook-hero h1{

    color:white;

    margin-bottom:25px;

}

.ebook-subtitle{

    font-size:1.25rem;

    color:#d6d6d6;

    margin-bottom:25px;

}

.ebook-hero p{

    color:#c7c7c7;

}

.ebook-buttons{

    display:flex;

    gap:20px;

    margin-top:40px;

    margin-bottom:50px;

}

.btn-outline-dark{

    border:
    1px solid rgba(255,255,255,.25);

    color:white;

}

.btn-outline-dark:hover{

    background:white;

    color:#081326;

}

.ebook-meta{

    display:flex;

    gap:50px;

    flex-wrap:wrap;

}

.ebook-meta strong{

    display:block;

    color:var(--gold);

    margin-bottom:6px;

}

.ebook-meta span{

    color:#ddd;

}

.ebook-cover{

    text-align:center;

}

.ebook-cover img{

    width:100%;

    max-width:420px;

    margin:auto;

    border-radius:20px;

    box-shadow:
    0 25px 60px rgba(0,0,0,.35);

    transition:.4s;

}

.ebook-cover img:hover{

    transform:
    translateY(-8px);

}

/* ===================================
   BOOK INTRO
=================================== */

.book-intro{

    background:white;

}

.book-intro-grid{

    display:grid;

    grid-template-columns:
        1.5fr 1fr;

    gap:60px;

    align-items:start;

}

.intro-content p{

    margin-bottom:25px;

    font-size:1.05rem;

}

.intro-highlight{

    padding:40px;

}

.intro-highlight h3{

    margin-bottom:25px;

}

.intro-highlight ul li{

    padding:
    12px 0;

    border-bottom:
    1px solid #f1f1f1;

}

.intro-highlight ul li:last-child{

    border-bottom:none;

}

/* ===================================
   WHY READ
=================================== */

.why-read{

    background:#f8f9fc;

}

.reason-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:30px;

}

.reason-card{

    padding:40px 30px;

    text-align:center;

    transition:.35s;

}

.reason-card:hover{

    transform:
    translateY(-8px);

}

.reason-icon{

    font-size:3rem;

    margin-bottom:20px;

}

.reason-card h3{

    margin-bottom:15px;

}

.reason-card p{

    font-size:.95rem;

}

/* ===================================
   FEATURES
=================================== */

.book-features{

    background:white;

}

.feature-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:30px;

}

.feature-card{

    padding:40px 30px;

    position:relative;

    overflow:hidden;

    transition:.35s;

}

.feature-card:hover{

    transform:
    translateY(-8px);

}

.feature-number{

    font-size:3rem;

    font-weight:700;

    color:
    rgba(216,178,109,.25);

    margin-bottom:20px;

}

.feature-card h3{

    margin-bottom:15px;

}

/* ===================================
   RESEARCH VIEW
=================================== */

.research-view{

    background:
    linear-gradient(
        135deg,
        #081326 0%,
        #102447 100%
    );

}

.research-box{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.research-box h2{

    color:white;

    margin-top:15px;

    margin-bottom:25px;

}

.research-box p{

    color:#d5d5d5;

    font-size:1.05rem;

    margin-bottom:20px;

}


/* ===================================
   PREVIEW SECTION
=================================== */

.preview-section{

    background:#f8f9fc;

}

.preview-grid{

    display:grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap:60px;

    align-items:center;

}

.preview-content{

    padding:50px;

}

.preview-tag{

    display:inline-block;

    padding:
    8px 18px;

    border-radius:50px;

    background:
    rgba(216,178,109,.12);

    color:var(--gold);

    font-weight:600;

    margin-bottom:25px;

}

.preview-content h3{

    margin-top:20px;

    margin-bottom:12px;

}

.preview-content blockquote{

    padding:20px;

    border-left:
    4px solid var(--gold);

    background:#fafafa;

    margin-bottom:20px;

    line-height:2;

    color:#444;

}

.preview-image img{

    width:100%;

    border-radius:20px;

    box-shadow:
    var(--shadow);

}

/* ===================================
   TABLE OF CONTENTS
=================================== */

.ebook-toc{

    background:white;

}

.toc-card{

    padding:50px;

}

.toc-grid{

    display:grid;

    grid-template-columns:
        repeat(5,1fr);

    gap:20px;

    margin-bottom:40px;

}

.toc-grid div{

    padding:15px;

    text-align:center;

    border:
    1px solid var(--border);

    border-radius:10px;

    background:#fafafa;

    transition:.3s;

}

.toc-grid div:hover{

    background:var(--gold);

    color:white;

    border-color:var(--gold);

}

.toc-more{

    text-align:center;

}

/* ===================================
   AUTHOR SECTION
=================================== */

.ebook-author{

    background:#f8f9fc;

}

.ebook-author .author-card{

    background:white;

    border-radius:25px;

    padding:50px;

    box-shadow:var(--shadow);

    display:grid;

    grid-template-columns:
        280px 1fr;

    gap:60px;

    align-items:center;

}

.ebook-author .author-photo{

    text-align:center;

}

.ebook-author .author-photo img{

    width:100%;

    max-width:260px;

    margin:auto;

}

.ebook-author .author-content h2{

    margin-top:10px;

    margin-bottom:20px;

}

.author-badges{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:25px;

}

.author-badges span{

    padding:
    8px 15px;

    border-radius:30px;

    background:#f3f4f8;

    font-size:.9rem;

}

/* ===================================
   READER MESSAGE
=================================== */

.reader-message{

    background:white;

}

.message-box{

    max-width:900px;

    margin:auto;

    text-align:center;

    padding:60px;

    border-radius:25px;

    background:
    linear-gradient(
        135deg,
        #081326 0%,
        #102447 100%
    );

}

.message-box h2{

    color:white;

    margin-bottom:30px;

}

.message-box blockquote{

    color:var(--gold);

    font-size:1.5rem;

    line-height:1.8;

    margin-bottom:25px;

    font-family:
    'Noto Serif TC',
    serif;

}

.message-box p{

    color:#d7d7d7;

}

/* ===================================
   CTA
=================================== */

.ebook-cta{

    background:#f8f9fc;

}

.cta-box{

    max-width:900px;

    margin:auto;

    text-align:center;

    padding:70px 50px;

    border-radius:25px;

    background:white;

    box-shadow:var(--shadow);

}

.cta-box h2{

    margin-bottom:20px;

}

.cta-box p{

    margin-bottom:30px;

}

/* ===================================
   MOBILE
=================================== */

@media(max-width:992px){

    .ebook-hero-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .ebook-buttons{

        justify-content:center;

    }

    .ebook-meta{

        justify-content:center;

    }

    .book-intro-grid{

        grid-template-columns:1fr;

    }

    .preview-grid{

        grid-template-columns:1fr;

    }

    .ebook-author .author-card{

        grid-template-columns:1fr;

        text-align:center;

    }

    .author-badges{

        justify-content:center;

    }

    .reason-grid{

        grid-template-columns:
        repeat(2,1fr);

    }

    .feature-grid{

        grid-template-columns:
        repeat(2,1fr);

    }

    .toc-grid{

        grid-template-columns:
        repeat(2,1fr);

    }

}

@media(max-width:768px){

    .ebook-hero{

        padding-top:140px;

    }

    .ebook-cover img{

        max-width:280px;

    }

    .ebook-buttons{

        flex-direction:column;

    }

    .preview-content{

        padding:30px;

    }

    .toc-card{

        padding:30px;

    }

    .message-box{

        padding:40px 25px;

    }

    .message-box blockquote{

        font-size:1.2rem;

    }

    .cta-box{

        padding:40px 25px;

    }

    .reason-grid{

        grid-template-columns:1fr;

    }

    .feature-grid{

        grid-template-columns:1fr;

    }

    .toc-grid{

        grid-template-columns:1fr;

    }

}