.download-page {
    background:
        radial-gradient(circle at 12% 22%, rgba(67, 215, 187, .055), transparent 25%),
        var(--ink);
}

.download-hero {
    position: relative;
    min-height: 570px;
    padding: 160px 0 84px;
    overflow: hidden;
    isolation: isolate;
    background: url('../images/tru-tien-hero.webp') center 42% / cover;
}

.download-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: '';
    background:
        linear-gradient(90deg, rgba(3, 17, 19, .95), rgba(3, 17, 19, .68) 45%, rgba(3, 17, 19, .28)),
        linear-gradient(0deg, var(--ink), transparent 52%);
}

.download-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(1180px, calc(100% - 40px));
    min-height: 320px;
    margin: 0 auto;
}

.download-hero-copy {
    max-width: 670px;
}

.download-hero h1 {
    margin: 22px 0 20px;
    font-family: var(--display);
    font-size: clamp(52px, 7vw, 82px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.055em;
}

.download-hero h1 strong {
    display: block;
    margin-top: 14px;
    color: transparent;
    background: linear-gradient(100deg, #fff3cc, #dda747);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: .6em;
    font-weight: 600;
    letter-spacing: .04em;
}

.download-hero-copy > p {
    max-width: 560px;
    color: rgba(231, 242, 238, .68);
    font-size: 14px;
    line-height: 1.8;
}

.download-status {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    margin-top: 52px;
    padding: 16px 21px;
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(3, 19, 20, .44);
    backdrop-filter: blur(12px);
}

.download-status div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.download-status small {
    color: rgba(255, 255, 255, .38);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.download-status strong {
    font-size: 12px;
    font-weight: 600;
}

.download-status i {
    width: 1px;
    height: 29px;
    background: rgba(255, 255, 255, .12);
}

.download-main {
    padding-top: 90px;
    padding-bottom: 100px;
}

.client-card {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) 1.18fr;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(67, 215, 187, .18);
    background: linear-gradient(145deg, rgba(16, 53, 51, .65), rgba(5, 24, 25, .76));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.client-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    overflow: hidden;
    border-right: 1px solid var(--line);
    background:
        radial-gradient(circle, rgba(67, 215, 187, .16), transparent 45%),
        linear-gradient(145deg, #0d3231, #071d20);
}

.client-art::before {
    position: absolute;
    inset: 0;
    content: '';
    opacity: .15;
    background-image:
        linear-gradient(30deg, transparent 49.5%, rgba(255, 255, 255, .1) 50%, transparent 50.5%),
        linear-gradient(-30deg, transparent 49.5%, rgba(255, 255, 255, .08) 50%, transparent 50.5%);
    background-size: 52px 90px;
}

.client-seal {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 140px;
    height: 140px;
    color: var(--gold);
    border: 1px solid rgba(233, 185, 97, .42);
    border-radius: 50%;
    background: rgba(7, 29, 32, .86);
    box-shadow: 0 0 60px rgba(67, 215, 187, .15), inset 0 0 30px rgba(233, 185, 97, .07);
    font-family: serif;
    font-size: 54px;
}

.client-ring {
    position: absolute;
    border: 1px solid rgba(67, 215, 187, .16);
    border-radius: 50%;
}

.ring-one { width: 230px; height: 230px; }
.ring-two { width: 330px; height: 330px; border-style: dashed; animation: ringRotate 45s linear infinite; }

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.client-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(38px, 6vw, 74px);
}

.card-kicker,
.requirement-label {
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.client-content h2 {
    margin: 11px 0 13px;
    font-family: var(--display);
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 600;
}

.client-content > p {
    max-width: 560px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.client-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.client-meta div {
    padding: 17px 18px;
    border-right: 1px solid var(--line);
}

.client-meta div:first-child { padding-left: 0; }
.client-meta div:last-child { border-right: 0; }

.client-meta dt {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .34);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.client-meta dd {
    font-size: 12px;
    font-weight: 600;
}

.client-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-main-button {
    min-width: 250px;
}

.download-arrow {
    font-size: 20px;
}

.client-actions p {
    color: rgba(255, 255, 255, .4);
    font-size: 9px;
}

.client-actions p span {
    margin-right: 5px;
    color: var(--jade);
}

.download-notice {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 20px;
    padding: 20px 24px;
    border: 1px solid rgba(233, 185, 97, .16);
    background: rgba(233, 185, 97, .045);
}

.notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    color: var(--gold);
    border: 1px solid rgba(233, 185, 97, .34);
    border-radius: 50%;
    font-family: var(--display);
    font-weight: 700;
}

.download-notice strong {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
}

.download-notice p {
    color: var(--muted);
    font-size: 11px;
}

.requirements {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 85% 35%, rgba(67, 215, 187, .07), transparent 25%),
        #071a1c;
}

.requirements-inner {
    padding-top: 105px;
    padding-bottom: 110px;
}

.requirement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.requirement-card {
    position: relative;
    padding: 40px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .018);
}

.requirement-card.recommended {
    border-color: rgba(67, 215, 187, .24);
    background: linear-gradient(145deg, rgba(67, 215, 187, .07), rgba(255, 255, 255, .015));
}

.requirement-card h3 {
    margin: 7px 0 27px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 600;
}

.requirement-card dl div {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.requirement-card dt {
    color: rgba(255, 255, 255, .38);
    font-size: 10px;
}

.requirement-card dd {
    font-size: 11px;
    font-weight: 600;
    text-align: right;
}

.install {
    padding-top: 110px;
    padding-bottom: 125px;
}

.install-steps {
    list-style: none;
    border-top: 1px solid var(--line);
}

.install-steps li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    padding: 28px 20px;
    border-bottom: 1px solid var(--line);
    transition: background .25s ease, padding-left .25s ease;
}

.install-steps li:hover {
    padding-left: 30px;
    background: rgba(67, 215, 187, .035);
}

.install-number {
    color: var(--gold);
    font-family: var(--display);
    font-size: 24px;
}

.install-steps h3 {
    margin-bottom: 6px;
    font-family: var(--display);
    font-size: 21px;
    font-weight: 600;
}

.install-steps p {
    color: var(--muted);
    font-size: 12px;
}

.install-steps code {
    padding: 2px 6px;
    color: var(--jade);
    background: rgba(67, 215, 187, .08);
    font-family: monospace;
}

.download-cta {
    padding: 0 20px 110px;
}

.download-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: min(1180px, 100%);
    min-height: 260px;
    margin: 0 auto;
    padding: 50px clamp(28px, 6vw, 70px);
    overflow: hidden;
    border: 1px solid rgba(67, 215, 187, .2);
    background:
        linear-gradient(100deg, rgba(4, 30, 31, .96), rgba(5, 42, 40, .86)),
        url('../images/tru-tien-hero.webp') center / cover;
}

