* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ff8c69 0%, #ff6b9d 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background-image: url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 245, 240, 0.85) 0%, rgba(255, 232, 224, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 5rem 0;
}

.hero .container {
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #c94d3f;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c69 0%, #ff6b9d 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 105, 0.4);
}

.btn-secondary {
    background: white;
    color: #ff8c69;
    border: 2px solid #ff8c69;
}

.btn-secondary:hover {
    background: #ff8c69;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.btn-full {
    width: 100%;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-badge {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    color: #c94d3f;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: #f8f9fa;
}

.how-it-works h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e5d3f;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff8c69 0%, #ff6b9d 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #c94d3f;
}

.step-card p {
    color: #666;
    line-height: 1.8;
}

/* Example Books Section */
.example-books {
    padding: 5rem 0;
    background: #f8f9fa;
}

.example-books h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #c94d3f;
}

.example-books .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.books-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.books-slider {
    overflow: hidden;
    position: relative;
}

.books-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.book-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 0;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.book-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.book-card h4 {
    padding: 1.5rem;
    text-align: center;
    color: #333;
    font-size: 1.2rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 140, 105, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: rgba(255, 107, 157, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #ff8c69;
    transform: scale(1.2);
}

@media (max-width: 1024px) {
    .book-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .books-slider-container {
        padding: 0 40px;
    }
    
    .book-card {
        flex: 0 0 100%;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .book-card h4 {
        white-space: normal;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .books-slider-container {
        padding: 0 30px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Benefits */
.benefits {
    padding: 5rem 0;
    background: white;
}

.benefits h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e5d3f;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8e0 100%);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e5d3f;
}

.benefit-card p {
    color: #666;
    line-height: 1.8;
}

/* Pricing */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8e0 100%);
}

.pricing h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #c94d3f;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ffe8e0;
}

.pricing-header h4 {
    font-size: 1.5rem;
    color: #1e5d3f;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #2d8659;
    margin-bottom: 0.5rem;
}

.price-note {
    color: #666;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-disclaimer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Signup Section */
.signup-section {
    padding: 5rem 0;
    background: white;
}

.signup-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #c94d3f;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.waitlist-notice {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8e0 100%);
    border-left: 4px solid #ff8c69;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.waitlist-notice p {
    margin: 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-content .waitlist-notice {
    margin-top: 1rem;
}

.waitlist-info-footer {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.waitlist-count-modal {
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 245, 240, 0.5);
    border-radius: 6px;
    margin: 0;
}

.waitlist-count-modal p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.waitlist-count-modal strong {
    font-size: 1rem;
    color: #ff8c69;
}

.launch-date {
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 140, 105, 0.08);
    border-radius: 6px;
    margin: 0;
}

.launch-date p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.launch-date strong {
    color: #ff8c69;
    font-weight: 500;
}

.form-note {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.subscription-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff8c69;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

/* Trust & Credibility Section */
.trust-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.trust-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #c94d3f;
}

.trust-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-card h4 {
    color: #c94d3f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.trust-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: white;
}

.about-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #c94d3f;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2d8659;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
    overflow-y: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s;
    position: relative;
}

@media (min-width: 768px) {
    .modal-content {
        max-width: 700px;
        padding: 3rem;
        margin: 4% auto;
    }
}

@media (min-width: 1024px) {
    .modal-content {
        max-width: 900px;
        padding: 3.5rem;
        margin: 3% auto;
    }
    
    .modal-content h3 {
        font-size: 2.5rem;
    }
    
    .modal-content .section-subtitle {
        font-size: 1.2rem;
    }
}

@media (min-width: 1440px) {
    .modal-content {
        max-width: 1000px;
        padding: 4rem;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #c94d3f;
}

.modal-content .section-subtitle {
    margin-bottom: 2rem;
    text-align: center;
    color: #666;
    font-size: 1rem;
}

@media (min-width: 1024px) {
    .modal-content .waitlist-notice {
        padding: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .modal-content .waitlist-notice p {
        font-size: 1.1rem;
    }
    
    .modal-content .subscription-form {
        max-width: 100%;
    }
    
    .modal-content .form-group {
        margin-bottom: 1.75rem;
    }
    
    .modal-content .form-group input,
    .modal-content .form-group select,
    .modal-content .form-group textarea {
        padding: 1rem;
        font-size: 1.05rem;
    }
    
    .modal-content .btn-primary {
        padding: 1.2rem 2rem;
        font-size: 1.15rem;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: #333;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #ff8c69 0%, #ff6b9d 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.95;
}

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-location {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: all 0.3s;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(5px);
    font-weight: 500;
}

.footer-bottom {
    padding-top: 2rem;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-tagline-bottom {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        justify-content: center;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .books-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .book-image {
        height: 250px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .donate-info {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
    }
    
    .footer-nav {
        gap: 0.5rem;
    }
}
