/* 延边考必达教育咨询有限公司官网样式 */
:root {
    --primary: #1e3a5f;
    --primary-light: #2a4d7a;
    --secondary: #c9a227;
    --secondary-light: #e0b93a;
    --text: #333333;
    --text-light: #666666;
    --bg: #f8f9fa;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* 导航栏 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 48px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 18px;
}

.nav-menu a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

/* 导航项较多时的紧凑布局 */
@media (max-width: 1200px) and (min-width: 769px) {
    .nav-menu {
        gap: 14px;
    }
    .nav-menu a {
        font-size: 12px;
    }
    .site-search input[type="text"] {
        width: 100px !important;
    }
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
}

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

.hero-stat .number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stat .label {
    font-size: 14px;
    opacity: 0.9;
}

/* 服务预览 */
.services-preview {
    background-color: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(30, 58, 95, 0.08);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 关于我们预览 */
.about-preview {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.about-image {
    background-color: var(--bg);
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 案例 */
.cases-preview {
    background-color: var(--bg);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.case-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

.case-card .content {
    padding: 24px;
}

.case-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 18px;
}

.case-card .tag {
    display: inline-block;
    background-color: rgba(201, 162, 39, 0.15);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 服务套餐卡片：按钮统一对齐底部 */
.service-packages .case-card {
    display: flex;
    flex-direction: column;
}
.service-packages .case-card .content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-packages .case-card .content p {
    flex: 1;
}
.service-packages .case-card .btn {
    margin-top: auto !important;
}

/* 录取喜报墙 */
.offer-section {
    margin-bottom: 44px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.offer-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.offer-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background-color: #f0f2f5;
}

.offer-card .caption {
    padding: 12px 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.offer-card .sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 4px;
}

.tier-note {
    font-size: 14px;
    color: var(--text-light);
    margin: -6px 0 20px;
    line-height: 1.7;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary);
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.privacy-note strong {
    color: var(--primary);
}

/* 新闻 */
.news-preview {
    background-color: var(--white);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background-color: var(--bg);
    border-radius: var(--radius);
    transition: var(--transition);
}

.news-item:hover {
    background-color: #eef0f2;
}

.news-date {
    min-width: 60px;
    text-align: center;
}

.news-date .day {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.news-date .month {
    font-size: 12px;
    color: var(--text-light);
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* 内页横幅 */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.page-banner p {
    opacity: 0.9;
}

/* 表单 */
.contact-section {
    background-color: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding: 20px 0;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(30, 58, 95, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--primary);
}

.info-text p {
    color: var(--text-light);
    font-size: 14px;
}

/* 页脚 */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.8;
}

.footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--secondary);
}

/* 团队成员 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    margin: 0 auto 20px;
    border: 4px solid rgba(30, 58, 95, 0.08);
}

.team-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 6px;
}

.team-card .title {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card .desc {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}

/* 二维码 */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

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

.qr-item img {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.qr-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* 图片画廊（门店环境 / 服务现场 / 软著等） */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(30,58,95,0.08);
    border: 1px solid rgba(30,58,95,0.06);
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.14);
}
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
/* 证书类（软著）保持完整比例 */
.gallery-grid.docs {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.gallery-item.doc {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    height: 360px;
    padding: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item.doc:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(30,58,95,.12);
}
.gallery-item.doc img {
    object-fit: contain;
    background: transparent;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    margin: auto;
    display: block;
}

/* 服务流程 */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    counter-reset: process;
}

.process-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    padding-top: 50px;
}

.process-card::before {
    counter-increment: process;
    content: counter(process);
    position: absolute;
    top: -20px;
    left: 32px;
    width: 44px;
    height: 44px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* 图片展示 */
.img-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-stats {
        gap: 24px;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==================== 悬浮咨询按钮（全站） ==================== */
.float-consult {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-consult .fc-item {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.float-consult .fc-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.float-consult .fc-item .fc-icon {
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: 2px;
}
.float-consult .fc-phone { background: #1e3a5f; }
.float-consult .fc-wechat { background: #07c160; }
.float-consult .fc-form { background: #c9a227; }
.float-consult .fc-top { background: #666; display: none; }
.float-consult .fc-top.show { display: flex; }

@media (max-width: 768px) {
    .float-consult {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }
    .float-consult .fc-item {
        width: 48px;
        height: 48px;
        font-size: 0.6rem;
    }
    .float-consult .fc-item .fc-icon {
        font-size: 1.1rem;
    }
}

/* ==================== 文末免责声明 ==================== */
.article-disclaimer {
    background: #f8fafc;
    border-left: 3px solid #94a3b8;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.7;
}

/* ==================== 资料领取钩子 ==================== */
.lead-magnet {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: #fff;
    padding: 28px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
}
.lead-magnet h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.lead-magnet p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.lead-magnet .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
}

/* ===== 服务流程时间线 ===== */
.flow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}
.flow-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    position: relative;
    transition: var(--transition);
}
.flow-step:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.flow-num {
    font-size: 30px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.flow-step h3 {
    font-size: 17px;
    color: var(--primary);
    margin: 0 0 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.flow-free {
    font-size: 12px;
    font-weight: 400;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    padding: 2px 8px;
    border-radius: 10px;
}
.flow-step p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* ===== 媒体报道卡片 ===== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}
.media-card {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}
a.media-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.media-thumb {
    flex-shrink: 0;
    width: 150px;
}
.media-thumb img {
    width: 150px;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    display: block;
}
.media-body {
    padding: 18px 20px 18px 0;
    flex: 1;
}
.media-source {
    display: inline-block;
    font-size: 12px;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 2px 9px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.media-body h3 {
    font-size: 16.5px;
    color: var(--primary);
    margin: 0 0 8px;
    line-height: 1.5;
    font-weight: 600;
}
.media-body p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-light);
    margin: 0 0 12px;
}
.media-meta {
    font-size: 13px;
    color: var(--secondary);
}

@media (max-width: 1024px) {
    .flow-timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .flow-timeline { grid-template-columns: 1fr; gap: 16px; }
    .media-card { flex-direction: column; }
    .media-thumb, .media-thumb img { width: 100%; min-height: 180px; }
    .media-body { padding: 16px 18px 20px; }
}

/* ===== 页脚合规信息条 ===== */
.footer-compliance {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 28px;
    margin-bottom: 24px;
}
.fc-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.fc-license {
    flex-shrink: 0;
    display: block;
    text-align: center;
    text-decoration: none;
}
.fc-license img {
    width: 160px;
    height: auto;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: block;
    background: #fff;
}
.fc-license span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
}
.fc-info { flex: 1; min-width: 260px; }
.fc-name { font-size: 15px; color: #fff; margin: 0 0 8px; font-weight: 500; }
.fc-scope { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); margin: 0 0 6px; }
.fc-scope strong { color: var(--secondary-light); }
.fc-note { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin: 0; line-height: 1.7; }
.fc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 14px;
}
.fc-links a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.fc-links a:hover { color: var(--secondary-light); border-bottom-color: var(--secondary-light); }
.fc-hotline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.8;
}
.fc-hotline a { color: var(--secondary-light); text-decoration: none; }

@media (max-width: 640px) {
    .fc-row { flex-direction: column; gap: 14px; }
    .fc-license img { width: 130px; }
    .fc-links { gap: 8px 16px; }
}

/* ===== 知识库深度版导流提示条 ===== */
.kb-notice {
    background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom: 1px solid #fde68a;
    padding: 16px 0;
}
.kb-notice .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.kb-notice-badge {
    flex-shrink: 0;
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 14px;
    font-weight: 500;
}
.kb-notice-body { flex: 1; min-width: 260px; }
.kb-notice-body p {
    margin: 0 0 6px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #78350f;
}
.kb-notice-body a {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
}
.kb-notice-body a:hover { color: var(--secondary); border-bottom-color: var(--secondary); }
@media (max-width: 640px) {
    .kb-notice .container { gap: 10px; }
    .kb-notice-body p { font-size: 13.5px; }
}

/* ===== 首页知识库精选 ===== */
.kb-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}
.kb-home-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 24px;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}
.kb-home-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.kb-home-cat {
    display: inline-block;
    font-size: 12px;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}
.kb-home-card h3 {
    font-size: 17px;
    color: var(--primary);
    margin: 0 0 10px;
    line-height: 1.5;
    font-weight: 600;
}
.kb-home-card p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0 0 14px;
}
.kb-home-go {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

/* ===== 服务套餐与价格页 (service-pricing) ===== */
.pricing-intro {
    background: #f8f9fa;
    border-left: 4px solid var(--primary);
    padding: 18px 22px;
    border-radius: 8px;
    margin: 8px 0 4px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 32px;
}
.tier-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(30, 58, 95, .06);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}
.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(30, 58, 95, .16);
}
.tier-card a.tier-img {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
    line-height: 0;
    height: 520px;
    border-radius: 12px 12px 0 0;
}
.tier-card a.tier-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform .35s ease;
}
.tier-card a.tier-img:hover img {
    transform: scale(1.03);
}
.tier-card .tier-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tier-card .tier-body h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0 0 6px;
    text-align: center;
}
.tier-card .tier-desc {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.6;
}
.tier-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    font-size: 14px;
}
.tier-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eef2f7;
    color: var(--text);
}
.tier-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}
.tier-table tr:last-child td {
    border-bottom: none;
}
.tier-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 12px 16px;
    margin: 4px 0 18px;
}
.tier-total span {
    font-size: 14px;
    color: #9a3412;
    font-weight: 500;
}
.tier-total strong {
    font-size: 1.45rem;
    color: #c2410c;
    letter-spacing: .5px;
}
.tier-card .btn.tier-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
}
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .tier-card { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
    .tier-card .tier-body { padding: 18px; }
    .tier-total strong { font-size: 1.25rem; }
}

