
.hero {
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 55%),
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.detected-os-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.download-primary-card {
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: 18px;
    padding: 1.75rem 1.9rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    text-align: left;
}

.download-primary-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.download-primary-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-lg);
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.download-button-details {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

.download-meta {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.download-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.download-meta a:hover {
    text-decoration: underline;
}

.section {
    padding: 3rem 0 3.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

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

.download-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
}

.download-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.download-os-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
}

.download-os-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.download-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.download-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

.download-size-hint {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-align: center;
}

.download-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.download-secondary-button:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .download-primary-card {
        padding: 1.4rem 1.4rem;
    }
}
