:root {
    /* Optimistic Color Palette */
    --primary: #FF7B54;
    --primary-light: #FFB26B;
    --secondary: #939B62;
    --bg-main: #FFFAED;
    --bg-white: #FFFFFF;
    --text-dark: #4A4A4A;
    --text-muted: #7E7E7E;
    --accent: #FFD56F;
    --soft-blue: #A3D8F4;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.container {
    width: 100%; max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center { text-align: center; }
.w-100 { width: 100%; }

.btn {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn i { margin-right: 10px; }

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 123, 84, 0.3);
}

.btn-primary:hover {
    background-color: #f7673c;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 123, 84, 0.4);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    width: 100%; max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .nav-btn {
    background: var(--accent);
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: inline-block;
}

.nav-links .nav-btn:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 213, 111, 0.5);
    opacity: 0.9;
}

.mobile-home-btn {
    display: none !important;
}

/* Section Titles */
.section-title {
    margin-bottom: 50px;
}

.pre-title {
    display: inline-block;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: rgba(147, 155, 98, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.pre-title {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 123, 84, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.blob-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, rgba(255,213,111,0) 70%);
    opacity: 0.4;
    z-index: 0;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 30px) scale(1.1); }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    width: 100%; max-width: 550px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 123, 84, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.badge i { margin-right: 8px; color: var(--accent); }

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-content .subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Image Wrapper */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.book-mockup {
    position: relative;
    width: 340px;
    border-radius: 8px;
    box-shadow: 15px 25px 50px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.book-mockup:hover {
    transform: translateY(-15px) rotate(2deg);
}

.book-mockup img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.book-shadow {
    position: absolute;
    bottom: -20px;
    left: 5%;
    width: 90%;
    height: 30px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1;
}

/* Floating Elements */
.floating-elements i {
    position: absolute;
    color: var(--primary-light);
    font-size: 24px;
    animation: floatItem 4s ease-in-out infinite alternate;
}

.leaf-1 { top: -20px; right: 20px; animation-delay: 0s; color: var(--secondary) !important; }
.star-1 { bottom: 50px; left: -30px; animation-delay: 1s; color: var(--accent) !important; font-size: 30px !important; }
.sun-1 { top: 40%; right: -40px; animation-delay: 2s; font-size: 40px !important; }

@keyframes floatItem {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(15deg); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 250, 237, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    width: 90%;
    width: 100%; max-width: 480px;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
}

.close-btn:hover { color: var(--primary); }

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 28px;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-muted);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light);
    font-size: 18px;
}

.input-group input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: #fcfcfc;
    border: 2px solid #eee;
    border-radius: 12px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
    background: #fff;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    margin-bottom: 30px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    border-radius: 6px;
    transition: all 0.2s;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--secondary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cb-text {
    line-height: 1.4;
    display: block;
    margin-top: 2px;
}

/* Synopsis */
.synopsis {
    padding: 100px 0;
    background: var(--bg-white);
}

.synopsis-container {
    display: flex;
    align-items: center;
    gap: 70px;
}

.synopsis-image {
    flex: 1;
    position: relative;
    padding: 20px;
}

.synopsis-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 80%; height: 80%;
    background: var(--soft-blue);
    border-radius: 30px;
    z-index: 0;
    opacity: 0.3;
}

.synopsis-image img {
    width: 100%;
    width: 100%; max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    transform: translate(20px, 20px);
}

.synopsis-text {
    flex: 1.2;
}

.lead-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.synopsis-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-item i {
    font-size: 28px;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.stat-item h4 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Magic */
.magic {
    padding: 100px 0;
    background: var(--bg-main);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 45px;
    color: var(--secondary);
    margin-bottom: 25px;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
}

/* Reviews */
.reviews {
    padding: 100px 0;
    background: var(--bg-white);
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 16px;
}

/* Hero Book Slider Fade Effect */
.hero-book-slider {
    position: relative;
    width: 300px;
    height: 430px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
    background: #fff;
    border: 4px solid #fff;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.96);
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
    background: #fff;
    width: 22px;
    border-radius: 10px;
}

/* Custom Infinite Motion Slider with Side Arrows */
.custom-slider-wrapper {
    position: relative;
    width: 100%;
    width: 100%; max-width: 1140px;
    margin: 0 auto;
    padding: 0 35px;
}

.custom-slider-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
    padding: 12px 5px 25px;
}

