/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f0f2f5;
    color: #333;
}

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

/* Header/Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4285F4 0%, #6fa8f5 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.secure-purchase {
    font-size: 0.9em;
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-text h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.features button {
    background-color: #fff;
    color: #4285F4;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.features button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(135deg, #34A853 0%, #4CAF50 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #2c8e47 0%, #45a049 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 168, 83, 0.4);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.why-choose-us h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #333;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Our Books Section */
.our-books {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f2f5;
}

.our-books h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #333;
}

.our-books p {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #666;
}

.book-carousel {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding: 10px 0;
}

.book-item {
    flex: 0 0 auto;
    min-width: 180px;
}

.book-item img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.book-item img:hover {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.testimonials h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #333;
}

.rating {
    margin-bottom: 40px;
}

.rating .stars {
    color: #FFD700;
    font-size: 1.5em;
    margin-right: 10px;
}

.rating span {
    font-size: 1.1em;
    color: #555;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h4 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.testimonial-header p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

/* Limited Offer Section */
.limited-offer {
    background: linear-gradient(135deg, #EA4335 0%, #ff6b6b 100%);
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
}

/* Special Offer Section */
.special-offer {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f2f5;
}

.special-offer h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #333;
}

.special-offer p {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #666;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.offer-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.offer-card.premium {
    border: 3px solid #FFD700;
    transform: scale(1.05);
}

.badge {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.price-section {
    margin-bottom: 25px;
}

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

.discount {
    background: #34A853;
    color: #fff;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 10px;
}

.new-price {
    font-size: 2.5em;
    font-weight: 700;
    color: #34A853;
    display: block;
    margin: 10px 0;
}

.savings {
    color: #666;
    font-size: 0.9em;
}

.features-list, .bonus-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.features-list li, .bonus-list li {
    padding: 8px 0;
    color: #333;
}

.premium-includes {
    background: #e8f5e8;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    color: #34A853;
    margin-bottom: 15px;
}

.offer-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.basic-button {
    background: linear-gradient(135deg, #34A853 0%, #4CAF50 100%);
    color: #fff;
}

.premium-button {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    color: #fff;
}

.popular {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.faq h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #333;
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    transition: background-color 0.3s ease;
    border-left: 4px solid #4285F4;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    background: #fff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #34A853;
}

footer p {
    font-size: 1em;
    margin-bottom: 20px;
}

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

.security-badges p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.9em;
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 20px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
    }

    .hero-image {
        flex: 1;
    }

    .hero-text {
        flex: 1;
    }

    .hero-text h1 {
        font-size: 3.5em;
    }

    .features {
        justify-content: flex-start;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}




/* Testimonial Carousel Styles */
.testimonial-carousel {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 50%; /* Show 2 items at a time */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
}

.carousel-item img {
    width: 100%;
    max-width: 800px;
    height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 15px;
}

.carousel-btn-next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #4285F4;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #666;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-item img {
        height: 250px;
    }
    
    .testimonial-carousel {
        margin-top: 30px;
    }
}



