* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-red: #AD0800;
    --primary-red-dark: #8A0600;
    --orange: #ED6525;
    --text-primary: #131313;
    --text-secondary: #666666;
    --text-light: #8A8A8A;
    --border-color: #E5E5E5;
    --soft-red: #FFF6F3;
    --soft-orange: #FFF3E6;
    --page-width: 1443px;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: #FFFFFF;
}

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

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

.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFFFFF;
    filter: drop-shadow(0 0 11px rgba(215, 215, 215, .329));
}

.lp-header-inner {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 7px 121px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.lp-logo img {
    height: 32px;
    width: auto;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: 100px;
    white-space: nowrap;
}

.lp-nav a {
    font-size: 16px;
    color: #000000;
    padding: 8px 0;
}

.lp-nav a:hover {
    color: var(--primary-red);
    font-weight: 700;
}

.lp-search {
    margin-left: auto;
    width: 454px;
    height: 38px;
    padding: 2px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 11px;
    background: linear-gradient(135deg, #ED6525 0%, #EA1D1D 24%, #B80D0D 100%);
}

.lp-search-inner {
    width: 376px;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 10px;
}

.lp-mobile-search-logo {
    display: none;
}

.lp-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 15px;
    font-size: 14px;
    background: transparent;
}

.lp-search button {
    flex: 1;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    font-size: 15px;
    cursor: pointer;
}

.lp-main {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F5 42%, #FFFFFF 100%);
}

.lp-wrap {
    max-width: var(--page-width);
    margin: 0 auto;
    padding-left: 121px;
    padding-right: 121px;
}

.lp-hero {
    padding: 34px 0 38px;
    border-bottom: 1px solid #FFE2D7;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 54px;
    align-items: stretch;
}

.lp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    color: var(--text-light);
    font-size: 13px;
}

.lp-breadcrumb a:hover {
    color: var(--primary-red);
}

.lp-eyebrow,
.lp-section-head span,
.lp-course-card em {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 12px;
    border: 1px solid #FFE8E8;
    border-radius: 5px;
    background: linear-gradient(90deg, #FFEEE5 0%, #FFECEB 26%, #FFE8E5 100%);
    color: var(--primary-red);
    font-style: normal;
    font-size: 13px;
    line-height: 24px;
}

.lp-hero h1,
.lp-hub h1 {
    max-width: 820px;
    margin-top: 14px;
    font-size: 38px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: 0;
}

.lp-lead,
.lp-hub > p {
    max-width: 760px;
    margin-top: 18px;
    color: #3C3C3C;
    font-size: 17px;
    line-height: 1.9;
}

.lp-hub > p {
    max-width: none;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.lp-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    height: 36px;
    padding: 0 18px;
    border-radius: 10px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #B80D0D 0%, #EA1D1D 76%, #ED6525 100%);
}

.lp-actions a.secondary {
    color: var(--primary-red);
    background: #FFFFFF;
    border: 1px solid #FFD8CD;
}

.lp-hero-card,
.lp-side-card,
.lp-consult-card,
.lp-course-card,
.lp-stage-card,
.lp-expert-card,
.lp-link-list a,
.lp-hub-grid a {
    border: 1px solid #FFEDE2;
    background: rgba(255, 251, 251, 1);
    border-radius: 10px;
}

.lp-hero-card {
    padding: 22px;
    display: grid;
    gap: 14px;
}

.lp-hero-card div {
    padding-bottom: 14px;
    border-bottom: 1px solid #FFE7DE;
}

.lp-hero-card div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.lp-hero-card span,
.lp-card-foot,
.lp-link-list span,
.lp-expert-card small {
    color: var(--text-secondary);
}

.lp-hero-card strong {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.55;
}

.lp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 35px;
    padding-top: 42px;
    padding-bottom: 70px;
}

.lp-content {
    min-width: 0;
}

.lp-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    display: grid;
    gap: 18px;
}

.lp-section {
    margin-bottom: 50px;
}

