:root {
    font-family: PingFang SC, Microsoft YaHei, Arial, sans-serif;
    color: #fff;
    background: #141414;
    font-synthesis: none;
    scroll-behavior: smooth
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-width: 320px
}

button, a {
    font: inherit
}

button {
    cursor: pointer
}

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

img {
    display: block;
    max-width: 100%
}

.container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto
}

.gradient-text {
    background: linear-gradient(100deg, #ffc375 0%, #d73aff 53%, #4959ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 72px;
    background: rgba(20, 20, 20, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px)
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none
}

.brand img {
    object-fit: contain
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    white-space: nowrap
}

.site-nav a {
    font-size: 14px;
    color: #d2d2d8;
    transition: color .2s
}

.site-nav a:hover, .site-nav a:focus-visible {
    color: #fff
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    padding: 8px
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0
}

.hero {
    min-height: calc(100vh - 72px);
    position: relative;
    overflow: hidden
}

.section-dark {
    background: #141414
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: url('https://tianmaxingkong-subtitle.oss-cn-hangzhou.aliyuncs.com/html/assets/hero/01250.svg') center top/cover no-repeat;
    opacity: .72;
    pointer-events: none
}

.hero-grid {
    min-height: 900px;
    display: grid;
    grid-template-columns:500px minmax(0, 1fr);
    align-items: center;
    gap: 52px;
    position: relative
}

.hero-copy {
    position: relative;
    z-index: 1
}

.hero-copy h1 {
    font-size: 80px;
    line-height: 1.27;
    letter-spacing: -2px;
    margin: 0 0 32px;
    font-weight: 600
}

.hero-copy p {
    max-width: 500px;
    color: #b5b5bb;
    font-size: 16px;
    line-height: 2;
    margin: 0 0 24px
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px
}

.button {
    min-height: 48px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform .2s, box-shadow .2s, background .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button:focus-visible, .tab:focus-visible, a:focus-visible, button:focus-visible {
    outline: 2px solid #9f89ff;
    outline-offset: 3px
}

.button-primary {
    color: #fff;
    background: linear-gradient(100deg, #f7aa63, #d362ca 55%, #6867e6);
    box-shadow: 0 10px 32px rgba(164, 81, 226, .25);
    border: 1px transparent;
}

.button-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff
}

.button-outline:hover {
    background: rgba(255, 255, 255, .08)
}

.hero-tags {
    display: flex;
    gap: 34px;
    margin-top: 24px;
    color: #b9b9c0;
    font-size: 14px
}

.hero-tags span::before {
    content: '•';
    color: #f2a6b6;
    margin-right: 10px
}

.hero-art {
    width: 100%;
    overflow: visible
}

.hero-art img {
    width: min(100%, 830px);
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 28px 54px rgba(0, 0, 0, .26));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.2));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.2));

    /* 确保渐变大小和重复方式正确 */
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

.section {
    padding: 120px 0 136px;
    scroll-margin-top: 72px
}

.section-muted {
    background: linear-gradient(180deg, #1b1a1e, #17171a)
}

.section-heading {
    text-align: center;
    margin: 0 auto 64px
}

.section-heading h2 {
    font-size: 64px;
    line-height: 1.38;
    letter-spacing: -1.5px;
    font-weight: 600;
    margin: 0 0 18px
}

.section-heading p {
    color: #aaaab2;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 900px
}

.tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: -8px auto 40px
}

.tab {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .045);
    border-radius: 40px;
    color: #c9c9cf;
    padding: 9px 26px;
    min-height: 40px
}

.tab.is-active {
    background: linear-gradient(100deg, #eda568, #ca5abb, #6464d3);
    color: #fff;
    border: 1px transparent;
}

.work-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
    min-height: 560px
}

.work-card {
    margin: 0
}

.work-card-media {
    position: relative;
    aspect-ratio: 411/231;
    overflow: hidden;
    border-radius: 16px;
    background: #2b2930
}

.work-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.work-card:hover img {
    transform: scale(1.04)
}

.work-card button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-align: left
}

.work-card button:disabled {
    cursor: default
}

.work-card button:disabled img {
    transform: none
}

