/* ============================================================
   css.css — 全站统一样式系统 (Apple 极简暗黑风格)

   覆盖页面:
   - index.html   (首页/产品介绍)
   - AIYG.html    (AI员工实战营)
   - LDFA.html    (落地方案设计)
   - daohang.html (已废弃，导航 HTML 已硬编码到各页面)

   结构:
     1. 设计令牌    9.  Hero 区域
     2. 重置 & 基础 10. 卡片系统
     3. 工具类      11. 按钮系统
     4. 导航栏      12. 分块布局 (index)
     5. 区块布局    13. 视频组件
     6. 滚动渐入    14. 定价组件
     7. 页脚        15. 弹窗系统
     8. 网格系统    16. LDFA 专属
                  17. AIYG 专属
                  18. 响应式
   ============================================================ */

/* ============================================================
   0. 字体声明 (OPPO Sans 4.0)
   使用页面: 全部页面
   OPPO Sans 4.0 支持多字重，为全站提供统一的中文阅读体验
   ============================================================ */
@font-face {
    font-family: 'OPPO Sans';
    src: url('../ziliao/fonts/OPPO Sans 4.0.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   1. 设计令牌 (Design Tokens)
   使用页面: 全部页面 (index, AIYG, LDFA)
   ============================================================ */
:root {
    --bg-color: #000000;
    --bg-dark: #0a0a0a;
    --bg-mid: #111111;
    --card-bg: #141414;
    --card-hover: #1a1a1a;
    --border: #2a2a2a;
    --border-hover: #3a3a3a;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-tertiary: #555555;
    --accent-color: #2ADB5C;
    --green: #2ADB5C;
    --highlight: #FF9F0A;
    --orange: #FF9F0A;
    --highlight2: #ffffff;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 22px;
    --font-stack: "OPPO Sans", "OPPO Sans 4.0", -apple-system, BlinkMacSystemFont,
                  "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

/* ============================================================
   2. 重置 & 基础 (Reset & Base)
   使用页面: 全部页面
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.5;
    font-size: 16px;
    overflow-x: hidden;
}

/* ============================================================
   3. 工具类 (Utilities)
   使用页面: .container → AIYG, LDFA
            .highlight → AIYG, LDFA
            .badge    → AIYG, LDFA
            .hl-green / .hl-orange → index
   ============================================================ */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--highlight);
    font-weight: 600;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.accent-text {
    color: var(--accent-color);
}

/* index.html 专用高亮颜色类 */
.hl-green  { color: var(--green); }
.hl-orange { color: var(--orange); }

/* ============================================================
   4. 导航栏 (Navigation)
   使用页面: 全部页面（HTML 硬编码，js.js 仅处理交互）
   ============================================================ */
.dh-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dh-nav.hidden {
    transform: translateY(-100%);
}

.dh-nav-inner {
    padding: 0 clamp(16px, 4vw, 40px);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dh-nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dh-nav-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.dh-nav-brand {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.dh-nav-links {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    align-items: center;
}

.dh-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    white-space: nowrap;
}

.dh-nav-links a:hover,
.dh-nav-links a.dh-active {
    color: var(--green);
}

.dh-nav-contact {
    color: var(--text-secondary);
    font-size: 12px;
    white-space: nowrap;
}

.dh-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}

.dh-mobile-menu {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 12px;
}

.dh-mobile-menu.active {
    display: flex;
}

.dh-mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    padding: 6px 0;
}

.dh-mobile-menu a:hover {
    color: var(--text-primary);
}

/* ============================================================
   5. 区块布局 (Section Layout)
   使用页面: 全部页面共用 .section / .section-dark / .section-header
            .section 仅设垂直内边距，水平宽度由 .container 控制
            index.html 额外使用 .section-padded（自带水平内边距的流体布局）
   ============================================================ */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-gray {
    background: var(--bg-mid);
}

/* AIYG 定制方案板块：增高 dark 色块 */
.sec-course-aiyg {
    padding-top: 160px;
    padding-bottom: 160px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* index.html 专用：自带水平内边距的流体 section */
/* 使用: index.html 的 <section class="section section-fluid section-dark"> */
.section-fluid {
    padding-left: 250px;
    padding-right: 250px;
}

/* 主动学习板块使用默认 section-fluid 250px 左边距，与释放团队生产力一致 */

/* ============================================================
   6. 滚动渐入 (Scroll Reveal)
   使用页面: index.html
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   7. 页脚 (Footer)
   使用页面: 全部页面
   ============================================================ */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer .footer-icp {
    font-size: 12px !important;
    color: var(--text-tertiary) !important;
    margin-top: 4px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-top: 16px;
    opacity: 0.6;
}

/* LDFA 页脚标题（比通用 footer 更大） */
.footer h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

/* ============================================================
   8. 网格系统 (Grid)
   使用页面: .grid-2 → AIYG, LDFA
            .grid-3 → AIYG
   ============================================================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================================
   9. Hero 区域
   ============================================================ */

/* --- 9a. AIYG Hero --- */
/* 使用页面: AIYG.html */
.hero-aiyg {
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-aiyg h1 {
    font-size: clamp(34px, 6vw, 52px);
    font-weight: 700;
    letter-spacing: -0.005em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-aiyg .subtitle {
    font-size: clamp(20px, 3.5vw, 26px);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 12px;
}

.hero-aiyg .desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-aiyg .badge {
    margin-bottom: 20px;
    font-size: 14px;
    padding: 6px 16px;
}

.hero-play-wrap {
    text-align: center;
    padding: 0 0 60px 0;
}

.hero-btn-row {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- 9b. LDFA Hero --- */
/* 使用页面: LDFA.html */
.hero-ldfa {
    text-align: center;
    padding: 270px 20px 40px;
}

.hero-ldfa h1 {
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.005em;
    margin-bottom: 16px;
    white-space: nowrap;
}

.hero-ldfa .slogan {
    font-size: clamp(22px, 3.5vw, 28px);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 10px;
    white-space: nowrap;
}

.hero-ldfa .motto {
    font-size: 17px;
    color: var(--text-secondary);
    margin-top: 20px;
    opacity: 0.8;
}

/* --- 9c. index Hero --- */
/* 使用页面: index.html */
.hero-index {
    text-align: center;
    padding: 220px clamp(16px, 5vw, 40px) 60px;
    position: relative;
    overflow: hidden;
}

.hero-index::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(42, 219, 92, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-index h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    line-height: 1.12;
    white-space: nowrap;
}

.hero-index .hero-sub {
    font-size: clamp(15px, 1.9vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-index .hero-sub strong {
    color: var(--green);
}

/* index hero 按钮行 */
.hero-actions {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* ============================================================
   10. 卡片系统
   ============================================================ */

/* --- 10a. 通用卡片 (AIYG + LDFA 共用) --- */
.card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 36px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- 10b. 原因卡片 (AIYG) --- */
.reason-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card:hover {
    transform: scale(1.02);
}

.reason-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--highlight);
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
}

.reason-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.reason-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- 10c. 步骤卡片 (AIYG) --- */
.step-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.step-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 36px;
    flex: 1;
    transition: transform 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: scale(1.02);
}

.step-num {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- 10d. 赠送网格 (AIYG) --- */
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bonus-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 28px;
    transition: transform 0.3s ease;
}

.bonus-item:hover {
    transform: scale(1.02);
}

.bonus-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.bonus-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bonus-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- 10e. 课程模块列表 (AIYG) --- */
.module-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.module-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--card-bg);
    border-radius: 18px;
    padding: 24px;
    transition: transform 0.3s ease;
}

.module-item:hover {
    transform: scale(1.02);
}

.module-check {
    color: var(--highlight);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.module-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.module-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- 10f. 作者卡片 (AIYG) --- */
.author-section {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    transition: transform 0.3s ease;
}

.author-section:hover {
    transform: scale(1.02);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}

.author-info .company {
    font-size: 15px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.author-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.author-highlight {
    color: var(--highlight);
    font-weight: 600;
}

/* --- 10g. index 功能卡片（4列固定，居中大气） --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(42, 219, 92, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* --- 10h. index 技能卡片 --- */
.skill-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    max-width: 500px;
}

.skill-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: transparent;
    border: none;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-2px);
}

.skill-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(42, 219, 92, 0.1);
    color: var(--green);
}

.skill-body {
    flex: 1;
    min-width: 0;
    max-width: 330px;
}

.skill-card h4 {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    margin-bottom: 6px;
    word-break: break-all;
    overflow-wrap: break-word;
}

.skill-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    word-break: break-all;
    overflow-wrap: break-word;
}

