/* BookLanding Theme - Blue/Green Color Palette */

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

:root {
	 /* Teal Color Scheme */
    --primary-color: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --secondary-color: #2dd4bf;
    --accent-color: #5eead4;    

    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #f0fdfa;
    --background-dark: #ccfbf1;
    --border-color: #99f6e4;    

    --shadow-sm: 0 1px 2px 0 rgba(13, 148, 136, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(13, 148, 136, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(13, 148, 136, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(13, 148, 136, 0.1);	
   
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
}

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

/* Navigation */
.navbar {
    background-color: var(--background);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand a:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.isbn {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
}

/* Section Styles */
section {
    padding: 40px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Section */
.about-section {
    background-color: var(--background);
}

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

.feature-card {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* What's Inside Section */
.sneak-peek-section {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
}

.content-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.content-box h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.7;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.highlight-box {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-alt) 100%);
    border-left-color: var(--secondary-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.audience-card {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.audience-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.audience-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background);
}

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

.testimonial-card {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}

.stars {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Author Section */
.author-section {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
}

.author-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.author-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.author-bio h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.author-bio p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.author-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.author-links a {
    padding: 8px 16px;
    background-color: var(--background-dark);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.author-links a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Other Books Carousel */
.other-books-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.other-books-title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.other-books-title i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.books-carousel-container {
    position: relative;
    padding: 0 50px;
}

.books-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--background-alt);
}

.books-carousel::-webkit-scrollbar {
    height: 8px;
}

.books-carousel::-webkit-scrollbar-track {
    background: var(--background-alt);
    border-radius: 4px;
}

.books-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.books-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.book-card {
    min-width: 280px;
    max-width: 280px;
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.book-cover-wrapper {
	width: 100%;
    aspect-ratio: 2 / 3;  /* Modern CSS - maintains ratio */
    overflow: hidden;
    background-color: var(--background-alt);
    position: relative;
}

.book-cover {
	width: 100%;
    height: 100%;
    object-fit: cover;  /* Fills space, crops if needed */
    object-position: center;
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.book-description {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.book-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.book-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-nav:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Buy Section */
.buy-section {
    background-color: var(--background);
}

.buy-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

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

.pricing-card {
    background-color: var(--background-alt);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-alt) 100%);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.pricing-card h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    margin: 1.5rem 0;
}

.current-price {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.original-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.format-desc {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.edition-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Format Comparison */
.format-comparison {
    background-color: var(--background-alt);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border: 2px solid var(--border-color);
}

.format-comparison h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.comparison-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.comparison-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.comparison-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card ul li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--background);
    padding: 40px 0;
}

.newsletter-box {
    /*background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-alt) 100%);*/
	background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-light);
}

.newsletter-box h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.newsletter-box p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .books-carousel-container {
        padding: 0 10px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Colors */
::selection {
    background-color: var(--primary-light);
    color: white;
}