.download-cta-inner::after {
    position: absolute;
    right: 28%;
    width: 180px;
    height: 180px;
    content: '仙';
    color: rgba(233, 185, 97, .04);
    font-family: serif;
    font-size: 150px;
    line-height: 1;
}

.download-cta-inner > div,
.download-cta-inner > a {
    position: relative;
    z-index: 1;
}

.download-cta h2 {
    margin: 7px 0;
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
}

.download-cta p {
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 850px) {
    .client-card {
        grid-template-columns: 1fr;
    }

    .client-art {
        min-height: 340px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .requirement-card {
        padding: 30px;
    }
}

@media (max-width: 680px) {
    .download-hero {
        min-height: 620px;
        padding-top: 135px;
        background-position: 64% center;
    }

    .download-hero-inner {
        width: calc(100% - 32px);
    }

    .download-status {
        width: 100%;
        gap: 14px;
        justify-content: space-between;
    }

    .download-status i {
        height: 35px;
    }

    .client-content {
        padding: 34px 24px;
    }

    .client-meta {
        grid-template-columns: 1fr;
    }

    .client-meta div,
    .client-meta div:first-child {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .client-meta div:last-child {
        border-bottom: 0;
    }

    .client-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-main-button {
        width: 100%;
        min-width: 0;
    }

    .requirement-grid {
        grid-template-columns: 1fr;
    }

    .requirement-card dl div {
        grid-template-columns: 120px 1fr;
    }

    .install-steps li {
        grid-template-columns: 58px 1fr;
        gap: 12px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .install-steps li:hover {
        padding-left: 10px;
    }

    .download-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .download-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-status i {
        width: 100%;
        height: 1px;
    }

    .client-art {
        min-height: 280px;
    }

    .ring-two {
        width: 270px;
        height: 270px;
    }

    .requirement-card {
        padding: 25px 20px;
    }

    .requirement-card dl div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .requirement-card dd {
        text-align: left;
    }

    .download-notice {
        align-items: flex-start;
    }
}