/* ===== 视觉升级组件（参照星途京际设计语言）===== */

/* 1. 英文小标签（eyebrow）—— 提升区块层次感 */
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 10px;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--secondary);
    vertical-align: middle;
    margin: 0 10px;
    opacity: 0.6;
}

/* 2. 为什么选择我们 —— emoji 图标优势卡片 */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.why-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(30,58,95,0.07);
    border: 1px solid rgba(30,58,95,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(30,58,95,0.14);
}
.why-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}
.why-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}
.why-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* 3. 真实数据大数字统计区块 */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4d7a 100%);
    padding: 60px 0;
    color: #fff;
}
.stats-section .section-title h2 { color: #fff; }
.stats-section .section-title p { color: rgba(255,255,255,0.8); }
.stats-section .section-eyebrow { color: var(--secondary-light); }
.stats-section .section-eyebrow::before,
.stats-section .section-eyebrow::after { background: var(--secondary-light); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    text-align: center;
}
.stat-item { padding: 10px; }
.stat-item .stat-num {
    font-size: 2.9rem;
    font-weight: 700;
    color: var(--secondary-light);
    line-height: 1.1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.stat-item .stat-num .suffix { font-size: 1.6rem; margin-left: 2px; }
.stat-item .stat-label {
    font-size: 0.98rem;
    color: rgba(255,255,255,0.92);
    font-weight: 500;
}
.stat-item .stat-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* 4. 团队预览卡片 */
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
}
.team-mini-card {
    background: var(--white);
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(30,58,95,0.07);
    border: 1px solid rgba(30,58,95,0.06);
    transition: all 0.3s ease;
}
.team-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30,58,95,0.13);
}
.team-mini-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
    border: 3px solid var(--secondary);
    background: #f1f5f9;
}
.team-mini-card h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 600;
}
.team-mini-card .team-role {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 8px;
}
.team-mini-card .team-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* 5. 服务卡片视觉增强 */
.services-preview .service-card {
    border: 1px solid rgba(30,58,95,0.07);
    position: relative;
    overflow: hidden;
}
.services-preview .service-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.services-preview .service-card:hover::after { transform: scaleX(1); }
.services-preview .service-icon {
    background: linear-gradient(135deg, rgba(30,58,95,0.10) 0%, rgba(201,162,39,0.14) 100%);
    border-radius: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    .section-eyebrow { font-size: 11px; letter-spacing: 2px; }
    .section-eyebrow::before, .section-eyebrow::after { width: 16px; margin: 0 7px; }
    .stat-item .stat-num { font-size: 2.2rem; }
    .why-grid, .team-preview-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
    .stats-section { padding: 44px 0; }
}

