/* =====================================
   GLOBAL
===================================== */

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

body {
    font-family: 'Poppins', sans-serif;
    background: #0B1120;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =====================================
   TOPBAR
===================================== */

.ebook-topbar {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ebook-topbar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.ebook-contact a {
    opacity: 0.8;
}

.ebook-contact a:hover {
    opacity: 1;
}


/* =====================================
   HERO SECTION
===================================== */

.ebook-hero {
    padding: 100px 0;
}

.ebook-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.ebook-eyebrow {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ebook-hero-left h1 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ebook-hero-left h1 span {
    background: linear-gradient(90deg,#2563EB,#7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ebook-subtitle {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 25px;
}

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

.ebook-bullets li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.ebook-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563EB;
}

.ebook-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(90deg,#2563EB,#7C3AED);
    color: #ffffff;
    transition: 0.3s ease;
}

.ebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}


/* HERO IMAGE */

.ebook-hero-right {
    text-align: center;
}

.ebook-hero-right img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.ebook-logo {
    max-height: 45px;   /* controls height */
    width: auto;        /* maintains ratio */
    display: block;
}

.ebook-brand img {
    max-width: 180px;   /* prevents oversize */
}
/* =====================================
   SECTION
===================================== */

.ebook-section {
    padding: 90px 0;
}

.ebook-section-dark {
    background: rgba(255,255,255,0.03);
}

.ebook-section-title {
    font-size: 32px;
    margin-bottom: 50px;
}

.ebook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =====================================
   CARDS
===================================== */

.ebook-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.ebook-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.ebook-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.ebook-card p {
    opacity: 0.85;
}


/* =====================================
   FORM SECTION
===================================== */

.ebook-form-sub {
    margin-bottom: 30px;
    opacity: 0.8;
}

.ebook-form-card {
    background: #111827;
    padding: 25px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ebook-form-card iframe {
    border-radius: 8px;
    width: 100%;
}


/* =====================================
   FINAL CTA
===================================== */

.ebook-final {
    padding: 100px 0;
    text-align: center;
}

.ebook-final h2 {
    font-size: 32px;
    margin-bottom: 25px;
}


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

.ebook-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}


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

@media (max-width: 992px) {

    .ebook-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ebook-hero-left h1 {
        font-size: 36px;
    }

    .ebook-grid {
        grid-template-columns: 1fr;
    }

    .ebook-form-card {
        padding: 15px;
    }
}
