* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #FCF9F0;
    --gold: #E4D05F;
    --blue: #1D4196;
    --dark-blue: #152f6e;
    --text-dark: #2c2c2c;
    --text-light: #666;
}

body {
    font-family: 'League Spartan', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(29, 65, 150, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav a.btn-primary {
    color: white !important;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(29, 65, 150, 0.1);
    border-radius: 20px;
    padding: 5px 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--blue);
}

.nav .lang-btn.active {
    background: var(--blue);
    color: white !important;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.65rem;
    white-space: nowrap;
    font-weight: 600;
}

/* Hebrew Language Support */
[dir="rtl"] {
    text-align: right;
    font-family: 'Noto Sans Hebrew', 'Arial', sans-serif !important;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: 'Heebo', 'Arial', sans-serif !important;
    text-align: right !important;
}

[dir="rtl"] p, [dir="rtl"] span, [dir="rtl"] div, [dir="rtl"] button {
    font-family: 'Noto Sans Hebrew', 'Arial', sans-serif !important;
    text-align: right;
}

[dir="rtl"] .hero-title, [dir="rtl"] .hero-subtitle, [dir="rtl"] .section-title {
    font-family: 'Heebo', 'Arial', sans-serif !important;
    text-align: right !important;
}

[dir="rtl"] .hero-description, [dir="rtl"] .author-bio, [dir="rtl"] .testimonial-card p {
    font-family: 'Noto Sans Hebrew', 'Arial', sans-serif !important;
    text-align: right !important;
}

[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .author-content {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .author-info {
    text-align: right !important;
    padding-right: 0;
    padding-left: 60px;
}

[dir="rtl"] .author-info h2,
[dir="rtl"] .author-info h3,
[dir="rtl"] .author-info p {
    text-align: right !important;
    font-family: 'Heebo', 'Arial', sans-serif !important;
}

[dir="rtl"] .author-info .author-bio {
    font-family: 'Noto Sans Hebrew', 'Arial', sans-serif !important;
    text-align: right !important;
}

/* Additional Hebrew alignment fixes */
[dir="rtl"] .hero-text {
    text-align: right !important;
}

[dir="rtl"] .cta-content-center {
    text-align: right !important;
}

[dir="rtl"] .reviews-grid {
    direction: rtl;
}

[dir="rtl"] .admin-controls {
    float: left;
}



/* RTL Author Section */

[dir="rtl"] .author-image {
    left: auto;
    right: 20px;
    bottom: 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 3px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.hamburger-line {
    width: 18px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: #0d1b4a;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--blue);
    position: relative;
}

.features .section-title {
    color: white;
}

.author .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, var(--cream) 0%, rgba(228, 208, 95, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(228, 208, 95, 0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

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

.badge {
    display: inline-block;
    background: var(--gold);
    color: var(--blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--blue);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
    white-space: nowrap;
}

/* Allow wrapping on very small screens */
@media (max-width: 480px) {
    .hero-subtitle {
        white-space: normal;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 140%;
    max-width: 700px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    margin-top: -60px;
    margin-bottom: -60px;
}

/* Removed float animation */

/* Trailer Section */
.trailer {
    padding: 100px 0;
    background: white;
    position: relative;
}

.trailer-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trailer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.trailer-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    border-radius: 20px;
    background: var(--cream);
    object-fit: cover;
}


.video-fallback {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    background: var(--cream);
    border-radius: 20px;
    border: 2px dashed #ddd;
}

/* Video controls styling */
.trailer-video::-webkit-media-controls-play-button,
.trailer-video::-webkit-media-controls-pause-button {
    background-color: var(--gold);
    border-radius: 50%;
    transform: scale(0.7);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: -10px;
    background: var(--blue);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(0deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid var(--gold);
    white-space: nowrap;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 4px 15px rgba(29, 65, 150, 0.3);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 65, 150, 0.4);
}

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

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

.btn-large {
    padding: 20px 50px;
    font-size: 1.3rem;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Social Proof */
.social-proof {
    margin-bottom: 30px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: var(--gold);
    font-size: 1.5rem;
}

.rating-text {
    color: var(--text-light);
    font-size: 1rem;
}

/* Purchase CTA Section */
.purchase-cta {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
}

.purchase-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

.purchase-main-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.language-section {
    margin-bottom: 60px;
}

.language-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.english-books {
    margin-bottom: 40px;
}

.hebrew-books .book-option-card {
    max-width: 400px;
    margin: 0 auto;
}

.book-option-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.book-option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.book-cover-container {
    position: relative;
    padding: 30px 30px 20px 30px;
    background: linear-gradient(135deg, var(--cream), #f9f6f0);
}

.book-cover {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.book-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.book-badge.popular {
    background: #ff6b35;
    color: white;
}

.book-badge.premium {
    background: linear-gradient(135deg, var(--gold), #d4a574);
    color: var(--dark-blue);
}

.book-badge.new {
    background: #28a745;
    color: white;
}

.book-badge.coming-soon {
    background: #ffa500;
    color: white;
}

.book-details {
    padding: 30px;
    text-align: center;
}

.book-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.book-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.book-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.book-price .price-strike {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.book-price .price-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.purchase-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amazon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amazon-link:hover {
    border-color: #ff9900;
    color: #ff9900;
    text-decoration: none;
}

.amazon-logo {
    height: 16px;
    width: auto;
}

.btn-purchase {
    background: linear-gradient(135deg, var(--gold), #d4a574);
    color: var(--dark-blue);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}

.btn-purchase.disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-purchase.disabled:hover {
    transform: none;
    box-shadow: none;
}

.availability-notice {
    margin-bottom: 15px;
}

.coming-soon {
    display: inline-block;
    background: #17a2b8;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 30px;
    font-family: 'Oswald', sans-serif;
}

/* Purchase FAQ Section */
.purchase-faq {
    margin-top: 30px;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--blue);
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

.faq-answer ul {
    margin: 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* Problem Section - Bento Design */
.problem {
    padding: 100px 0;
    background: white;
}

.problem-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

/* Bento Grid Layout */
.main-truth {
    grid-column: 1 / 3;
    grid-row: 1;
    background: linear-gradient(135deg, var(--blue), var(--dark-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.truth-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.excuse-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.excuse-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.excuse-card:nth-child(3) { grid-column: 4; grid-row: 1; }
.excuse-card:nth-child(4) { grid-column: 1; grid-row: 2; }
.excuse-card:nth-child(5) { grid-column: 2; grid-row: 2; }
.excuse-card:nth-child(6) { grid-column: 3; grid-row: 2; }
.excuse-card:nth-child(7) { grid-column: 4; grid-row: 2; }

.problem-icon {
    margin-bottom: 15px;
}

.problem-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.excuse-card h4 {
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.excuse-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--blue);
    color: white;
}

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

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: var(--blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Author Section */
.author {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

/* Author section styling fixes */
.author {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.author * {
    pointer-events: auto;
}

.author-image {
    opacity: 1 !important;
    visibility: visible !important;
}

.author-info {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}


.author-image {
    position: absolute;
    top: 20px;
    left: 20px;
    bottom: 0;
    width: calc(50% - 40px);
    height: calc(100% - 20px);
    background-image: url('../assets/images/stavio.png');
    background-size: cover;
    background-position: center 10%;
    background-repeat: no-repeat;
    border-radius: 15px 15px 0 0;
    z-index: 2;
    pointer-events: none;
}


.author-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.author-photo {
    display: none;
}

.author-photo img {
    width: 100%;
    height: 1200px;
    border-radius: 0;
    object-fit: cover;
    object-position: center 20%;
    border: none;
    box-shadow: none;
}

.author-info {
    text-align: left;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(252, 249, 240, 0.95) 100%);
    padding: 40px;
    border-radius: 20px;
    width: 60%;
    backdrop-filter: blur(10px);
    max-width: 750px;
    margin-left: auto;
    margin-right: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.author-name {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 10px;
}

.author-tagline {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.author-bio {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 40px;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
/* Reviews Section */
.reviews {
    padding: 100px 0 0 0;
    background: var(--cream);
    text-align: center;
}

.reviews .section-title {
    margin-bottom: 1rem;
}

.reviews-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-weight: 400;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    width: 100%;
    margin: 0 0 80px 0;
}

.review-image-container {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
    border: none;
}

.review-image-container:hover {
    transform: scale(1.05);
    z-index: 10;
}

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

.review-image-container:hover .review-image {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(228, 208, 95, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mark Manson Inspired CTA Design */
.cta-hero {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content-center {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.book-image-center {
    margin-bottom: 10px;
}

.book-image-center img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
}

.cta-title-large {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 15px 0;
    font-family: 'Oswald', sans-serif;
}

.cta-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 0 25px 0;
}

/* Centered Pricing */
.pricing-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.price-strike {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 500;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.price-save {
    background: var(--gold);
    color: var(--blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Centered Signup Form */
.signup-form-centered {
    width: 100%;
    max-width: 500px;
}

.form-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.95;
}

.centered-form {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.centered-form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 4px 25px rgba(228, 208, 95, 0.3);
}

.email-field {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 1.1rem;
    background: transparent;
    color: var(--text-dark);
    font-family: 'League Spartan', sans-serif;
}

.email-field:focus {
    outline: none;
}

.email-field::placeholder {
    color: #999;
}

.signup-btn {
    background: var(--blue);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.signup-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 65, 150, 0.4);
}

.form-disclaimer {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
    margin: 0;
}

.email-signup {
    margin: 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.signup-label {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
    text-align: center;
    font-weight: 500;
}

.email-form {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    max-width: 450px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.email-form:focus-within {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(228, 208, 95, 0.2);
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: white;
    font-family: 'League Spartan', sans-serif;
    transition: all 0.3s ease;
}

.email-form .btn {
    flex-shrink: 0;
    padding: 12px 25px;
    font-size: 1rem;
    white-space: nowrap;
}

.bento-email .email-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.bento-email .email-input {
    padding: 12px 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'League Spartan', sans-serif;
    transition: all 0.3s ease;
}

.btn-compact {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(228, 208, 95, 0.3);
}

.guarantee {
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.4;
}

/* Footer */
.footer {
    padding: 30px 0;
    background: var(--dark-blue);
    color: white;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

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

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Removed animations for cleaner experience */

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 40px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        width: 80%;
        max-width: 400px;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .cta-group {
        justify-content: center;
    }

    .edition-selector h3 {
        text-align: left;
    }

    .purchase-actions {
        text-align: center;
    }

    .book-details, .purchase-faq {
        margin-left: 20px;
        margin-right: 20px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
    
    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .author-info {
        text-align: center;
        width: 100%;
        margin: 0;
    }

    .author-info .section-title,
    .author-info h2 {
        text-align: center;
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .author-stats {
        gap: 40px;
        justify-content: center;
    }

    .author-image {
        display: none;
    }

    .author-photo {
        display: none;
    }
}

@media (max-width: 968px) {
    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 2px 20px rgba(0,0,0,0.15);
        z-index: 999;
        border-radius: 0 0 12px 12px;
        overflow: hidden;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
        font-weight: 500;
        color: var(--text-dark);
        transition: all 0.2s ease;
        position: relative;
    }

    .nav a:hover {
        background: #f8f9fa;
        color: var(--blue);
    }

    .nav a:last-of-type {
        border-bottom: none;
    }

    .language-switcher {
        display: flex !important;
        margin: 10px 20px;
        justify-content: center;
        padding: 8px 0;
        border-top: 1px solid #f0f0f0;
        gap: 15px;
    }

    .nav .btn-small {
        margin: 10px 20px 15px 20px;
        text-align: center;
        border-radius: 8px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(29, 65, 150, 0.2);
        transition: all 0.2s ease;
    }

    .nav .btn-small:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(29, 65, 150, 0.3);
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        transition: all 0.2s ease;
        border-radius: 6px;
        padding: 10px;
        z-index: 1000;
        overflow: visible;
    }

    .mobile-menu-toggle:hover {
        background: rgba(29, 65, 150, 0.1);
        transform: scale(1.05);
    }

    .mobile-menu-toggle.active {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Trailer Section Mobile */
    .trailer {
        padding: 80px 0;
    }

    .trailer-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .trailer-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .video-container {
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

    .trailer-video {
        border-radius: 15px;
    }


    .problem-bento {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .main-truth {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    
    .excuse-card:nth-child(2) { grid-column: 1; grid-row: 2; }
    .excuse-card:nth-child(3) { grid-column: 2; grid-row: 2; }
    .excuse-card:nth-child(4) { grid-column: 1; grid-row: 3; }
    .excuse-card:nth-child(5) { grid-column: 2; grid-row: 3; }
    .excuse-card:nth-child(6) { grid-column: 1; grid-row: 4; }
    .excuse-card:nth-child(7) { grid-column: 2; grid-row: 4; }
    
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .price-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .floating-badge {
        display: none;
    }

    /* Purchase Section Mobile */
    .books-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .book-option-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .purchase-main-title {
        font-size: 2rem;
    }

    .purchase-main-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 968px) {
    .cta-content-center {
        gap: 30px;
    }
    
    .book-image-center {
        margin-bottom: 10px;
    }
    
    .pricing-centered {
        margin-bottom: 40px;
    }
    
    .signup-form-centered {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .problem-bento {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-truth,
    .excuse-card:nth-child(2),
    .excuse-card:nth-child(3),
    .excuse-card:nth-child(4),
    .excuse-card:nth-child(5),
    .excuse-card:nth-child(6),
    .excuse-card:nth-child(7) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .problem-card {
        padding: 25px 20px;
    }

    /* Trailer Section Small Mobile */
    .trailer {
        padding: 60px 0;
    }

    .trailer-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }

    .trailer-content {
        padding: 0 5px;
    }

    .video-container {
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .trailer-video {
        border-radius: 12px;
    }


    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    
    .cta-content-center {
        gap: 25px;
    }
    
    .pricing-centered {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .signup-form-centered {
        max-width: 100%;
    }
    
    .centered-form {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .email-field,
    .signup-btn {
        width: 100%;
        border-radius: 15px;
    }
}

/* Amazon-style Product Page */
.product-page {
    padding: 80px 0;
    background: white;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

/* Left Column - Image Section */
.product-image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-product-image {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.product-main-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.image-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bestseller-badge, .discount-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.bestseller-badge {
    background: #ff6b35;
    color: white;
}

.discount-badge {
    background: #dc3545;
    color: white;
}

.product-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--blue);
    transform: scale(1.05);
}

/* Right Column - Product Details */
.product-details-section {
    padding: 20px 0;
}

.product-header {
    margin-bottom: 30px;
}

.product-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.2rem;
    color: #ddd;
}

.star.filled {
    color: #ffa500;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--blue);
    font-weight: 600;
}

.review-count {
    font-size: 0.95rem;
    color: var(--text-light);
}

.product-pricing {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 50px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-pricing .price-strike {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-pricing .price-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc3545;
}

.savings {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
}

.edition-selector {
    flex: 1;
}

.edition-selector h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.edition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.edition-header h3 {
    margin: 0;
}

.edition-currency-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px;
}

.currency-selector {
    flex: 0 0 auto;
    min-width: 160px;
}

.currency-selector h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.currency-dropdown {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
    font-family: inherit;
    font-weight: 500;
    height: 42px;
}

.currency-dropdown:hover {
    border-color: var(--blue);
}

.currency-dropdown:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .edition-currency-row {
        flex-direction: column;
        gap: 20px;
    }

    .currency-selector {
        min-width: auto;
        width: 100%;
    }
}


.edition-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(29, 65, 150, 0.1);
    border-radius: 20px;
    padding: 5px;
    margin-bottom: 20px;
    width: fit-content;
    height: 42px;
    box-sizing: border-box;
}

.edition-switcher .currency-dropdown {
    margin-left: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edition-switcher .currency-dropdown:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.edition-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.edition-btn:hover {
    color: var(--blue);
}

.edition-btn.active {
    background: var(--blue);
    color: white;
}

.edition-details {
    display: none;
}

.edition-details.active {
    display: block;
}

.coming-soon-notice {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 15px;
    border: 2px dashed #ddd;
}

.coming-soon-notice p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.format-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.format-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.format-option:hover {
    border-color: var(--blue);
    background: #f8f9fa;
}

.format-option.active {
    border-color: var(--blue);
    background: rgba(29, 65, 150, 0.05);
}

.format-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.format-option input {
    margin-right: 15px;
}

.format-info {
    flex: 1;
}

.format-name {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.format-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.format-price {
    font-weight: 700;
    color: var(--blue);
    font-size: 1.1rem;
}

/* Digital and Physical sub-options styling */
.digital-sub-options,
.physical-sub-options {
    margin-left: 20px;
    margin-top: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--blue);
}

.sub-option-header {
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Modal styles for EPUB contact form */
.modal-overlay {
    backdrop-filter: blur(2px);
}

.modal-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(29, 65, 150, 0.1);
}

.modal-content button[type="submit"]:hover {
    background: #1a4a96;
    transform: translateY(-1px);
}

.product-features {
    margin-bottom: 30px;
    padding-top: 30px;
}

.product-features h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.feature-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.purchase-actions {
    margin-top: 30px;
    margin-bottom: 30px;
}

.btn-add-cart, .btn-buy-now {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart {
    background: #f8f9fa;
    color: var(--text-dark);
    border: 2px solid #e9ecef;
}

.btn-add-cart:hover {
    background: #e9ecef;
    border-color: var(--blue);
}

.btn-buy-now {
    background: var(--blue);
    color: white;
}

.btn-buy-now:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.purchase-options {
    text-align: center;
    margin-top: 20px;
}

.amazon-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 10px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amazon-option:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.amazon-option .amazon-logo {
    height: 20px;
    width: auto;
}

.amazon-logo-inline {
    height: 14px;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
}

.format-amazon {
    margin-top: 8px;
    padding-top: 8px;
}

.format-amazon .amazon-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.format-amazon .amazon-link:hover {
    color: var(--blue);
}

.guarantees {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantee-icon {
    font-size: 1.2rem;
}

.guarantee-text {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.product-additional-info {
    margin-top: 60px;
    padding-top: 40px;
}

.book-specs h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-label {
    font-weight: 600;
    color: var(--text-light);
}

.spec-value {
    color: var(--text-dark);
    text-align: right;
}

/* Responsive for Product Page */
@media (max-width: 968px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-image-section {
        text-align: center;
    }

    .guarantees {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .guarantee-item {
        flex: 1;
        min-width: 150px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .btn-add-cart, .btn-buy-now {
        font-size: 1rem;
        padding: 12px;
    }

    .format-option {
        padding: 12px;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-pricing .price-main {
        font-size: 1.5rem;
    }
}

/* Hebrew RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .container {
    text-align: right;
}

[dir="rtl"] .hero-content {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .hero-text {
    text-align: right;
}

[dir="rtl"] .nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav a {
    margin-left: 30px;
    margin-right: 0;
}

[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-switcher {
    margin-right: 30px;
    margin-left: 0;
}

[dir="rtl"] .feature-item {
    text-align: right;
}

[dir="rtl"] .author-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .author-info {
    text-align: right;
    margin-right: 40px;
    margin-left: 0;
}

[dir="rtl"] .product-layout {
    flex-direction: row-reverse;
}

[dir="rtl"] .edition-currency-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .edition-switcher {
    flex-direction: row-reverse;
}

[dir="rtl"] .edition-switcher .currency-dropdown {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .edition-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .format-amazon {
    text-align: right;
}

[dir="rtl"] .format-amazon .amazon-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .cta-group {
    justify-content: flex-end;
}

[dir="rtl"] .excuse-card {
    text-align: right;
}

[dir="rtl"] .problem-bento {
    direction: rtl;
}

[dir="rtl"] .feature-list {
    text-align: right;
}

[dir="rtl"] .feature-list li {
    text-align: right;
}

/* Hebrew Typography Improvements */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: 'Heebo', 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

[dir="rtl"] body, [dir="rtl"] p, [dir="rtl"] span, [dir="rtl"] div, [dir="rtl"] li, [dir="rtl"] label {
    font-family: 'Noto Sans Hebrew', 'Heebo', system-ui, -apple-system, sans-serif !important;
    line-height: 1.7;
    font-weight: 400;
}

[dir="rtl"] .btn {
    font-family: 'Heebo', 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif !important;
    font-weight: 600;
}

[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea {
    font-family: 'Noto Sans Hebrew', 'Heebo', system-ui, -apple-system, sans-serif !important;
    text-align: right;
}

/* Specific Hebrew title styling */
[dir="rtl"] .hero-title {
    font-family: 'Heebo', 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif !important;
    font-weight: 800;
}

[dir="rtl"] .section-title {
    font-family: 'Heebo', 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif !important;
    font-weight: 700;
}

[dir="rtl"] .product-title {
    font-family: 'Heebo', 'Noto Sans Hebrew', system-ui, -apple-system, sans-serif !important;
    font-weight: 700;
}

/* Specific Hebrew Layout Fixes */
[dir="rtl"] .reviews-subtitle {
    text-align: center;
}

[dir="rtl"] .section-title {
    text-align: center;
}

[dir="rtl"] .truth-title {
    text-align: center;
}

[dir="rtl"] .testimonial-card {
    text-align: right;
}

[dir="rtl"] .purchase-actions {
    text-align: center;
}

/* Add proper spacing for Book Details and FAQ sections */
.product-additional-info {
    margin-top: 40px;
    padding: 20px 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.book-specs {
    margin-bottom: 40px;
}

.book-specs h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.specs-grid {
    display: grid;
    gap: 12px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    font-weight: 400;
    color: var(--text-light);
    text-align: right;
}

.purchase-faq {
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.purchase-faq h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e5e9;
}

/* Hebrew Layout Specific Fixes - Minimal changes only */
[dir="rtl"] .book-specs {
    text-align: right;
}

[dir="rtl"] .product-features {
    text-align: right;
}

[dir="rtl"] .purchase-faq {
    text-align: right;
}

[dir="rtl"] .faq-answer {
    text-align: right;
}

/* RTL Grid and Flexbox Fixes */
[dir="rtl"] .edition-currency-row {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .edition-selector {
    text-align: right;
}

[dir="rtl"] .currency-selector {
    text-align: right;
}

[dir="rtl"] .format-options {
    text-align: right;
}

[dir="rtl"] .format-option {
    text-align: right;
    flex-direction: row-reverse;
}

[dir="rtl"] .format-info {
    text-align: right;
    flex: 1;
    margin-right: 15px;
    margin-left: 0;
}

/* Hebrew Responsive Fixes */
@media (max-width: 768px) {
    [dir="rtl"] .edition-currency-row {
        flex-direction: column;
        align-items: flex-end;
    }

    [dir="rtl"] .currency-selector {
        width: 100%;
        text-align: right;
    }

    [dir="rtl"] .edition-selector {
        width: 100%;
        text-align: right;
    }
}

/* Address Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: var(--blue);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white !important;
}

.close-modal {
    font-size: 24px;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
}

.address-form {
    padding: 25px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 65, 150, 0.1);
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.modal-actions .btn {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 120px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }
}