/** 课程 **/
/* Hero */
.hero {
    position: relative;
    min-height: 990px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*z-index: 0;*/
}

.hero-bg .banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    margin-top: 200px;
}

.hero-title {
    font-size: 100px;
    font-weight: 900;
    line-height: 120px;
    color: var(--primary);
}

.hero-title .highlight {
    color: var(--yellow);
}

/* Section Common */
.section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 500;
    color: var(--subtitle-color);
    text-align: center;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 33px;
}

.dumpling-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.dumpling-icon .placeholder-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Teaching Cards */
.teaching-section {
    /*background: #FDFDFD;*/
    padding: 0;
    margin-top: -160px;
}
.teaching-section .container {
    padding: 80px 80px 0;
    background: #FDFDFD;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
}

.teaching-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.teaching-card {
    width: 410px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.teaching-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(96, 42, 166, 0.12);
}

.teaching-card.white {
    background: #EBE5FB;
}

.teaching-card.warm {
    background: #FEF5E0;
}

.teaching-card-image {
    /*width: 410px;*/
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.teaching-card-image .teaching-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teaching-card-body {
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.teaching-card-content {
    text-align: center;
}

.teaching-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.teaching-card-desc {
    font-size: 20px;
    font-weight: 400;
    color: var(--gray-text);
    line-height: 1.6;
}

.btn-teaching {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--yellow);
    color: var(--black);
    padding: 16px 28px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    width: 260px;
    height: 60px;
    transition: all 0.2s ease;
}

.btn-teaching:hover {
    background: var(--yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 202, 8, 0.4);
}

.btn-teaching:active {
    transform: translateY(0) scale(0.96);
}

/* System Section*/
.system-section {
    padding: 0;
}
.system-section .section-header {
    padding-top: 80px;
}
.system-section .section-subtitle {
    max-width: 1280px;
    margin: 0 auto;
}
.system-section .container {
    background-color: #FDFDFD;
    padding-bottom: 80px;
}
.system-section-img {
    width: 1000px;
    height: 689px;
    overflow: hidden;
    margin: 0 auto;
}
.system-section-img .system-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Level Section */
.level-section {
    position: relative;
    padding: 40px 80px;
    overflow: hidden;
}

.level-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.level-section-bg .level-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.level-section .container {
    position: relative;
    z-index: 1;
}
.level-header {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    gap: 24px;
}
.level-title {
    /*width: 450px;*/
    font-size: 68px;
    font-weight: 900;
    color: var(--white);
    line-height: 80px;
    margin-bottom: 90px;
}

.level-title .highlight {
    color: var(--yellow);
}

.level-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-end;
}

.level-card {
    flex: 1;
    border-radius: 20px;
    padding: 24px 16px;
    color: var(--white);
}

.level-card.light {
    background: var(--primary-card);
}

.level-card.dark {
    background: var(--primary-light);
}

.level-card:nth-child(1) {
    height: 600px;
}

.level-card:nth-child(2) {
    height: 650px;
}

.level-card:nth-child(3) {
    height: 700px;
}

.level-card:nth-child(4) {
    height: 750px;
}

.level-card-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    /*width: 270px;*/
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

.level-card-header {
    text-align: center;
}

.level-card-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--yellow);
    display: block;
}

.level-card-range {
    font-size: 18px;
    font-weight: 900;
    color: var(--white);
    display: block;
    line-height: 26px;
}

.level-card-desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.6;
    text-align: left;
}

.level-card-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.level-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
}

.level-tag-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-tag-icon svg {
    width: 8px;
    height: 6px;
}

.level-card-btn {
    margin-top: auto;
    padding-top: 23px;
    text-align: center;
}

.btn-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: var(--black);
    padding: 16px 28px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    width: 238px;
    height: 60px;
    transition: all 0.2s ease;
}

.btn-level:hover {
    background: var(--yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 202, 8, 0.4);
}

