:root {
    --primary-yellow: #FFB300;
    --background-yellow: #FFF8E1;
    --light-yellow: #FFF9C4;
    --dark-brown: #403b1c;
    --medium-brown: #6D5C42;
    --light-brown: #8D6E63;
    --white: #FFFFFF;
    --grey: #757575;
    --light-grey: #E0E0E0;
    --success-green: #4CAF50;
    --error-red: #F44336;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-brown);
    background-color: #FFF2C2; /* Card yellow from mobile app */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.main-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-out;
}

.logo-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.main-logo {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 6px var(--shadow-light));
    animation: pulse 2s infinite;
}

.main-title {
    font-size: 3rem;
    color: var(--dark-brown);
    text-shadow: 2px 2px 4px var(--shadow-light);
    font-weight: 800;
    letter-spacing: -1px;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-yellow);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-yellow);
}

.indicator.active {
    background: var(--primary-yellow);
    transform: scale(1.2);
}

/* Testimonials */
.testimonials-container {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 30px;
    background: transparent;
    border-radius: 15px;
}

.testimonial-wrapper {
    position: relative;
    width: 100%;
    text-align: center;
}

.testimonial {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark-brown);
    font-style: italic;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    padding: 0 20px;
}

.testimonial.active {
    opacity: 1;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
}

/* App Store Badge */
.app-store-container {
    text-align: center;
    margin: 20px 0 50px 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.app-store-badge {
    height: 60px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.app-store-badge:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Footer */
.main-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--light-grey);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--medium-brown);
    text-decoration: none;
    padding: 0 15px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}

.divider {
    color: var(--grey);
    margin: 0 5px;
}

.copyright {
    color: var(--grey);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .carousel-container {
        height: 300px;
        margin-bottom: 30px;
    }

    .testimonial {
        font-size: 1.1rem;
    }

    .main-logo {
        width: 90px;
        height: 90px;
    }

    .app-store-badge {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }

    .carousel-container {
        height: 250px;
    }

    .testimonial {
        font-size: 1rem;
        padding: 0 10px;
    }

    .testimonials-container {
        min-height: 100px;
        padding: 20px;
    }
}