.skill-img-wrap {
    flex: 0 0 auto;
    line-height: 0;
}

.skill-img-wrap img {
    height: 650px;
    width: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-img-wrap img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 60px rgba(42, 219, 92, 0.1);
}

.skill-note {
    text-align: left;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 8px 0;
}

.skill-note strong {
    color: var(--green);
}

/* --- 10i. 技能区左右分栏 (index Ai员工 + SKILL技能) --- */
.skill-split {
    display: flex;
    align-items: center;
    gap: 200px;
}

.skill-left {
    flex: 0 0 auto;
    max-width: 400px;
    margin-left: max(40px, 8vw);
}

/* --- 10j. 工作流滚动条 (index Ai员工怎么工作 - 替代原 iframe) --- */
.wf-scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: -250px;
    margin-right: -250px;
    padding-left: 250px;
    padding-right: 250px;
}
.wf-scroll-wrap::-webkit-scrollbar {
    display: none;
}
.wf-scroll-wrap:active {
    cursor: grabbing;
}

.wf-scroll-track {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 50px);
    width: max-content;
    padding: 20px 0;
}

.wf-step {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.wf-step-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

/* 不同步骤的配色 */
.wf-step:nth-child(1) .wf-step-icon { border-color: rgba(42,219,92,0.4); color: var(--green); }
.wf-step:nth-child(3) .wf-step-icon { border-color: rgba(255,159,10,0.4); color: var(--orange); }
.wf-step:nth-child(5) .wf-step-icon { border-color: rgba(42,219,92,0.3); color: var(--green); }
.wf-step:nth-child(7) .wf-step-icon { border-color: rgba(42,219,92,0.5); color: var(--green); }

.wf-step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wf-step-text span {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.wf-step-text small {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 400;
    color: var(--text-secondary);
}

.wf-step-arrow {
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--text-tertiary);
    flex-shrink: 0;
    font-weight: 300;
}

/* 员工竖排卡片 */
.wf-staff-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 0;
}