/* Book Carousel Styles */
.book-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.book-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.book-carousel-item {
    min-width: 20%; /* Show 5 items at a time */
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-carousel-item img {
    width: 100%;
    height: auto;
    max-height: 220px; /* Maintain original height */
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.book-carousel-item img:hover {
    transform: scale(1.05);
}

.book-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.book-carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.book-carousel-btn-prev {
    left: 15px;
}

.book-carousel-btn-next {
    right: 15px;
}

.book-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.book-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-carousel-dot.active {
    background: #4285F4;
    transform: scale(1.2);
}

.book-carousel-dot:hover {
    background: #666;
}

/* Responsive adjustments for book carousel */
@media (max-width: 1024px) {
    .book-carousel-item {
        min-width: 25%; /* Show 4 items */
    }
}

@media (max-width: 768px) {
    .book-carousel-item {
        min-width: 33.33%; /* Show 3 items */
    }
}

@media (max-width: 480px) {
    .book-carousel-item {
        min-width: 50%; /* Show 2 items */
    }
    .book-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .book-carousel-btn-prev {
        left: 5px;
    }
    .book-carousel-btn-next {
        right: 5px;
    }
}



/* Timer Styles */
.limited-offer {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.limited-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.timer-section h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.timer-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.timer-item {
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px 15px;
    min-width: 80px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.timer-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.timer-label {
    display: block;
    font-size: 0.9em;
    margin-top: 5px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-warning {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 20px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Improved Testimonial Styles */
.testimonial-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    margin: 10px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.testimonial-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-image {
    transform: scale(1.05);
}

.testimonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(60%);
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-overlay {
    transform: translateY(0);
}

.testimonial-stars {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.testimonial-text {
    font-size: 1em;
    margin-bottom: 10px;
    line-height: 1.4;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9em;
    opacity: 0.9;
}

.rating {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: inline-block;
}

.stars {
    font-size: 1.5em;
    color: #ffd700;
    margin-right: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .timer-item {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .timer-number {
        font-size: 2em;
    }
    
    .timer-label {
        font-size: 0.8em;
    }
    
    .timer-section h3 {
        font-size: 1.4em;
    }
    
    .testimonial-image {
        height: 250px;
    }
    
    .testimonial-overlay {
        padding: 20px 15px 15px;
    }
    
    .testimonial-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .timer-item {
        min-width: 60px;
        padding: 12px 8px;
    }
    
    .timer-number {
        font-size: 1.8em;
    }
    
    .timer-section h3 {
        font-size: 1.2em;
    }
    
    .testimonial-image {
        height: 200px;
    }
}


/* Enhanced Mobile-First Optimizations */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-text h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1.1em;
    }
    
    .features {
        gap: 8px;
    }
    
    .features button {
        font-size: 0.8em;
        padding: 8px 12px;
    }
    
    .cta-button {
        font-size: 1.1em;
        padding: 15px 30px;
        width: 100%;
        max-width: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px 20px;
    }
    
    .benefit-icon {
        font-size: 2.5em;
    }
    
    .offer-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .offer-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .carousel-container {
        margin: 0 -15px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
    
    .faq-question {
        font-size: 1em;
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .hero-text h1 {
        font-size: 1.8em;
    }
    
    .hero-text p {
        font-size: 1em;
    }
    
    .features {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .features button {
        font-size: 0.75em;
        padding: 6px 10px;
    }
    
    .cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    
    .benefit-card h3 {
        font-size: 1.3em;
    }
    
    .benefit-card p {
        font-size: 0.9em;
    }
    
    .offer-card {
        padding: 20px 15px;
    }
    
    .new-price {
        font-size: 2.5em;
    }
    
    .old-price {
        font-size: 1.1em;
    }
    
    .features-list li,
    .bonus-list li {
        font-size: 0.9em;
        padding: 8px 0;
    }
    
    .offer-button {
        font-size: 1em;
        padding: 12px 20px;
    }
    
    .carousel-item {
        min-width: 100%;
    }
    
    .testimonial-overlay {
        position: static;
        background: rgba(0,0,0,0.8);
        transform: none;
        padding: 15px;
    }
    
    .testimonial-card:hover .testimonial-overlay {
        transform: none;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .testimonial-overlay {
        position: static;
        background: rgba(0,0,0,0.8);
        transform: none;
        padding: 20px;
    }
    
    .testimonial-card:hover .testimonial-overlay {
        transform: none;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
    
    .testimonial-card:hover .testimonial-image {
        transform: none;
    }
    
    .benefit-card:hover,
    .offer-card:hover {
        transform: none;
    }
}

/* Improved button accessibility for mobile */
.cta-button,
.offer-button {
    min-height: 44px;
    touch-action: manipulation;
}

/* Better spacing for mobile reading */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    
    p {
        line-height: 1.6;
        margin-bottom: 15px;
    }
}

/* Smooth scrolling for mobile */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

/* Enhanced loading performance */
.testimonial-image,
.book-carousel-item img {
    loading: lazy;
}

/* Better focus states for accessibility */
.cta-button:focus,
.offer-button:focus,
.carousel-btn:focus {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}


/* Enhanced Hero Section Styles */
.hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.4;
}

.value-proposition {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 15px 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 100px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.2);
}

.value-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.value-item span:last-child {
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
}

/* Enhanced CTA Buttons */
.primary-cta {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.1em;
    padding: 18px 35px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.secondary-cta {
    background: linear-gradient(135deg, #4285F4, #6fa8f5);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1em;
    padding: 16px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.secondary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.4);
}

.tertiary-cta {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1em;
    padding: 16px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.tertiary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
}

/* Enhanced Book Section */
.books-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.book-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 10px 10px;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-carousel-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.book-carousel-item:hover .book-title {
    opacity: 1;
}

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

.feature-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 20px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 8px;
}

.feature-highlight span:last-child {
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: none;
}

.mobile-sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    color: white;
}

.sticky-price {
    font-size: 1.1em;
    font-weight: 700;
}

.sticky-timer {
    font-size: 0.9em;
    opacity: 0.9;
}

.sticky-cta-button {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    font-weight: 700;
    font-size: 0.9em;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sticky-cta-button:hover {
    background: white;
    color: #ff6b6b;
}

/* Enhanced Mobile Optimizations */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    
    .value-proposition {
        gap: 15px;
    }
    
    .value-item {
        min-width: 90px;
        padding: 12px 10px;
    }
    
    .value-icon {
        font-size: 1.3em;
    }
    
    .value-item span:last-child {
        font-size: 0.8em;
    }
    
    .books-features {
        gap: 20px;
    }
    
    .feature-highlight {
        padding: 15px 12px;
        min-width: 100px;
    }
    
    .feature-icon {
        font-size: 1.8em;
    }
    
    .primary-cta {
        font-size: 1em;
        padding: 16px 30px;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .books-subtitle {
        font-size: 1em;
    }
    
    /* Add padding to body to account for sticky CTA */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .value-proposition {
        gap: 10px;
    }
    
    .value-item {
        min-width: 80px;
        padding: 10px 8px;
    }
    
    .sticky-cta-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .sticky-cta-button {
        width: 100%;
        max-width: 200px;
    }
    
    .books-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .feature-highlight {
        width: 100%;
        max-width: 200px;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.feature-highlight,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(2) { animation-delay: 0.1s; }
.benefit-card:nth-child(3) { animation-delay: 0.2s; }
.benefit-card:nth-child(4) { animation-delay: 0.3s; }

/* Enhanced Hover Effects */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}


/* Final Mobile Optimizations and Performance Enhancements */

/* Improved touch targets for mobile */
@media (max-width: 768px) {
    .features button {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 0.85em;
    }
    
    .carousel-btn,
    .book-carousel-btn {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .faq-question {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better spacing for mobile reading */
    .hero-text h1 {
        font-size: 2.2em;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.05em;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    /* Enhanced mobile carousel */
    .carousel-item img,
    .testimonial-image {
        height: 280px;
        object-fit: cover;
    }
    
    /* Better mobile timer */
    .countdown-timer {
        gap: 15px;
    }
    
    .timer-item {
        min-width: 70px;
        padding: 15px 12px;
    }
    
    .timer-number {
        font-size: 2.2em;
    }
    
    /* Mobile-specific animations */
    .mobile-sticky-cta.show {
        animation: slideUpBounce 0.5s ease-out;
    }
    
    @keyframes slideUpBounce {
        0% {
            transform: translateY(100%);
        }
        60% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0);
        }
    }
}

/* Ultra-small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .container {
        padding: 12px;
    }
    
    .hero-text h1 {
        font-size: 1.9em;
    }
    
    .value-proposition {
        gap: 8px;
    }
    
    .value-item {
        min-width: 75px;
        padding: 8px 6px;
    }
    
    .value-icon {
        font-size: 1.2em;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .timer-item {
        min-width: 60px;
        padding: 12px 8px;
    }
    
    .timer-number {
        font-size: 1.8em;
    }
    
    .timer-label {
        font-size: 0.75em;
    }
    
    .sticky-cta-content {
        padding: 0 10px;
    }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .testimonial-image,
    .book-carousel-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-content {
        flex-direction: row;
        gap: 30px;
    }
    
    .hero-image {
        flex: 0 0 40%;
    }
    
    .hero-text {
        flex: 1;
        text-align: left;
    }
    
    .value-proposition {
        justify-content: flex-start;
    }
    
    .features {
        justify-content: flex-start;
    }
}

/* Dark mode support (if user prefers) */
@media (prefers-color-scheme: dark) {
    .testimonial-card,
    .benefit-card,
    .feature-highlight,
    .offer-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .faq-question {
        background: #4a5568;
        color: #e2e8f0;
    }
    
    .faq-answer {
        background: #2d3748;
        color: #cbd5e0;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .mobile-sticky-cta.show {
        animation: none;
        transform: translateY(0);
    }
    
    .timer-item {
        animation: none;
    }
    
    .limited-offer::before {
        animation: none;
    }
}

/* Print styles */
@media print {
    .mobile-sticky-cta,
    .carousel-btn,
    .book-carousel-btn,
    .limited-offer {
        display: none !important;
    }
    
    .hero-section,
    .special-offer {
        break-inside: avoid;
    }
    
    .offer-card {
        border: 2px solid #333;
        margin-bottom: 20px;
    }
}

/* Focus improvements for keyboard navigation */
.cta-button:focus,
.primary-cta:focus,
.secondary-cta:focus,
.tertiary-cta:focus,
.offer-button:focus,
.sticky-cta-button:focus {
    outline: 3px solid #4285F4;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

.carousel-btn:focus,
.book-carousel-btn:focus {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}

/* Performance optimizations */
.hero-image img,
.testimonial-image,
.book-carousel-item img {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.mobile-sticky-cta {
    will-change: transform;
    backface-visibility: hidden;
}

/* Smooth scrolling with fallback */
html {
    scroll-behavior: smooth;
}

@supports not (scroll-behavior: smooth) {
    html {
        overflow-x: hidden;
    }
}

/* Loading states */
.book-carousel-item img,
.testimonial-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.book-carousel-item img[src],
.testimonial-image[src] {
    background: none;
    animation: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}



/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a202c;
        color: #e2e8f0;
    }

    .hero-section {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }

    .secure-purchase {
        background-color: rgba(255,255,255,0.1);
    }

    .features button {
        background-color: #4a5568;
        color: #e2e8f0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .features button:hover {
        background-color: #667080;
    }

    .why-choose-us,
    .testimonials,
    .faq {
        background-color: #2d3748;
    }

    .why-choose-us h2,
    .our-books h2,
    .testimonials h2,
    .special-offer h2,
    .faq h2 {
        color: #e2e8f0;
    }

    .benefit-card,
    .testimonial-card,
    .offer-card {
        background: #4a5568;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    .benefit-card h3,
    .benefit-card p,
    .testimonial-text,
    .testimonial-author,
    .rating span,
    .offer-card p,
    .features-list li,
    .bonus-list li,
    .faq-answer p {
        color: #cbd5e0;
    }

    .our-books,
    .special-offer {
        background-color: #1a202c;
    }

    .our-books p,
    .special-offer p {
        color: #cbd5e0;
    }

    .book-carousel-item img {
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .book-carousel-btn {
        background: rgba(0,0,0,0.7);
        color: #e2e8f0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    }

    .book-carousel-btn:hover {
        background: rgba(0,0,0,0.9);
    }

    .book-carousel-dot {
        background: #666;
    }

    .book-carousel-dot.active {
        background: #4285F4;
    }

    .testimonial-card:hover .testimonial-overlay {
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }

    .rating {
        background: #4a5568;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    .old-price {
        color: #a0aec0;
    }

    .premium-includes {
        background: #2f855a;
        color: #e2e8f0;
    }

    .faq-question {
        background: #4a5568;
        color: #e2e8f0;
        border-left-color: #63b3ed;
    }

    .faq-question:hover {
        background: #667080;
    }

    .faq-answer {
        background: #2d3748;
    }

    footer {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }

    .security-badges p {
        background: rgba(255,255,255,0.1);
    }

    .mobile-sticky-cta {
        background: linear-gradient(135deg, #6b46c1, #805ad5);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.4);
    }

    .sticky-cta-button {
        background: rgba(255,255,255,0.1);
        border-color: #e2e8f0;
        color: #e2e8f0;
    }

    .sticky-cta-button:hover {
        background: #e2e8f0;
        color: #6b46c1;
    }

    .feature-highlight {
        background: #4a5568;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    .feature-highlight span:last-child {
        color: #e2e8f0;
    }

    .cta-button::before {
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    }

    .ripple {
        background: rgba(255, 255, 255, 0.3);
    }
}




/* FAQ Mobile Adjustments */
@media (max-width: 768px) {
    .faq-items {
        margin: 0 auto 30px;
        padding: 0 10px; /* Add some horizontal padding */
    }

    .faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .faq-question {
        padding: 15px;
        font-size: 0.95em;
        border-left-width: 3px; /* Slightly thinner border */
    }

    .faq-answer {
        padding: 0 15px;
    }

    .faq-answer p {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .faq-item.active .faq-answer {
        padding: 15px; /* Adjust padding when active */
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 12px;
        font-size: 0.9em;
    }

    .faq-answer {
        padding: 0 12px;
    }

    .faq-answer p {
        font-size: 0.85em;
    }

    .faq-item.active .faq-answer {
        padding: 12px; 
    }
}


