/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4A90E2 0%, #7B68EE 100%);
    color: white;
    padding: 40px 0 60px;
    text-align: center;
}

.hero h1,
.hero .hero-subtitle {
    text-align: center;
}

.security-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 30px;
    font-size: 14px;
}

.security-badge i {
    color: #FFD700;
}

.product-image {
    margin: 30px 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.main-product-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.book-mockup {
    display: inline-block;
    perspective: 1000px;
}

.book-cover {
    background: linear-gradient(45deg, #87CEEB, #98FB98);
    width: 200px;
    height: 250px;
    margin: 0 auto;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: rotateY(-10deg) rotateX(5deg);
}

.crayon-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 3px;
}

.crayon {
    width: 4px;
    height: 30px;
    border-radius: 2px;
}

.crayon.red { background: #FF6B6B; }
.crayon.yellow { background: #FFD93D; }
.crayon.green { background: #6BCF7F; }
.crayon.blue { background: #4DABF7; }
.crayon.purple { background: #9775FA; }

.book-cover h3 {
    font-size: 12px;
    color: #FF6B35;
    text-align: center;
    margin: 20px 0 10px;
    font-weight: bold;
}

.character-illustration {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.character {
    width: 40px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #333;
}

.character.jesus {
    background: linear-gradient(to bottom, #D2691E, #F4A460);
}

.character.mary {
    background: linear-gradient(to bottom, #DDA0DD, #F0E68C);
}

.age-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #FF6B35;
    font-weight: bold;
    text-align: center;
}

.hero h1 {
    font-size: 28px;
    margin: 30px 0 15px;
    font-weight: bold;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.5;
}

.features-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

.features-preview .feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.features-preview .feature-item i {
    font-size: 24px;
    color: #FFD700;
}

.features-preview .feature-item span {
    font-size: 12px;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background: white;
}

.benefits-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.benefits-intro h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

.intro-text strong {
    color: #28a745;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    color: white;
    font-size: 28px;
}

.benefit-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Package Comparison Section */
.packages {
    padding: 60px 0;
    background: #f8f9fa;
}

.packages h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

.cta-button,
.pricing,
.bestseller-badge,
.rating {
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    text-align: center;
}

.pricing-card.premium {
    border: 3px solid #28a745;
    transform: scale(1.05);
}

.bestseller-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.package-header {
    margin-bottom: 20px;
}

.package-header i {
    font-size: 32px;
    color: #FFD700;
    margin-bottom: 10px;
}

.package-header h3 {
    font-size: 24px;
    color: #333;
}

.pricing {
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.discount {
    background: #FF4757;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin: 5px 0;
}

.current-price {
    font-size: 36px;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

.savings {
    color: #28a745;
    font-size: 14px;
    font-weight: 500;
}

.features-list {
    text-align: left;
    margin: 30px 0;
}

.features-list .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    padding: 8px 0;
}

.features-list .feature-item i {
    color: #28a745;
    font-size: 16px;
    min-width: 20px;
}

.features-list .feature-item.bonus i {
    color: #FFD700;
}

.cta-button {
    background: #28a745;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #218838;
    transform: translateY(-2px);
}

.cta-button.premium {
    background: #28a745;
}

.cta-button.premium:hover {
    background: #218838;
}

.cta-button.centered {
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

/* Product Preview Section */
.product-preview {
    padding: 60px 0;
    background: white;
}

.product-preview h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.book-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.book-sample {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
}

.book-cover-image {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}



.book-stories {
    margin-top: 40px;
}

.book-stories h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto 40px;
    width: 100%;
    box-sizing: border-box;
}

.story-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-image {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 15px auto;
    display: block;
    box-sizing: border-box;
}

.story-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.story-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.girls-section {
    margin-top: 50px;
}

.girls-section h2 {
    color: #333;
}

.girls-section .section-subtitle {
    color: #666;
}

.book-cover-small {
    background: linear-gradient(45deg, #FFB6C1, #FFA07A);
    width: 120px;
    height: 150px;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: #333;
    position: relative;
}

.book-cover-small h4 {
    font-size: 8px;
    margin-bottom: 5px;
}

.book-cover-small h3 {
    font-size: 12px;
    margin-bottom: 5px;
    color: #E74C3C;
}

.book-cover-small p {
    font-size: 7px;
    margin-bottom: 10px;
}

.sample-illustration {
    width: 30px;
    height: 40px;
    border-radius: 50%;
    margin: 10px auto;
}

.sample-illustration.boy {
    background: linear-gradient(to bottom, #D2691E, #F4A460);
}

.sample-illustration.girl {
    background: linear-gradient(to bottom, #DDA0DD, #F0E68C);
}

.sample-pages {
    display: flex;
    gap: 10px;
    flex: 1;
}

.page-preview {
    background: white;
    border: 1px solid #ddd;
    width: 80px;
    height: 100px;
    border-radius: 5px;
    position: relative;
}

.page-preview::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed #ccc;
    border-radius: 3px;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.rating {
    text-align: center;
    margin-bottom: 40px;
}

.stars {
    margin-bottom: 10px;
}

.stars i {
    color: #FFD700;
    font-size: 20px;
    margin: 0 2px;
}

.rating-text {
    color: #666;
    font-size: 16px;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
}

.testimonial-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 500px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.phone-mockup {
    background: #333;
    border-radius: 25px;
    padding: 20px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.phone-header {
    color: white;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #555;
    margin-bottom: 20px;
    position: relative;
}

.time {
    font-weight: bold;
}

.phone-icons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

.contact-name {
    font-weight: bold;
}

.chat-content {
    max-height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.message.sent {
    justify-content: flex-end;
}

.message.sent .message-text {
    background: #007bff;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #666;
    flex-shrink: 0;
}

.message-text {
    background: #444;
    color: white;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 200px;
    font-size: 14px;
    line-height: 1.4;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

.faq-items {
    max-width: 600px;
    margin: 0 auto 40px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.faq-question i {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Guarantee Section */
.guarantee {
    padding: 60px 0;
    background: #f8f9fa;
}

.guarantee-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.guarantee-icon {
    background: #28a745;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.guarantee-icon i {
    color: white;
    font-size: 32px;
}

.guarantee-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.guarantee-card p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.security-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 500;
}

.security-item i {
    font-size: 18px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
}

/* Image container constraints */
.product-image,
.story-card,
.testimonial-card {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Override justify for specific elements that should remain centered */
.security-badge,
.pricing-card,
.phone-mockup,
.guarantee-card,
.faq-question {
    text-align: center;
}

/* Keep paragraph text justified but center other elements */
.intro-text {
    text-align: justify;
}

.benefit-card {
    text-align: center;
}

.benefit-card p {
    text-align: justify;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .features-preview {
        grid-template-columns: repeat(4, 1fr);
        max-width: 600px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .book-carousel {
        grid-template-columns: 1fr 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 800px;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-image {
        max-height: 500px;
    }
    
    .security-features {
        gap: 50px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .book-cover {
        width: 250px;
        height: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .packages,
    .benefits,
    .product-preview,
    .testimonials,
    .faq,
    .guarantee {
        padding: 80px 0;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 767px) {
    .main-product-image {
        max-height: 250px;
        width: auto;
    }
    
    .story-image {
        height: 150px;
        width: 100%;
        object-fit: cover;
    }
    
    .testimonial-image {
        max-height: 350px;
        width: auto;
    }
    
    .cta-button {
        padding: 18px 30px;
        font-size: 18px;
    }
    
    .faq-question {
        padding: 18px;
        font-size: 16px;
    }
    
    .pricing-card {
        padding: 25px;
    }
    
    .book-sample {
        flex-direction: column;
        text-align: center;
    }
    
    .sample-pages {
        justify-content: center;
    }
    
    .phone-mockup {
        max-width: 280px;
    }
}
