/* How It Works Section */
.how-it-works {
    background-color: var(--background-color);
    padding: 80px 0;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.step p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.step-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

/* App Video Section */
.app-video {
    background: linear-gradient(135deg, var(--accent-color-1) 0%, var(--accent-color-3) 100%);
    color: var(--light-text);
    padding: 80px 0;
}

.app-video h2 {
    color: var(--light-text);
    text-align: center;
    margin-bottom: 50px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.video-description h3 {
    color: var(--light-text);
    font-size: 2rem;
    margin-bottom: 20px;
}

.video-description p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.video-benefits {
    list-style-type: none;
    padding-left: 0;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: left;
}

.video-benefits li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.video-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color-2);
    font-weight: bold;
}

.video-cta {
    margin-top: 30px;
}

.video-cta .download-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    background-color: var(--light-text);
    color: var(--accent-color-3);
}

.video-cta .download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Updated CTA Section Styles */
.rating-container {
    margin: 20px 0;
}

.stars {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.star {
    color: #FFD700;
    font-size: 2rem;
    margin: 0 5px;
}

.rating-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

.app-badges {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

.play-badge {
    height: 60px;
}

/* Animation Classes */
.animate {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    .steps-container, .showcase-container {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
    }
    
    .showcase-text {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .showcase-benefits li {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .phone-frame {
        width: 230px;
        height: 420px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .star {
        font-size: 1.5rem;
    }
    
    .play-badge {
        height: 50px;
    }
}
