* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

ul {
    list-style: none;
}

body{
    background-color: #F5F8FE;
}

.container {
    max-width: 1470px;
    height: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.header-nav {
    background-color: transparent !important;
    position: fixed !important;
    box-shadow: none !important;
}

.header-nav.sticky {
    background-color: white !important;
    box-shadow: 1px 3px 15px 3px #ECEEF4 !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.header-image {
    width: 548px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-text {
    max-width: 500px;
}

.header-text-right {
    text-align: right;
}

.header-text-left {
    text-align: left;
}

h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: #25499D;
    color: white;
    padding: 20px 43px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 100px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #3b78c8;
}
.qihang-container .header-content{
    padding: 120px 40px 0;
}
.qihang-container .header-image{
    margin-top: 30px;
}
.journey-path {
    position: relative;
    padding: 20px 0 20px;
}

.section-title {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: "————";
    color: #000;
    margin: 0 15px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 19px;
    margin-top: 30px;
}

.feature-card {
    flex: 1 1 200px;
    max-width: 210px;
    background-color: #F7F9FC;
    padding: 30px 14px 20px 19px;
    border-radius: 10px;
    position: relative;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.qingchun-container{
    background-color: #fff;
}

.qingchun-container .feature-card:nth-child(1) .feature-icon {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/qingchun-icon1.png') no-repeat;
    background-size: 100% 100%;
}

.qingchun-container .feature-card:nth-child(2) .feature-icon {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/qingchun-icon2.png') no-repeat;
    background-size: 100% 100%;
}

.qingchun-container .feature-card:nth-child(3) .feature-icon {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/qingchun-icon3.png') no-repeat;
    background-size: 100% 100%;
}

.qingchun-container .feature-card:nth-child(4) .feature-icon {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/qingchun-icon4.png') no-repeat;
    background-size: 100% 100%;
}

.qingchun-container .feature-card:nth-child(5) .feature-icon {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/qingchun-icon5.png') no-repeat;
    background-size: 100% 100%;
}

.qingchun-container .feature-card:nth-child(6) .feature-icon {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/qingchun-icon6.png') no-repeat;
    background-size: 100% 100%;
}

.feature-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 13px;
}

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.qihang-container {
    background:url('/wp-content/themes/my-first-theme/assets/imgs/qihang-bg.jpg') no-repeat;
    background-size: 100% 100%;
}

.qihang-icon {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.qihang-icon img {
    display: block;
    width: 100px;
    height: 100px;
}

.qihang-container .feature-card:nth-child(1) {
    background: linear-gradient(to bottom, #C1D9FF, #D9E8FF, #FCFEFF, #FFFFFF);
}

.qihang-container .feature-card:nth-child(2) {
    background: linear-gradient(to bottom, #C2E9FB, #F5F8FE, #FFFFFF);
}

.qihang-container .feature-card:nth-child(3) {
    background: linear-gradient(to bottom, #C3E5FF, #F5F8FE, #FFFFFF);
}

.qihang-container .feature-card:nth-child(4) {
    background: linear-gradient(to bottom, #DEDBFF, #F5F8FE, #FFFFFF);
}

.qihang-container .feature-card:nth-child(5) {
    background: linear-gradient(to bottom, #DBE2FF, #F5F8FE, #FFFFFF);
}

.qihang-container .feature-title {
    text-align: center;
}

.chengzhang-container {
    background-color: #F5F8FE;
}

.chengzhang-card {
    flex: 1 1 400px;
    max-width: 470px;
    width: 470px;
    border-radius: 10px;
    position: relative;
    padding: 40px 60px;
    background: linear-gradient(to right, #DAE6FF, #F0F5FF);
}

.chengzhang-card:hover {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/chengzhang-hoverbg.png') no-repeat;
    background-size: 100% 100%;
}

.chengzhang-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.chengzhang-icon img {
    width: 30px;
    height: 30px;
    display: block;
}

.chengzhang-icon p {
    font-size: 20px;
    line-height: 30px;
    margin-left: 20px;
    color: #2A4FA6;
    font-weight: 700;
}

.chengzhang-card-hover {
    display: none;
}

.chengzhang-card-hover h3 {
    color: #fff;
    padding-bottom: 20px;
    position: relative;
}

.chengzhang-card-hover h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #fff;
    width: 100px;
    height: 2px;
}

.chengzhang-card-hover p {
    color: #fff
}

.caifu-container{
    background-color: #fff;
}
.caifu-container .features {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.caifu-container .sidebar {
    width: 360px;
    background-color: #F5F8FE;
    padding: 20px;
}

.caifu-container .menu-item {
    padding: 15px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.caifu-container .menu-item:hover {
    background-color: #E6EEFF;
}

.caifu-container .menu-item.active {
    background-color: #E6EEFF;
}

.caifu-container .menu-content {
    width: 400px;
    padding: 50px 30px;
}

.caifu-container .menu-content-bar {
    display: none;
}

.caifu-container .menu-content-bar.active {
    display: block;
}

.caifu-container .content-header {
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.caifu-container .content-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #999999;
    width: 70%;
    height: 1px;
}

.caifu-container .content-description {
    color: #666666;
}

.yinling-container {
    background-color: #F5F8FE;
}

.yinling-card {
    flex: 1 1 400px;
    max-width: 470px;
    width: 470px;
    border-radius: 10px;
    position: relative;
    padding: 40px 60px;
    background: transparent;
}

.yinling-card:hover {
    background-color: #fff;
    box-shadow: 3px 0px 14px 0px #25499D;
}

.yinling-icon {
    text-align: center;
}

.yinling-icon img {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto;
}

.yinling-icon p {
    font-size: 20px;
    line-height: 30px;
    color: #333;
    margin-top: 10px;
}

.yinling-card-hover {
    display: none;
}

.yinling-card-hover h3 {
    color: #284DA2;
    padding-bottom: 20px;
    position: relative;
}

.yinling-card-hover h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #4874DD;
    width: 40px;
    height: 10px;
    border-radius: 10px;
}

.yinling-card-hover p {
    padding-right: 60px;
    color: #284DA2
}

.juese-container {
    background-color: #284DA2;
    padding-top: 50px;
}

.juese-container h1 {
    color: #fff;
    margin-bottom: 30px;
}

.juese-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap;
    margin-bottom: 40px;
}

.juese-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    width: 300px;
    height: 400px;
}

.juese-title p {
    color: #fff;
    text-indent: 2em;
    font-size: 18px;
    padding: 0 25px;
}

.juese-title .juese-btn {
    color: #284DA2;
    display: inline-block;
    padding: 20px 43px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 100px;
    transition: background-color 0.3s;
    background-color: #fff;
}

.juese-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    gap: 60px;
    width: 90%;
}

.juese-card {
    flex: 0 0 28%;
    border-radius: 40px;
    border: 1px solid #FFA024;
    position: relative;
    padding-bottom: 40px;
}

.juese-card .juese-card-head {
    height: auto;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    border-radius: 40px 40px 0 0;
}

.juese-card .juese-card-head img {
    height: 100%;
    width: 100%;
    display: block;
}

.juese-card .juese-card-body {
    background-color: #FFA024;
    color: #fff;
    border-radius: 0 0 40px 40px;
    padding: 16px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.juese-card .juese-card-body h3 {
    text-align: center;
}

.juese-card .juese-card-body p {
    font-size: 14px;
    color: #fff;
    line-height: 18px;
    margin-top: 10px;
    display: none;
}

.juese-card .juese-card-body:hover p {
    display: block;
}

.shiting-container {
    background-color: #F5F8FE;
}

.shiting-container .header-content .btn {
    margin-top: 0;
}

.shiting-container .header-text h1 {
    color: #25499D;
}

.shiting-container .header-text p {
    color: #25499D;
    text-indent: 2em;
}

.shiting-container .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.shiting-container .course-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shiting-container .course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.shiting-container .course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.shiting-container .course-content {
    padding: 20px;
}

.shiting-container .course-title {
    font-size: 18px;
    text-align: center;
    color: #25499D;
    margin-bottom: 8px;
}

.shiting-container .course-link {
    color: #25499D;
    text-decoration: none;
    font-size: 16px;
    text-align: right;
    display: block;
}

.shiting-container .course-link:hover {
    color: #0f62d0;
    text-decoration: underline;
}



.kecheng-container{
    background-color: #fff;
}
.kecheng-container h1 {
    font-size: 32px;
    color: #25499D;
    margin-bottom: 15px;
}

.kecheng-container .tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    gap: 12px;
}

.kecheng-container .tab-button {
    padding: 10px 20px;
    background-color: #3A5DB0;
    color: white;
    border: none;
    border-radius: 26px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kecheng-container .tab-button.secondary {
    background-color: white;
    color: #25499D;
    border: none;
}

.kecheng-container .tab-button:hover {
    opacity: 0.9;
}

.kecheng-container .premium-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15vw, 1fr));
    gap: 3vw;
    margin-bottom: 32px;
}

.kecheng-container .premium-course-card {
    background-color: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
}

.kecheng-container .premium-course-card:nth-child(1) {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/premium-course-cardbg1.png') no-repeat;
    background-size: 100% 100%;
}

.kecheng-container .premium-course-card:nth-child(2) {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/premium-course-cardbg2.png') no-repeat;
    background-size: 100% 100%;
}

.kecheng-container .premium-course-card:nth-child(3) {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/premium-course-cardbg3.png') no-repeat;
    background-size: 100% 100%;
}

.kecheng-container .premium-course-card:nth-child(4) {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/premium-course-cardbg4.png') no-repeat;
    background-size: 100% 100%;
}

.kecheng-container .premium-course-card h3 {
    margin-top: 120px;
    text-align: center;
    font-size: 18px;
    color: #25499D;
}


.jiaru-container {
    background-color: #F5F8FE;
}

.jiaru-container .header-content {
    justify-content: center;
}

.jiaru-container .header-text {
    width: 360px;
}

.jiaru-container h1 {
    line-height: 50px;
    letter-spacing: 2px;
}

.jiaru-container p {
    color: #333333;
    font-size: 18px;
    line-height: 36px;
    margin-top: 20px;
}

.jiaru-container .btn {
    padding: 14px 70px;
    font-size: 20px;
    border-radius: 100px;
}


.xuexi-container {
    background-color: #F5F8FE;
}

.xuexi-container {

h1 {
    font-size: 32px;
    color: #25499D;
    margin-bottom: 15px;
}

.cases-section {
    padding: 20px 0 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(23vw, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.case-card {
    background-color: white;
    border-radius: 20px;
    padding: 24px 24px 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #264A9E;
}

.case-card:hover {
    transform: translateY(-5px);
    border: 1px solid #264A9E;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 16px;
    object-fit: cover;
    border: 2px solid #f0f2f5;
}

.user-details h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.user-details p {
    font-size: 16px;
    color: #666;
}

.case-info {
    margin-top: 16px;
    padding-left: 20px;
}

.case-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.case-info strong {
    color: #333;
    min-width: 65px;
    display: inline-block;
}

/* 内容区域 */
.content-section {
    background-color: white;
    padding: 10px 20px 0;
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: 1px 3px 15px 3px #ECEEF4;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.content-card {
    background-color: white;
}

.content-header {
    padding: 16px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/wp-content/themes/my-first-theme/assets/imgs/xuexi-content-headerbg.png') center bottom 4px no-repeat;
    background-size: 120px 10px;
}

.content-header h3 {
    font-size: 1.2rem;
}

.course-info {
    margin-bottom: 24px;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 1px 3px 15px 3px #ECEEF4;
}

.xuexi-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.xuexi-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
}

.course-details {
    flex: 1;
}

.course-details h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.course-details p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.course-rating {
    color: #f59e0b;
    margin-top: 8px;
}

.rating-count {
    color: #666;
    font-size: 0.85rem;
    margin-left: 8px;
}

.review-card {
    background-color: #fff;
    padding: 16px;
    border-radius: 20px;
    margin-top: 16px;
    box-shadow: 1px 3px 15px 3px #ECEEF4;
}

.review-card p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    padding: 10px 16px 0;
}

.learning-mode {
    margin-bottom: 24px;
}

.mode-card {
    display: flex;
    margin-bottom: 20px;
    padding: 20px 14px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 1px 3px 15px 3px #ECEEF4;
}

.learn-image {
    width: 240px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
}

.mode-details h5 {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 20px 10px;
    padding-bottom: 18px;
    background: url('/wp-content/themes/my-first-theme/assets/imgs/xuexi-mode-detailsbg.png') left bottom no-repeat;
    background-size: 200px 18px;
}

.mode-details p {
    font-size: 16px;
    color: #666;
    padding: 10px 20px;
}

}

.daohang-container {
    width: 100%;
    height: 800px;
    background: url('/wp-content/themes/my-first-theme/assets/imgs/banner-bg.png') no-repeat;
    background-size: 100% 100%;
}

.search-bar {
    position: absolute;
    width: 60%;
    left: 10%;
    bottom: 30%;
    box-shadow: 1px 5px 16px 5px #DFEBF7;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 20px;
}

.search-input {
    display: block;
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    line-height: 32px;
    color: #333;
}

.search-btn {
    width: 30px;
    height: 30px;
    background: url('/wp-content/themes/my-first-theme/assets/imgs/search-sendbtn.png') no-repeat;
    background-size: 100% 100%;
    border: none;
    cursor: pointer;
}

.five-navigation {
    position: absolute;
    bottom: 12%;
    right: 10%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 60%;
}

.five-hashbtn {
    background-color: #fff;
    box-shadow: 1px 0px 8px 0px #E7ECF7;
    border-radius: 10px;
    padding: 5px 30px;
    max-width: 180px;
    display: block;
    text-decoration: none;
}

.five-hashbtn h4 {
    font-size: 14px;
    color: #25499D;
    text-align: center;
}

.five-hashbtn p {
    font-size: 14px;
    color: #25499D;
    text-align: center;
}

/* AI弹窗 */
.chat-pop {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1001;
}

.chat-pop.active {
    display: block;
}

.chat-toggle {
    width: 80%;
    height: 600px;
    position: fixed;
    top: 100px;
    left: 10%;
    background-color: #fff;
    border-radius: 20px;
}

.chat-toggle .chattop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.chat-toggle .chattop .chattop-title {
    font-size: 20px;
    color: #333333;
    font-weight: 700;
}

.chat-toggle .chattop .chattop-title span {
    font-size: 16px;
    color: #4B6DFF;
    margin-left: 20px;
}

.chat-toggle .chattop-subtitle {
    color: #999999;
    margin-top: 10px;
    font-size: 14px;
}

.chat-toggle .right-close {
    font-size: 20px;
}

.chat-toggle .chat-submit {
    position: absolute;
    left: 5%;
    bottom: 0;
    width: 90%;
    height: 60px;
    background-color: #F6F6F6;
    border-radius: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.chat-toggle .chat-input {
    display: block;
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    line-height: 16px;
    color: #333;
}

.chat-toggle .chat-send {
    width: 30px;
    height: 30px;
    background: url('/wp-content/themes/my-first-theme/assets/imgs/search-sendbtn.png') no-repeat;
    background-size: 100% 100%;
    border: none;
    cursor: pointer;
}

.chat-toggle .chat-info {
    padding: 0 40px 60px;
    max-height: 500px;
}

/* 对话样式 */
.chat-toggle .user-msg,
.chat-toggle .ai-msg {
    display: flex;
    align-items: flex-start;
    margin: 6px 0;
}

.chat-toggle .user-msg .anwserp,
.chat-toggle .ai-msg .anwserp {
    padding: 8px;
    border-radius: 12px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.4rem;
    font-size: 12px;

}

.chat-toggle .user-msg .anwserp p,
.chat-toggle .ai-msg .anwserp p {
    margin: 0;
}

.chat-toggle .user-msg .avatar,
.chat-toggle .ai-msg .avatar {
    display: block;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
}

/* 用户消息：右对齐 + 头像在右边 */
.chat-toggle .user-msg {
    justify-content: flex-end;
}

.chat-toggle .user-msg .anwserp {
    background-color: #EBF1FF;
    color: #333333;
    border-top-right-radius: 0;
    margin-right: 6px;
    margin-bottom: 4px;
}

.chat-toggle .user-msg .avatar {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/chat-userimg.png') no-repeat center 0px;
    background-position: center 0px;
    background-size: cover;
}

/* AI 消息：左对齐 + 头像在左边 */
.chat-toggle .ai-msg {
    justify-content: flex-start;
}

.chat-toggle .ai-msg .anwserp {
    background-color: #fff7eb;
    color: #333333;
    border-top-left-radius: 0;
    margin-left: 6px;
}

.chat-toggle .ai-msg .avatar {
    background: url('/wp-content/themes/my-first-theme/assets/imgs/chat-aiimg.png') no-repeat center 0px;
    background-position: center 0px;
    background-size: cover;
}

@media (max-width: 1337px) {
    .container {
        max-width: 1200px;
    }
}