* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

h1 {
    font-size: 3em;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    color: rgba(255,255,255,0.95);
    font-size: 1.2em;
    margin-top: 10px;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.about-section p {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto;
    color: #4a5568;
    line-height: 1.8;
}

/* Books Section */
.books-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #2d3748;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.book-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.book-cover {
    width: 100%;
    max-width: 200px;
    height: 300px;
    margin: 0 auto 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    border-radius: 8px;
}

.book-title {
    font-size: 1.4em;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.book-author {
    color: #718096;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.book-description {
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 0.95em;
    line-height: 1.6;
}

.buy-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
    font-size: 0.95em;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.buy-button.amazon-ca {
    background: linear-gradient(135deg, #ffa41c 0%, #ff8400 100%);
    box-shadow: 0 4px 6px rgba(35, 47, 62, 0.3);
}

.buy-button.amazon-ca:hover {
    box-shadow: 0 6px 12px rgba(35, 47, 62, 0.4);
}

.buy-button.review {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 4px 6px rgba(72, 187, 120, 0.3);
}

.buy-button.review:hover {
    box-shadow: 0 6px 12px rgba(72, 187, 120, 0.4);
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

.contact-info {
    margin-top: 25px;
    font-size: 0.95em;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    .section-title {
        font-size: 2em;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .button-container {
        flex-direction: column;
    }

    .buy-button {
        width: 100%;
    }
}