.lp-section-head {
    margin-bottom: 20px;
}

.lp-section-head > span {
    display: none;
}

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

.lp-section-head h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--primary-red);
    font-size: 24px;
    line-height: 1.35;
}

.lp-section-head p {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.lp-stage-list {
    display: grid;
    gap: 16px;
}

.lp-stage-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
}

.lp-stage-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    color: #FFFFFF;
    font-weight: 700;
    background: linear-gradient(135deg, #B80D0D 0%, #F22121 100%);
}

.lp-stage-card h3,
.lp-course-card h3 {
    font-size: 19px;
    line-height: 1.45;
}

.lp-stage-card p,
.lp-course-card p {
    margin-top: 8px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.lp-stage-card strong {
    display: block;
    margin-top: 12px;
    color: #000000;
    font-weight: 500;
}

.lp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.lp-tags span {
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid #FFE8E8;
    border-radius: 5px;
    background: linear-gradient(90deg, #FFEEE5 0%, #FFECEB 100%);
    line-height: 24px;
    color: #262626;
}

.lp-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.lp-course-card {
    min-height: 220px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow .2s ease, transform .2s ease;
}

.lp-course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(173, 8, 0, .08);
}

.lp-course-card h3 {
    margin-top: 12px;
}

.lp-card-foot {
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #FFE7DE;
}

.lp-course-teacher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--text-secondary);
}

.lp-course-teacher img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    background: #F7F7F7;
}

a.lp-course-teacher:hover span {
    color: var(--primary-red);
}

.lp-expert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lp-expert-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    min-width: 0;
}

.lp-expert-card img {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
}

.lp-expert-card span {
    min-width: 0;
}

.lp-expert-card strong,
.lp-expert-card em,
.lp-expert-card small {
    display: block;
}

.lp-expert-card strong {
    font-size: 16px;
    line-height: 1.4;
}

.lp-expert-card em {
    margin-top: 3px;
    color: var(--primary-red);
    font-style: normal;
}

.lp-expert-card small {
    margin-top: 6px;
    line-height: 1.55;
}

.lp-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.lp-link-list {
    display: grid;
    gap: 12px;
}

.lp-link-list a {
    display: grid;
    gap: 6px;
    padding: 16px;
}

.lp-link-list a strong {
    font-size: 16px;
    line-height: 1.45;
}

.lp-link-list a:hover strong,
.lp-course-card:hover h3,
.lp-expert-card:hover strong {
    color: var(--primary-red);
}

.lp-faq details {
    border-bottom: 1px solid #FFE0D5;
    padding: 16px 0;
}

.lp-faq summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.lp-faq p {
    margin-top: 10px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.lp-consult-card {
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(173, 8, 0, .08);
}

.lp-wechat-card-top {
    position: relative;
    height: 153px;
    padding: 21px 21px 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #C62828;
}

.lp-wechat-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 153px;
}

.lp-wechat-title,
.lp-wechat-tip {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
}

.lp-wechat-title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 400;
}

.lp-wechat-tip {
    font-size: 14px;
    line-height: 1.4;
}

.lp-wechat-qrcode-wrap {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 189px;
    margin: -60px auto 0;
}

.lp-wechat-qrcode-img {
    display: block;
    width: 190px;
    height: 189px;
    border-radius: 10px;
    object-fit: cover;
}

.lp-wechat-card-bottom {
    padding: 15px 21px 20px;
    border-radius: 0 0 16px 16px;
    background: #FFFFFF;
    text-align: center;
}

.lp-wechat-note {
    color: #131313;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.lp-side-card {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.lp-side-card strong {
    font-size: 17px;
}

.lp-side-card a {
    color: var(--text-secondary);
}

.lp-side-card a:hover {
    color: var(--primary-red);
}

.lp-hub {
    padding-top: 48px;
    padding-bottom: 70px;
}

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

