* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container img {
    margin: 0 auto;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .tagline {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.btn-primary:hover {
    background: lightcoral;
    border-color: white;
    color: black;
}

.btn-secondary {
    background: blue;
    color: white;
    border-color: blue;
}

.btn-secondary:hover {
    background: lightskyblue;
    border-color: white;
    color: black;
}

/* Main Content */
main {
    background: white;
    border-radius: 20px 20px 0 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.founder-info {
    text-align: center;
}

.founder-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: #f8f9fa;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.product-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #666;
}

.product-features li:last-child {
    border-bottom: none;
}

/* App Announcement Styles */
.app-announcement {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #2196F3;
    font-size: 0.95rem;
}

/* Books Section */
.books {
    padding: 6rem 0;
    background: #f8f9fa;
}

.books h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.books-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.book-image {
    flex-shrink: 0;
}

.book-info {
    flex: 1;
}

.book-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.book-info p {
    margin-bottom: 1rem;
    color: #666;
}

.book-info ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #666;
}

/* Books Grid for books.html */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.book-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.book-card:hover {
    transform: translateY(-10px);
}

.book-image {
    text-align: center;
    margin-bottom: 20px;
}

.book-image img {
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.book-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.book-series {
    color: #8B4513;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.book-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon::before {
    content: "Coming Soon";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: #2c3e50;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #e74c3c;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-item p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-item a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #e74c3c;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.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: #e74c3c;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    margin-top: 2rem;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .books-content {
        flex-direction: column;
        text-align: center;
    }

    .books-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .book-card {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Additional utility styles for books page when used standalone */
.books-page-hero {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
}

.books-page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.books-page-hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}