* {
    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: #000000;
    font-weight: 600;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Rainbow Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 600%;
    height: 600%;
    background: linear-gradient(
        45deg,
        #FF9999 0%,   /* Brighter Pastel Pink */
        #FFB366 12%,  /* Brighter Pastel Orange */
        #FFFF99 25%,  /* Brighter Pastel Yellow */
        #99FF99 37%,  /* Brighter Pastel Green */
        #99CCFF 50%,  /* Brighter Pastel Blue */
        #CC99FF 62%,  /* Brighter Pastel Purple */
        #FF99DD 75%,  /* Brighter Pastel Magenta */
        #FF9999 87%,  /* Back to Brighter Pastel Pink */
        #FFB366 100%  /* Complete the loop */
    );
    animation: rainbow-flow 8s linear infinite;
    z-index: -2;
}

@keyframes rainbow-flow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
    pointer-events: none;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #000000;
    line-height: 0.8;
    font-family: 'Arial Black', Arial, sans-serif;
    display: inline-block;
}

.title-line {
    text-shadow: 6px 6px 0px #87CEEB;
    letter-spacing: 0;
    width: 220px;
    text-align: justify;
    text-align-last: justify;
}

.tagline {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #000000;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: #000000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid #000000;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #000000;
    color: white;
    transform: translateY(-2px);
}

/* Screenshot Carousel */
.screenshot-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.screenshot-container {
    position: relative;
    width: 300px;
    height: 650px;
    overflow: hidden;
    border-radius: 25px;
    border: 3px solid #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.screenshot.active {
    opacity: 1;
}

.carousel-arrow {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.carousel-arrow:hover svg path {
    stroke: black;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #000000;
}

.dot:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.2);
}

.download-section {
    margin-top: 20px;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.app-store-button:hover {
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: transparent;
    border-radius: 20px;
    margin: 40px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 30px 15px;
    background: transparent;
    border-radius: 20px;
    border: 3px solid #000000;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: #000000;
}

.feature p {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 500;
}

/* Information Section */
.info-section {
    padding: 100px 0;
    background: transparent;
    border-radius: 20px;
    margin: 40px 20px;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-gif {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.exercise-gif {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    border: 3px solid #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-text {
    flex: 1;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #000000;
}

.info-text p {
    margin-bottom: 20px;
    font-weight: 500;
}

.welcome-text {
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 30px;
    color: #000000;
}

/* Video Player */
.video-container {
    position: relative;
    width: 100%;
    max-width: 450px; /* Set a max-width for the square size */
    margin: 0 auto;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden; /* Ensures the video stays within the rounded corners */
    border: 3px solid #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the container */
    display: block;
}

.sound-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    pointer-events: none;
    transition: opacity 0.3s;
}

.sound-indicator.hidden {
    opacity: 0;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    text-align: center;
}

.reviews-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.review {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    border: 3px solid #000000;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
    min-height: 200px;
    max-width: 280px;
}

.center-review,
.side-review {
    opacity: 1;
    transform: scale(1);
}

.review:hover {
    transform: scale(1.05);
}

.review-avatar {
    margin-bottom: 15px;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #000000;
    object-fit: cover;
}

.review-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
}

.review-content p {
    font-size: 1rem;
    font-style: italic;
    color: #000000;
    line-height: 1.4;
}


/* Bottom CTA Section */
.bottom-cta {
    padding: 100px 0;
    text-align: center;
}

.bottom-cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
    color: #000000;
}

.bottom-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #000000;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #000000;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.privacy-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    background: white;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .title-line {
        text-shadow: 4px 4px 0px #87CEEB;
        width: 140px;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
    
    .screenshot-container {
        width: 250px;
        height: 540px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        padding: 0;
        margin: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bottom-cta h2 {
        font-size: 2rem;
    }
    
    .bottom-cta p {
        font-size: 1.1rem;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .title-line {
        text-shadow: 2px 2px 0px #87CEEB;
        width: 100px;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .screenshot-container {
        width: 200px;
        height: 430px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        padding: 0;
        margin: 0;
    }
    
    .screenshot-carousel {
        gap: 10px;
    }
    
    .features {
        margin: 20px 10px;
        padding: 60px 0;
    }
    
    .info-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .info-gif {
        flex: none;
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .info-text {
        font-size: 1.1rem;
    }
    
    .welcome-text {
        font-size: 1.3rem;
    }
    
    .reviews-carousel {
        flex-direction: column;
        gap: 20px;
    }
    
    .review {
        max-width: 100%;
    }
    
    .center-review,
    .side-review {
        transform: scale(1);
        opacity: 1;
    }
    
    .feature {
        padding: 30px 15px;
    }
    
    .bottom-cta {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}