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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

header p {
    opacity: 0.9;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #fff;
}

.book-cover {
    flex: 1 1 300px;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 1rem;
}

.hero-content {
    flex: 2 1 400px;
    padding: 1rem;
}

.hero-content h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero-content p {
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

#about ul {
    list-style: none;
    padding: 0;
}

#about li {
    background: #ecf0f1;
    margin: 0.5rem 0;
    padding: 1rem;
    border-left: 4px solid #3498db;
}

#author {
    background: #ecf0f1;
}

.author-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.author-photo {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem;
}

.author-bio {
    flex: 1;
    padding: 1rem;
}

#purchase {
    text-align: center;
    background: #fff;
}

.pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: #ecf0f1;
    border-radius: 8px;
    padding: 2rem;
    width: 250px;
    text-align: center;
}

.price-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.price-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: -1; /* Move content above image on small screens */
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-photo {
        margin: 1rem auto;
    }
    
    .pricing {
        flex-direction: column;
        align-items: center;
    }
}