/* Import main styles */
@import url('main.css');

/* App Header Styles */
.app-header {
    padding-top: 140px;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.app-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(66, 133, 244, 0.3);
}

.app-icon-large i {
    font-size: 3rem;
    color: white;
}

.app-meta .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.download-btn {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 168, 83, 0.4);
}

/* Screenshots Section */
.screenshots-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.screenshot-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Features Section */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card .feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* App Details Card */
.app-details-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-details-card h3 {
    color: var(--dark-color);
    font-weight: 700;
}

.info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    width: 20px;
    text-align: center;
}

/* Download CTA Section */
.download-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
}

.download-cta h2 {
    color: white;
}

.download-cta .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.download-cta .btn-outline-primary {
    color: white;
    border-color: white;
}

.download-cta .btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header {
        padding-top: 100px;
        text-align: center;
    }
    
    .app-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .app-icon-large i {
        font-size: 2.5rem;
    }
    
    .screenshot-item {
        margin-bottom: 2rem;
    }
    
    .app-details-card {
        padding: 2rem;
    }
    
    .download-cta .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .download-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .app-header h1 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-card .feature-icon i {
        font-size: 1.5rem;
    }
    
    .app-details-card {
        padding: 1.5rem;
    }
}

/* Animation Enhancements */
.screenshot-item {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading states */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .app-header {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        color: #e8eaed;
    }
    
    .app-header h1,
    .app-header .lead {
        color: #e8eaed;
    }
    
    .feature-card,
    .app-details-card {
        background: #2d2d2d;
        color: #e8eaed;
        border-color: #404040;
    }
    
    .info-item {
        border-color: #404040;
    }
    
    .screenshots-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
} 