/* --- START OF FILE style.css (全站通用：修复头像显示 + 导航布局) --- */

/* =========================================
   0. 全局变量 (Design Tokens)
   ========================================= */
:root {
    --brand-green: #00CF80;
    --brand-green-hover: #00b872;
    --brand-gold: #B89628; 
    --bg-body: #FFFFFF;
    --bg-section-gray: #F5F5F7; 
    --bg-dark-green: #0B4F4A;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --text-tertiary: #6E6E73;
    
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
    
    --container-width: 1080px;
}

/* =========================================
   1. 基础重置
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    position: relative;
}

img { display: block; max-width: 100%; }
ul { list-style: none; }
video { display: block; width: 100%; }

a { text-decoration: none; color: inherit; transition: color 0.3s ease, opacity 0.3s ease; }

/* =========================================
   2. 通用组件
   ========================================= */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 12px 30px;
    border-radius: 40px; font-size: 16px; font-weight: 500; cursor: pointer; border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-primary { background: var(--brand-green); color: #fff; box-shadow: 0 4px 12px rgba(0, 207, 128, 0.3); }
.btn-primary:hover { background: var(--brand-green-hover); transform: translateY(-2px); }
.btn-secondary { background: rgba(0,0,0,0.05); color: var(--text-primary); }
.btn-secondary:hover { background: rgba(0,0,0,0.08); }

/* 标签与标题 */
.tag {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--brand-green); background: rgba(0, 207, 128, 0.1); padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.tag-dark {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: #fff; background: #333; padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header h2 { font-size: 36px; font-weight: 700; color: #1D1D1F; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--text-secondary); line-height: 1.5; }

/* =========================================
   3. 导航栏
   ========================================= */
#main-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.98); 
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
#main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.99); 
}
.nav-inner { height: 60px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #000; }
.logo-box { width: 30px; height: 30px; background: var(--brand-green); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--text-secondary); font-weight: 500; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-green); font-weight: 700; }

/* =========================================
   4. 页面横幅 (Page Header)
   ========================================= */