/* ===== 二期视觉升级 ===== */

/* 6. 横向时间轴（服务流程） */
.flow-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    padding: 40px 0 10px;
    overflow-x: auto;
}
.flow-timeline::before {
    content: "";
    position: absolute;
    top: 74px;
    left: 6%;
    right: 6%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.25;
    z-index: 0;
}
.flow-step {
    flex: 1 1 0;
    min-width: 130px;
    text-align: center;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}
.flow-step .flow-num {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #2a4d7a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(30,58,95,0.22);
    border: 3px solid #fff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}
.flow-step:hover .flow-num {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 26px rgba(201,162,39,0.35);
}
.flow-step h3 {
    font-size: 0.98rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}
.flow-step p {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.65;
}
.flow-free {
    display: inline-block;
    font-size: 11px;
    background: #16A085;
    color: #fff;
    padding: 1px 7px;
    border-radius: 999px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: 500;
}
@media (max-width: 900px) {
    .flow-step { min-width: 150px; }
    .flow-timeline::before { top: 72px; }
}

/* 7. 关于我们区实景大图背景 */
.about-preview {
    position: relative;
    background: linear-gradient(rgba(30,58,95,0.90), rgba(30,58,95,0.82)), url('images/service_scene/office_interior.webp') center/cover no-repeat;
    color: #fff;
}
.about-preview .section-eyebrow { color: var(--secondary-light); }
.about-preview .section-eyebrow::before, .about-preview .section-eyebrow::after { background: var(--secondary-light); }
.about-preview h2 { color: #fff; }
.about-preview p { color: rgba(255,255,255,0.9); }
.about-preview strong { color: var(--secondary-light); }
.about-preview .btn-primary { background: var(--secondary); }
.about-preview .btn-primary:hover { background: var(--secondary-light); }

/* 8. 成功案例数字滚动动画 */
.case-stat-num {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.case-stat-num .suffix { font-size: 1.5rem; margin-left: 2px; }
.case-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
    margin: 28px 0 8px;
    padding: 22px 0;
    border-top: 1px solid rgba(30,58,95,0.1);
    border-bottom: 1px solid rgba(30,58,95,0.1);
}
.case-stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; }

/* 9. 返回顶部 + 悬浮咨询按钮（全站） */
.float-tools {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-tools .ft-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(30,58,95,0.12);
    box-shadow: 0 4px 16px rgba(30,58,95,0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    cursor: pointer;
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
    font-size: 17px;
    line-height: 1;
}
.float-tools .ft-item span.ft-text { font-size: 9px; letter-spacing: .5px; }
.float-tools .ft-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.28);
}
.float-tools .ft-top {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}
.float-tools .ft-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .float-tools { right: 12px; bottom: 78px; }
    .float-tools .ft-item { width: 44px; height: 44px; font-size: 15px; }
}

