/* ==========================================================================
   SEO Soul (seosoul.com) 全站终极样式表 (Unified CSS)
   包含：全局基建、所有核心落地页、博客系统及移动端响应式 (包含高级内链补丁)
   ========================================================================== */

/* =========================================
   1. 全局变量与基础重置 (Global Reset)
   ========================================= */
:root {
    --primary-color: #4285F4;       /* 谷歌蓝 - SEO Soul 主品牌色 */
    --primary-hover: #2b6cd4;
    --text-main: #333333;           /* 核心正文颜色 */
    --text-muted: #64748b;          /* 辅助文字颜色 */
    --bg-light: #f8fafc;            /* 浅灰蓝背景 */
    --bg-dark: #0f172a;             /* 深色背景 */
    --border-color: #e2e8f0;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --border-radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; } /* 终极防侧漏 */
body { font-family: var(--font-family); color: var(--text-main); line-height: 1.6; background-color: #ffffff; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* 布局与间距工具类 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.mt-15 { margin-top: 15px; } .mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; } .mt-60 { margin-top: 60px; } .mb-60 { margin-bottom: 60px; }
.bg-light { background-color: var(--bg-light); padding: 80px 0; }
.bg-dark { background-color: var(--bg-dark); padding: 80px 0; }
.text-light { color: #94a3b8 !important; }
.text-white { color: #ffffff !important; }
.highlight { color: var(--primary-color); }
.section-title { font-size: clamp(2rem, 4vw, 2.5rem); color: #0f172a; margin-bottom: 20px; word-break: keep-all; }
.section-subtitle { font-size: 1.2rem; color: #64748b; margin-top: 10px; }

/* =========================================
   2. 全局组件 (按钮、表单、徽章)
   ========================================= */
.btn { display: inline-block; font-weight: 600; border-radius: var(--border-radius); transition: all 0.3s ease; cursor: pointer; text-align: center; border: none; }
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3); }
.btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); padding: 13px; }
.btn-outline:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.95rem; }
.btn-large { padding: 15px 40px; font-size: 1.15rem; }
.btn-full { width: 100%; padding: 18px; font-size: 1.15rem; }
.btn-pulse { animation: pulse-shadow 2s infinite; }
@keyframes pulse-shadow { 0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(66, 133, 244, 0); } 100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); } }

