/* Ebook Section Styles & iPad Mockup */

.ebook-offer {
    background-color: var(--color-bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ebook-title {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.ebook-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.ebook-content-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.ebook-details {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.price-box {
    margin: 2rem 0;
}

.price-box p:first-child {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.ebook-price {
    font-size: 4rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
}

/* iPad Mockup CSS */
.ipad-mockup {
    width: 300px;
    height: 400px;
    background: #333;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid #555;
}

.ipad-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Simulated eBook Cover inside iPad */
.ebook-cover-preview {
    background: var(--color-terracotta);
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.ebook-cover-preview h4 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.ebook-cover-preview h5 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.ebook-cover-preview p {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--color-cream);
}

@media (max-width: 768px) {
    .ebook-content-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .ipad-mockup {
        width: 240px;
        height: 320px;
    }
}