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

:root {
    --primary-color: #2d5a6b;
    --primary-dark: #1e3a4a;
    --secondary-color: #5b7c88;
    --accent-color: #4a90a4;
    --text-dark: #1e293b;
    --text-light: #334155;
    --background: #ffffff;
    --background-alt: #f0f9ff;
    --background-light: #e0f2fe;
    --border-color: #cbd5e1;
    --dark-color: #1e3a4a;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 17px;
}

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

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

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

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

/* Secondary button on dark backgrounds (hero section) */
.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

/* Header */
.header {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d5a6b 0%, #1e3a4a 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1300px;
    width: 100%;
}

.book-text {
    flex: 1;
}

.hero-image {
    flex: 1.2;
    max-width: 500px;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-title {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.1;
}

.book-tagline {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-style: italic;
}

.book-questions {
    margin-bottom: 2rem;
}

.question {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.book-cover-container {
    background: linear-gradient(135deg, #2d5a6b 0%, #1e3a4a 100%);
    padding: 0;
    border-radius: 0;
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-15deg) rotateX(2deg);
    transition: var(--transition);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.book-cover-container:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(0deg);
}

.book-cover {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    transform: none;
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

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

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f0f9ff, #e0f2fe);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-author {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    background: var(--background-alt);
    padding: 8px;
}

.author-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #e0f2fe, #f0f9ff);
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

.video-description {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Podcast Preview Link Overlay */
.podcast-preview-link {
    display: block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.podcast-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 90, 107, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    z-index: 10;
}

.podcast-overlay-content {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.podcast-preview-link:hover .podcast-overlay {
    background: rgba(45, 90, 107, 0.85);
}

.podcast-preview-link:hover .podcast-overlay-content {
    transform: translateY(0);
    opacity: 1;
}

/* Message Section */
.message-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background-light) 100%);
    position: relative;
}

.message-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.message-text h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    line-height: 1.3;
}

.message-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.message-body p {
    margin-bottom: 1.5rem;
}

.message-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.message-closing {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    text-align: center;
    margin-top: 2rem !important;
    padding: 1rem;
    background: rgba(45, 90, 107, 0.1);
    border-radius: var(--border-radius);
}

.message-image {
    position: relative;
}

.message-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.message-image:hover img {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Purchase Section */
.purchase {
    padding: 80px 0;
    background-color: var(--background);
}

.purchase h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.purchase-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 500;
}

.purchase-options {
    max-width: 800px;
    margin: 0 auto;
}

.purchase-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.purchase-card h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.retailer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.retailer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
    min-height: 60px;
    background-color: transparent;
}

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

.retailer-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

/* 3-Step Process Styles */
.three-step-process {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.step-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.step-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.step-content {
    padding: 2rem;
}

.step-content p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Step 1: Retailer Grid */
.retailer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-1 .retailer-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-1 .retailer-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.step-1 .retailer-btn.selected {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

/* Step 2: Form Styles */
.cause-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 107, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Step 3: Social Share Buttons */
.social-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
}

.facebook-btn {
    background: #1877f2;
    color: white;
}

.facebook-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.twitter-btn {
    background: #1da1f2;
    color: white;
}

.twitter-btn:hover {
    background: #0d95e8;
    transform: translateY(-2px);
}

.linkedin-btn {
    background: #0a66c2;
    color: white;
}

.linkedin-btn:hover {
    background: #004182;
    transform: translateY(-2px);
}

.email-btn {
    background: #6b7280;
    color: white;
}

.email-btn:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.completion-message {
    text-align: center;
    background: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.completion-message h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.completion-message p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design for 3-Step Process */
@media (max-width: 768px) {
    .three-step-process {
        gap: 1.5rem;
    }

    .step-header {
        padding: 1rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .retailer-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-share-buttons {
        max-width: 100%;
    }

    .social-btn {
        justify-content: center;
    }
}

/* Nonprofit Modal */
.nonprofit-selection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.nonprofit-option {
    cursor: pointer;
}

.nonprofit-option input[type="radio"] {
    display: none;
}

.nonprofit-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
}

.nonprofit-option input[type="radio"]:checked + .nonprofit-card {
    border-color: var(--primary-color);
    background-color: var(--background-alt);
}

.nonprofit-card:hover {
    border-color: var(--primary-color);
}

.nonprofit-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.nonprofit-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.nonprofit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f0f9ff, #e0f2fe);
}

.testimonials h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: 400%; /* 12 testimonials × 33.333% = 400% */
    animation: scrollTestimonialsForward 60s linear infinite;
}

