/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.early-access-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
    backdrop-filter: blur(10px);
}

.language-switcher {
    display: flex;
    gap: 1rem;
}

.lang-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Main content */
.main {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

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

.book-cover {
    text-align: center;
    position: sticky;
    top: 2rem;
}

.cover-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cover-image:hover {
    transform: translateY(-5px);
}

.book-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.early-access-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background-color: #fff;
    color: #f5576c;
    border: 2px solid #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #f5576c;
    transform: translateY(-2px);
}

/* Resources Section */
.resources-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.resources-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

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

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    text-decoration: none;
    color: #2c3e50;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    flex: 1;
    min-width: 200px;
}

.resource-link:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.resource-link .icon {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .site-title {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .title-section {
        align-items: center;
    }
    
    .book-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .book-cover {
        position: static;
    }
    
    .cover-image {
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .resource-links {
        flex-direction: column;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .main {
        padding: 2rem 0;
    }
    
    .cta-section,
    .resources-section {
        padding: 1.5rem;
    }
}