/* App Hero Section */
.app-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #4a90e2 0%, #2c3e50 100%);
    color: var(--white);
}

.app-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-hero__text {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.6s ease forwards;
}

.app-hero__text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.app-hero__text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.app-hero__badges {
    display: flex;
    gap: 1rem;
}

.app-hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-hero__image .phone-frame {
    width: 320px; /* Slightly larger for hero section */
    height: 660px;
    transform: rotate(-5deg);
}

.app-hero__image .phone-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    border-radius: 50px;
    z-index: -1;
}

.app-hero__image .phone-frame::after {
    content: '';
    position: absolute;
    inset: -15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    z-index: -2;
    filter: blur(20px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

/* Download Section */
.download {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #4a90e2 0%, #2c3e50 100%);
    color: var(--white);
}

.download__badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

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

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
}

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

.screenshots__grid .phone-frame {
    width: 280px;
    height: 580px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.screenshots__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a90e2 0%, #2c3e50 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta__badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Animations */
@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .app-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-hero__badges {
        justify-content: center;
    }

    .app-hero__image {
        margin-top: 2rem;
    }

    .app-hero__image .phone-frame {
        width: 280px;
        height: 580px;
        transform: rotate(0);
    }
}

@media (max-width: 768px) {
    .app-hero__text h1 {
        font-size: 2rem;
    }

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

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

    .download__badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}