/* Global Styles */
:root {
    --primary-color: #FF9900; /* Amazon Orange-ish tone for CTA */
    --secondary-color: #146EB4; /* Trust Blue */
    --accent-color: #FF6138; /* Vibrant Salmon/Red for contrast */
    --text-dark: #232F3E; /* Amazon Dark Blue/Black */
    --text-light: #565959; /* Soft Gray */
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Fredoka', sans-serif; /* Friendly, rounded for kids books */
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff 0%, #f1f5f9 100%);
}

.hero-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.book-cover {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotateY(-5deg);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: rotateY(0deg) scale(1.02);
}

.hero-content {
    flex: 1.2;
}

.badges {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.badge {
    background: #e2e8f0;
    color: #475569;
    padding: 0.4em 0.8em;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.badge.best-seller {
    background: #dbeafe;
    color: var(--secondary-color);
}

.badge.rating {
    background: #fef3c7;
    color: #d97706;
}

.book-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.book-author {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.author-name {
    color: var(--text-dark);
    font-weight: 600;
}

.price-block {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #B12704; /* Amazon Price Red */
    font-family: var(--font-body);
}

.format-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

.short-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #111;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px rgba(255, 153, 0, 0.3);
}

.btn-primary:hover {
    background-color: #ffad33;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 153, 0, 0.4);
}

.guarantee-text {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Details Section */
.details-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--hover-shadow);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

.long-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.long-description h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.long-description p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2rem;
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: #e2e8f0;
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    margin: 1.5rem 0;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .price-block, .cta-group {
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    
    .book-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .book-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }

    .btn-primary {
        width: 100%;
        padding: 1rem;
    }
}