.work-card figcaption {
    font-size: 16px;
    font-weight: 500;
    margin-top: 14px
}

.work-card .play-overlay {
    position: absolute;
    inset: auto 0 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .72))
}

.play-overlay img {
    width: 38px;
    height: 38px;
    object-fit: contain
}

.work-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, .62);
    border-radius: 8px;
    font-size: 12px
}

.feature-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 24px
}

.feature-card {
    min-height: 294px;
    padding: 40px;
    background: #242329;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px
}

.feature-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px
}

.feature-card p {
    margin: 0;
    color: #aba9b0;
    line-height: 1.6
}

.feedback-gallery {
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center
}

.feedback-gallery button {
    background: none;
    border: 0;
    padding: 0;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .35);
    transition: transform .2s
}

.feedback-gallery button:first-child {
    transform: translateX(70px) scale(.84)
}

.feedback-gallery button:nth-child(2) {
    position: relative;
    z-index: 2;
    transform: scale(1)
}

.feedback-gallery button:last-child {
    transform: translateX(-70px) scale(.84)
}

.feedback-gallery button:hover {
    z-index: 3;
    transform: translateX(0) scale(1.04)
}

.feedback-gallery img {
    height: 550px;
    width: auto;
    max-width: 400px;
    object-fit: cover;
    border-radius: 18px
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 110px 0 0;
    text-align: center
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, #ffc375, #d73aff, #4959ff)
}

.process-grid li {
    position: relative
}

.process-grid li::after {
    content: '';
    display: block;
    position: absolute;
    top: 47px;
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c678da;
    border: 3px solid #222
}

.process-grid li > span {
    display: block;
    color: #d0b7dd;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 78px
}

.process-grid h3, .service-steps strong {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px
}

.process-grid p, .service-steps span {
    color: #aaaab2;
    line-height: 1.6;
    font-size: 14px;
    margin: 0
}

#courses {
    background: #1d1d1d
}

#courses .section-heading h2 {
    font-size: clamp(36px, 4vw, 56px);
    letter-spacing: 0
}

#courses .section-heading .gradient-text {
    background: none;
    color: #fff
}

.course-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: -28px 0 60px
}

.course-badges span {
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #222;
    font-size: 14px;
    color: #8e9aff
}

.course-grid {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch
}

.course-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #242424;
    border-radius: 14px
}

.course-card h3 {
    display: flex;
    align-items: center;
    min-height: 66px;
    padding: 16px 18px;
    margin: 0;
    background: #4e62f6;
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600
}

.course-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 16px 18px
}

.course-price {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.2
}

.course-price.custom-price {
    font-size: 26px
}

.course-summary {
    font-size: 13px;
    color: #e1e1e5;
    line-height: 1.6;
    margin: 0 0 12px;
    overflow-wrap: anywhere
}

.course-points {
    color: #aeb7ff;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 18px;
    overflow-wrap: anywhere
}

.course-card h4 {
    font-size: 14px;
    margin: 0 0 12px;
    color: #fff
}

.course-benefits {
    list-style: none;
    counter-reset: course-benefit;
    padding: 0;
    margin: 0 0 24px;
    color: #c9c9ce;
    font-size: 12px;
    line-height: 1.6
}

.course-benefits li {
    position: relative;
    padding-left: 4.5em;
    margin-bottom: 8px;
    overflow-wrap: anywhere
}

.course-benefits li::before {
    counter-increment: course-benefit;
    content: '（' counter(course-benefit) '）';
    position: absolute;
    left: 0;
    color: #8291ff
}

.course-benefits-plain li {
    padding-left: 1.3em
}

.course-benefits-plain li::before {
    content: '✓';
    color: #8291ff
}

.course-card .button {
    margin-top: auto;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
    border: 1px solid #8a66df;
    background: transparent;
    box-shadow: none
}

