/* ========================================
   全局样式 - 规整商务版
   ======================================== */
:root {
    /* 核心色板 */
    --primary-color: #0066cc;
    --primary-hover: #0052a3;
    --bg-body: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;

    /* 文字颜色 - 高对比度 */
    --text-main: #212529;
    /* 近纯黑，清晰 */
    --text-sub: #6c757d;
    /* 中灰 */

    /* 布局规范 */
    --container-width: 1200px;
    /* 标准宽度 */
    --spacing-section: 80px;
    /* 板块间距统一 */
    --grid-gap: 30px;
    /* 网格间距统一 */

    /* 这是一个微圆角，显得正规 */
    --radius: 8px;

    /* 阴影 - 极其克制 */
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-body);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 统一容器 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   导航栏 - 严谨清晰版 (修正配色)
   ======================================== */
.navbar {
    background: #ffffff;
    /* 确保纯白背景 */
    border-bottom: 1px solid #eee;
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* 添加清晰的层级感 */
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    /* 稍微加大 */
    font-weight: 800;
    color: var(--primary-color);
    /* 在白底上蓝色很清晰 */
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #333;
    /* 纯黑偏灰，对比度高 */
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: #fff;
    /* 蓝底白字，清晰 */
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* ========================================
   Hero首屏 - 居中对称
   ======================================== */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(to bottom, #f0f7ff 0%, #ffffff 100%);
    text-align: center;
    /* 强制居中 */
}

/* 隐藏不必要的背景装饰 */
.hero-background,
.gradient-orb,
.hero-image,
.floating-card {
    display: none;
}

.hero-container {
    display: block;
    /* 取消 grid，改为 block 以便居中 */
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: #e6f7ff;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    color: #111;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 20px;
    color: #555;
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮居中 */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 1px solid #ddd;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

.btn-secondary:hover {
    background: #f9f9f9;
    border-color: #ccc;
}

/* 数据条 - 规整的网格 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-sub);
}

.stat-divider {
    display: none;
    /* 移除分割线，让间距自然分割 */
}

/* ========================================
   通用板块设置
   ======================================== */
section {
    padding: var(--spacing-section) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
    background: none;
    /* 移除背景块，改用纯文字 */
    padding: 0;
    border: none;
}

.section-title {
    font-size: 32px;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-sub);
    font-size: 16px;
}

/* ========================================
   关于我们
   ======================================== */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 强制4列，规整 */
    gap: var(--grid-gap);
}

.about-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.about-icon {
    font-size: 32px;
    margin-bottom: 20px;
    height: auto;
    /* 重置之前的高度 */
    width: auto;
    background: none;
    border-radius: 0;
    display: block;
}

.about-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.about-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ========================================
   精品课程 - 严谨卡片
   ======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 严格3列 */
    gap: 30px;
}

.course-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* 确保内容对齐 */
    transition: box-shadow 0.2s;
}

.course-card:hover {
    box-shadow: var(--shadow-hover);
    transform: none;
    /* 取消位移，更稳重 */
}

.course-card.featured {
    border: 1px solid var(--border-color);
    /* 移除特殊的彩色边框 */
    position: relative;
    /* 通过顶部边框来区分推荐 */
    border-top: 4px solid var(--primary-color);
}

.course-badge {
    top: 12px;
    right: 12px;
    font-size: 12px;
    padding: 4px 10px;
}

.course-image {
    height: 180px;
    background-color: #eee;
}

.excel-bg {
    background: #217346;
}

/* Excel 品牌绿 */
.ppt-bg {
    background: #d24726;
}

/* PPT 品牌红 */
.data-bg {
    background: #0078d4;
}

/* 数据 品牌蓝 */

.course-overlay {
    background: transparent;
    /* 移除遮罩 */
    display: none;
    /* 移除覆盖文字，保持图片纯净 */
}

.course-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.course-description {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 20px;
    flex-grow: 1;
    /* 让描述占据剩余空间，以此对其底部 */
}

