/* Versions Page Specific Styles */

/* Navigation */
.versions-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Versions Hero Section */
.versions-hero {
    padding: 3rem 0 2rem 0;
    color: white;
    text-align: center;
}

.versions-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.versions-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.current-version {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    min-width: 400px;
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00C851 0%, #007E33 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.version-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.download-cta {
    margin-top: 1rem;
}

/* Releases Section */
.releases-section {
    background: white;
    padding: 4rem 0;
}

.releases-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.release-card {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.release-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #007AFF;
}

.release-card.latest {
    border-color: #00C851;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}

.release-card.latest::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00C851 0%, #007E33 100%);
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.release-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.latest-badge {
    background: linear-gradient(135deg, #00C851 0%, #007E33 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.initial-badge {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.release-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.release-notes h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.8rem 0;
}

.release-notes h4:first-child {
    margin-top: 0;
}

.release-notes ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.release-notes li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.5;
}

.release-notes li::before {
    content: '•';
    color: #007AFF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.release-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.download-btn.small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn.small:hover {
    background: linear-gradient(135deg, #0056CC 0%, #003d99 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.details-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.details-btn:hover {
    border-color: #007AFF;
    color: #007AFF;
}

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

.system-requirements h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.requirement:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.requirement-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007AFF;
    flex-shrink: 0;
}

.requirement-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.requirement-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .versions-hero h1 {
        font-size: 2.2rem;
    }
    
    .current-version {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
    
    .releases-grid {
        margin: 0 1rem;
    }
    
    .release-card {
        padding: 1.5rem;
    }
    
    .release-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .release-actions {
        flex-direction: column;
    }
    
    .download-btn.small,
    .details-btn {
        justify-content: center;
        text-align: center;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .versions-hero {
        padding: 2rem 0 1rem 0;
    }
    
    .versions-hero h1 {
        font-size: 1.8rem;
    }
    
    .versions-hero p {
        font-size: 1rem;
    }
    
    .current-version {
        padding: 1.5rem;
    }
    
    .release-card {
        padding: 1rem;
    }
    
    .release-notes h4 {
        font-size: 1rem;
    }
    
    .system-requirements h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .requirement {
        padding: 1rem;
    }
    
    .versions-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .nav-links {
        width: 100%;
        justify-content: flex-end;
    }
}