/* 首页专用样式 index.css */

/* 顶部横幅区域 */
.hero {
    background: linear-gradient(120deg, #14244C 0%, #0F1312 100%);
    color: #fff;
    text-align: left;
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
}
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-content {
    max-width: 600px;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
}
.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero-list {
    margin-bottom: 2rem;
}
.hero-list li {
    margin-bottom: 0.5rem;
    list-style: none;
    position: relative;
    padding-left: 1.5em;
    font-size: 1.1rem;
}
.hero-list li:before {
    content: "✔";
    color: #ffffff;
    position: absolute;
    left: 0;
}
.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: #396fff;
    color: #fff;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1rem;
    transition: background 0.3s;
}
.cta-button:hover {
    background: #296fff;
}
.hero-img {
    max-width: 420px;
    width: 40vw;
    min-width: 220px;
}

/* showcase区块 */
.showcase-section {
    background: #fff;
    padding: 60px 0 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.showcase-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    color: #222;
}
.showcase-imgs {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
}
.showcase-laptop {
    max-width: 800px;
    width: 90%;
}
.showcase-mobile {
    max-width: 220px;
    width: 18vw;
    margin-left: -40px;
    margin-bottom: 20px;
}
.showcase-bg-half {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20%;
    background: #f5f6fa;
    z-index: 0;
}
.showcase-container {
    position: relative;
    z-index: 1;
}

/* 统计数字区 */
.stats-section {
    background: #f5f6fa;
    padding: 20px 0;
    text-align: center;
}
.stats {
    display: flex;
    justify-content: center;
    gap: 120px;
}
.stat-block {
    text-align: center;
}
.stat {
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.8rem;
}
.stat .percent {
    font-size: 1.3rem;
    margin-left: 2px;
    line-height: 1;
}
.stat .up-icon {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    margin-top: 0.5rem;
}
.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* 企业成长曲线区 */
.growth-section {
    padding: 80px 0 0 0;
    background-color: #fff;
}

.growth-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1.4;
}

.growth-title br {
    display: none;
}

.growth-steps {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.growth-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 估值学堂区 */
.academy-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.academy-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    color: #222;
}
.academy-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.academy-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem 2rem;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.academy-icon {
    font-size: 2.2rem;
    color: #396fff;
    margin-bottom: 1rem;
}
.academy-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.academy-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #222;
}
.academy-desc {
    color: #555;
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
}
.academy-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #396fff;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s;
}
.academy-btn:hover {
    background: #1a2a6c;
}

/* 模估观察区 */
.news-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.news-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #222;
}
/* 分类切换标签 */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.news-tab {
    padding: 0.6rem 1.5rem;
    background: #f5f6fa;
    color: #666;
    border: none;
    border-radius: 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}
.news-tab:hover {
    background: #e8ecf5;
    color: #396fff;
}
.news-tab.active {
    background: linear-gradient(90deg, #396fff 0%, #369fff 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(57,111,255,0.2);
}
.news-list {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.3s ease;
}
.news-empty {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 0.95rem;
}
.news-tag {
    background: #e3f2fd;
    color: #396fff;
    border-radius: 12px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    margin-right: 1rem;
}
.news-date {
    color: #888;
    font-size: 0.9rem;
    min-width: 90px;
    text-align: right;
    margin-left: auto;
}
.news-more-btn {
    background: none;
    border: none;
    color: #396fff;
    font-size: 0.92rem;
    margin-left: 0.7rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 0.5em;
    border-radius: 3px;
}
.news-more-btn:hover {
    color: #1a2a6c;
    background: #eaf1ff;
}
.more-news-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(90deg, #396fff 0%, #369fff 100%);
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(57,111,255,0.08);
}
.more-news-btn:hover {
    background: linear-gradient(90deg, #1a2a6c 0%, #369fff 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(57,111,255,0.15);
}

/* 培训表单样式 */
.training-form input {
    outline: none;
    padding: 0.5rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}
.training-form input:focus {
    border-color: #396fff;
}
.training-form button {
    background: #396fff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 0;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.training-form button:hover {
    background: #1a2a6c;
}

/* 客户logo墙区 */
.clients-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.clients-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    color: #222;
}
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.clients-logos img {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 10px;
}

/* 蓝色底部横幅 */
.cta-section {
    background: linear-gradient(120deg, #1a2a6c 0%, #369fff 100%);
    color: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}
.cta-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
}
.cta-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.cta-btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    background: #369fff;
    color: #fff;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: background 0.3s;
}
.cta-btn:hover {
    background: #369fff;
}
.cta-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.cta-btn-outline:hover {
    background: #fff;
    color: #369fff;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .showcase-imgs {
        flex-direction: column;
        gap: 20px;
    }
    .stats {
        gap: 40px;
    }
    .growth-steps {
        gap: 20px;
    }
    .academy-cards, .events-cards, .clients-logos {
        gap: 16px;
    }
}
@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-img {
        margin-top: 2rem;
    }
    .showcase-imgs {
        flex-direction: column;
        gap: 10px;
    }
    .stats {
        /* flex-direction: column; */
        gap: 20px;
    }
    .growth-curve-container {
        width: 98vw;
        min-width: 0;
    }
    .growth-curve, .growth-step-group {
        width: 100% !important;
    }
    .growth-step {
        width: 33vw;
        min-width: 90px;
        max-width: 160px;
    }
    .step-desc {
        max-width: 120px;
        font-size: 0.92rem;
    }
    .academy-cards, .events-cards, .clients-logos {
        /* flex-direction: column; */
        align-items: center;
        gap: 16px;
    }
    .academy-card, .event-card {
        width: 90vw;
        max-width: 350px;
    }
}