/* 关于我们区：背景实景 + 前景图片层次优化 */
.about-preview .about-content {
    align-items: center;
}
.about-preview .about-image img {
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(0,0,0,0.35);
    border: 4px solid rgba(255,255,255,0.92);
    width: 100%;
    height: auto;
    display: block;
}
.about-preview .about-text .btn {
    backdrop-filter: blur(4px);
}
.about-preview .about-text p {
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
@media (max-width: 768px) {
    .about-preview { background-attachment: scroll; }
    .about-preview .about-image img { border-width: 3px; margin-top: 20px; }
}

/* ===== 三期视觉优化 ===== */

/* 10. 服务流程连接线进度动画 */
.flow-timeline { --flow-progress: 0; }
.flow-timeline::before {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.55;
}
.flow-timeline.animate::before { transform: scaleX(1); }
.flow-step {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s cubic-bezier(0.34,1.3,0.64,1);
}
.flow-timeline.animate .flow-step { opacity: 1; transform: translateY(0); }
.flow-timeline.animate .flow-step:nth-child(1) { transition-delay: .10s; }
.flow-timeline.animate .flow-step:nth-child(2) { transition-delay: .38s; }
.flow-timeline.animate .flow-step:nth-child(3) { transition-delay: .66s; }
.flow-timeline.animate .flow-step:nth-child(4) { transition-delay: .94s; }
.flow-timeline.animate .flow-step:nth-child(5) { transition-delay: 1.22s; }
.flow-timeline.animate .flow-step:nth-child(6) { transition-delay: 1.50s; }
.flow-timeline.animate .flow-step:nth-child(7) { transition-delay: 1.78s; }
/* 节点圆点脉冲（连接线经过时） */
.flow-timeline.animate .flow-step .flow-num { animation: flowPulse 2.6s ease-in-out infinite; }
.flow-timeline.animate .flow-step:nth-child(1) .flow-num { animation-delay: .10s; }
.flow-timeline.animate .flow-step:nth-child(2) .flow-num { animation-delay: .38s; }
.flow-timeline.animate .flow-step:nth-child(3) .flow-num { animation-delay: .66s; }
.flow-timeline.animate .flow-step:nth-child(4) .flow-num { animation-delay: .94s; }
.flow-timeline.animate .flow-step:nth-child(5) .flow-num { animation-delay: 1.22s; }
.flow-timeline.animate .flow-step:nth-child(6) .flow-num { animation-delay: 1.50s; }
.flow-timeline.animate .flow-step:nth-child(7) .flow-num { animation-delay: 1.78s; }
@keyframes flowPulse {
    0%,100% { box-shadow: 0 6px 18px rgba(30,58,95,0.22); }
    50%     { box-shadow: 0 6px 18px rgba(30,58,95,0.22), 0 0 0 8px rgba(201,162,39,0.10); }
}
@media (prefers-reduced-motion: reduce) {
    .flow-timeline::before { transition: none; transform: scaleX(1); }
    .flow-step { opacity: 1; transform: none; transition: none; }
    .flow-timeline.animate .flow-step .flow-num { animation: none; }
}

/* 11. 案例区筛选交互 */
.case-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 26px;
}
.case-filter-btn {
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(30,58,95,0.18);
    background: var(--white);
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease;
    font-family: inherit;
}
.case-filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}
.case-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(30,58,95,0.22);
}
.case-filter-btn.active:hover { color: #fff; }
.cases-grid .case-card {
    transition: opacity .35s ease, transform .35s ease;
}
.cases-grid .case-card.case-hidden {
    display: none;
}
.cases-grid .case-card.case-fade-in {
    animation: caseFadeIn .45s ease both;
}
@keyframes caseFadeIn {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
.case-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    display: none;
}
.case-empty.show { display: block; }

/* 12. Hero 动态背景（视频 / Ken Burns 备用） */
.hero { position: relative; overflow: hidden; }
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-media video,
.hero-media .hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}
/* 无视频时的 Ken Burns 缓慢推拉 + 光影流动 */
.hero-media .hero-fallback {
    background: url('images/lecture_scene.webp') center/cover no-repeat;
    animation: heroKenBurns 26s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes heroKenBurns {
    from { transform: scale(1.04) translate3d(0,0,0); }
    to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}
/* 叠加光影流动层，营造视频般的动态感 */
.hero-media::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 30% 40%, rgba(201,162,39,0.16), transparent 55%),
                radial-gradient(circle at 75% 65%, rgba(59,130,246,0.16), transparent 55%);
    animation: heroGlow 16s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes heroGlow {
    from { transform: translate3d(-3%, 2%, 0) scale(1); opacity: .85; }
    to   { transform: translate3d(3%, -2%, 0) scale(1.12); opacity: 1; }
}
.hero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
    .hero-media .hero-fallback,
    .hero-media::after { animation: none; }
}