.lp-hub-grid a {
    padding: 20px;
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.lp-hub-grid strong,
.lp-hub-grid em,
.lp-hub-grid small {
    display: block;
}

.lp-hub-grid a:hover {
    transform: translateY(-2px);
    border-color: #FFD8CD;
    box-shadow: 0 8px 24px rgba(173, 8, 0, .08);
}

.lp-hub-grid strong {
    font-size: 18px;
}

.lp-hub-grid em {
    margin-top: 10px;
    color: var(--text-secondary);
    font-style: normal;
}

.lp-hub-grid a:hover strong {
    color: var(--primary-red);
}

.lp-hub-card-action {
    width: fit-content;
    margin-top: 16px;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 600;
}

.lp-hub-card-action::after {
    content: ">";
    margin-left: 6px;
}

.lp-mobile-fixed-btn {
    display: none;
}

.lp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}

.lp-modal-overlay.active {
    display: flex;
}

.lp-modal-box {
    position: relative;
    width: 265px;
    border-radius: 16px;
    overflow: visible;
    background: #FFFFFF;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.lp-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    color: #FFFFFF;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.lp-modal-close:hover {
    background: rgba(255, 255, 255, .5);
}

.lp-modal-top {
    position: relative;
    height: 153px;
    padding: 21px 21px 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #C62828;
}

.lp-modal-card-bg {
    position: absolute;
    inset: 0;
    width: 265px;
    height: 153px;
    display: block;
}

.lp-modal-title {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
}

.lp-modal-tip {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.4;
}

.lp-modal-qrcode-wrap {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 189px;
    margin: -60px auto 0;
}

.lp-modal-qrcode-img {
    display: block;
    width: 190px;
    height: 189px;
    border-radius: 16px;
    object-fit: cover;
}

.lp-modal-bottom {
    padding: 15px 21px 20px;
    border-radius: 0 0 16px 16px;
    background: #FFFFFF;
    text-align: center;
}

.lp-modal-note {
    color: #131313;
    font-size: 14px;
    line-height: 1.5;
}

.footer {
    background: #000000;
    padding: 50px 0 30px;
    margin-top: 10px;
}

.footer-content {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 121px;
}

.footer-intro {
    margin-bottom: 15px;
}

.footer-intro p {
    font-size: 14px;
    color: #7D7D7D;
    line-height: 1.8;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #333333;
    margin-bottom: 20px;
}

.footer-section-block {
    margin-bottom: 20px;
}

.footer-section-title {
    font-size: 14px;
    font-weight: bold;
    color: #908F8F;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    margin-bottom: 12px;
}

.footer-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.footer-tag {
    font-size: 14px;
    color: #908F8F;
    font-family: 'PingFang SC', 'PingFangSC-Regular', sans-serif;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-right: 30px;
    margin-bottom: 8px;
}

.footer-tag:hover {
    color: #FFFFFF;
}

.footer-desc {
    font-size: 13px;
    color: #908F8F;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 23px;
    padding-top: 20px;
    max-width: var(--page-width);
    margin: 0 auto;
    padding-left: 121px;
    padding-right: 121px;
}

.footer-bottom p {
    font-size: 14px;
    color: #7D7D7D;
    margin-bottom: 0;
}

.footer-copyright {
    text-align: left;
}

.footer-beian {
    text-align: left;
    white-space: nowrap;
}

.beian-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 4px;
}