.course-card:last-child .button {
    border: 0;
    background: linear-gradient(100deg, #ffc375, #d73aff 53%, #4959ff)
}

.subheading {
    text-align: center;
    font-size: 28px;
    margin: 80px 0 42px
}

.service-steps {
    list-style: none;
    counter-reset: service-step;
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 16px;
    padding: 0;
    margin: 0
}

.service-steps li {
    text-align: center;
    background: #242329;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    min-height: 160px;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px
}

.service-steps li::before {
    counter-increment: service-step;
    content: counter(service-step, decimal-leading-zero);
    font-size: 30px;
    font-weight: 600;
    color: #b776dc
}

.service-steps strong {
    margin: 0
}

.advantages {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px
}

.advantages article {
    text-align: center;
    background: #242329;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 32px 20px;
    min-height: 180px
}

.advantages h4 {
    font-size: 18px;
    margin: 0 0 14px
}

.advantages p {
    font-size: 14px;
    line-height: 1.7;
    color: #aaaab2;
    margin: 0
}

.service-action {
    text-align: center;
    margin-top: 50px
}

.site-footer {
    background: #111114;
    padding: 60px 0 26px;
    scroll-margin-top: 72px
}

.footer-grid {
    display: grid;
    grid-template-columns:2fr 1fr 1fr 1.2fr;
    gap: 40px
}

.footer-grid > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px
}

.footer-grid p {
    font-size: 14px;
    color: #9999a2;
    line-height: 1.8;
    margin: 16px 0 0
}

.footer-grid h3 {
    font-size: 16px;
    margin: 4px 0 8px
}

.footer-grid a:not(.brand), .footer-grid span, .footer-grid button {
    color: #9999a2;
    font-size: 14px
}

.footer-grid button {
    padding: 0;
    background: none;
    border: 0
}

.footer-grid a:hover, .footer-grid button:hover {
    color: #fff
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 46px;
    padding-top: 24px;
    color: #777781;
    font-size: 13px
}

dialog {
    border: 1px solid rgba(255, 255, 255, .18);
    background: #24232a;
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
    max-width: calc(100% - 32px)
}

dialog::backdrop {
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(4px)
}

.modal {
    width: 580px;
    text-align: center;
    padding: 38px 32px
}

.modal h2 {
    font-size: 28px;
    margin: 0 0 12px
}

.modal > p {
    color: #c6c5ce
}

.modal > a {
    color: #df9dda
}

.download-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    text-align: left
}

.download-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 226px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
    transition: border-color .2s, background .2s, box-shadow .2s, transform .2s
}

.download-option:hover, .download-option:focus-visible {
    border-color: #d362ca;
    background: linear-gradient(150deg, rgba(211, 98, 202, .18), rgba(255, 255, 255, .04));
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
    transform: translateY(-3px)
}

.download-option:focus-visible {
    outline: 2px solid #df9dda;
    outline-offset: 3px
}

.download-option-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 17px;
    border-radius: 16px
}

.download-option-icon svg {
    width: 34px;
    height: 34px
}