/* 13. 服务流程点击展开详情 */
.flow-step { cursor: pointer; }
.flow-step .flow-more {
    display: none;
    margin-top: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(30,58,95,0.10);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
    box-shadow: 0 4px 14px rgba(30,58,95,0.06);
}
.flow-step.expanded .flow-more { display: block; animation: flowExpand .3s ease both; }
@keyframes flowExpand { from { opacity:0; transform: translateY(-6px);} to { opacity:1; transform:none; } }
.flow-step .flow-toggle {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--secondary);
    font-weight: 500;
}
.flow-step.expanded .flow-num {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}
.flow-step.expanded .flow-toggle::after { content: "收起 ▲"; }
.flow-step .flow-toggle::after { content: "详情 ▼"; }
@media (max-width: 900px) {
    .flow-step .flow-more { font-size: 0.8rem; }
}

/* 14. 页面加载进度条（全站） */
#pageProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 9999;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 8px rgba(201,162,39,0.5);
    transition: width .18s ease-out, opacity .4s ease;
    pointer-events: none;
}
#pageProgress.done { opacity: 0; }


/* ===== 暗色模式 ===== */
:root {
    --bg-alt: #f8f9fa;
    --heading: var(--primary);
    --tint-amber: #fffbeb;
    --tint-amber2: #fef3c7;
    --tint-green: #dcfce7;
    --tint-blue: #dbeafe;
    --c-amber: #78350f;
    --c-green: #166534;
    --c-blue: #1e40af;
}