.badge { display: inline-block; padding: 6px 16px; background: rgba(66,133,244,0.1); color: var(--primary-color); border-radius: 50px; font-weight: 600; font-size: 0.9rem; margin-bottom: 25px; }
.badge-dark { background: rgba(255,255,255,0.08); color: #60a5fa; border: 1px solid rgba(255,255,255,0.15); letter-spacing: 1px; }
.badge-outline { background: transparent; color: var(--text-muted); border: 1px solid var(--border-color); font-weight: normal; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* 宽屏内联收割表单 (完美对齐版) */
.inline-form, .home-inline-form { display: flex; justify-content: center; align-items: center; gap: 15px; max-width: 700px; margin: 40px auto 0; }
.inline-form input, .home-inline-form input { flex: 1; padding: 16px 20px; border-radius: var(--border-radius); border: none; font-size: 1.05rem; outline: none; background: #fff; color: #0f172a; box-shadow: 0 4px 6px rgba(0,0,0,0.1); height: 56px; }
.inline-form input, .home-inline-form input { min-width: 0; }
.inline-form input:focus, .home-inline-form input:focus { box-shadow: 0 0 0 4px rgba(66,133,244,0.5); }
.inline-form .btn, .home-inline-form .btn { padding: 0 35px; font-size: 1.1rem; white-space: nowrap; height: 56px; line-height: 56px; display: inline-flex; align-items: center; justify-content: center; }

/* =========================================
   3. 全局头部导航与页脚 (Header & Footer)
   ========================================= */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.header-inner { height: 80px; }
.logo a { font-size: 1.8rem; font-weight: 900; color: #1e293b; letter-spacing: -0.5px; }

/* PC端菜单与居中下拉逻辑 */
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-menu > li > a { font-weight: 600; font-size: 1rem; color: #475569; padding: 10px 0; display: block; transition: color 0.2s;}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--primary-color); }
.caret { font-size: 0.8em; margin-left: 2px; }

.has-dropdown { position: relative; padding: 10px 0; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); background: #fff; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: var(--border-radius); border: 1px solid var(--border-color); padding: 10px 0; opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 1000; }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu li a { display: block; padding: 12px 20px; color: var(--text-main); font-size: 0.95rem; font-weight: 500; text-align: left;}
.dropdown-menu li a:hover, .dropdown-menu li a.active { background: var(--bg-light); color: var(--primary-color); }
.mobile-toggle { display: none; background: none; border: none; font-size: 2rem; color: #1e293b; cursor: pointer; }

/* 页脚 */
.site-footer { background: #0b1120; color: #94a3b8; padding: 60px 0 20px; font-size: 0.95rem; }
.footer-inner { align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; }
.footer-links h4, .footer-contact h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a:hover { color: var(--primary-color); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; font-size: 0.85rem; }
.footer-disclaimer {
    margin: 8px 0 16px;
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.7;
    text-align: center;
}
.footer-authority-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #cbd5e1;
}
.footer-authority-links .label {
    color: #e2e8f0;
    font-weight: 600;
}
.footer-authority-links a {
    color: #93c5fd;
}
.footer-authority-links a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* =========================================
   4. 通用首屏与卡片布局体系
   ========================================= */
.hero-section { padding: 100px 0 80px; background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%); }
.hero-section h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.3; color: #0f172a; margin-bottom: 25px; font-weight: 900; word-break: keep-all; }
.hero-section h1 mark { background: none; color: var(--primary-color); display: inline-block; line-height: 1; }
.hero-subtext { max-width: 800px; margin: 0 auto 40px; font-size: 1.25rem; color: #475569; line-height: 1.7; }
.trust-note { font-size: 0.9rem; color: #64748b; font-weight: 500; }

.geo-summary { max-width: 900px; margin: -30px auto 60px; position: relative; z-index: 10; }
.ai-takeaways { background: #ffffff; padding: 35px 40px; border-radius: var(--border-radius); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border: 1px solid var(--border-color); border-left: 6px solid var(--primary-color); }
.ai-takeaways h2 { font-size: 1.4rem; color: #0f172a; margin-bottom: 20px; }
.ai-takeaways ul li { margin-bottom: 12px; padding-left: 25px; position: relative; color: #475569; }
.ai-takeaways ul li::before { content: '✓'; color: var(--primary-color); font-weight: bold; position: absolute; left: 0; font-size: 1.1rem;}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.pain-card, .service-card, .value-card { background: #ffffff; padding: 40px 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: transform 0.3s; height: 100%;}
.pain-card { border-top: 4px solid #ef4444; }
.service-card, .value-card { border: 1px solid var(--border-color); }
.pain-card:hover, .service-card:hover, .value-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.pain-icon, .card-icon, .value-icon { font-size: 3.5rem; margin-bottom: 20px; line-height: 1; }
.pain-card h3, .service-card h3, .value-card h3 { font-size: 1.35rem; color: #0f172a; margin-bottom: 15px; }
.desc-muted { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px;}
.learn-more { color: var(--primary-color); font-weight: 600; font-size: 0.95rem; display: inline-block; margin-top: 10px; }
.learn-more:hover { color: var(--primary-hover); text-decoration: underline; }

/* 暗黑交付卡片网格 (Grid-4) */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.del-card { background: #1e293b; padding: 35px 25px; border-radius: 12px; border: 1px solid #334155; transition: all 0.3s ease; height: 100%;}
.del-card:hover { background: #283548; border-color: var(--primary-color); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.del-card h4 { font-size: 1.25rem; margin-bottom: 15px; color: #f8fafc; }
.del-card p { font-size: 0.95rem; color: #94a3b8; line-height: 1.7; }

/* =========================================
   5. 落地页专属视觉 (暗黑首屏、Z型动线、时间轴)
   ========================================= */
.hero-lp { background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%); padding: 120px 20px 100px; position: relative; overflow: hidden; }
.hero-lp::after { content: ''; position: absolute; top: -40%; left: 50%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(66,133,244,0.15) 0%, rgba(0,0,0,0) 70%); transform: translateX(-50%); pointer-events: none; }
.hero-lp-container { position: relative; z-index: 10; max-width: 900px; margin: 0 auto; }
.hero-lp h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); color: #ffffff; line-height: 1.25; margin-bottom: 25px; font-weight: 800; word-break: keep-all; }
.hero-lp h1 mark { background: rgba(66, 133, 244, 0.2); color: #60a5fa; padding: 0 10px; border-radius: 4px; display: inline-block; line-height: 1.1; }
.hero-lp-subtext { font-size: 1.25rem; color: #94a3b8; margin-bottom: 40px; line-height: 1.7; }

.solution-section { padding: 100px 20px; }
.feature-row { margin-bottom: 80px; gap: 60px; align-items: center; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text, .feature-visual { flex: 1; }
.step-num { font-size: 3.5rem; font-weight: 900; color: rgba(66,133,244,0.1); display: block; line-height: 1; margin-bottom: -15px; }

/* 纯CSS模拟窗口与图表 */
.mock-window { width: 100%; max-width: 450px; background: #fff; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid var(--border-color); margin: 0 auto;}
.mock-window.dark { background: #1e293b; border-color: #334155; }
.mock-header { background: #f1f5f9; padding: 12px 15px; display: flex; gap: 8px; border-bottom: 1px solid var(--border-color); }
.mock-window.dark .mock-header { background: #0f172a; border-color: #334155; }
.mock-header span { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.mock-header span:nth-child(1) { background: #ef4444; } .mock-header span:nth-child(2) { background: #eab308; } .mock-header span:nth-child(3) { background: #22c55e; }
.mock-body { padding: 30px; }
.mock-ai-box { background: #f0fdf4; border: 1px solid #bbf7d0; padding: 15px; border-radius: 8px; color: #166534; margin-bottom: 20px; font-size: 0.95rem;}
.mock-line { height: 10px; background: #e2e8f0; border-radius: 5px; margin-bottom: 12px; } .mock-line.short { width: 60%; }
.backlink-chart { display: flex; align-items: flex-end; justify-content: space-between; height: 120px; gap: 15px; padding-top: 20px; border-bottom: 2px solid #334155;}
.bar { flex: 1; background: #334155; border-radius: 4px 4px 0 0; animation: growUp 1.5s ease-out forwards; transform-origin: bottom; }
.highlight-bar { background: var(--primary-color); box-shadow: 0 0 15px rgba(66,133,244,0.5); }
@keyframes growUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* 时间轴 */
.timeline-section { padding: 100px 0; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: #e2e8f0; }
.timeline-item { position: relative; margin-bottom: 60px; }
.timeline-dot { position: absolute; left: -40px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--primary-color); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary-color); font-size: 1rem; box-shadow: 0 0 0 5px #f8fafc; z-index: 2; }
.timeline-content { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 10px 20px rgba(0,0,0,0.02); transition: transform 0.3s; }
.timeline-content:hover { transform: translateX(10px); border-color: var(--primary-color); }
.timeline-content h3 { font-size: 1.3rem; color: #0f172a; margin-bottom: 10px; }

/* 引用诱饵框 */
.citation-bait-wrapper { margin: 40px auto 80px; max-width: 900px; }
.citation-bait { background: linear-gradient(to right, #f8fafc, #f1f5f9); border-left: 6px solid var(--primary-color); padding: 30px 40px; border-radius: 0 12px 12px 0; font-size: 1.15rem; color: #475569; line-height: 1.8; box-shadow: 0 10px 25px rgba(0,0,0,0.03); }
.citation-bait strong { color: #0f172a; }

/* =========================================
   6. 极客专属组件 (测速盘、SaaS表格、代码板、矩阵路由)
   ========================================= */
.speed-dashboard { background: #ffffff; border-radius: 12px; padding: 30px; border: 1px solid var(--border-color); box-shadow: 0 20px 50px rgba(0,0,0,0.08); max-width: 300px; margin: 0 auto; text-align: center; }
.speed-gauge-wrapper { position: relative; width: 140px; height: 140px; margin: 0 auto 20px; }
.speed-gauge { width: 100%; height: 100%; border-radius: 50%; border: 12px solid #f1f5f9; border-top-color: #22c55e; border-right-color: #22c55e; transform: rotate(-45deg); animation: fillGauge 2s ease-out forwards; position: relative; }
.gauge-value { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg); font-size: 2.5rem; font-weight: 900; color: #166534; }
@keyframes fillGauge { 0% { transform: rotate(-135deg); } 100% { transform: rotate(135deg); } }

.table-responsive { overflow-x: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.saas-table { width: 100%; border-collapse: collapse; background: #fff; }
.saas-table th, .saas-table td { padding: 20px 25px; text-align: left; border-bottom: 1px solid var(--border-color); }
.saas-table th { background: #f1f5f9; color: #0f172a; font-weight: 700; font-size: 1.1rem; }
.saas-table tr:hover td { background: #f8fafc; }
.saas-table td:nth-child(3) { background: rgba(66, 133, 244, 0.03); border-left: 2px solid var(--primary-color); border-right: 2px solid var(--primary-color); }
.saas-table th:nth-child(3) { background: rgba(66, 133, 244, 0.1); border-top: 4px solid var(--primary-color); border-left: 2px solid var(--primary-color); border-right: 2px solid var(--primary-color); color: var(--primary-color); }

/* 关于我们：代码板与品牌数据 */
.about-hero { background: #f8fafc; padding: 100px 20px 80px; position: relative; border-bottom: 1px solid var(--border-color); overflow: hidden;}
.about-hero::before { content: ''; position: absolute; top: -50%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(66,133,244,0.08) 0%, rgba(255,255,255,0) 70%); }
.stats-section { background: var(--primary-color); color: #fff; padding: 60px 0; margin-top: -1px; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-number { font-size: 3rem; font-weight: 900; margin-bottom: 5px; line-height: 1; text-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.stat-label { font-size: 1rem; opacity: 0.9; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.story-layout { display: flex; align-items: center; gap: 60px; }
.story-text { flex: 1.2; } .story-text p { font-size: 1.1rem; color: #475569; margin-bottom: 20px; line-height: 1.8; }
.story-visual { flex: 0.8; width: 100%; }
.manifesto-board { background: #1e293b; border-radius: 12px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.2); border: 1px solid #334155; transform: rotate(-2deg); transition: transform 0.4s ease; margin-bottom:30px;}
.manifesto-board:hover { transform: rotate(0deg) translateY(-10px); }
.board-header { background: #0f172a; padding: 12px 20px; color: #64748b; font-family: monospace; font-size: 0.9rem; border-bottom: 1px solid #334155; display: flex; align-items: center; }
.board-header::before { content: '● ● ●'; color: #475569; letter-spacing: 2px; margin-right: 15px; font-size: 12px; }
.board-body { padding: 30px; font-family: 'Courier New', Courier, monospace; color: #e2e8f0; font-size: 0.95rem; line-height: 1.6; }
.code-comment { color: #64748b; font-style: italic; } .code-keyword { color: #c678dd; font-weight: bold; } .code-string { color: #98c379; } .indent { padding-left: 20px; }
.cursor-blink { display: inline-block; width: 10px; height: 1.2em; background: var(--primary-color); animation: blink 1s step-end infinite; vertical-align: middle; margin-left: 5px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.contact-layout { display: flex; gap: 60px; align-items: flex-start; background: #fff; padding: 50px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.contact-info { flex: 1; } .contact-list li { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; } .contact-list .icon { font-size: 1.5rem; line-height: 1.2; }
.contact-form-box { flex: 1; background: #f8fafc; padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); width: 100%; }

/* 核心服务枢纽矩阵 */
.hub-hero { background: #f8fafc; padding: 100px 20px 80px; position: relative; border-bottom: 1px solid var(--border-color); }
.hub-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px); background-size: 30px 30px; opacity: 0.5; pointer-events: none; }
.hub-hero-inner { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; }
.hub-hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); color: #0f172a; line-height: 1.3; margin: 20px 0; font-weight: 800; word-break: keep-all; }
.hub-hero h1 mark { background: none; color: var(--primary-color); display: inline-block; }
.service-matrix { margin-top: -40px; position: relative; z-index: 20; padding-bottom: 80px; }
.matrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.matrix-card { background: #fff; padding: 40px 30px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); border: 1px solid var(--border-color); transition: transform 0.3s ease; display: flex; flex-direction: column; position: relative; }
.matrix-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.elite-card { border: 2px solid var(--primary-color); transform: scale(1.02); box-shadow: 0 15px 35px rgba(66, 133, 244, 0.1); z-index: 2;}
.card-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #ef4444; color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; white-space: nowrap; }
.matrix-card h2 { font-size: 1.4rem; color: #0f172a; margin-bottom: 15px; line-height: 1.4; word-break: keep-all; min-height: 2.8rem;}
.card-desc { color: #64748b; margin-bottom: 25px; line-height: 1.6; flex-grow: 1; }
.card-features { margin-bottom: 30px; border-top: 1px solid #f1f5f9; padding-top: 20px; }
.card-features li { color: #334155; margin-bottom: 10px; font-size: 0.95rem; }
.service-standards { padding: 80px 20px; background: #fff; border-top: 1px solid var(--border-color); }
.align-center { align-items: center; gap: 60px; }
.standard-text { flex: 1.2; } .standard-text h2 { font-size: 2.2rem; margin-bottom: 20px; color: #0f172a; word-break: keep-all; } .standard-text p { font-size: 1.15rem; color: #475569; line-height: 1.7; }
.std-item { display: flex; gap: 20px; align-items: flex-start; margin-top: 25px;} .std-icon { font-size: 2.5rem; line-height: 1; } .std-item h4 { font-size: 1.2rem; color: #0f172a; margin-bottom: 8px; } .std-item p { font-size: 1rem; color: #64748b; }
.standard-visual { flex: 0.8; width: 100%; }
.growth-dashboard { background: #0f172a; border-radius: 12px; padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border: 1px solid #334155; width: 100%;}
.dash-header { color: #94a3b8; font-size: 0.9rem; margin-bottom: 20px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.trend-line { width: 100%; height: auto; animation: drawLine 2s ease-out forwards; }

/* =========================================
   7. FAQ 与 终极表单收割区
   ========================================= */
.faq-lp, .faq-section { max-width: 800px; margin: 0 auto; padding-bottom: 60px; }
.faq-accordion { border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.faq-item summary { font-size: 1.15rem; font-weight: 600; color: #1e293b; cursor: pointer; list-style: none; outline: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--primary-color); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .content { padding-top: 15px; color: #475569; line-height: 1.8; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.cta-bottom, .cta-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); padding: 100px 0; color: #fff; }
.form-wrapper { gap: 60px; align-items: stretch; }
.cta-text { flex: 1.2; display: flex; flex-direction: column; justify-content: center;}
.cta-text h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 20px; color: #fff; line-height: 1.3; }
.check-list li { font-size: 1.15rem; margin-bottom: 15px; color: #ffffff; display: flex; align-items: center; gap: 10px; }
.cta-form-box { flex: 0.8; background: #ffffff; padding: 40px; border-radius: 16px; box-shadow: 0 25px 50px rgba(0,0,0,0.25); }
.form-title { font-size: 1.5rem; color: #0f172a; font-weight: bold; margin-bottom: 25px; text-align: center; }
.lead-form input, .lead-form textarea { width: 100%; padding: 16px 20px; margin-bottom: 20px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; background: #f8fafc; color: #0f172a; transition: all 0.3s; font-family: inherit; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 4px rgba(66,133,244,0.1); }
.privacy-note { text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 15px; }

/* =========================================
   8. 博客/教程专属排版体系
   ========================================= */
.article-page, .blog-main-layout { padding: 40px 20px 80px; }
.article-layout, .blog-main-layout { display: flex; gap: 50px; align-items: flex-start; }
.article-content, .blog-feed { flex: 1; min-width: 0; }
.article-content { background: #fff; padding: 50px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.article-sidebar, .blog-sidebar { width: 320px; flex-shrink: 0; }
.sticky-widget { position: sticky; top: 100px; }
/* 确保右侧吸附表单在滚动到底部时，有足够的缓冲空间 */
.article-sidebar {
    height: max-content; /* 让侧边栏高度随内容定，不强制拉伸 */
}

/* 博客列表页特有 */
.blog-hero { padding: 80px 20px 60px; border-bottom: 1px solid var(--border-color); background: #fff; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #0f172a; margin-bottom: 15px; font-weight: 800; }
.blog-hero h1 mark { background: none; color: var(--primary-color); display: inline-block; }
.blog-hero-subtext { max-width: 700px; margin: 0 auto; font-size: 1.15rem; color: #64748b; line-height: 1.6; }
.featured-post { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.3s; }
.featured-post:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.featured-image-link { display: block; width: 100%; height: 300px; overflow: hidden; }
.featured-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #1e293b 0%, #334155 100%); padding: 30px; position: relative; }
.featured-content { padding: 40px; } .featured-content h2 { font-size: 1.8rem; margin: 15px 0; line-height: 1.4; color: #0f172a; } .featured-content h2 a:hover { color: var(--primary-color); }
.post-excerpt { color: #475569; font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; }
.read-more-btn { display: inline-block; font-weight: 600; color: var(--primary-color); font-size: 1.05rem; border-bottom: 2px solid transparent; transition: all 0.2s; } .read-more-btn:hover { border-bottom-color: var(--primary-color); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top:40px;}
.post-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.3s;}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.06); border-color: #cbd5e1;}
.card-image-wrap { display: block; }
.card-image-placeholder { height: 200px; width: 100%; }
.card-image-placeholder img { display: block; } .blue-gradient { background: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 100%); } .purple-gradient { background: linear-gradient(135deg, #f5f3ff 0%, #ddd6fe 100%); } .orange-gradient { background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%); } .teal-gradient { background: linear-gradient(135deg, #f0fdfa 0%, #99f6e4 100%); }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; } .card-content h3 { font-size: 1.25rem; margin: 15px 0; line-height: 1.4; color: #0f172a; flex-grow: 1; } .card-content h3 a:hover { color: var(--primary-color); } .card-content .post-excerpt { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px;} .page-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; font-weight: 600; color: #475569; background: #fff; border: 1px solid var(--border-color); transition: all 0.2s; } .page-num:hover:not(.active) { background: #f1f5f9; color: var(--primary-color); } .page-num.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); } .page-num.next { width: auto; padding: 0 20px; } .page-dots { color: #94a3b8; font-weight: bold; }
.sidebar-widget { background: #fff; border-radius: 12px; padding: 30px; border: 1px solid var(--border-color); margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.02);}
.categories-widget h3, .toc-widget h3 { font-size: 1.2rem; color: #0f172a; margin-bottom: 20px; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.cat-list li { margin-bottom: 12px; } .cat-list li:last-child { margin-bottom: 0; } .cat-list a { display: flex; justify-content: space-between; color: #475569; font-size: 1rem; padding: 5px 0; transition: color 0.2s; } .cat-list a:hover { color: var(--primary-color); font-weight: 600; } .cat-list a span { background: #f1f5f9; padding: 2px 8px; border-radius: 20px; font-size: 0.8rem; color: #64748b; }
.lead-magnet-widget { background: linear-gradient(180deg, #f0f4ff 0%, #fff 100%); border-color: #dbeafe; text-align: center; } .lead-magnet-widget h3 { font-size: 1.4rem; color: #0f172a; margin-bottom: 10px; } .sidebar-form input { width: 100%; padding: 12px 15px; margin-bottom: 15px; border: 1px solid var(--border-color); border-radius: 8px;} .secure-note { font-size: 0.85rem; color: #64748b; margin-top: 15px; }

/* 面包屑 */
.breadcrumb { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; padding: 0; }
.breadcrumb a { color: var(--primary-color); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #475569; }

/* 文章详情页特有 */
.category-tag { background: #e0e7ff; color: #4338ca; padding: 5px 12px; border-radius: 4px; font-size: 0.85rem; font-weight: bold; margin-bottom: 15px; display: inline-block;}
.article-header h1 { font-size: 2.4rem; color: #0f172a; line-height: 1.3; margin-bottom: 30px; letter-spacing: -0.5px; word-break: keep-all; }
.article-meta { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; margin-bottom: 40px; }
.author-info { display: flex; align-items: center; gap: 15px; } .avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; } .author-name { display: block; font-weight: bold; color: #1e293b; } .post-date { font-size: 0.85rem; color: #64748b; }
.tldr-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-left: 5px solid #22c55e; padding: 25px; border-radius: 8px; margin-bottom: 40px; font-size: 1.05rem; line-height: 1.8; color: #166534; }
.markdown-body { color: #334155; font-size: 1.1rem; line-height: 1.8; }
.markdown-body h2 { font-size: 1.8rem; color: #0f172a; margin: 60px 0 20px; padding-bottom: 15px; border-bottom: 1px solid #f1f5f9; line-height: 1.4;}
.markdown-body p { margin-bottom: 25px; color: #475569; font-size: 1.1rem; line-height: 1.85; }
.markdown-body ul, .markdown-body ol { margin-bottom: 30px; padding-left: 25px; color: #475569; line-height: 1.85; }
.markdown-body ul li, .markdown-body ol li { margin-bottom: 15px; }
.markdown-body blockquote { background: #f8fafc; border-left: 4px solid var(--primary-color); padding: 20px 25px; margin: 40px 0; font-style: italic; border-radius: 0 8px 8px 0; color: #64748b;}
.markdown-body table { width: 100%; border-collapse: collapse; margin: 40px 0; }
.markdown-body th, .markdown-body td { border: 1px solid var(--border-color); padding: 15px; line-height: 1.6;}
.markdown-body th { background: #f8fafc; font-weight: bold; color: #1e293b; }
@media (max-width: 768px) {
    .markdown-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 文章内 CSS 文字配图（后台「插入文字配图」） */
.markdown-body aside[data-seo-visual-block="1"] {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.markdown-body aside[data-seo-visual-block="1"] p[data-seo-v-role="eyebrow"] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}
.markdown-body aside[data-seo-visual-block="1"] p[data-seo-v-role="headline"] {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 0.75rem 0;
}
.markdown-body aside[data-seo-visual-block="1"] p[data-seo-v-role="body"] {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

/* 文中方块文字链接（后台「选字变方块链接」，500×500 圆角格子） */
.markdown-body .seo-soul-tile-link {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none !important;
    margin: 8px 0;
    color: inherit;
    max-width: 100%;
}
.markdown-body .seo-soul-tile-link .seo-soul-tile {
    width: 500px;
    height: 500px;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-sizing: border-box;
}
.markdown-body .seo-soul-tile-link .seo-soul-tile-text {
    font-size: clamp(1.15rem, 2.8vw, 1.85rem);
    font-weight: bold;
    text-align: center;
    line-height: 1.35;
    padding: 28px 32px;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    max-width: 500px;
    max-height: 500px;
    box-sizing: border-box;
}

/* 高级 SEO 内链引擎 */
.article-footer-cta { background: #f8fafc; border: 1px solid var(--border-color); padding: 40px 30px; border-radius: 12px; text-align: center; margin-top: 60px; }
.article-footer-cta h3 { color: #0f172a; margin-bottom: 15px; font-size: 1.5rem; } .article-footer-cta p { color: #475569; margin-bottom: 25px; font-size: 1.1rem; }
.article-tags-share { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; flex-wrap: wrap; gap: 20px; margin-top: 40px;}
.tags, .share-buttons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;} .label { font-weight: bold; color: #0f172a; font-size: 0.95rem; }
.tags a { background: #f1f5f9; color: #475569; padding: 5px 12px; border-radius: 4px; font-size: 0.85rem; transition: all 0.2s; } .tags a:hover { background: var(--primary-color); color: #fff; }
.share-btn { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #475569; font-weight: bold; transition: all 0.2s; } .share-btn:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); }
.post-navigation { border-bottom: 1px solid var(--border-color); padding-bottom: 40px; margin-top: 40px;}
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.nav-previous, .nav-next { flex: 1; min-width: 200px; display: flex; flex-direction: column; justify-content: flex-start;}
.nav-next { text-align: right; }
.nav-subtitle { font-size: 0.85rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block;}
.nav-title { font-size: 1.1rem; font-weight: bold; color: var(--primary-color); line-height: 1.6; transition: color 0.2s; } .nav-title:hover { color: var(--primary-hover); text-decoration: underline; }
.related-posts { padding-top: 20px; margin-top: 60px;}
.related-posts h3 { font-size: 1.4rem; color: #0f172a; margin-bottom: 30px; border-left: 4px solid var(--primary-color); padding-left: 15px; line-height: 1.2;}
.related-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; }
.related-grid .card-image-placeholder { height: 150px; } .related-grid .card-content { padding: 20px; }

/* =========================================
   9. 移动端自适应圣经 (强制防侧漏与排版优化)
   必须置于文件最末尾！
   ========================================= */
@media (max-width: 992px) {
    .article-layout, .blog-main-layout { flex-direction: column; }
    .article-sidebar, .blog-sidebar { width: 100%; position: static; }
    .service-standards .align-center { flex-direction: column; }
    .story-layout, .contact-layout { flex-direction: column; }
    .manifesto-board { transform: none; margin-bottom: 30px; }
    .elite-card { transform: none; }
}
/* =========================================
   404 报错页 (404.html) 专属微调
   ========================================= */
.error-terminal {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #334155;
    animation: float 6s ease-in-out infinite; /* 增加一点悬浮的科技感 */
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.error-actions .btn {
    min-width: 180px; /* 让几个挽回按钮宽度一致，更美观 */
}

@media (max-width: 768px) {
    /* 终极微信内置防撑爆 */
    html, body { overflow-x: hidden !important; width: 100vw; max-width: 100%; }
    * { word-wrap: break-word !important; overflow-wrap: break-word !important; }
    h1, h2, h3, .section-title, .article-header h1 { word-break: normal !important; white-space: normal !important; }

    /* 移动端导航 */
    .header-cta { display: none; }
    .mobile-toggle { display: block; z-index: 1001; }
    .nav-menu { position: fixed; top: 80px; left: 0; width: 100%; background: #fff; flex-direction: column; gap: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transform: translateY(-150%); transition: transform 0.3s; border-bottom: 1px solid var(--border-color); max-height: calc(100vh - 80px); overflow-y: auto; }
    .nav-menu.active { transform: translateY(0); }
    .nav-menu > li > a { padding: 15px 20px; border-bottom: 1px solid #f1f5f9; }
    .dropdown-menu { position: static; box-shadow: none; border: none; background: #f8fafc; padding: 0; display: none; opacity: 1; visibility: visible; transform: none; }
    .has-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu li a { padding: 12px 40px; }
    
    /* 移动端容器收缩 */
    .hero-section, .hero-lp, .hub-hero, .about-hero { padding: 80px 20px 40px; }
    .hero-section h1, .hero-lp h1 { font-size: 2.2rem; }
    .feature-row, .feature-row.reverse, .form-wrapper { flex-direction: column; text-align: center; gap: 40px;}
    
    /* 移动端表单强制垂直 */
    .inline-form, .home-inline-form { flex-direction: column; width: 100%; gap: 15px;}
    .inline-form input, .inline-form .btn, .home-inline-form input, .home-inline-form .btn { width: 100%; }
    .cta-form-box { padding: 30px 20px; }
    .check-list li { text-align: left; }
    
    /* 移动端时间轴修正 */
    .step-num { margin-bottom: 0; }
    .timeline { padding-left: 30px; }
    .timeline::before { left: 9px; }
    .timeline-dot { left: -30px; width: 30px; height: 30px; font-size: 0.85rem; }
    .timeline-content { padding: 20px; text-align: left; }
    .timeline-content:hover { transform: none; }
    
    /* 移动端文章页深度优化 (满屏无白边) */
    .article-page { padding: 0 0 60px 0 !important; }
    .article-content { border-radius: 0; border-left: none; border-right: none; padding: 25px 20px; box-shadow: none; }
    .article-header h1 { font-size: 1.6rem; line-height: 1.4; }
    .tldr-box { padding: 18px 15px; font-size: 1rem; line-height: 1.6; }
    .markdown-body { font-size: 1.05rem; line-height: 1.7; }
    .author-info { flex-wrap: wrap; gap: 10px; }
    .markdown-body .seo-soul-tile-link .seo-soul-tile {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-width: 500px;
        max-height: none;
    }
    .markdown-body .seo-soul-tile-link .seo-soul-tile-text {
        max-width: 100%;
        max-height: none;
        -webkit-line-clamp: 16;
        padding: 20px 24px;
    }
}