.page-header-banner {
    padding: 160px 0 80px; 
    background: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);
    text-align: center; margin-bottom: 0; position: relative; overflow: hidden;
}
.ph-tag { font-size: 13px; font-weight: 700; color: var(--brand-green); letter-spacing: 0.1em; display: block; margin-bottom: 16px; text-transform: uppercase; }
.ph-title { font-size: 48px; font-weight: 700; color: #1D1D1F; margin-bottom: 24px; line-height: 1.2; }
.ph-desc { font-size: 18px; color: #86868B; max-width: 680px; margin: 0 auto; line-height: 1.6; }

/* =========================================
   5. [Stories专用] 视频与问答区域
   ========================================= */
.company-video-section {
    width: 100%; max-width: 900px; margin: 0 auto;
    background-color: #000; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative; z-index: 10;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.company-video-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* =========================================
   6. [Stories专用] 案例库 (修复版：内外分离)
   ========================================= */
.section-cases { padding: 100px 0; background: #F5F5F7; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }

.case-card { 
    background: transparent; box-shadow: none; border: none; padding: 0; height: 100%;
    transform: none !important; transition: none !important;
}
.case-card-inner {
    background: #FFFFFF; border-radius: 24px; box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02); display: flex; flex-direction: column; height: 100%; 
    overflow: hidden; 
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    will-change: transform; transform: translate3d(0,0,0);
}
.case-card:hover .case-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(184, 150, 40, 0.15);
}
.case-thumb { height: 180px; width: 100%; position: relative; overflow: hidden; background: #f0f0f0; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-thumb img { transform: scale(1.1); }
.case-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; position: relative; z-index: 2; background: #fff; }
.case-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.case-tags span { font-size: 12px; font-weight: 600; color: var(--text-tertiary); background: #F5F5F7; padding: 4px 10px; border-radius: 6px; }
.case-summary { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
.case-cta { font-size: 14px; font-weight: 600; color: var(--brand-gold); display: flex; align-items: center; gap: 4px; padding: 4px 0; cursor: pointer; }
.case-card:hover .case-cta .arrow { transform: translateX(4px); transition: transform 0.2s; }

/* =========================================
   7. [Stories专用] 新闻动态 (修复版：内外分离)
   ========================================= */
.section-news { padding: 120px 0; background-color: #FFFFFF; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.news-card {
    background: transparent; box-shadow: none; border: none; height: 100%;
    transform: none !important; transition: none !important;
}
.news-card-inner {
    background: #FFFFFF; border-radius: 20px; border: 1px solid rgba(0,0,0,0.06); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); display: flex; flex-direction: column; height: 100%;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    will-change: transform; transform: translate3d(0,0,0);
}
.news-card:hover .news-card-inner { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.nc-cover { height: 180px; width: 100%; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.style-matrix { background: linear-gradient(135deg, #E3FDF5 0%, #FFE6FA 100%); }
.style-research { background: linear-gradient(135deg, #FFF1EB 0%, #ACE0F9 100%); }
.style-course { background: linear-gradient(135deg, #F5F7FA 0%, #C3CFE2 100%); }
.nc-visual-icon { font-size: 60px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); transition: transform 0.4s ease; }
.news-card:hover .nc-visual-icon { transform: scale(1.1) rotate(-5deg); }
.nc-category { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.85); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.nc-body { padding: 24px 28px 32px; display: flex; flex-direction: column; flex-grow: 1; background: #fff; }
.nc-meta { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 12px; color: var(--text-tertiary); }
.nc-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; color: #1D1D1F; }
.nc-summary { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; flex-grow: 1; line-height: 1.6; }
.nc-cta { font-size: 14px; font-weight: 600; color: var(--brand-green); display: flex; align-items: center; gap: 4px; cursor: pointer; }

/* =========================================
   8. [Heqianshe 专用] 合谦社页面样式
   ========================================= */
.direct-answer { background: #fafafa; padding: 60px 0; border-bottom: 1px solid #eee; }
.section-about-part1 { padding: 100px 0; background: #fff; }
.about-overview { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.ao-left { flex: 1; display: flex; justify-content: center; }
.ao-right { flex: 1.2; }
.ao-heading { font-size: 32px; font-weight: 700; color: #1D1D1F; margin-bottom: 24px; line-height: 1.3; }
.ao-text { font-size: 16px; color: #6E6E73; line-height: 1.8; margin-bottom: 24px; }
.ao-quote { font-size: 18px; font-weight: 600; color: #1D1D1F; font-style: italic; border-left: 4px solid var(--brand-gold); padding-left: 16px; margin-top: 32px; }

/* 星体动画 */
.orbit-system { position: relative; width: 300px; height: 300px; display: flex; align-items: center; justify-content: center; }
.os-core { width: 80px; height: 80px; background: linear-gradient(135deg, #00CF80, #00b872); border-radius: 50%; box-shadow: 0 10px 30px rgba(0, 207, 128, 0.4); z-index: 2; position: absolute; }
.os-ring { width: 260px; height: 260px; border: 1px dashed #ccc; border-radius: 50%; position: absolute; animation: spin 10s linear infinite; }
.os-moon { width: 40px; height: 40px; background: linear-gradient(135deg, #FFD700, #F2C94C); border-radius: 50%; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); box-shadow: 0 4px 12px rgba(242, 201, 76, 0.3); }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* MVV */
.about-mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card { background: #F5F5F7; padding: 32px; border-radius: 20px; text-align: center; transition: transform 0.3s ease; }
.mvv-card:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow-md); }
.mvv-icon { font-size: 36px; margin-bottom: 16px; }
.mvv-list li { margin-bottom: 6px; list-style-type: disc; }
.mvv-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mvv-tags span { font-size: 12px; background: rgba(0,0,0,0.05); padding: 4px 10px; border-radius: 4px; color: #555; }

/* 方法论 Grid */
.section-about-part2 { padding: 100px 0; background: #fafafa; }
.method-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.method-card { background: #fff; padding: 32px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.04); transition: transform 0.3s ease; display: flex; flex-direction: column; align-items: center; text-align: center; }
.method-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--brand-green); }
.mc-icon { font-size: 40px; margin-bottom: 16px; }

/* 宽卡片与系统介绍 */
.section-about-part3 { background: #fff; padding: 100px 0; }
.sys-header { text-align: center; margin-bottom: 60px; }
.sys-wide-card {
    background: #FFFFFF; border-radius: 24px; padding: 48px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    margin-bottom: 30px; position: relative; overflow: visible;
    transform: translate3d(0,0,0); z-index: 1;
}
.sys-wide-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -20px; z-index: -1; }
.sys-wide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sw-header { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.sw-icon { width: 68px; height: 68px; border-radius: 16px; overflow: hidden; flex-shrink: 0; background-color: #f0f0f0; }
.sw-title-group h4 { font-size: 24px; font-weight: 700; color: #1D1D1F; margin: 0; line-height: 1.2; }
.sw-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.sw-body { padding-left: 92px; }
.sw-value-box { background: #FAFAFC; border-radius: 16px; padding: 24px 30px; border: 1px solid rgba(0,0,0,0.03); margin-top: 24px; }
.sw-value-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.sw-value-list li { font-size: 14px; color: #1D1D1F; position: relative; padding-left: 18px; margin-bottom: 8px; line-height: 1.6; }
.sw-value-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background-color: #D1D1D6; }
/* 配色 */
.style-gold .sw-badge { background: rgba(184, 150, 40, 0.08); color: #B89628; }
.style-gold .sw-value-list li::before { background-color: #B89628; }
.style-blue .sw-badge { background: rgba(0, 122, 255, 0.08); color: #007AFF; }
.style-blue .sw-value-list li::before { background-color: #007AFF; }
.style-green .sw-badge { background: rgba(0, 207, 128, 0.08); color: #00CF80; }
.style-green .sw-value-list li::before { background-color: #00CF80; }

/* 对比表格 */
.section-about-compare { padding: 80px 0; background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 600px; }
.compare-table th { padding: 16px; background: #f5f5f7; text-align: left; font-weight: 700; color: #1D1D1F; border-bottom: 2px solid #e5e5ea; }
.compare-table th.highlight-th { background: rgba(0, 207, 128, 0.1); color: #0B4F4A; border-bottom: 2px solid #00CF80; }
.compare-table td { padding: 16px; border-bottom: 1px solid #eee; color: #424245; vertical-align: top; line-height: 1.6; }
.compare-table td.highlight-td { background: rgba(0, 207, 128, 0.02); font-weight: 500; color: #000; }

/* =========================================
   9. [Team专用] 团队页面样式 (已修复头像)
   ========================================= */
.section-team-final { background-color: #F5F5F7; padding: 80px 0; }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 60px; }
.founder-card {
    background: #FFFFFF; border-radius: 24px; padding: 40px; 
    display: flex; align-items: center; gap: 32px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.03); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; z-index: 1; overflow: visible;
}
.founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fc-avatar { width: 160px; height: 160px; border-radius: 50%; padding: 6px; flex-shrink: 0; }

/* 关键修复 1：强制图片从顶部对齐，防止切头 */
.fc-avatar img { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    object-position: top center; /* 修复：顶部对齐 */
    border-radius: 50%; 
}

.avatar-ring-fire { background: linear-gradient(135deg, #FF3B30, #FF9500); }
.avatar-ring-light { background: linear-gradient(135deg, #FFCC00, #F2C94C); }
.fc-role { font-size: 12px; font-weight: 700; color: var(--brand-gold); text-transform: uppercase; margin-bottom: 8px; }
.fc-name { font-size: 32px; font-weight: 700; color: #1D1D1F; margin-bottom: 8px; }
.fc-keywords { font-size: 13px; color: var(--brand-green); font-weight: 600; background: rgba(0,207,128,0.08); padding: 4px 10px; border-radius: 4px; display: inline-block; margin-bottom: 20px; }
.fc-list li { font-size: 14px; color: #424245; margin-bottom: 6px; position: relative; padding-left: 16px; }
.fc-list li::before { content: '•'; color: var(--brand-gold); position: absolute; left: 0; top: 0; }

.team-divider-box { margin: 60px 0 80px; width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.06); background-color: #eee; }
.team-divider-box img { width: 100%; height: auto; display: block; object-fit: cover; }

.planners-grid-6 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 60px; }
.planner-card-compact {
    background: #fff; border-radius: 20px; padding: 32px 16px; text-align: center;
    border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    display: flex; flex-direction: column; align-items: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.planner-card-compact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.pc-avatar-compact { width: 110px; height: 110px; margin: 0 auto 16px; border-radius: 50%; padding: 4px; }

/* 关键修复 2：强制图片从顶部对齐，防止切头 */
.pc-avatar-compact img { 
    width: 100%; height: 100%; border-radius: 50%; 
    border: 3px solid #fff; background-color: #fff; 
    object-fit: cover; 
    object-position: top center; /* 修复：顶部对齐 */
    display: block; 
}

.pc-name-compact { font-size: 18px; font-weight: 700; color: #1D1D1F; margin: 0; }
.ring-fire { background: linear-gradient(135deg, #FF3B30, #FF9500); }
.ring-water { background: linear-gradient(135deg, #2D9CDB, #00CF80); }
.ring-light { background: linear-gradient(135deg, #FFCC00, #F2C94C); }

/* =========================================
   10. [Index专用] 首页 Hero 动画与内容
   ========================================= */
.hero {
    position: relative; min-height: 50vh; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; text-align: center; 
    overflow: hidden; padding-top: 140px; padding-bottom: 60px; background: #fff; 
}
.hero-content { width: 100%; text-align: center; z-index: 5; position: relative; }
.hero-top-img { display: block; margin: 0 auto 30px; max-width: 480px; width: 60%; height: auto; }
.orb {
    position: absolute; top: 50%; left: 50%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,207,128,0.2) 0%, rgba(255,255,255,0) 65%);
    border-radius: 50%; z-index: 0; pointer-events: none;
    transform: translate(-50%, -50%); will-change: transform, opacity;
    animation: breathe 6s infinite ease-in-out;
}
.orb-ring {
    position: absolute; top: 50%; left: 50%; width: 650px; height: 650px;
    border: 1px solid rgba(0, 207, 128, 0.1); border-radius: 50%; 
    transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
    animation: rotate 30s linear infinite;
}
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; } 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.9; } }
@keyframes rotate { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* =========================================
   11. [Index专用] WHY 板块与 Feature (修复闪烁)
   ========================================= */
.section-why { padding: 100px 0; background: #fff; }
.why-grid-new { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.why-card-new { 
    background: #FAFAFC; border-radius: 20px; overflow: hidden; 
    border: 1px solid rgba(0,0,0,0.04); 
    transition: transform 0.3s ease; 
    display: flex; flex-direction: column;
    position: relative;
}
/* 修复：使用隐形填充，防止鼠标脱离 */
.why-card-new::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -20px; z-index: -1; }
.why-card-new:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }

.why-thumb { height: 200px; overflow: hidden; width: 100%; }
.why-thumb img { width: 100%; height: 100%; object-fit: cover; }
.why-body { padding: 24px; flex-grow: 1; }
.why-card-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: #1D1D1F; }
.why-card-text { font-size: 15px; color: #86868B; line-height: 1.6; }
.cycle-list { margin-top: 16px; background: rgba(0,0,0,0.03); padding: 16px; border-radius: 8px; }
.cycle-item { font-size: 13px; color: #6E6E73; margin-bottom: 6px; padding-left: 10px; border-left: 2px solid #ccc; }
.why-summary-box { margin-top: 60px; text-align: center; font-size: 20px; font-weight: 600; color: #1D1D1F; background: #F5F7FA; padding: 40px; border-radius: 20px; line-height: 1.6; }

/* =========================================
   12. [Solution专用] 六大场景样式 (修复闪烁)
   ========================================= */
.section-scenarios { padding: 100px 0; background-color: #fff; border-top: 1px solid #f0f0f0; }
.scenarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-card {
    background: #FAFAFC; border-radius: 20px; padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.04); display: flex; flex-direction: column;
    transform: translate3d(0, 0, 0); will-change: transform, box-shadow;
    position: relative; z-index: 1;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}
/* 修复：隐形填充层 */
.scenario-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -20px; z-index: -1; background: transparent; }
.scenario-card:hover { transform: translate3d(0, -6px, 0); box-shadow: 0 16px 40px rgba(0,0,0,0.08); background: #fff; border-color: rgba(0,0,0,0.02); }

.sc-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-gold); background: rgba(184, 150, 40, 0.1); padding: 4px 10px; border-radius: 6px; margin-bottom: 16px; align-self: flex-start; }
.sc-title { font-size: 22px; font-weight: 700; color: #1D1D1F; margin-bottom: 12px; }
.sc-moment { font-size: 15px; color: #86868B; font-style: italic; margin-bottom: 24px; min-height: 48px; }
.sc-content-group { flex-grow: 1; margin-bottom: 24px; }
.sc-info-block { margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
.sc-label { font-weight: 700; color: #1D1D1F; }
.sc-text { color: #6E6E73; }
.sc-result-box { background: rgba(0, 207, 128, 0.08); color: var(--brand-green); font-weight: 600; font-size: 14px; padding: 12px; border-radius: 12px; text-align: center; }

/* =========================================
   13. [About专用] Hub 导航卡片
   ========================================= */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hub-card {
    background: #FFFFFF; border-radius: 20px; padding: 40px 32px;
    text-align: center; border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center; height: 100%;
}
.hub-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(0, 207, 128, 0.3); }
.hc-icon { font-size: 48px; margin-bottom: 24px; }
.hc-title { font-size: 22px; font-weight: 700; color: #1D1D1F; margin-bottom: 16px; }
.hc-desc { font-size: 15px; color: #86868B; line-height: 1.6; margin-bottom: 24px; flex-grow: 1; }
.hc-link { font-size: 15px; font-weight: 600; color: #00CF80; margin-top: auto; }
.hub-card:hover .hc-link { text-decoration: underline; }

/* =========================================
   14. 文章页样式 (阅读型)
   ========================================= */
.article-page-header { padding-top: 120px; padding-bottom: 40px; background: #fff; text-align: center; }
.article-title { font-size: 40px; font-weight: 700; color: #1D1D1F; line-height: 1.3; margin-bottom: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.article-subtitle { font-size: 20px; color: #86868B; margin-bottom: 0; }
.article-container { max-width: 720px; margin: 0 auto; padding: 0 24px 120px; }
.article-content { font-size: 18px; line-height: 1.8; color: #333; }
.article-content h2 { font-size: 24px; font-weight: 700; margin-top: 50px; margin-bottom: 20px; color: #000; border-left: 4px solid var(--brand-gold); padding-left: 16px; }
.article-content h3 { font-size: 20px; font-weight: 700; margin-top: 36px; margin-bottom: 16px; color: #1D1D1F; }
.article-content p { margin-bottom: 24px; text-align: justify; }
.article-content ul { margin-bottom: 24px; padding-left: 20px; list-style-type: disc; }
.article-content li { margin-bottom: 10px; color: #424245; }
.article-highlight-box { background-color: #F5F7FA; border-radius: 12px; padding: 24px 30px; margin: 32px 0; border: 1px solid rgba(0,0,0,0.04); }
.article-cta { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; text-align: center; }

/* =========================================
   15. 动画与通用类
   ========================================= */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; will-change: opacity, transform; }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================
   16. 页脚
   ========================================= */
footer { border-top: 1px solid #E5E5EA; padding: 60px 0; background: #fff; font-size: 13px; color: var(--text-tertiary); }
.footer-flex { display: flex; justify-content: space-between; }
.footer-links a { margin-left: 24px; color: var(--text-secondary); }

/* =========================================
   17. 手机端适配 (全面覆盖所有新旧板块)
   ========================================= */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    /* 导航 */
    #main-header { height: auto; padding-bottom: 0; }
    .nav-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
    .logo { width: 100%; margin-bottom: 10px; order: 1; }
    .nav-btn { position: absolute; top: 10px; right: 20px; padding: 6px 14px; font-size: 12px; order: 2; }
    .nav-links { 
        width: 100%; order: 3; overflow-x: auto; white-space: nowrap; 
        padding: 10px 0; gap: 20px; border-top: 1px solid #f0f0f0; margin-top: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links::-webkit-scrollbar { display: none; }

    /* 网格通用适配 */
    .case-grid, .news-grid, .method-grid, .about-mvv, .why-grid-new, .scenarios-grid, .hub-grid, .founders-grid {
        grid-template-columns: 1fr; gap: 20px;
    }
    .planners-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* 合谦社页面适配 */
    .about-overview { flex-direction: column; gap: 30px; }
    .sw-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .sw-body { padding-left: 0; }
    .sw-value-list.two-col { grid-template-columns: 1fr; }
    .compare-table { display: block; overflow-x: auto; }

    /* 移动端禁用复杂 Hover (防闪烁) */
    .case-card:hover .case-card-inner, 
    .news-card:hover .news-card-inner,
    .scenario-card:hover, .why-card-new:hover {
        transform: none !important;
        box-shadow: var(--shadow-sm) !important;
    }
    
    /* 标题适配 */
    .ph-title, .article-title { font-size: 32px; }
    .hero { padding-top: 130px; }
    .orb { width: 300px; height: 300px; }
    .orb-ring { width: 340px; height: 340px; }
}

/* =========================================
   18. [Index专用] 核心引擎区域适配 (新增)
   ========================================= */

/* 1. 区域背景与间距 */
.section-definition {
    padding: 100px 0;
    background-color: #F5F5F7;
}

/* 2. 网格布局：电脑端默认 5 列 */
.engine-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5等分 */
    gap: 16px;
    margin-bottom: 40px;
}

/* 3. 卡片内部样式 */
.engine-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 图标容器 */
.icon-box {
    width: 100px;
    height: 100px;
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.engine-card:hover .icon-box {
    transform: translateY(-5px); /* 鼠标悬停微微上浮 */
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.engine-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1D1D1F;
    font-weight: 700;
}

.engine-card p {
    font-size: 13px;
    color: #86868B;
    line-height: 1.4;
}

/* 底部文字样式 */
.definition-footer {
    max-width: 820px;
    margin: 60px auto 0;
    text-align: center;
}
.df-main { font-size: 16px; line-height: 1.9; color: #1D1D1F; }
.df-sub { font-size: 15px; line-height: 1.8; color: #6E6E73; margin-top: 12px; }

/* =========================================
   手机端适配逻辑 (关键修改)
   ========================================= */
@media (max-width: 768px) {
    .engine-grid {
        /* 手机端改为 3 列：这样前3个在第一行，后2个自动挤到第二行 */
        grid-template-columns: repeat(3, 1fr); 
        gap: 12px;
        
        /* 让第二行的内容居中对齐（使用Flex兜底居中技巧） */
        display: flex;
        flex-wrap: wrap;
        justify-content: center; 
    }

    .engine-card {
        /* 强制每个卡片占 1/3 宽度 (减去间隙) */
        width: 31%; 
        margin-bottom: 24px; /* 上下行增加间距 */
    }

    /* 手机上图标缩小，防止挤在一起 */
    .icon-box {
        width: 72px; /* 缩小图标 */
        height: 72px;
        margin-bottom: 12px;
        border-radius: 16px;
    }

    .engine-card h3 { font-size: 14px; }
    .engine-card p { display: none; /* 手机上如果太挤，可以隐藏下面的小字，或者保留 */ }
    
    /* 如果想保留小字，把上面 display:none 删掉，改为: */
    /* .engine-card p { font-size: 11px; transform: scale(0.9); } */
}
/* =========================================
   SOLUTION 页面专属高端美化
   ========================================= */

/* --- 1. 战略核心卡片 (Family CEO) --- */
.product-hero-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 0;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(184, 150, 40, 0.1); /* 金色柔光阴影 */
    border: 1px solid rgba(184, 150, 40, 0.15);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translate3d(0,0,0); /* 开启硬件加速防闪烁 */
}

.product-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(184, 150, 40, 0.18);
}

.phc-content {
    flex: 1.5;
    padding: 60px 50px;
    z-index: 2;
}

.phc-visual {
    flex: 1;
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF5D6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 装饰性背景纹理 */
.phc-visual::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184,150,40,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    transform: rotate(30deg);
}

.phc-icon-box {
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(184, 150, 40, 0.15);
}

.feature-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.feature-pill {
    font-size: 14px;
    font-weight: 500;
    color: #1D1D1F;
    background: #F5F7FA;
    padding: 8px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-pill i { color: #00CF80; font-style: normal; font-weight: 800; }

/* --- 2. 六大场景 (Bento Grid 风格) --- */
.section-scenarios { padding: 100px 0; background: #fff; }

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.scenario-card {
    background: #FAFAFC;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translate3d(0,0,0); /* 防抖动核心 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

/* 隐形填充层：防止鼠标滑出导致高频闪烁 */
.scenario-card::after {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
}

.scenario-card:hover {
    background: #FFFFFF;
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.08);
}

/* 背景大水印序号 */
.sc-bg-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 140px;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    font-family: 'SF Pro Display', sans-serif;
    transition: color 0.3s;
}
.scenario-card:hover .sc-bg-num { color: rgba(0, 207, 128, 0.05); }

.sc-header { position: relative; z-index: 1; }
.sc-title { font-size: 20px; font-weight: 700; color: #1D1D1F; margin-bottom: 8px; }
.sc-tag { 
    display: inline-block; font-size: 12px; font-weight: 700; 
    color: #86868B; background: rgba(0,0,0,0.05); 
    padding: 4px 8px; border-radius: 6px; margin-bottom: 16px; 
}

.sc-solution-box {
    position: relative; z-index: 1;
    background: #FFFFFF;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 16px;
    border-radius: 16px;
    margin-top: 24px;
}
.sc-label { font-size: 12px; color: #86868B; display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.sc-value { font-size: 14px; font-weight: 600; color: #00CF80; }

/* --- 3. 研学体系 (通行证风格) --- */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tour-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translate3d(0,0,0);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.tc-visual {
    height: 140px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.theme-green .tc-visual { background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%); color: #2E7D32; }
.theme-blue .tc-visual { background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%); color: #1565C0; }
.theme-gold .tc-visual { background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%); color: #F57F17; }

.tc-level { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; opacity: 0.7; margin-bottom: 4px; }
.tc-name { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }

.tc-content { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.tc-desc { font-size: 14px; color: #6E6E73; line-height: 1.6; margin-bottom: 24px; min-height: 44px; }

.tc-features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
    font-size: 14px;
    color: #1D1D1F;
}
.tc-features li:last-child { border-bottom: none; }
.tc-sub { font-size: 12px; color: #86868B; background: rgba(0,0,0,0.04); padding: 2px 6px; border-radius: 4px; }

/* --- 4. 交付底座 (悬浮底座) --- */
.section-delivery { background: #F5F7FA; padding: 100px 0; }
.delivery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.delivery-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}
.delivery-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.dc-icon { font-size: 48px; margin-bottom: 20px; display: inline-block; }
.dc-title { font-size: 18px; font-weight: 700; color: #1D1D1F; margin-bottom: 10px; }
.dc-text { font-size: 14px; color: #6E6E73; line-height: 1.6; }

/* 手机适配补充 */
@media (max-width: 768px) {
    .product-hero-card { flex-direction: column-reverse; }
    .phc-content { padding: 30px 24px; }
    .phc-visual { height: 200px; }
    .scenarios-grid, .tours-grid, .delivery-container { grid-template-columns: 1fr; gap: 16px; }
    .scenario-card { min-height: auto; }
}