.btn-level:active {
    transform: translateY(0) scale(0.96);
}

/* Process */
.process-banner {
    background: #EBE5FB;
    border-radius: 20px;
    padding: 40px 48px;
    margin-bottom: 24px;
}

.process-banner-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 24px;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 260px;
}

.process-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.process-step-icon .step-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-step-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.process-step-desc {
    font-size: 22px;
    font-weight: 500;
    color: var(--gray-text);
    text-align: center;
}

.process-connectors {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 89px;
    height: 16px;
    position: relative;
}

.process-connector-caret {
    position: absolute;
    width: 16px;
    height: 12px;
    left: 77px;
    top: 0px;
    background: #602AA6;
    transform: rotate(90deg);
}
.process-connector-line {
    position: absolute;
    width: 80px;
    height: 0px;
    left: 0px;
    top: 8px;
    border: 1px dashed #602AA6;
}

/* Download Cards */
.download-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.download-card {
    width: 410px;
    background: #EBE5FB;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.download-card-inner {
    padding: 40px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-card-header {
    text-align: center;
    margin-bottom: 16px;
}

.download-card-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.download-card-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: var(--gray-text);
}

.download-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin: 16px auto;
}

.download-card-image .download-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-qr-row {
    display: flex;
    gap: 26px;
    justify-content: center;
    margin: 55px 0 17px;
}

.download-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 160px;
}

.download-qr-code {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--placeholder);
    position: relative;
}

.download-qr-code .qr-code {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-qr-label {
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-text);
    text-align: center;
}

.download-card-info {
    text-align: center;
    margin-bottom: 24px;
    flex: 1;
}

.download-card-info p {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-text);
    line-height: 1.6;
}

.download-card-info a {
    color: var(--primary);
    text-decoration: underline;
}

.download-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 100px;
    /* padding: 16px 28px; */
    box-shadow: var(--shadow-btn);
    transition: all 0.2s ease;
}

.download-card-btn a {
    text-decoration: none;
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    flex: 1;
}

.btn-appstore {
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    width: 100%;
    display: flex;
    align-self: center;
    justify-content: center;
    gap: 10px;
}

.download-card-btn:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 202, 8, 0.4);
}

.btn-appstore:active {
    transform: translateY(0) scale(0.97);
}

.btn-appstore .icon-apple {
    width: 32px;
    height: 32px;
    background: var(--placeholder);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .system-section-img {
        max-width: 100%;
        height: auto;
    }
    .system-section-img .system-img {
        object-fit: contain;
    }
    .system-section .container {
        padding-bottom: 40px;
    }
    .container {
        padding: 0 40px;
    }

    .header .container {
        padding: 12px 40px;
    }
    .hero {
        min-height: 480px;
    }
    .section-title {
        font-size: 44px;
    }

    .section-subtitle {
        font-size: 26px;
    }

    .hero-title {
        font-size: 72px;
        line-height: 90px;
    }

    .level-title {
        font-size: 52px;
        line-height: 66px;
    }

    .teaching-cards {
        gap: 20px;
    }

    .teaching-card {
        width: 340px;
    }

    .teaching-card-image {
        width: 340px;
        height: 190px;
    }

    .level-cards {
        gap: 16px;
    }

    .level-card {
        width: 250px;
        padding: 20px 12px;
    }

    .level-card-inner {
        width: 226px;
    }

    .download-cards {
        gap: 20px;
    }

    .download-card {
        width: 340px;
    }

    .download-card-image {
        width: 340px;
        height: 180px;
    }
    .download-card-btn {
    display: none;
    }
}