.custom-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.custom-slider-track .card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
    box-sizing: border-box;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 992px) {
    .custom-slider-track .card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 650px) {
    .custom-slider-track .card {
        flex: 0 0 100%;
    }
}

/* Side Arrows */
.slider-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: var(--primary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(255, 123, 84, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-left {
    left: -10px;
}

.slider-arrow-right {
    right: -10px;
}

@media (max-width: 768px) {
    .custom-slider-wrapper {
        padding: 0 5px;
    }
    .slider-arrow-left {
        left: -12px;
    }
    .slider-arrow-right {
        right: -12px;
    }
}

/* Slider Dots indicator */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--primary);
}

.review-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: auto;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.reviewer strong {
    display: block;
    color: var(--text-dark);
}

.reviewer span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Purchase */
.purchase {
    padding: 100px 0 120px;
    background: var(--bg-main);
}

.pricing-table {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 40px;
    width: 320px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(255, 123, 84, 0.15);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.format-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 10px;
}

.price {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
}

.features li {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 15px;
    display: flex;
    align-items: center;
}

.features i {
    color: var(--secondary);
    margin-right: 12px;
    font-size: 18px;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-brand {
    width: 100%; max-width: 400px;
    margin: 0 auto 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-main);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Other Books */
.other-books {
    padding: 100px 0;
    background: var(--bg-main);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.book-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.book-card:hover {
    transform: translateY(-10px);
}

.book-cover {
    width: 200px;
    height: 300px;
    margin: 0 auto 25px;
    border-radius: 8px;
    box-shadow: 10px 15px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 10px;
}

.book-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Author Section */
.author-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.author-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.author-left {
    flex: 1;
    width: 100%; max-width: 350px;
}

.author-header {
    margin-bottom: 40px;
}

.author-icon {
    font-size: 30px;
    color: #40c08b;
    margin-bottom: 20px;
    transform: rotate(45deg);
}

.author-header h2 {
    font-family: var(--font-body);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.author-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.author-right {
    flex: 1.5;
    padding-top: 30px;
}

.author-right p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.author-signature {
    font-family: 'Caveat', cursive;
    font-size: 55px;
    margin: 40px 0;
    color: #000;
}

.author-social {
    display: flex;
    gap: 2px;
}

.author-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #40c08b;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.3s, background-color 0.3s;
}

.author-social a:hover {
    transform: translateY(-5px);
    background-color: #35a074;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-main);
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 40px;
}

.contact-wrapper {
    width: 100%; max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.contact-form .textarea-group {
    align-items: flex-start;
}

.contact-form .textarea-group i {
    top: 25px;
    transform: none;
}

.contact-form textarea {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: #fcfcfc;
    border: 2px solid #eee;
    border-radius: 12px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    resize: vertical;
    transition: border-color 0.3s, background 0.3s;
}

.contact-form textarea:focus {
    border-color: var(--primary);
    background: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .synopsis-container { flex-direction: column; }
    #twitter .synopsis-container { flex-direction: column-reverse; }
    .hero-container { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-actions { justify-content: center; }
    .book-mockup { margin-top: 40px; margin-bottom: 40px; max-width: 100%; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px); }
    .stats-row { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    section {
        overflow: hidden !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .reveal-left, .reveal-right, .reveal-up {
        max-width: 100% !important;
    }

    /* Navbar en Móvil */
    .navbar {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        padding: 12px 0 !important;
        box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links { display: none; }

    .mobile-home-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background-color: var(--primary);
        color: white !important;
        border-radius: 50%;
        text-decoration: none;
        font-size: 16px;
        box-shadow: 0 3px 10px rgba(255, 123, 84, 0.3);
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .mobile-home-btn:hover,
    .mobile-home-btn:active {
        background-color: #f7673c;
        transform: scale(1.05);
    }

    /* Espaciado amplio entre secciones en móvil */
    .hero {
        padding: 110px 0 90px !important;
    }

    .synopsis,
    .magic,
    .reviews,
    .purchase,
    .author-section,
    .contact-section,
    .other-books {
        padding: 85px 0 !important;
    }

    .hero-image-wrapper {
        margin-top: 35px;
        margin-bottom: 25px;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding-top: 20px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .badge {
        font-size: 11px;
        padding: 6px 12px;
        line-height: 1.4;
        white-space: normal;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }

    .hero-content h1 {
        font-size: 32px;
        text-align: center;
        width: 100%;
        word-break: break-word;
    }

    .hero-content .subtitle {
        font-size: 15px;
        text-align: center;
        width: 100%;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 2px;
    }

    .hero-actions .btn {
        width: 100%;
        width: 100%; max-width: 280px;
        text-align: center;
        justify-content: center;
    }

    .synopsis-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .synopsis-text {
        width: 100%;
        text-align: left;
    }

    .lead-text {
        font-size: 15px;
        font-weight: 500;
        line-height: 1.7;
        text-align: justify;
        color: var(--text-dark);
        margin-bottom: 20px;
    }

    .synopsis-image img {
        transform: none;
        max-width: 100%;
    }

    .synopsis-image::before {
        /* display: none; */
    }

    .book-mockup {
        width: 100%;
        width: 100%; max-width: 240px;
    }

    .leaf-1, .star-1, .sun-1 {
        display: none;
    }

    .cards-grid,
    .reviews-slider,
    .books-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .pricing-card {
        width: 100%;
        width: 100%; max-width: 320px;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .author-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        width: 100%;
    }

    .author-left {
        align-items: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .author-image {
        width: 220px;
        height: 220px;
        max-width: 100%;
    }

    .author-right p {
        text-align: justify;
    }

    .author-social {
        justify-content: center;
    }

    .contact-wrapper {
        padding: 30px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .stats-row {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .hero-content .subtitle {
        font-size: 14px;
    }
    .badge {
        font-size: 10px;
        padding: 5px 10px;
    }
}

.card h3 {
    line-height: 1.2;
}

.pricing-card .btn {
    font-size: 13px;
}
h2 {
    line-height: 1;
}

/* 3D Coverflow Book Carousel Styles */
.carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  perspective: 1100px;
  padding: 20px 0;
}

.books-carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-behavior: auto;
  padding: 30px 40px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.books-carousel::-webkit-scrollbar {
  display: none;
}

.film-card {
  flex: 0 0 310px;
  background: var(--bg-white);
  border: 1px solid #eaeaea;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
}

.film-card:hover {
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(255, 123, 84, 0.15);
}

.film-card.is-active {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 123, 84, 0.3);
  transition: all 0.3s ease;
  user-select: none;
}

.carousel-nav.prev {
  left: -10px;
}

.carousel-nav.next {
  right: -10px;
}

.carousel-nav:hover {
  background: var(--primary-dark, #e0603a);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 123, 84, 0.5);
}

.film-thumb-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f8f8f8;
}

.film-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.film-card:hover .film-img {
  transform: scale(1.06);
}

.film-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.film-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.film-details {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.film-genre {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary, #939B62);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.film-details h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.film-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .carousel-nav { display: none !important; }
  .carousel-wrapper { padding: 0; }
  .books-carousel {
    flex-direction: column;
    gap: 24px;
    overflow-x: visible;
    padding: 10px 0;
  }
  .books-carousel [aria-hidden="true"] {
    display: none !important;
  }
  .film-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
}

/* Extracted from index.html */
.synopsis-image.reveal-left::before {
            width: 70% !important;
            height: 85% !important;
            left: 0 !important;
            top: 0 !important;
            background: #e6f3fb !important;
            border-radius: 20px !important;
            opacity: 1 !important;
        }

/* Extracted from index.html */
#blog-posts-container { min-height: 450px; }
                @media (max-width: 768px) { #blog-posts-container { min-height: 1350px; } }

/* --- Autogenerated Utility Classes from Inline Styles --- */
.gen-style-4d9f93 {
    font-size: 13px; font-weight: 700; color: var(--primary);
}
.gen-style-88270f {
    font-family: var(--font-heading); font-size: 22px; font-style: italic; color: var(--text-dark); margin-bottom: 15px;
}
.gen-style-1e4d9f {
    background-color: #382110; color: #F4F1EA; padding: 10px 24px; font-size: 14px; border-radius: 30px; display: inline-flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif; text-decoration: none; box-shadow: 0 4px 10px rgba(56, 33, 16, 0.2);
}
.gen-style-ef7b7a {
    font-size: 14px; font-weight: 700; color: var(--secondary);
}
.gen-style-1551e6 {
    font-size: 24px;
}
.gen-style-c5e932 {
    font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: 1px;
}
.gen-style-06d329 {
    font-size: 18px; font-weight: 600; color: var(--primary);
}
.gen-style-087e44 {
    margin-top: 15px; padding-top: 12px; border-top: 1px solid #eee;
}
.gen-style-c6310d {
    font-size: 18px; margin: 8px 0;
}
.gen-style-7f475a {
    color: #14171a; font-size: 20px;
}
.gen-style-226c58 {
    text-align: center; width: 100%; max-width: 650px; margin: -30px auto 50px; font-size: 16px; font-weight: 500; color: var(--text-muted);
}
.gen-style-26b398 {
    position: absolute; left: -33px; top: 4px; width: 20px; height: 20px; background: var(--secondary); border-radius: 50%; border: 4px solid var(--bg-white); z-index: 2;
}
.gen-style-991514 {
    width: 100%; width: 100%; max-width: 540px; height: 450px; border: none; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); background: white; position: relative; z-index: 2; transform: translate(15px, 15px);
}
.gen-style-009cc8 {
    color: var(--primary);
}
.gen-style-203ab5 {
    display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--secondary); cursor: pointer;
}
.gen-style-4ca44a {
    position: absolute; left: -33px; top: 4px; width: 20px; height: 20px; background: var(--accent); border-radius: 50%; border: 4px solid var(--bg-white); z-index: 2;
}
.gen-style-9710c1 {
    font-size: 20px; color: #b8860b; margin-bottom: 10px;
}
.gen-style-500ae4 {
    text-align: left; background: white; transition-delay: 300ms;
}
.gen-style-5d6341 {
    font-size: 13px; font-weight: 800; color: var(--secondary); letter-spacing: 1px;
}
.gen-style-768e1f {
    font-size: 18px;
}
.gen-style-915b4b {
    font-size: 14px; font-style: italic; color: var(--text-dark); line-height: 1.7;
}
.gen-style-363088 {
    line-height: 1.2;
}
.gen-style-c5ea44 {
    font-family: var(--font-heading); font-size: 22px; margin: 5px 0 8px;
}
.gen-style-0f8ef0 {
    flex: 1; padding-left: 30px;
}
.gen-style-23ef90 {
    position: relative; width: 100%; max-width: 700px; margin: 0 auto; padding-left: 40px;
}
.gen-style-27eb57 {
    flex: 1; display: flex; justify-content: center; align-items: center; padding: 10px; position: relative;
}
.gen-style-705b4f {
    position: absolute; left: -33px; top: 4px; width: 20px; height: 20px; background: var(--primary); border-radius: 50%; border: 4px solid var(--bg-white); z-index: 2;
}
.gen-style-7bb5d2 {
    font-size: 12px; font-weight: 800; color: var(--secondary); text-transform: uppercase;
}
.gen-style-b1f263 {
    margin-bottom: 30px; display: flex; justify-content: center;
}
.gen-style-6345b5 {
    font-size: 13px; font-weight: 800; color: #b8860b; letter-spacing: 1px;
}
.gen-style-5f0678 {
    padding: 15px; border-bottom: 1px solid #e1e8ed; display: flex; align-items: center; justify-content: space-between;
}
.gen-style-1616f9 {
    position: relative; padding-left: 30px; display: none;
}
.gen-style-f003d6 {
    position: relative; margin-bottom: 45px; padding-left: 30px; display: none;
}
.gen-style-39ed9f {
    aspect-ratio: 3/4;
}
.gen-style-e7d9e1 {
    color: var(--primary); text-decoration: none; font-weight: bold; font-size: 14px;
}
.gen-style-683508 {
    text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.gen-style-7e503e {
    font-size: 16px; font-weight: 500; color: var(--text-muted); margin-bottom: 30px;
}
.gen-style-812dd3 {
    font-size: 12px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px;
}
.gen-style-267f6d {
    font-size: 14px;
}
.gen-style-383b48 {
    display: block; color: #14171a; font-size: 15px;
}
.gen-style-1c9993 {
    font-family: var(--font-heading); font-size: 38px; margin-top: 10px;
}
.gen-style-8c9891 {
    font-size: 12px; font-weight: 800; color: #b8860b; text-transform: uppercase;
}
.gen-style-7955bc {
    padding: 15px; color: #657786; text-align: center;
}
.gen-style-f39536 {
    padding: 15px; text-align: center;
}
.gen-style-6eb4b6 {
    color: var(--accent);
}
.gen-style-b7fe14 {
    background: linear-gradient(to bottom, var(--bg-main) 0%, var(--bg-white) 150px, var(--bg-white) 100%);
}
.gen-style-a6f46c {
    font-size: 13px; color: var(--text-muted);
}
.gen-style-c5e49b {
    font-size: 28px; color: var(--primary);
}
.gen-style-27dd7e {
    font-size: 18px; margin-bottom: 2px;
}
.gen-style-6d4f0f {
    font-size: 13px; font-weight: 700; color: var(--secondary);
}
.gen-style-bef8c9 {
    text-align: left; background: white;
}
.gen-style-49cdf8 {
    flex: 1;
}
.gen-style-f1cd13 {
    font-size: 13px; font-weight: 700; color: var(--accent);
}
.gen-style-20728b {
    text-align: left; background: white; transition-delay: 150ms;
}
.gen-style-f19c1d {
    font-size: 14px; margin-bottom: 15px;
}
.gen-style-a17b0d {
    display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); cursor: pointer;
}
.gen-style-6d6cca {
    font-size: 12px; font-weight: 800; color: var(--primary); text-transform: uppercase;
}
.gen-style-3b7c0f {
    font-size: 20px; color: var(--primary); margin-bottom: 10px;
}
.gen-style-7002f9 {
    margin-bottom: 20px;
}
.gen-style-4c8247 {
    position: absolute; left: 15px; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent)); border-radius: 3px;
}
.gen-style-97f775 {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-main) 150px, var(--bg-main) 100%);
}
.gen-style-a19340 {
    display: flex; align-items: center; gap: 12px; margin-bottom: 15px;
}
.gen-style-9ea6c5 {
    font-size: 13px; color: var(--text-muted); font-weight: 600;
}
.gen-style-328d66 {
    font-size: 20px; color: var(--secondary); margin-bottom: 10px;
}
.gen-style-9ebfc4 {
    width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: white; display: flex; justify-content: center; align-items: center; font-weight: bold;
}
.gen-style-228708 {
    width: 100%; width: 100%; max-width: 480px; background: white; border-radius: 12px; border: 1px solid #e1e8ed; box-shadow: 0 10px 30px rgba(0,0,0,0.1); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; text-align: left; position: relative; z-index: 2; transform: translate(15px, 15px);
}
.gen-style-95bf3c {
    text-decoration: none; color: inherit; display: block;
}
.gen-style-54aa5a {
    font-size: 28px; color: var(--accent);
}
.gen-style-0da46f {
    border-radius: 30px;
}
.gen-style-490e80 {
    position: relative; margin-bottom: 45px; padding-left: 30px;
}
.gen-style-9c8786 {
    font-size: 28px; color: var(--secondary);
}
.gen-style-e3c0fd {
    flex: 1; display: flex; justify-content: center; align-items: center; position: relative;
}
.gen-style-794e2e {
    font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px;
}
.gen-style-601bfc {
    color: var(--text-muted); font-size: 14px; line-height: 1.7;
}
.gen-style-1720c2 {
    text-align: center; margin-top: 40px; padding-left: 15px;
}
.gen-style-017379 {
    color: #657786; font-size: 14px;
}
.gen-style-f77eb5 {
    color: var(--secondary);
}
}

#post-content p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 20px;
}

.gen-style-43e46b {
    font-size: 12px; font-weight: 700; color: #b8860b; text-transform: uppercase; letter-spacing: 1px;
}

.custom-ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    gap: 2px;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transform: translate(20px, 20px);
}

@media (max-width: 768px) {
    .custom-ig-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.custom-ig-post {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f8f9fa;
}

.custom-ig-post img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: transform 0.4s ease;
}

.custom-ig-post:hover img {
    transform: scale(1.05);
}

.custom-ig-reel {
    position: absolute;
    top: 6px;
    right: 6px;
    color: #fff;
    font-size: 14px;
    z-index: 5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.custom-ig-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.custom-ig-post:hover .custom-ig-overlay {
    opacity: 1;
}

.custom-ig-stats {
    display: flex;
    gap: 24px;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.custom-ig-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-ig-stats i {
    color: white;
    font-size: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#post-content {
    color: #222222 !important; /* Darker text */
}
