/* Downloads Page Styles */

/* Hero Section */
.download-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.download-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.download-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.version-date {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Download Options */
.download-options {
    padding: 80px 0;
    background: #f9fafb;
}

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

.download-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.download-card.recommended {
    border-color: #3b82f6;
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.card-description {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.card-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
}

.feature-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.card-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.download-btn.primary:hover {
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.download-btn.secondary {
    background: #f1f5f9;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.download-btn.secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.card-note {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* System Requirements */
.system-requirements {
    padding: 80px 0;
    background: white;
}

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

.req-card {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.req-card:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
}

.req-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.req-icon i {
    font-size: 1.75rem;
    color: white;
}

.req-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.req-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Installation Guide */
.installation-guide {
    padding: 80px 0;
    background: #f9fafb;
}

.guide-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: transparent;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Release History */
.release-history {
    padding: 80px 0;
    background: white;
}

.releases-list {
    margin-top: 3rem;
}

.release-item {
    background: #f9fafb;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.release-item.latest {
    border: 2px solid #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(29, 78, 216, 0.05) 100%);
}

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

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

.release-version {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.release-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.release-date {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.release-notes h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

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

.release-notes li {
    padding: 0.5rem 0;
    color: #475569;
    line-height: 1.6;
}

.release-downloads {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.release-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.release-link:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background: #f9fafb;
}

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

.support-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.support-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.support-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.support-icon i {
    font-size: 2rem;
    color: white;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.support-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-link:hover {
    gap: 0.75rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .download-title {
        font-size: 2.5rem;
    }

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

    .download-cards {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .release-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .step {
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