@media screen and (max-width: 900px) {
    .teaching-section .container {
        padding: 30px 20px 0;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
    .system-section .container {
        padding-bottom: 24px;
    }
    .container {
        padding: 0 24px;
    }

    .header .container {
        padding: 12px 24px;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0 24px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    }

    .header-nav.open {
        max-height: 400px;
        opacity: 1;
        padding: 16px 24px;
        gap: 8px;
    }

    .header-nav a {
        padding: 10px 0;
        border-bottom: 1px solid #f0ebf8;
        width: 100%;
        opacity: 1 !important;
        font-size: 16px;
        transform: translateX(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header-nav.open a {
        transform: translateX(0);
        opacity: 0.8;
    }

    .header-nav.open a:last-child {
        border-bottom: none;
    }

    .header-actions .btn-primary, .header-actions .btn-secondary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 56px;
        line-height: 68px;
    }

    .section {
        /*padding: 60px 0;*/
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 22px;
    }

    .teaching-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .teaching-card {
        width: 100%;
        max-width: 410px;
    }

    .teaching-card-image {
        width: 100%;
        height: 200px;
    }

    .level-section {
        padding: 40px 24px;
    }

    .level-title {
        font-size: 40px;
        line-height: 52px;
        margin-bottom: 40px;
    }

    .level-cards {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .level-card {
        width: 100%;
        max-width: 352px;
        height: auto!important;
    }

    .level-card-inner {
        width: 100%;
        max-width: 270px;
    }

    .download-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .download-card {
        width: 100%;
        max-width: 410px;
    }

    .download-card-image {
        width: 100%;
        max-width: 410px;
        height: 180px;
    }

    .process-banner {
        padding: 30px 20px;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 24px;
    }

    .process-step {
        width: 200px;
    }

    .process-connectors {
        display: none;
    }
    
     .download-card-btn {
    display: none;
    }
}

@media screen and (max-width: 600px) {
    .system-section .container {
        padding-bottom: 16px;
    }
    .level-section .container {
        padding: 0;
    }
    .container {
        padding: 0 16px;
    }

    .header .container {
        padding: 10px 16px;
        height: 60px;
    }

    .header-logo {
        width: 110px;
        height: 35px;
    }

    .hero {
        min-height: 330px;
    }

    .hero-content {
        margin-top: 140px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 54px;
    }

    .teaching-section {
        padding-top: 135px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .dumpling-icon {
        width: 32px;
        height: 32px;
    }

    .teaching-card-body {
        padding: 24px 16px;
        gap: 24px;
    }

    .teaching-card-title {
        font-size: 22px;
    }

    .teaching-card-desc {
        font-size: 16px;
    }

    .btn-teaching {
        width: 220px;
        height: 50px;
        font-size: 18px;
    }

    .level-title {
        font-size: 32px;
        line-height: 44px;
    }

    .level-card-name {
        font-size: 22px;
    }

    .level-card-range {
        font-size: 16px;
    }

    .level-tag {
        font-size: 16px;
    }

    .btn-level {
        width: 200px;
        height: 50px;
        font-size: 18px;
    }

    .download-card-title {
        font-size: 26px;
    }

    .download-card-subtitle {
        font-size: 18px;
    }

    .download-qr-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .process-banner-title {
        font-size: 24px;
    }

    .process-step-title {
        font-size: 26px;
    }

    .process-step-desc {
        font-size: 18px;
    }
     .download-card-btn {
    display: none;
    }
}

@media screen and (max-width: 375px) {
    .hero-title {
        font-size: 36px;
        line-height: 48px;
    }

    .section-title {
        font-size: 24px;
    }

    .level-title {
        font-size: 28px;
        line-height: 40px;
    }
     .download-card-btn {
    display: none;
    }
}

/*@supports (padding-top: env(safe-area-inset-top)) {*/
    /*.header .container {*/
        /*padding-top: calc(12px + env(safe-area-inset-top));*/
    /*}*/
/*}*/

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.floating-cta.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.floating-cta .pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cta .pill-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(96, 42, 166, 0.4);
}

.floating-cta .pill-btn:active {
    transform: scale(0.97);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(96, 42, 166, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(96, 42, 166, 0);
    }
}

.floating-cta .pill-btn {
    animation: pulse-glow 2.5s infinite;
}