@media (min-width: 1181px) and (max-width: 1199px) {
    .lp-header-inner {
        padding-left: 48px;
        padding-right: 48px;
        gap: 24px;
    }

    .lp-nav {
        margin-left: 40px;
        gap: 24px;
    }

    .lp-search {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .lp-search-inner {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .lp-search button {
        min-width: 84px;
        white-space: nowrap;
    }
}

@media (max-width: 1180px) {
    .lp-header-inner,
    .lp-wrap,
    .footer-content,
    .footer-bottom {
        padding-left: 32px;
        padding-right: 32px;
    }

    .lp-nav {
        margin-left: 20px;
        gap: 18px;
    }

    .lp-search {
        width: 300px;
    }

    .lp-search-inner {
        width: 210px;
    }
}

@media (max-width: 900px) {
    .lp-header-inner {
        flex-wrap: wrap;
        gap: 0;
        padding: 8px 10px 0;
    }

    .lp-logo {
        display: none;
    }

    .lp-nav {
        order: 2;
        width: 100%;
        margin-left: 0;
        padding: 0 3px;
        overflow: visible;
        gap: 0;
        justify-content: space-between;
    }

    .lp-nav a {
        padding: 10px 0;
        font-size: 15px;
        line-height: 1.4;
    }

    .lp-search {
        order: 1;
        width: 100%;
        height: 44px;
        margin-left: 0;
        border-radius: 13px;
        background: linear-gradient(135deg, #B80D0D 0%, #EA1D1D 85%, #ED6525 100%);
    }

    .lp-search-inner {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        border-radius: 11px;
        padding: 0 8px;
        gap: 6px;
    }

    .lp-mobile-search-logo {
        display: block;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        border-radius: 4px;
        background: url("/static/common/images/mobile-header-logo.webp") center / cover no-repeat;
    }

    .lp-search input {
        min-width: 0;
        padding: 0;
        font-size: 16px;
    }

    .lp-search input::placeholder {
        color: #C2BFBF;
        font-size: 16px;
    }

    .lp-search button {
        flex: 0 0 68px;
        min-width: 68px;
        padding: 0;
        font-size: 13px;
        white-space: nowrap;
    }

    .lp-wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .lp-hero-grid,
    .lp-layout,
    .lp-two-col,
    .lp-course-grid,
    .lp-expert-grid,
    .lp-hub-grid {
        grid-template-columns: 1fr;
    }

    .lp-hero h1,
    .lp-hub h1 {
        font-size: 30px;
    }

    .lp-sidebar {
        position: static;
    }

    .lp-mobile-fixed-btn {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 15px;
        border: 0;
        background: #FFFFFF;
        cursor: pointer;
    }

    .lp-fixed-btn-m {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 31px;
        max-width: 100%;
        padding: 0 15px;
        border-radius: 8px;
        background: linear-gradient(135deg, #F26A21 0%, #FB0000 100%);
    }

    .lp-fixed-btn-text,
    .lp-fixed-btn-link {
        color: #FFFFFF;
        font-size: 14px;
        line-height: 31px;
        white-space: nowrap;
    }

    .lp-fixed-btn-link {
        margin-left: 4px;
    }

    .footer {
        margin-top: 30px;
        padding: 30px 0 58px;
    }

    .footer-content,
    .footer-bottom {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-section-title {
        color: #908F8F;
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .footer-tags-row {
        gap: 0;
    }

    .footer-tag {
        color: #908F8F;
        font-size: 13px;
        margin-right: 0;
        margin-bottom: 8px;
        width: 20%;
        text-align: left;
    }

    .footer-tags-hot .footer-tag {
        width: 25%;
    }

    .footer-desc,
    .footer-intro p {
        color: #908F8F;
        font-size: 13px;
        line-height: 1.8;
    }

    .footer-section-block {
        margin-bottom: 16px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 10px;
        gap: 0;
    }

    .footer-divider {
        margin-bottom: 12px;
    }

    .footer-bottom p {
        color: #7D7D7D;
        font-size: 13px;
        margin-bottom: 4px;
        text-align: center;
    }

    .footer-copyright,
    .footer-beian {
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 520px) {
    .lp-hero h1,
    .lp-hub h1 {
        font-size: 26px;
    }

    .lp-lead {
        font-size: 15px;
    }

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

    .lp-actions {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .lp-actions a {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 10px;
        white-space: nowrap;
    }

    .lp-mobile-fixed-btn {
        padding-left: 10px;
        padding-right: 10px;
    }

    .lp-fixed-btn-m {
        width: 100%;
        padding: 0 8px;
    }

    .lp-fixed-btn-text,
    .lp-fixed-btn-link {
        font-size: 13px;
    }
}