.wf-staff-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.wf-staff-item:hover {
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(42, 219, 92, 0.1);
}

.wf-staff-item small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
}

.wf-staff-item .staff-num {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(42, 219, 92, 0.12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.wf-staff-item:nth-child(even) .staff-num {
    background: rgba(255, 159, 10, 0.12);
    color: var(--orange);
}

.wf-staff-more {
    border-style: dashed;
    opacity: 0.55;
    color: var(--text-secondary);
}

.wf-staff-more .staff-num {
    background: rgba(134, 134, 139, 0.12);
    color: var(--text-secondary);
}

.wf-staff-more:hover {
    border-color: var(--text-secondary);
    opacity: 0.8;
}

/* ============================================================
   11. 按钮系统
   使用页面:
     .btn-cta / .btn-cta2 / .btn-play-video / .btn-buy → AIYG
     .btn / .btn-primary / .btn-outline / .btn-orange → index
   ============================================================ */

/* --- AIYG 按钮 --- */
.btn-cta {
    display: inline-block;
    padding: 14px 44px;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    background: var(--highlight);
    color: #000;
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.btn-cta2 {
    display: inline-block;
    padding: 14px 44px;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    background: var(--highlight2);
    color: #000;
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.btn-cta:hover,
.btn-cta2:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 播放视频按钮 (AIYG Hero) */
.btn-play-video {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 600;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-play-video:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

.play-icon {
    font-size: 20px;
}

/* 购买按钮 (AIYG 定价卡) */
.pricing-card .btn-buy {
    display: inline-block;
    padding: 14px 44px;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    background: var(--highlight);
    color: #000;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.pricing-card .btn-buy:hover {
    transform: translateY(-2px);
}

/* --- index 按钮（统一圆角体系） --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 36px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: #0a0a0a;
}

.btn-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 219, 92, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(42, 219, 92, 0.1);
}

.btn-orange {
    background: var(--orange);
    color: #0a0a0a;
}

.btn-orange:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 159, 10, 0.25);
}

.btn-white {
    background: #ffffff;
    color: #0a0a0a;
}

.btn-white:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* ============================================================
   12. 分块布局 (Split Block — index 专属)
   使用页面: index.html
   左文右图 / 左图右文，图片保持原始比例自适应
   ============================================================ */
.split-block {
    display: flex;
    align-items: center;
    gap: 200px;
}

.split-block.reverse {
    flex-direction: row-reverse;
}

.split-block.reverse .split-text {
    margin-left: 0;
    margin-right: max(40px, 8vw);
}

.split-text {
    flex: 0 0 auto;
    max-width: 400px;
    margin-left: max(40px, 8vw);
}

.split-text h3 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.split-text .accent-sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--green);
    font-weight: 500;
    margin-bottom: 22px;
}

.split-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    font-size: clamp(15px, 1.6vw, 17px);
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.check-list li::before {
    content: '✓';
    flex-shrink: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
    margin-top: 1px;
}

.split-image {
    flex: 0 0 auto;
    line-height: 0;
}

.split-image img {
    height: 650px;
    width: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.split-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 60px rgba(42, 219, 92, 0.1);
}

/* ============================================================
   13. 视频组件
   使用页面: 弹窗样式 → AIYG, index 共用
            hero 视频区 → index 专属
   ============================================================ */

/* --- 13a. index Hero 视频区 --- */
.hero-video-area {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video-wrap {
    position: relative;
    width: min(85vw, 640px);
    cursor: pointer;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

.hero-video-wrap:hover {
    transform: scale(1.015);
    box-shadow: 0 12px 60px rgba(42, 219, 92, 0.08);
}

.hero-video-wrap video {
    width: 100%;
    height: auto;
    display: block;
}

.hero-poster {
    width: 100%;
    height: auto;
    display: block;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.video-play-overlay.hidden {
    opacity: 0;
}

.play-btn-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.hero-video-wrap:hover .play-btn-circle {
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.play-btn-circle::after {
    content: '';
    width: 0; height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

/* --- 13b. 视频放大弹窗（AIYG + index 共用） --- */
.video-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 300;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.video-modal-overlay.active {
    display: flex;
}

.video-modal-container {
    position: relative;
    width: 90vw;
    max-width: 1260px;
    max-height: 85vh;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0, 150, 255, 0.25), 0 0 200px rgba(0, 100, 200, 0.1);
    cursor: default;
    animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* AIYG: iframe 视频 */
.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* AIYG: 带 aspect-ratio */
.video-modal-container:has(.video-modal-iframe) {
    aspect-ratio: 1260 / 708;
}

/* index: video 标签 */
.video-modal-container video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: contain;
}

/* 视频关闭按钮（通用） */
.video-modal-close,
.video-modal-pause,
.video-modal-mute {
    position: absolute;
    top: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.video-modal-close:hover,
.video-modal-pause:hover,
.video-modal-mute:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}

.video-modal-close { right: 14px; }
.video-modal-pause { right: 110px; }
.video-modal-mute  { right: 62px; }

/* AIYG: 视频结束 CTA 浮层 */
.video-cta-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 16, 0.85);
    z-index: 20;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    border-radius: 16px;
}

.video-cta-overlay .btn-cta,
.video-cta-overlay .btn-cta2 {
    font-size: 20px;
    padding: 16px 52px;
    border-radius: 32px;
    min-width: 240px;
    text-align: center;
}

/* ============================================================
   14. 定价组件
   使用页面: .pricing-* / .feat-* → AIYG
            .pricing-scroll / .price-card → index
   ============================================================ */

/* --- 14a. AIYG 定价卡片 --- */
.pricing-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

.pricing-card {
    flex: 1;
    min-width: 260px;
    max-width: 370px;
    background: var(--card-bg);
    border-radius: 28px;
    padding: 40px 32px 36px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.02);
}

.pricing-card.recommended {
    border-color: var(--highlight);
    box-shadow: 0 0 40px rgba(255, 159, 10, 0.15);
}

.pricing-card .card-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--highlight);
    color: #000;
    padding: 4px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card .card-tag.recommend-tag {
    background: #ff4488;
    color: #fff;
}

.pricing-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0 6px;
}

.pricing-card-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 15px;
    color: #c8d0dd;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li .feat-icon-i {
    color: #00ff88;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-features li .feat-icon-x {
    color: var(--text-tertiary);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-features li .feat-label {
    flex: 1;
}

.pricing-features li .feat-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.feat-badge-included {
    background: rgba(0, 255, 136, 0.12);
    color: #00ff88;
}

.feat-badge-excluded {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
}

.feat-badge-highlight {
    background: rgba(255, 159, 10, 0.12);
    color: var(--highlight);
}

.pricing-card .original-price {
    font-size: 18px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.pricing-card .current-price {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--highlight);
}

.pricing-card .current-price small {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-card .price-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
    margin-bottom: 0;
}

/* --- 14b. index 定价卡片 --- */
.pricing-scroll {
}

/* index 的 pricing-row 覆盖（更紧的 gap、水平排列） */
.pricing-scroll .pricing-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    min-width: 220px;
    flex: 1 1 auto;
    max-width: 320px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    border-color: var(--border-hover);
    background: var(--card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.price-card.featured {
    border-color: var(--orange);
    box-shadow: 0 0 24px rgba(255, 159, 10, 0.1);
}

.price-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #171716;
    padding: 3px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.price-card .plan-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.price-card .plan-price {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--text-primary);
}

.price-card.featured .plan-price {
    color: var(--orange);
}

.price-card .plan-price small {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-card .plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: left;
    flex: 1;
}

.price-card .plan-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}

.price-card .plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 11px;
}