/* 产品和服务区 */
.products-section {
    padding: 60px 0;
    background: #fff;
}

.products-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.product-list {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.product-item {
    padding: 60px 0;
}

.white-bg {
    background: #fff;
}

.gray-bg {
    background: #f5f6fa;
}

.product-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 40px;
}

.product-content.reverse {
    flex-direction: row-reverse;
}

.product-text {
    flex: 1;
    max-width: 500px;
}

.product-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.learn-more:hover {
    background: var(--secondary-color);
}

.product-image {
    flex: 1;
    max-width: 500px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

/* 统计数字区域样式 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    color: var(--white);
    margin-top: 0.5rem;
}

/* 统计数字区样式 */
.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-block {
    text-align: center;
}

.stat {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.percent {
    font-size: 2rem;
}

.up-icon {
    width: 24px;
    height: 24px;
}

.stat-label {
    margin-top: 0.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* 客户logo区域样式 */
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.clients-logos img {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.clients-logos img:hover {
    transform: scale(1.05);
}

/* 培训预约弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 2.5rem;
    min-width: 320px;
    max-width: 90vw;
    position: relative;
    box-shadow: 0 8px 32px rgba(57,111,255,0.12);
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #bbb;
    cursor: pointer;
}

.modal-title {
    margin-bottom: 1.2rem;
    color: #396fff;
}

.training-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.training-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.training-form button {
    background: #396fff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.training-form button:hover {
    background: #1a2a6c;
}

.success-message {
    display: none;
    margin-top: 1.2rem;
    text-align: center;
    color: #27ae60;
    font-size: 1.08rem;
    background: #eafaf1;
    border-radius: 6px;
    padding: 0.8rem 0;
}

/* 在线咨询弹窗样式 */
#chatModal .modal-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(57,111,255,0.12);
    display: flex;
    flex-direction: column;
    height: 520px;
    max-height: 90vh;
    min-width: 320px;
    width: 380px;
    max-width: 95vw;
    padding: 0;
    position: relative;
}

#chatModal .modal-content > div:first-child {
    background: linear-gradient(90deg,#14244C 0%,#0F1312 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#chatModal .modal-content > div:first-child button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

#chatMessages {
    flex: 1;
    padding: 1.2rem 1.5rem;
    overflow-y: auto;
    background: #f7f9fc;
    font-size: 1rem;
}

#chatForm {
    display: flex;
    border-top: 1px solid #eee;
    padding: 0.8rem 1rem;
    background: #fff;
}

#chatInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5em 0.8em;
    border-radius: 6px;
    background: #f2f4f8;
    margin-right: 0.7em;
}

#chatForm button[type="submit"] {
    background: #396fff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5em 1.2em;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

#chatForm button[type="submit"]:hover {
    background: #14244C;
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .hero-stats {
        display: none;
    }

    .stats {
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat {
        font-size: 2.5rem;
    }

    .percent {
        font-size: 1.5rem;
    }

    .up-icon {
        width: 20px;
        height: 20px;
    }

    .stat-label {
        font-size: 1rem;
    }

    .clients-logos {
        gap: 20px;
        padding: 0 20px;
    }

    .clients-logos img {
        width: calc((100% - 20px) / 2);
        max-width: none;
        height: 50px;
        padding: 5px;
    }

    #chatModal .modal-content {
        min-width: 0;
        width: 98vw;
        padding: 0;
    }

    #chatMessages {
        padding: 0.7rem 0.5rem;
    }

    #chatForm {
        padding: 0.5rem 0.3rem;
    }

    #chatModal .modal-content > div:first-child {
        padding: 0.7rem 1rem;
    }

    .growth-title {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .growth-title br {
        display: block;
    }
    
    /* 模估观察区响应式 */
    .news-tabs {
        gap: 0.5rem;
        padding: 0 10px;
    }
    .news-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .news-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .news-date {
        min-width: auto;
        margin-left: 0;
    }
} 