html[data-theme="dark"] {
    --primary: #2a4d7a;
    --primary-light: #3a6699;
    --secondary: #d4a832;
    --secondary-light: #f0c94a;
    --text: #e2e8f0;
    --text-light: #9fb0c4;
    --bg: #0b1220;
    --bg-alt: #131c2e;
    --white: #1a2436;
    --border: #2c3a52;
    --heading: #93c5fd;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    --tint-amber: #332a10;
    --tint-amber2: #3a3018;
    --tint-green: #12301d;
    --tint-blue: #13253d;
    --c-amber: #fcd34d;
    --c-green: #6ee7b7;
    --c-blue: #93c5fd;
    color-scheme: dark;
}

html[data-theme="dark"] body { background-color: var(--bg); color: var(--text); }
html[data-theme="dark"] .header { background-color: #101a2b; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
html[data-theme="dark"] .nav-menu a { color: var(--text); }
html[data-theme="dark"] .footer { background-color: #0a1424; color: var(--text-light); }
html[data-theme="dark"] .footer h4 { color: #e2e8f0; }
html[data-theme="dark"] .footer a { color: var(--text-light); }
html[data-theme="dark"] .hero { color: #fff; }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background-color: #0f1a2b; color: var(--text); border-color: var(--border);
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #6b7c93; }
html[data-theme="dark"] table.data th,
html[data-theme="dark"] .fav-table th { background-color: #0f1a2b; color: var(--text-light); }
html[data-theme="dark"] table.data td,
html[data-theme="dark"] .fav-table td { border-color: var(--border); }
html[data-theme="dark"] .modal-body,
html[data-theme="dark"] .fav-modal-body { background-color: var(--white); color: var(--text); }
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .result-card { background-color: var(--white); color: var(--text); }
html[data-theme="dark"] .faq-item { background-color: var(--white); }
html[data-theme="dark"] .note-line { color: var(--text-light); }
html[data-theme="dark"] .article-disclaimer { background-color: var(--tint-amber); color: var(--text); border-color: var(--c-amber); }
html[data-theme="dark"] .section-eyebrow { color: var(--secondary-light); }
html[data-theme="dark"] .section-eyebrow::before,
html[data-theme="dark"] .section-eyebrow::after { background: var(--secondary-light); }
html[data-theme="dark"] .stat-item .stat-num { color: var(--secondary-light); }
html[data-theme="dark"] .btn-outline { border-color: var(--border); color: var(--text); }

/* 主题切换按钮 */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-left: 10px; flex: 0 0 auto;
    border-radius: 50%; border: 1px solid var(--border);
    background: var(--bg-alt); color: var(--primary);
    cursor: pointer; font-size: 15px; line-height: 1;
    transition: var(--transition);
}
.theme-toggle:hover { background: var(--primary); color: #fff; transform: rotate(-18deg); }
html[data-theme="dark"] .theme-toggle { background: #0f1a2b; color: #fbbf24; }
html[data-theme="dark"] .theme-toggle:hover { background: #fbbf24; color: #0b1220; }
@media (max-width: 768px) {
    .theme-toggle { width: 30px; height: 30px; font-size: 13px; margin-left: 6px; }
}


html[data-theme="dark"] .section-title h2 {
    color: var(--heading);
}

html[data-theme="dark"] .btn-outline:hover {
    color: var(--heading);
}

html[data-theme="dark"] .nav-menu a:hover, html[data-theme="dark"] .nav-menu a.active {
    color: var(--heading);
}

html[data-theme="dark"] .service-icon {
    color: var(--heading);
}

html[data-theme="dark"] .service-card h3 {
    color: var(--heading);
}

html[data-theme="dark"] .about-text h2 {
    color: var(--heading);
}

html[data-theme="dark"] .case-card h3 {
    color: var(--heading);
}

html[data-theme="dark"] .offer-img {
    background-color: var(--bg-alt);
}

html[data-theme="dark"] .offer-card .caption {
    color: var(--heading);
}

html[data-theme="dark"] .privacy-note {
    background-color: var(--bg-alt);
}

html[data-theme="dark"] .privacy-note strong {
    color: var(--heading);
}

html[data-theme="dark"] .news-item:hover {
    background-color: var(--bg-alt);
}

html[data-theme="dark"] .news-date .day {
    color: var(--heading);
}

html[data-theme="dark"] .news-content h3 {
    color: var(--heading);
}

html[data-theme="dark"] .form-group label {
    color: var(--heading);
}

html[data-theme="dark"] .info-icon {
    color: var(--heading);
}

html[data-theme="dark"] .info-text h3 {
    color: var(--heading);
}

html[data-theme="dark"] .team-card h3 {
    color: var(--heading);
}

html[data-theme="dark"] .gallery-item {
    background: var(--white);
}

html[data-theme="dark"] .gallery-item.doc {
    background: var(--white);
    border: 1px solid var(--border);
}

html[data-theme="dark"] .article-disclaimer {
    background: var(--bg-alt);
}

html[data-theme="dark"] .lead-magnet .btn {
    background: var(--white);
    color: var(--heading);
}

html[data-theme="dark"] .flow-step {
    background: var(--white);
}

html[data-theme="dark"] .flow-step h3 {
    color: var(--heading);
}

html[data-theme="dark"] .flow-free {
    background: var(--tint-green);
}

html[data-theme="dark"] .media-card {
    background: var(--white);
}

html[data-theme="dark"] .media-body h3 {
    color: var(--heading);
}

html[data-theme="dark"] .fc-license img {
    background: var(--white);
}

html[data-theme="dark"] .kb-notice {
    background: linear-gradient(90deg, var(--tint-amber) 0%, var(--tint-amber2) 100%);
}

html[data-theme="dark"] .kb-notice-body a {
    color: var(--heading);
}

html[data-theme="dark"] .kb-home-card {
    background: var(--white);
}

html[data-theme="dark"] .kb-home-card h3 {
    color: var(--heading);
}

html[data-theme="dark"] .kb-home-go {
    color: var(--heading);
}

html[data-theme="dark"] .pricing-intro {
    background: var(--bg-alt);
}

html[data-theme="dark"] .tier-card {
    background: var(--white);
    border: 1px solid var(--border);
}

html[data-theme="dark"] .tier-card a.tier-img {
    background: var(--bg-alt);
}

html[data-theme="dark"] .tier-card .tier-body h3 {
    color: var(--heading);
}

html[data-theme="dark"] .tier-table td:last-child {
    color: var(--heading);
}

html[data-theme="dark"] .why-card h3 {
    color: var(--heading);
}

html[data-theme="dark"] .team-mini-avatar {
    background: var(--bg-alt);
}

html[data-theme="dark"] .team-mini-card h3 {
    color: var(--heading);
}

html[data-theme="dark"] .flow-step h3 {
    color: var(--heading);
}

html[data-theme="dark"] .float-tools .ft-item {
    color: var(--heading);
}

html[data-theme="dark"] .case-filter-btn {
    color: var(--heading);
}

html[data-theme="dark"] .flow-step .flow-more {
    background: var(--white);
}

/* ============================================
   v32 视觉与内容呈现整改（2026-09-12）
   ① 相关阅读卡（替代关键词标签堆）
   ② 紧凑阅读提示条
   ③ CTA 区精修 + 区块视觉节奏增强
   ============================================ */

/* ----- ① 相关阅读卡 ----- */
.related-box {
    margin: 40px 0 8px;
    padding: 26px 28px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid rgba(30,58,95,0.10);
    box-shadow: 0 4px 24px rgba(30,58,95,0.06);
}
.related-box h4 {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-box h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(201,162,39,0.5), transparent);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--bg-alt);
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.related-item:hover {
    background: var(--white);
    border-color: rgba(30,58,95,0.18);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30,58,95,0.10);
    color: var(--heading);
}
.related-arrow {
    flex: none;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    transition: all 0.25s ease;
}
.related-item:hover .related-arrow {
    background: var(--secondary);
    transform: translateX(2px);
}

/* ----- ② 紧凑阅读提示条 ----- */
.article-disclaimer {
    background: transparent;
    border-left: 3px solid var(--secondary);
    padding: 10px 18px;
    border-radius: 0 8px 8px 0;
    margin: 18px 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.7;
}
.article-disclaimer strong {
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* ----- ③ CTA 精修 ----- */
.cta {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201,162,39,0.14) 0%, transparent 55%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}
.cta h2 {
    font-size: 32px;
    margin-bottom: 16px;
    position: relative;
}
.cta p {
    position: relative;
    opacity: 0.92;
}
.cta .btn-primary {
    position: relative;
    background: var(--secondary);
    color: #1e3a5f;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(201,162,39,0.4);
    transition: all 0.25s ease;
}
.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201,162,39,0.5);
}

/* ----- ④ 暗色模式适配 ----- */
html[data-theme="dark"] .related-box {
    background: var(--white);
}
html[data-theme="dark"] .related-item {
    background: var(--bg-alt);
}
html[data-theme="dark"] .related-item:hover {
    background: var(--white);
}
html[data-theme="dark"] .article-disclaimer strong {
    color: var(--heading);
}
html[data-theme="dark"] .cta {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201,162,39,0.10) 0%, transparent 55%),
        linear-gradient(135deg, #16283f 0%, #1e3a5f 100%);
}
