@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Inter', sans-serif;
}

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.gradient-bg {
background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.checkmark {
color: #10b981;
}

.book-image {
max-width: 450px;
transform: perspective(1000px) rotateY(-15deg);
transition: transform 0.5s ease;
}

.book-image:hover {
transform: perspective(1000px) rotateY(0deg);
}

.testimonial-slider {
position: relative;
overflow: hidden;
}

.testimonial-track {
display: flex;
transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
min-width: 100%;
padding: 0 1rem;
}

@media (min-width: 768px) {
.testimonial-slide {
    min-width: 50%;
}
}

@media (min-width: 1024px) {
.testimonial-slide {
    min-width: 33.333%;
}
}

.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: white;
width: 48px;
height: 48px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease;
z-index: 10;
}

.slider-btn:hover {
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
background: #f9fafb;
}

.slider-btn-prev {
left: 1rem;
}

.slider-btn-next {
right: 1rem;
}

.slider-dots {
display: flex;
justify-content: center;
gap: 0.5rem;
margin-top: 2rem;
}

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

.slider-dot.active {
background: #10b981;
width: 24px;
border-radius: 5px;
}

.book-cover {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.book-cover:hover {
    transform: translateY(-10px) rotateY(-5deg);
}

.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-in-out;
}

.preview-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.book-viewer {
    position: relative;
    margin: 40px auto;
    max-width: 1000px;
    width: 95%;
}

#flipbook {
    width: 800px;
    height: 600px;
    margin: 0 auto;
}

#flipbook .page {
    width: 400px;
    height: 600px;
    background: white;
    padding: 40px 30px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#flipbook .page-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

#flipbook .page-content::-webkit-scrollbar {
    width: 6px;
}

#flipbook .page-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#flipbook .page-content::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 10px;
}

#flipbook .hard {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border: 1px solid #047857;
}

#flipbook .hard .page-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    border: 2px solid #059669;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
}

.gradient-text {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.page-btn {
    background: #059669;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-btn:hover:not(:disabled) {
    background: #047857;
    transform: scale(1.05);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
    transform: rotate(90deg);
    background: #f3f4f6;
}

@media (max-width: 768px) {
    #flipbook {
        width: 100%;
        height: 500px;
    }

    #flipbook .page {
        width: 100%;
        height: 500px;
        padding: 30px 20px;
    }

    .page-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .book-viewer {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    #flipbook {
        height: 450px;
    }

    #flipbook .page {
        height: 450px;
        padding: 20px 15px;
        font-size: 14px;
    }

    #flipbook .page h1 {
        font-size: 24px !important;
    }

    #flipbook .page h2 {
        font-size: 20px !important;
    }

    #flipbook .page p, #flipbook .page li {
        font-size: 14px !important;
    }
}