.price-card .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14px;
}

/* ============================================================
   15. 弹窗系统
   使用页面: 二维码弹窗 → AIYG, index (共用 .modal-overlay)
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 200;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    cursor: default;
    animation: fadeIn 0.3s ease;
}

.modal-content img {
    width: 300px;
    border-radius: 12px;
    display: block;
}

.modal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- 图片浮窗（index split-image / skill-img-wrap 点击放大） --- */
.img-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 300;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.img-lightbox-overlay.active {
    display: flex;
}

.img-lightbox-container {
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0, 150, 255, 0.25), 0 0 200px rgba(0, 100, 200, 0.1);
    cursor: default;
    line-height: 0;
    animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-lightbox-container img {
    max-width: 90vw;
    max-height: 85vh;
    display: block;
}

.img-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.img-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}

/* ============================================================
   16. LDFA 专属组件
   使用页面: LDFA.html
   ============================================================ */

/* 流程总览背景 */
.process-overview {
    background: var(--bg-dark);
    text-align: center;
}

/* 流程步骤项 */
.lf-step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border);
}

.lf-step-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lf-step-number {
    font-size: 80px;
    font-weight: 700;
    color: #333;
    margin-right: 40px;
    line-height: 1;
    min-width: 120px;
    flex-shrink: 0;
}

