/* Download page specific styles */
.download-main {
    min-height: calc(100vh - 160px);
}

.download-hero {
    background: #f8f9fa;
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.download-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.version-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.version-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.download-options {
    padding: 4rem 0;
}

.download-options h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Auto-detect section */
.auto-detect {
    margin-bottom: 4rem;
}

.auto-download-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
}

.auto-download-card .os-icon {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.download-info p {
    margin: 0;
    color: var(--text-light);
}

/* Manual selection grid */
.manual-select {
    margin-bottom: 4rem;
}

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

.download-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.download-card.recommended {
    border-color: var(--primary-color);
    border-width: 2px;
}

.os-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.os-header .os-icon {
    font-size: 2rem;
}

.os-header h3 {
    margin: 0;
    color: var(--text-color);
}

.download-details {
    margin-bottom: 2rem;
}

.file-name {
    font-family: 'Courier New', monospace;
    background: #f5f5f5;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.compatibility {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.installation-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.installation-info strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.installation-info code {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

/* Download buttons */
.btn-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-download:hover:not(:disabled) {
    background: var(--btn-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-download:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.download-text {
    flex: 1;
    text-align: left;
}

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

/* Loading and status indicators */
.loading-indicator,
.success-message,
.error-message {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.success-message {
    color: #28a745;
}

.error-message {
    color: #dc3545;
}

/* Release notes section */
.release-notes {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: 2rem;
}

.release-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.release-highlights h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.release-highlights h4 {
    margin: 1.5rem 0 1rem 0;
    color: var(--text-color);
}

.release-highlights ul {
    list-style: none;
    padding: 0;
}

.release-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.release-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.system-requirements h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.requirements-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.req-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .download-hero h1 {
        font-size: 2rem;
    }
    
    .auto-download-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .release-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .installation-info code {
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .download-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .download-options {
        padding: 2rem 0;
    }
    
    .download-card {
        padding: 1.5rem;
    }
    
    .auto-download-card {
        padding: 1.5rem;
    }
}