* {
    box-sizing: border-box;
}

:root {
    --downloads-text: #15243a;
    --downloads-text-soft: #243751;
    --downloads-muted: #65758d;
    --downloads-line: rgba(223, 231, 242, 0.94);
    --downloads-primary: #175cd3;
    --downloads-primary-deep: #1249a8;
    --downloads-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --downloads-shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.05);
}

html {
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 24%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f4f8fd 36%, #f7faff 100%);
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--downloads-text);
    letter-spacing: 0;
    --scroll-progress: 0%;
}

body.is-scrolled .downloads-header {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

a {
    color: inherit;
    text-decoration: none;
}

.page-wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.downloads-topbar {
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    color: #d4dceb;
}

.downloads-topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.downloads-topbar-inner > a:not(.downloads-topbar-notice) {
    display: none;
}

.downloads-topbar-notice,
.downloads-topbar-notice:hover {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 700;
}

.downloads-topbar-notice::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #fde68a 0 36%, transparent 40%),
        linear-gradient(135deg, #f59e0b 0%, #facc15 100%);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
    flex: 0 0 16px;
}

.downloads-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.downloads-topbar-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.downloads-topbar-actions a.action-register {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

.downloads-topbar-actions a:hover {
    transform: translateY(-1px);
    border-color: rgba(147, 197, 253, 0.46);
    background: rgba(37, 99, 235, 0.18);
    color: #fff;
}

.downloads-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(203, 213, 225, 0.78);
    backdrop-filter: blur(18px);
}

.downloads-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: var(--scroll-progress);
    height: 2px;
    background: linear-gradient(90deg, #38bdf8 0%, #2563eb 50%, #7dd3fc 100%);
}

.downloads-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.downloads-brand {
    color: var(--downloads-text);
    font-size: 22px;
    font-weight: 900;
}

.downloads-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
    padding: 5px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.92);
}

.downloads-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 9px;
    color: #4a5b73;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.downloads-nav a.active,
.downloads-nav a:hover {
    color: var(--downloads-primary);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.downloads-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.small-btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
}

.primary-btn {
    border: 1px solid var(--downloads-primary);
    background: linear-gradient(135deg, var(--downloads-primary) 0%, var(--downloads-primary-deep) 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(23, 92, 211, 0.22);
}

.ghost-btn {
    border: 1px solid rgba(203, 213, 225, 0.92);
    background: rgba(255, 255, 255, 0.94);
    color: var(--downloads-text);
}

.ghost-light {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-1px);
}

.downloads-hero {
    padding: 34px 0 12px;
}

.downloads-hero-shell,
.quick-action-card,
.downloads-resources-section,
.download-card,
.downloads-ops-section,
.deploy-checklist-card,
.ops-summary-card,
.downloads-service-section,
.service-card,
.package-section,
.package-item,
.downloads-bottom-cta {
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
    box-shadow: var(--downloads-shadow);
}

.downloads-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 20px;
    padding: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 26%),
        linear-gradient(135deg, #0f53c7 0%, #1966da 50%, #4fb5f6 100%);
    border-color: rgba(191, 219, 254, 0.34);
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.downloads-hero-copy h1 {
    margin: 18px 0 14px;
    max-width: 720px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
}

.downloads-hero-copy p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.9;
}

.downloads-hero-actions,
.download-actions,
.bottom-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.downloads-hero-actions {
    margin-top: 24px;
}

.release-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--downloads-text);
    box-shadow: var(--downloads-shadow-soft);
}

.release-card-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.release-card-head span,
.release-card-grid span,
.ops-summary-card span,
.download-meta span,
.bottom-cta-copy span {
    color: var(--downloads-primary);
    font-size: 12px;
    font-weight: 800;
}

.release-card-head strong {
    font-size: 40px;
    line-height: 1;
}

.release-card-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.release-card-grid article {
    min-height: 104px;
    padding: 16px;
    border: 1px solid var(--downloads-line);
    border-radius: 18px;
    background: #fff;
}

.release-card-grid strong,
.ops-summary-list strong {
    display: block;
    margin-top: 10px;
    color: var(--downloads-text-soft);
    font-size: 20px;
    line-height: 1.3;
}

.downloads-main {
    padding: 18px 0 88px;
}

.downloads-actions-section,
.downloads-resources-section,
.downloads-ops-section,
.downloads-service-section,
.package-section,
.downloads-bottom-cta {
    margin-top: 22px;
    padding: 28px;
}

.quick-action-grid,
.service-grid {
    display: grid;
    gap: 16px;
}

.quick-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-action-card,
.service-card {
    padding: 24px;
}

.quick-action-card h3,
.service-card h3,
.deploy-checklist-card h3,
.ops-summary-card h3,
.download-body h3 {
    margin: 0;
    color: var(--downloads-text-soft);
}

.quick-action-card h3,
.service-card h3 {
    font-size: 20px;
    line-height: 1.35;
}

.quick-action-card p,
.service-card p,
.ops-summary-card p,
.download-body p,
.bottom-cta-copy p {
    margin: 12px 0 0;
    color: var(--downloads-muted);
    font-size: 14px;
    line-height: 1.9;
}

