
/* ===================================
   FREE EBOOK SECTION
   =================================== */
.ebook-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.8), rgba(10, 14, 26, 0.9));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.ebook-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: transform 0.3s ease;
}

.ebook-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(251, 191, 36, 0.15);
}

.ebook-image {
    width: 100%;
    height: auto;
    display: block;
}

.ebook-content {
    color: var(--text-primary);
}

.ebook-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    letter-spacing: 0.05em;
}

.ebook-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ebook-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ebook-features {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.ebook-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

.ebook-features li::before {
    content: '';
    display: none; /* Removed default bullet */
}

@media (max-width: 900px) {
    .ebook-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ebook-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        order: -1; /* Image first on mobile */
    }
    
    .ebook-features {
        display: inline-block;
        text-align: left;
    }
}