@keyframes scrollTestimonialsForward {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Move exactly 6 testimonials (half the track), then loop seamlessly */
    }
}

@keyframes scrollTestimonialsBackward {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%); /* Move backwards from half way to start */
    }
}

.testimonials-track.reverse {
    animation: scrollTestimonialsBackward 60s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonials-track .testimonial-card {
    flex: 0 0 calc(8.333% - 1.33rem); /* Each testimonial takes 1/12 of track width (100%/12) */
    min-width: 280px;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.testimonial-author {
    text-align: center;
}


.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-nav-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: white;
}

.testimonial-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-nav-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
}

.testimonial-play-pause-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: white;
}

.testimonial-play-pause-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background);
}

.contact h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-form {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, #2d5a6b, #1e3a4a);
    color: white;
    text-align: center;
}

.newsletter h3 {
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.newsletter-form button {
    white-space: nowrap;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

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

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

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

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .book-section {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-image {
        max-width: 350px;
        min-width: 300px;
        margin: 0 auto;
    }

    .book-cover-container {
        max-width: 350px;
        width: 100%;
        padding: 0;
    }

    .book-title {
        font-size: 3rem;
    }

    .book-tagline {
        font-size: 1.3rem;
    }

    .question {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-author {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .retailer-links {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .nonprofit-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Message Section */
    .message-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .message-text h2 {
        font-size: 1.8rem;
    }

    .message-body {
        font-size: 1rem;
    }

    .message-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Mobile Testimonials */
    .testimonials-track .testimonial-card {
        flex: 0 0 100%;
        min-width: 280px;
    }

    .testimonials-nav {
        gap: 1rem;
    }

    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* ==========================================
   PARTNERS SECTION STYLES
   ========================================== */

/* Partners Section */
.partners {
    background: var(--background-alt);
    padding: 80px 0;
    position: relative;
}

.partners .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.partners .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.partners .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Partner Card */
.partner-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.partner-card.featured-partner {
    border: 2px solid var(--accent-color);
}

.partner-card.featured-partner::before {
    content: "Founding Partner";
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-partner {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    flex-shrink: 0;
}

.partner-logo img {
    max-width: 200px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.partner-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.partner-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partner-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Coming Soon Partner Card */
.partner-card.coming-soon {
    border: 2px dashed var(--border-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.partner-placeholder {
    padding: 1rem;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.partner-card.coming-soon h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.partner-card.coming-soon p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-partner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .partner-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .partners .section-header h2 {
        font-size: 2rem;
    }

    .partner-card {
        padding: 1.5rem;
    }

    .partner-card.coming-soon {
        min-height: 150px;
    }
}

/* ==========================================
   PRODUCTS PAGE STYLES
   ========================================== */

/* Products Hero Section */
.products-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

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

.products-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.products-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.products-hero .hero-image {
    position: relative;
}

.products-hero .hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Product Card */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.02);
}

.product-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature {
    background: var(--background-light);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-pricing {
    margin-bottom: 1.5rem;
}

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

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

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.product-options {
    margin-bottom: 1.5rem;
}

.color-selector,
.size-selector,
.quantity-selector {
    margin-bottom: 1rem;
}

.color-selector label,
.size-selector label,
.quantity-selector label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.color-options {
    display: flex;
    gap: 0.5rem;
}

.color-options input[type="radio"] {
    display: none;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.color-option.black { background-color: #1a1a1a; }
.color-option.navy { background-color: #1e3a8a; }
.color-option.gray { background-color: #6b7280; }

.color-options input[type="radio"]:checked + .color-option {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.size-options {
    display: flex;
    gap: 0.5rem;
}

.size-option {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.size-options input[type="radio"] {
    display: none;
}

.size-options input[type="radio"]:checked + .size-option {
    border-color: var(--primary-color);
    background: var(--background-light);
    color: var(--primary-color);
}

.quantity-selector input {
    width: 80px;
    padding: 8px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.bundle-options {
    display: grid;
    gap: 1rem;
}

.option-group label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.option-group select {
    width: 100%;
    padding: 8px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
}

/* Product Features Section */
.product-features-section {
    background: var(--background-alt);
    padding: 60px 0;
}

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

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
}

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

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Shopping Cart */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.cart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-options {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--background-alt);
}

.cart-total .total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cart-total .total {
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-actions {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-button:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .products-hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-button {
        bottom: 80px;
    }

    .color-options,
    .size-options {
        flex-wrap: wrap;
    }
}