/* App Page Specific Styles */

/* Static App Header (replaces carousel) */
.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 600px;
    padding: 100px 0 80px;
    color: white;
}

.app-header h1,
.app-header .lead,
.app-header .app-store-badge {
    animation: slideInUp 0.8s ease-out;
}

.app-header .iphone-mockup-large {
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

/* App Details Section */
.app-details {
    background: white;
}

.app-details .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.app-details ul li {
    font-size: 1.1rem;
    color: #333;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-header {
        min-height: 500px;
        padding: 80px 0 60px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .app-header {
        min-height: 450px;
        padding: 70px 0 50px;
    }
    
    .app-header h1 {
        font-size: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

/* Animation keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Coming Soon Card */
.feature-card.coming-soon {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px dashed #667eea;
    position: relative;
    overflow: hidden;
}

.feature-card.coming-soon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card.coming-soon:hover::before {
    opacity: 0.1;
}

.feature-card.coming-soon h4 {
    color: #667eea;
    font-weight: 700;
}

.feature-card.coming-soon p strong {
    color: #764ba2;
}

/* iPad mockup sizing adjustments for app pages */
.app-header .ipad-mockup {
    width: 520px;
    height: 363px;
}

.app-details .ipad-mockup {
    width: 400px;
    height: 279px;
}

@media (max-width: 768px) {
    .app-header .ipad-mockup {
        width: 400px;
        height: 279px;
    }
    
    .app-details .ipad-mockup {
        width: 340px;
        height: 237px;
    }
}

@media (max-width: 576px) {
    .app-header .ipad-mockup {
        width: 340px;
        height: 237px;
    }
    
    .app-details .ipad-mockup {
        width: 300px;
        height: 209px;
    }
}

/* Adjust iPad screen positioning to fill more space */
.app-header .ipad-screen,
.app-details .ipad-screen {
    top: 5%;
    bottom: 5%;
}

@media (max-width: 768px) {
    .app-header .ipad-screen,
    .app-details .ipad-screen {
        top: 5%;
        bottom: 5%;
    }
}

@media (max-width: 576px) {
    .app-header .ipad-screen,
    .app-details .ipad-screen {
        top: 5%;
        bottom: 5%;
    }
}

/* Hide the second mockup on smaller screens to avoid duplication */
@media (max-width: 991px) {
    .app-details .iphone-mockup-large,
    .app-details .ipad-mockup {
        display: none;
    }
}