.download-option--macos .download-option-icon {
    color: #fff;
    background: linear-gradient(135deg, #777582, #3b3943)
}

.download-option--windows .download-option-icon {
    color: #fff;
    background: linear-gradient(135deg, #50b9f6, #1675c4)
}

.download-option strong {
    font-size: 20px;
    line-height: 1.3
}

.download-option-description {
    color: #c6c5ce;
    font-size: 13px;
    margin-top: 6px
}

.download-option-action {
    color: #df9dda;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    padding-top: 20px
}

.download-option-action span {
    display: inline-block;
    transition: transform .2s
}

.download-option:hover .download-option-action span,
.download-option:focus-visible .download-option-action span {
    transform: translateX(3px)
}

@media (prefers-reduced-motion: reduce) {
    .download-option, .download-option-action span {
        transition: none
    }

    .download-option:hover, .download-option:focus-visible,
    .download-option:hover .download-option-action span,
    .download-option:focus-visible .download-option-action span {
        transform: none
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    padding: 4px 8px
}

.contact-qr {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin: 26px 0
}

.qr-slot {
    width: 180px;
    text-align: center
}

.qr-slot img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    margin: 0 auto 10px
}

.qr-slot span {
    display: block;
    color: #cccbd4;
    font-size: 13px
}

.lightbox {
    padding: 42px 18px 18px;
    background: #141414;
    max-height: 90vh
}

.lightbox img {
    max-height: 75vh;
    width: auto;
    object-fit: contain
}

.video-dialog {
    width: min(900px, calc(100% - 32px));
    padding: 44px 16px 16px
}

.video-dialog video {
    display: block;
    width: 100%;
    max-height: 75vh;
    background: #000
}

@media (max-width: 1100px) {
    .site-nav {
        gap: 18px
    }

    .site-nav a {
        font-size: 12px
    }

    .hero-grid {
        grid-template-columns:45% 55%;
        gap: 0
    }

    .hero-copy h1 {
        font-size: 64px
    }

    .section-heading h2 {
        font-size: 52px
    }

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

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 32px, 560px)
    }

    .site-header {
        height: 64px
    }

    .brand img:first-child {
        width: 40px;
        height: 40px
    }

    .menu-toggle {
        display: block
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        padding: 18px 24px 26px;
        background: #1b1a1f;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        box-shadow: 0 20px 30px rgba(0, 0, 0, .4);
        flex-wrap: wrap;
        gap: 18px
    }

    .site-nav.is-open {
        display: flex
    }

    .site-nav a {
        font-size: 14px;
        width: calc(50% - 9px)
    }

    .hero {
        min-height: auto
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding-block: 82px 70px;
        gap: 32px
    }

    .hero-copy h1 {
        font-size: clamp(52px, 12vw, 72px);
        margin-bottom: 24px
    }

    .hero-copy p {
        font-size: 15px;
        line-height: 1.8
    }

    .hero-actions {
        margin-top: 28px
    }

    .hero-actions .button {
        padding: 0 23px;
        font-size: 14px
    }

    .hero-art img {
        width: 100%;
        max-width: 520px;
        margin: auto;
    }

    .section {
        padding: 84px 0 90px;
        scroll-margin-top: 64px
    }

    .section-heading {
        margin-bottom: 42px
    }

    .section-heading h2 {
        font-size: clamp(34px, 8vw, 48px);
        line-height: 1.36
    }

    .section-heading p {
        font-size: 14px
    }

    .work-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
        min-height: 0
    }

    .work-card figcaption {
        font-size: 13px
    }

    .feature-grid {
        grid-template-columns:1fr
    }

    .feature-card {
        min-height: 250px
    }

    .feedback-gallery {
        height: auto;
        gap: 10px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 12px 0
    }

    .feedback-gallery button, .feedback-gallery button:first-child, .feedback-gallery button:nth-child(2), .feedback-gallery button:last-child, .feedback-gallery button:hover {
        transform: none;
        flex: none
    }

    .feedback-gallery img {
        height: 330px;
        max-width: none
    }

    .process-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 36px 16px;
        margin-top: 40px
    }

    .process-grid::before, .process-grid li::after {
        display: none
    }

    .process-grid li {
        padding: 18px;
        background: #222126;
        border-radius: 16px
    }

    .process-grid li > span {
        margin-bottom: 10px
    }

    .course-grid, .advantages {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .course-card h3 {
        font-size: 17px
    }

    .course-card-body {
        padding: 18px 16px
    }

    .course-price {
        font-size: 30px
    }

    .service-steps {
        grid-template-columns:repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 34px 16px
    }

    .footer-grid > div:first-child {
        grid-column: 1/-1
    }

    .contact-qr {
        gap: 12px
    }

    .qr-slot {
        width: 48%
    }

    .qr-slot img {
        width: 100%;
        height: auto;
        aspect-ratio: 1
    }
}

@media (max-width: 480px) {
    .download-options {
        grid-template-columns: 1fr
    }

    .work-grid, .course-grid, .advantages {
        grid-template-columns:1fr
    }

    .work-card-media {
        aspect-ratio: 411/231
    }

    .course-badges {
        margin-bottom: 36px
    }

    .service-steps {
        grid-template-columns:1fr 1fr;
        gap: 10px
    }

    .service-steps li {
        min-height: 145px;
        padding: 16px 8px
    }

    .footer-grid {
        grid-template-columns:1fr 1fr
    }
}
