/* Downloads Page Styles */

/* Downloads Hero Section */
.downloads-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.downloads-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.downloads-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.downloads-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.downloads-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.auto-download-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    margin: 0 auto;
}

.detected-system {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.system-icon {
    font-size: 1.5rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-icon {
    font-size: 1.2rem;
}

.download-info {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* All Downloads Section */
.all-downloads {
    padding: 6rem 0;
    background: #f8f9fa;
}

.all-downloads-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.platform-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.platform-header {
    margin-bottom: 2rem;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    color: #667eea;
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #333;
}

.platform-desc {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.download-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.download-option:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.option-info {
    flex: 1;
}

.option-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #333;
}

.option-desc {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.btn-download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 1rem;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Installation Guide */
.installation-guide {
    padding: 6rem 0;
    background: white;
}

.installation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.guide-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.guide-steps {
    text-align: left;
    padding-left: 1rem;
    color: #666;
    line-height: 1.8;
}

.guide-steps li {
    margin-bottom: 0.5rem;
}

/* System Requirements */
.system-requirements {
    padding: 6rem 0;
    background: #f8f9fa;
}

.requirements-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.requirement-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.requirement-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-item li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.requirement-item li:last-child {
    border-bottom: none;
}

.requirement-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .downloads-title {
        font-size: 2.5rem;
    }
    
    .downloads-subtitle {
        font-size: 1rem;
    }
    
    .auto-download-section {
        padding: 1.5rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .platform-section {
        padding: 1.5rem;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .download-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-download {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    .guide-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .detected-system {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .downloads-hero {
        padding: 100px 0 60px;
    }
    
    .downloads-title {
        font-size: 2rem;
    }
    
    .auto-download-section {
        padding: 1rem;
    }
    
    .platform-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
    }
}

/* Active navigation link */
.nav-link.active {
    color: #667eea;
    font-weight: 600;
}