.app-hero {
    padding: 140px 0 80px;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

@media (prefers-color-scheme: dark) {
    .app-hero {
        background-color: var(--primary-dark);
    }
}


.app-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-hero-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: white;
}

.app-hero-info .app-tagline {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
}

.app-download-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

/* Ensure buttons stay horizontal on desktop */
@media (min-width: 769px) {
    .app-download-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap;
    }
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    color: white;
    text-decoration: none;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.app-store-badge:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.app-store-badge i {
    font-size: 1.5rem;
    color: white;
}

.app-store-badge div {
    color: white;
}

.app-hero-visual {
    position: relative;
}

.app-mockup {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
}

.app-features-section {
    padding: 100px 0;
}

@media (max-width: 640px) {
    .app-features-section {
        padding: 80px 0;
    }
}

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

.app-feature {
    display: flex;
    gap: 20px;
}

.app-feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px 0 rgba(26, 54, 93, 0.15);
}

.app-feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.app-feature-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.app-details-section {
    padding: 100px 0;
    background-color: var(--background);
}

@media (max-width: 640px) {
    .app-details-section {
        padding: 80px 0;
    }
}

.app-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-details-content h2 {
    font-size: 2.25rem;
    margin-bottom: 32px;
    font-weight: 600;
    line-height: 1.3;
}

.app-details-list {
    list-style: none;
    margin: 30px 0;
}

.app-details-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
}

.app-details-list i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 2px;
}

.app-screenshots-section {
    padding: 100px 0;
}

.screenshots-carousel {
    margin-top: 60px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.screenshots-container {
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

.screenshot {
    flex-shrink: 0;
    width: 300px;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: var(--card);
    border: 1px solid var(--border);
}

.app-guide-section {
    padding: 100px 0;
    background-color: var(--background);
}

@media (max-width: 640px) {
    .app-guide-section {
        padding: 80px 0;
    }
}

.guide-accordion {
    max-width: 900px;
    margin: 60px auto 0;
}

.accordion-item {
    background-color: var(--card);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background-color: var(--background);
}

.accordion-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 0 30px 30px;
    max-height: 1000px;
}

.app-support-section {
    padding: 100px 0;
}

@media (max-width: 640px) {
    .app-support-section {
        padding: 80px 0;
    }
}

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

.support-card {
    background-color: var(--card);
    border-radius: var(--border-radius-lg);
    padding: 48px 36px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.support-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.support-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(26, 54, 93, 0.15);
}

.app-cta-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (prefers-color-scheme: dark) {
    .app-cta-section {
        background-color: var(--primary-dark);
    }
}

.app-cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
}

.app-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
}

@media (max-width: 768px) {
    .app-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-hero-info h1 {
        font-size: 2rem;
    }
    
    .app-hero-stats {
        justify-content: center;
    }
    
    .app-download-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .app-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .screenshots-container {
        padding: 0 10px;
    }
    
    .screenshot {
        width: 250px;
        height: 500px;
    }
}