.lf-step-content {
    flex: 1;
}

.lf-step-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.lf-step-content .guide {
    font-size: 19px;
    color: var(--accent-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.lf-step-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.step-note {
    font-size: 14px;
    color: var(--text-tertiary);
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 12px;
    display: inline-block;
}

/* 子项网格 */
.sub-items {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sub-item {
    background: #252525;
    padding: 15px;
    border-radius: 12px;
    font-size: 13px;
    color: #ccc;
}

.sub-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

/* 交易规则 */
.rules-section {
    background: var(--bg-color);
}

.rule-card {
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.rule-card h4 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.rule-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   17. AIYG 专属（已在上面各节定义，此处仅补充少量）
   使用页面: AIYG.html
   ============================================================ */

/* ============================================================
   18. 响应式 (Responsive — ≤768px)
   合并所有页面的移动端断点
   ============================================================ */
@media (max-width: 768px) {

    /* ---- 导航 ---- */
    .dh-nav-links,
    .dh-nav-contact {
        display: none;
    }

    .dh-nav-toggle {
        display: block;
    }

    .nav-links {
        gap: 8px;
        margin-left: 8px;
    }

    .nav-links a {
        font-size: 11px;
    }

    /* ---- Hero ---- */
    .hero-aiyg {
        padding: 40px 20px 40px;
    }
    .hero-aiyg h1 {
        font-size: 28px;
    }
    .hero-aiyg .subtitle {
        font-size: 18px;
    }

    .hero-ldfa h1 {
        font-size: 32px;
        white-space: normal;
    }
    .hero-ldfa .slogan {
        font-size: 18px;
        white-space: normal;
    }

    .hero-index h1 {
        white-space: normal;
    }
    /* Hero H1 从「让Ai员工」开始断行：给前半句加 nowrap 容器 */
    .hero-index .hero-h1-prefix {
        white-space: nowrap;
    }

    .hero-play-wrap {
        padding: 100px 0;
    }

    .hero-btn-row {
        gap: 24px;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    /* ---- Grid 全变单列 ---- */
    .grid-2,
    .grid-3,
    .bonus-grid,
    .module-list,
    .step-row,
    .sub-items {
        grid-template-columns: 1fr;
    }

    .step-row {
        flex-direction: column;
    }

    /* ---- 卡片 ---- */
    .reason-card {
        flex-direction: column;
    }

    .card,
    .reason-card,
    .bonus-item,
    .module-item {
        padding: 24px;
    }

    /* ---- 作者 ---- */
    .author-section {
        flex-direction: column;
        text-align: center;
    }

    /* ---- Section Header ---- */
    .section-header h2 {
        font-size: 26px;
    }

    /* LDFA section header mobile */
    .section-header h2 {
        white-space: normal;
    }

    /* ---- LDFA 步骤 ---- */
    .lf-step-item {
        flex-direction: column;
    }
    .lf-step-number {
        font-size: 40px;
        margin-bottom: 20px;
        margin-right: 0;
    }
    .card {
        margin-bottom: 20px;
    }
    .sub-item {
        margin-bottom: 10px;
    }

    /* ---- 分块布局 (index) ---- */
    .split-block {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .split-text {
        max-width: 100%;
        margin-left: 0;
    }
    .split-image img {
        height: auto;
        width: 100%;
    }

    /* ---- 技能分栏 (index) ---- */
    .skill-split {
        flex-direction: column;
        gap: 40px;
    }
    .skill-left {
        max-width: 100%;
    }

    /* ---- section-fluid 移动端恢复紧凑 ---- */
    .section-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ---- 定价 ---- */
    .pricing-row {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        padding: 36px 24px;
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }

    .pricing-card .current-price {
        font-size: 42px;
    }

    .pricing-card-title {
        font-size: 22px;
    }

    .pricing-features li {
        font-size: 14px;
    }

    /* index 定价水平滚动 */
    .pricing-scroll .pricing-row {
        justify-content: flex-start;
    }
    .price-card {
        min-width: 260px;
        max-width: 100%;
        flex: 1 1 260px;
    }

    /* ---- 工作流滚动 (index) ---- */
    .wf-scroll-wrap {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .wf-step {
        gap: 10px;
    }
    .wf-step-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    .wf-step-text span {
        font-size: 20px;
    }

    /* ---- 功能卡片 4列→2列 (index) ---- */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ---- 技能卡片 (index) ---- */
    .skill-img-wrap img {
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    /* ---- 视频弹窗 ---- */
    .video-modal-container {
        width: 95vw;
        border-radius: 10px;
    }

    .video-modal-close,
    .video-modal-pause,
    .video-modal-mute {
        width: 32px;
        height: 32px;
        font-size: 16px;
        top: 8px;
    }

    .video-modal-close { right: 8px; }
    .video-modal-pause { right: 88px; }
    .video-modal-mute  { right: 48px; }

    /* ---- 播放按钮 ---- */
    .btn-play-video {
        padding: 12px 28px;
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .hero-index h1 {
        white-space: normal;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-video-wrap {
        width: 92vw;
    }
}
