/* Download Hero */
.download-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(106, 76, 147, 0.08) 0%, transparent 100%);
}

.download-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.version-badge {
    display: inline-block;
    background: rgba(106, 76, 147, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(106, 76, 147, 0.4);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.download-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.download-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(106, 76, 147, 0.35);
    min-width: 320px;
    justify-content: center;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(106, 76, 147, 0.5);
}

.download-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn-label {
    font-size: 1.05rem;
    font-weight: 700;
}

.download-btn-sub {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 0.15rem;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem 1.75rem;
    margin-top: 1.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.trust-item strong {
    color: var(--text-light);
}

.trust-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 0.6rem;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.download-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.25rem;
}

/* Installation & Requirements Section */
.install-section {
    padding: 80px 0;
}

.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.install-steps-card,
.requirements-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.install-steps-card h2,
.requirements-card h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Numbered steps */
.install-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.install-steps > li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.step-marker {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.install-steps > li > div > strong {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.install-steps > li > div > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.install-steps > li > div > p code {
    background: rgba(106, 76, 147, 0.15);
    color: var(--primary-color);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.install-steps > li > div > p a,
.install-steps > li > div > ul a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.install-steps > li > div > p a:hover,
.install-steps > li > div > ul a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Nested sub-lists within steps */
.install-steps > li > div > ul {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.install-steps > li > div > ul li {
    display: list-item;
}

/* Requirements list */
.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(102, 102, 102, 0.2);
}

.requirements-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.req-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.requirements-list li strong {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.requirements-list li span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Release Notes */
.release-notes {
    padding: 80px 0;
    background: rgba(106, 76, 147, 0.04);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.release-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.release-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(106, 76, 147, 0.2);
}

.release-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.release-card h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.release-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Bottom CTA */
.download-bottom-cta {
    padding: 100px 0;
    text-align: center;
}

.bottom-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.bottom-cta-content h2 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.bottom-cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.bottom-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-download-sm {
    min-width: 0;
    padding: 0.85rem 1.75rem;
    gap: 0.6rem;
    font-size: 1rem;
    border-radius: 8px;
}

.btn-download-sm .download-btn-text {
    flex-direction: row;
    align-items: center;
}

/* Active nav link */
.nav-active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Subscription Paths Section */
.subscription-paths {
    padding: 80px 0;
    background: rgba(106, 76, 147, 0.04);
    border-top: 1px solid var(--border-color);
}

.subscription-paths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.subscription-path-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.subscription-path-card--enterprise {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(106, 76, 147, 0.3), 0 8px 30px rgba(106, 76, 147, 0.15);
}

.sub-path-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.subscription-path-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 0;
}

.sub-path-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sub-path-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.sub-path-steps {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    padding-left: 1.25rem;
    margin: 0;
    flex: 1;
}

.sub-path-steps li {
    margin-bottom: 0.35rem;
}

.subscription-path-card .popular-badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 0 0 10px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Mobile */
@media (max-width: 768px) {
    .download-hero {
        padding: 120px 0 60px;
    }

    .download-hero h1 {
        font-size: 2.4rem;
    }

    .btn-download {
        min-width: 0;
        width: 100%;
        max-width: 360px;
    }

    .trust-strip {
        gap: 0.6rem 1.25rem;
        padding: 0.9rem 1rem;
    }

    .trust-item {
        font-size: 0.78rem;
    }

    .subscription-paths-grid {
        grid-template-columns: 1fr;
    }

    .install-grid {
        grid-template-columns: 1fr;
    }

    .bottom-cta-content h2 {
        font-size: 1.8rem;
    }
}