.course-features {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.feature-item {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
}

.feature-icon {
    display: none;
}

/* 隐藏图标，只留文字，更简洁 */

.course-stats {
    margin-top: auto;
    /* 推到底部 */
    padding-top: 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.course-btn {
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
}

.course-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: none;
    box-shadow: none;
}

/* ========================================
   平台优势
   ======================================== */
.advantages {
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2列布局 */
    gap: 30px;
}

.advantage-card {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    display: flex;
    /* 改为横向布局 */
    gap: 24px;
    align-items: flex-start;
}

.advantage-card:hover {
    transform: none;
    background: #fff;
}

.advantage-card::before {
    display: none;
}

/* 移除装饰线条 */

.advantage-icon {
    font-size: 40px;
    margin: 0;
    background: none;
    width: auto;
    height: auto;
}

.advantage-content-wrapper {
    flex: 1;
}

.advantage-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.advantage-card p {
    margin-bottom: 16px;
    font-size: 14px;
}

.advantage-list li {
    font-size: 14px;
    margin-bottom: 4px;
    color: #555;
    padding-left: 0;
}

.advantage-list li::before {
    display: none;
}

/* 移除勾选符号 */

.advantage-number {
    display: none;
}

/* 移除背景大数字 */

/* ========================================
   学员见证
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: none;
}

.testimonial-card:hover {
    transform: none;
    border-color: #ccc;
}

.testimonial-header {
    margin-bottom: 16px;
}

.avatar-image {
    background: #eee;
    color: #666;
    font-size: 16px;
    font-weight: 600;
}

.testimonial-content {
    font-style: normal;
    /* 取消斜体，更易读 */
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    height: 80px;
    /* 固定高度，确保对齐 */
    overflow: hidden;
}

/* ========================================
   数据展示 - 修正为居中横向排列
   ======================================== */
.stats-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    text-align: center;
    /* 强制文字居中 */
}

.stats-grid {
    display: flex;
    /* 改用 Flex 确保横向 */
    justify-content: center;
    /* 水平居中 */
    gap: 100px;
    /* 拉大间距，更大气 */
    flex-wrap: wrap;
}

.stats-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    text-align: center;
    /* 确保内部居中 */
    min-width: 150px;
}

.stats-card:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.stats-icon {
    display: none;
}

.stats-number {
    color: #111;
    font-size: 48px;
    /* 加大字号 */
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
    display: block;
    /* 确保独占一行，垂直摆放 */
}

.stats-label {
    color: #666;
    font-size: 16px;
    display: block;
    /* 确保独占一行，垂直摆放 */
}

/* ========================================
   联系我们 & Footer
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    box-shadow: none;
    border: 1px solid var(--border-color);
    padding: 30px;
}

.contact-card:hover {
    transform: none;
    border-color: var(--primary-color);
}

/* ========================================
   公司信息 - 垂直居中摆放
   ======================================== */
.company-info {
    text-align: center;
    /* 整体居中 */
    max-width: 800px;
    /* 限制宽度 */
    margin: 40px auto 0;
    /* 顶部间距 & 水平居中 */
    padding: 40px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: var(--radius);
}

.company-info h3 {
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--text-main);
}

/* 让 info-grid 变成了垂直列表布局 */
.info-grid {
    display: flex;
    flex-direction: column;
    /* 垂直摆放 */
    gap: 16px;
    align-items: center;
    /* 子元素水平居中 */
}

.info-item {
    display: flex;
    gap: 10px;
    justify-content: center;
    /* 内容居中 */
    font-size: 16px;
}

/* ========================================
   页脚 - 居中对齐
   ======================================== */
.footer {
    background: #111;
    color: #999;
    text-align: center;
    /* 全局居中 */
}

.footer-content {
    display: flex;
    flex-direction: column;
    /* 垂直堆叠 */
    gap: 40px;
    align-items: center;
    /* 水平居中 */
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand .logo {
    justify-content: center;
    color: #fff;
    margin-bottom: 10px;
}

.footer-tagline {
    margin-bottom: 20px;
}

.social-links {
    justify-content: center;
}

/* 链接组改为横向宽布局，但每组内部居中 */
.footer-links {
    display: flex;
    gap: 60px;
    justify-content: center;
    text-align: center;
    width: 100%;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 120px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    display: inline-block;
    /* 标题下划线只包裹文字 */
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* 响应式调整 */
@media (max-width: 1024px) {

    .about-grid,
    .courses-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .about-grid,
    .courses-grid,
    .advantages-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}
/* ========================================
   
   ======================================== */
.process {
    background: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.step-number {
    font-size: 40px;
    font-weight: 800;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: 20px;
}

.process-step:hover .step-number {
    color: var(--primary-color);
    opacity: 0.2;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.process-step p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ========================================
   
   ======================================== */
.faq {
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* Ӧʽ */
@media (max-width: 768px) {
    .process-steps,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