.quick-action-card .small-btn {
    margin-top: 20px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.section-head.compact {
    margin-bottom: 16px;
}

.section-head h2,
.bottom-cta-copy h2 {
    margin: 0;
    color: var(--downloads-text-soft);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.18;
}

.section-head p {
    margin: 10px 0 0;
    color: var(--downloads-muted);
    font-size: 15px;
    line-height: 1.85;
}

.section-head a {
    color: var(--downloads-primary);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.download-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.download-thumb {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(223, 231, 242, 0.92);
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.download-window {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    background: linear-gradient(180deg, #eff5ff 0%, #ffffff 100%);
    box-shadow: 0 20px 36px rgba(27, 71, 150, 0.12);
}

.download-window-top {
    height: 24px;
    background: linear-gradient(90deg, #1c56dd, #8ecbff);
}

.download-window-hero {
    height: 130px;
    background: linear-gradient(135deg, #63b6ff 0%, #1f5fff 100%);
}

.download-window-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.download-window-grid span {
    display: block;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #ecf3ff 100%);
}

.download-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
}

.download-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.download-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff6ff;
}

.download-meta strong {
    color: var(--downloads-primary);
    font-size: 16px;
    font-weight: 800;
}

.download-body h3 {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.35;
}

.download-points,
.download-facts,
.deploy-checklist-card ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.download-points,
.download-facts {
    padding: 14px 16px;
    border: 1px solid var(--downloads-line);
    border-radius: 14px;
    background: #f8fbff;
}

.deploy-checklist-card ul {
    margin-top: 16px;
}

.download-points li,
.download-facts li,
.deploy-checklist-card li {
    position: relative;
    padding-left: 18px;
    color: var(--downloads-muted);
    font-size: 14px;
    line-height: 1.85;
}

.download-points li::before,
.download-facts li::before,
.deploy-checklist-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
}

.download-actions {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.download-actions .small-btn {
    width: 100%;
    min-width: 0;
}

.downloads-ops-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.deploy-checklist-card,
.ops-summary-card {
    padding: 24px;
}

.deploy-checklist-card span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--downloads-primary);
    font-size: 12px;
    font-weight: 800;
}

.deploy-checklist-card h3,
.ops-summary-card h3 {
    margin-top: 16px;
    font-size: 24px;
    line-height: 1.3;
}

.ops-summary-list {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.ops-summary-list div {
    padding: 16px;
    border: 1px solid var(--downloads-line);
    border-radius: 18px;
    background: #fff;
}

.ops-summary-list em {
    display: block;
    margin-top: 8px;
    color: var(--downloads-muted);
    font-size: 13px;
    font-style: normal;
    line-height: 1.75;
}

.package-list {
    display: grid;
    gap: 14px;
}

.package-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
}

.package-item strong {
    display: block;
    color: var(--downloads-text-soft);
    font-size: 18px;
    line-height: 1.4;
}

.package-item p {
    margin: 8px 0 0;
    color: var(--downloads-muted);
    font-size: 14px;
    line-height: 1.85;
}

.empty-item {
    border-style: dashed;
}

.downloads-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bottom-cta-copy {
    max-width: 760px;
}

.downloads-footer {
    padding: 56px 0 24px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 28%),
        linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
    color: #cbd5e1;
}

.downloads-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.downloads-footer h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 17px;
}

.downloads-footer a,
.downloads-footer span,
.downloads-footer em,
.downloads-footer p {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.9;
    font-style: normal;
}

.footer-contact strong {
    display: block;
    margin: 12px 0 4px;
    color: #fff;
    font-size: 26px;
    line-height: 1.2;
}

.footer-copy {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #64748b;
    font-size: 13px;
}

.reveal,
.reveal-card,
.reveal-delay-1,
.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1180px) {
    .downloads-hero-shell,
    .download-grid,
    .downloads-ops-grid,
    .quick-action-grid,
    .service-grid,
    .downloads-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .downloads-header-inner {
        min-height: auto;
        padding: 16px 0;
        flex-wrap: wrap;
    }

    .downloads-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .release-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-wrap {
        width: min(100%, calc(100% - 24px));
    }

    .downloads-topbar-inner {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .downloads-topbar-actions {
        width: 100%;
    }

    .downloads-hero-shell,
    .downloads-actions-section,
    .downloads-resources-section,
    .downloads-ops-section,
    .downloads-service-section,
    .package-section,
    .downloads-bottom-cta,
    .quick-action-card,
    .service-card,
    .deploy-checklist-card,
    .ops-summary-card,
    .package-item {
        padding: 24px;
        border-radius: 24px;
    }

    .downloads-hero-copy h1 {
        font-size: 30px;
    }

    .section-head,
    .downloads-bottom-cta {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 640px) {
    .downloads-topbar-actions a,
    .downloads-header-actions .primary-btn,
    .downloads-header-actions .ghost-btn,
    .downloads-hero-actions .primary-btn,
    .downloads-hero-actions .ghost-btn,
    .download-actions .small-btn,
    .package-item .small-btn,
    .bottom-cta-actions a,
    .quick-action-card .small-btn {
        width: 100%;
    }

    .downloads-header-actions,
    .downloads-hero-actions,
    .download-actions,
    .bottom-cta-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .package-item {
        align-items: flex-start;
        flex-direction: column;
    }
}
