/* Apps Page Styles */
.apps-main {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.apps-hero {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.apps-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.apps-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.app-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.app-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.app-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.app-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.app-features {
    margin-bottom: 40px;
}

.app-features ul {
    list-style: none;
    padding: 0;
}

.app-features li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.app-features i {
    color: #28a745;
    margin-right: 10px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
}

.download-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.download-btn.android {
    background: linear-gradient(135deg, #3ddc84, #00c853);
}

.download-btn.android:hover {
    background: linear-gradient(135deg, #00c853, #3ddc84);
    transform: scale(1.05);
}

.download-btn.ios {
    background: linear-gradient(135deg, #007aff, #0051d5);
}

.download-btn.ios:hover {
    background: linear-gradient(135deg, #0051d5, #007aff);
    transform: scale(1.05);
}

/* App Info Section */
.app-info {
    margin-top: 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card p {
    opacity: 0.9;
    line-height: 1.5;
}

/* Download Modal */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.close-btn {
    padding: 12px 30px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    border-color: #999;
}

.direct-download-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.direct-download-btn:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(1.05);
}

/* Beta Download Button */
.download-btn.beta {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.download-btn.beta:hover {
    background: linear-gradient(135deg, #f57c00, #e65100);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
}

/* Beta Warning */
.beta-warning {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff9800;
    font-size: 0.9rem;
}

.beta-warning i {
    font-size: 1rem;
}

/* Beta Modal */
.beta-modal,
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-icon {
    font-size: 3rem;
    color: #ff9800;
    margin-bottom: 20px;
}

.success-icon {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.beta-modal .modal-content h3 {
    color: #ff9800;
    margin-bottom: 20px;
}

.success-modal .modal-content h3 {
    color: #4caf50;
    margin-bottom: 20px;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.warning-list li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-list i {
    color: #ff9800;
    width: 20px;
}

.agreement-text {
    color: #666;
    font-style: italic;
    margin: 20px 0;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.cancel-btn {
    padding: 12px 25px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #f8f9fa;
    border-color: #999;
}

.proceed-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.proceed-btn:hover {
    background: linear-gradient(135deg, #f57c00, #e65100);
    transform: scale(1.05);
}

/* Beta Notice */
.beta-notice {
    margin: 60px 0;
}

.beta-notice .notice-content {
    background: rgba(255, 152, 0, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.beta-notice .notice-content i {
    font-size: 3rem;
    color: #ff9800;
    margin-bottom: 20px;
}

.beta-notice .notice-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ff9800;
}

.beta-notice .notice-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.beta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.beta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.beta-item i {
    color: #ff9800;
    font-size: 1.2rem;
}

.beta-item span {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .apps-main {
        padding: 100px 0 40px;
    }
    
    .apps-hero h1 {
        font-size: 2.5rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .app-card {
        padding: 30px 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .close-btn,
    .direct-download-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .apps-hero h1 {
        font-size: 2rem;
    }
    
    .app-card {
        padding: 25px 15px;
    }
    
    .download-buttons {
        gap: 10px;
    }
    
    .download-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
