/* Theme colors from the app */
:root {
    --cream: #F5F5DC;
    --light-cream: #F5E6D3;
    --light-tan: #E6D3C4;
    --warm-beige: #D4C4B7;
    --light-brown: #C4B5A7;
    --brown: #8B4513;
    --dark-brown: #3E2723;
    --medium-brown: #6B4423;
    --text-brown: #8B7355;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-brown);
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-cream) 20%, var(--light-tan) 50%, var(--warm-beige) 80%, var(--light-brown) 100%);
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--brown);
    font-size: 2rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--medium-brown);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-primary {
    background: var(--brown);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 69, 19, 0.4);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-brown);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-badge:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.badge-img {
    height: 50px;
    width: auto;
}

/* Google Play badges have extra padding, so make them slightly taller to match visual size */
.store-badge:nth-child(2) .badge-img {
    height: 74px;
}

.badge-img-large {
    height: 60px;
    width: auto;
}

.store-badge:nth-child(2) .badge-img-large {
    height: 88px;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.7);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(139, 69, 19, 0.2);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--medium-brown);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

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

.feature-card h3 {
    color: var(--brown);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--medium-brown);
    font-size: 1rem;
}

/* Characters Carousel */
.characters {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.3) 0%, rgba(212, 196, 183, 0.3) 100%);
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 1.5rem);
    aspect-ratio: 2/3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(139, 69, 19, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.carousel-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.4);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

.carousel-btn {
    background: var(--brown);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--dark-brown);
    transform: scale(1.1);
}

/* Download CTA */
.download-cta {
    padding: 5rem 0;
    text-align: center;
    background: rgba(139, 69, 19, 0.1);
}

.download-cta h2 {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.download-cta p {
    font-size: 1.2rem;
    color: var(--medium-brown);
    margin-bottom: 2.5rem;
}

.download-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-brown);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--warm-beige);
}

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

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

.footer-section ul li a {
    color: var(--warm-beige);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--cream);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 245, 220, 0.2);
    color: var(--warm-beige);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .carousel-item {
        flex: 0 0 100%;
    }

    .carousel-track {
        gap: 1.5rem;
    }

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

    .badge-img {
        height: 45px;
    }

    .store-badge:nth-child(2) .badge-img {
        height: 66px;
    }

    .badge-img-large {
        height: 50px;
    }

    .store-badge:nth-child(2) .badge-img-large {
        height: 74px;
    }
}

@media (max-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .carousel-track {
        gap: 2rem;
    }
}
