/* ============================================
   Downloads Page Styles
   ============================================ */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--deep-graphite), var(--clean-slate));
    padding: 140px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    margin: 0;
}

/* Downloads Section */
.downloads-section {
    padding: 80px 0;
    background: var(--cloud-light);
}

/* Product Download Card */
.product-download-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid var(--mist-grey);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, var(--cloud-light), white);
    border-bottom: 1px solid var(--mist-grey);
}

.product-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--electric-blue), #3A8FE6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.product-info {
    flex: 1;
}

.product-info h2 {
    font-size: 1.75rem;
    color: var(--deep-graphite);
    margin-bottom: 4px;
}

.product-info .product-tagline {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

.product-version {
    text-align: right;
    flex-shrink: 0;
}

.version-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.version-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--electric-blue);
}

.product-description {
    padding: 24px 32px;
    border-bottom: 1px solid var(--mist-grey);
}

.product-description p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* Download Options */
.download-options {
    padding: 32px;
}

.download-options h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--cloud-light);
    border: 2px solid var(--mist-grey);
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
}

.download-item:hover {
    border-color: var(--electric-blue);
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.os-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.os-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
}

.download-item:hover .os-icon svg {
    color: var(--electric-blue);
}

.download-info {
    flex: 1;
}

.os-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.file-details {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.download-btn {
    padding: 10px 20px;
    background: var(--electric-blue);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.download-item:hover .download-btn {
    background: #3A8FE6;
}

/* Product Footer */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: var(--cloud-light);
    border-top: 1px solid var(--mist-grey);
}

.release-info {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.changelog-link,
.license-link {
    color: var(--electric-blue);
    font-weight: 500;
}

.changelog-link:hover,
.license-link:hover {
    text-decoration: underline;
}

.license-link {
    padding: 8px 20px;
    border: 2px solid var(--electric-blue);
    border-radius: 8px;
    transition: var(--transition);
}

.license-link:hover {
    background: var(--electric-blue);
    color: white;
    text-decoration: none;
}

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

.requirements-section h2 {
    text-align: center;
    margin-bottom: 48px;
    color: var(--deep-graphite);
}

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

.requirement-card {
    padding: 32px;
    background: var(--cloud-light);
    border-radius: 12px;
    border: 1px solid var(--mist-grey);
}

.requirement-card h3 {
    font-size: 1.25rem;
    color: var(--deep-graphite);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--electric-blue);
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.requirement-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--emerald-signal);
    font-weight: bold;
}

/* Active nav link */
.nav-links a.active {
    color: var(--electric-blue);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .product-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .product-version {
        text-align: center;
    }

    .product-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .release-info {
        flex-direction: column;
        gap: 12px;
    }

    .download-item {
        flex-direction: column;
        text-align: center;
    }

    .download-info {
        text-align: center;
    }
}
