/* ========== 暖豆GEO 公共样式 ========== */

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:80px; }
body { font-family:'DM Sans',-apple-system,'PingFang SC','Microsoft YaHei','Hiragino Sans GB',sans-serif; color:#1A1A2E; background:#FFF9EE; overflow-x:hidden; }

/* Scrollbar */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:#FFF9EE; }
::-webkit-scrollbar-thumb { background:#C9A96E; border-radius:3px; }

/* Animations */
@keyframes fadeInUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse-gold { 0%,100% { box-shadow:0 0 0 0 rgba(201,169,110,0.4); } 50% { box-shadow:0 0 0 15px rgba(201,169,110,0); } }

.animate-on-scroll { opacity:0; transform:translateY(40px); transition:all 0.8s cubic-bezier(0.16,1,0.3,1); }
.animate-on-scroll.visible { opacity:1; transform:translateY(0); }
.animate-delay-1 { transition-delay:0.1s; }
.animate-delay-2 { transition-delay:0.2s; }
.animate-delay-3 { transition-delay:0.3s; }
.animate-delay-4 { transition-delay:0.4s; }
.animate-delay-5 { transition-delay:0.5s; }

/* Nav */
.nav-glass { backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); background:rgba(255,249,238,0.85); border-bottom:1px solid rgba(201,169,110,0.15); }
.nav-link { position:relative; color:#5A5A72; transition:color 0.3s; font-weight:600; font-size:17px;}
.nav-link::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:2px; background:#C9A96E; transition:width 0.3s; }
.nav-link:hover, .nav-link.active { color:#A07D4A; }
.nav-link:hover::after, .nav-link.active::after { width:100%; }

/* Chat Simulation */
.chat-container { background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(26,26,46,0.12); overflow:hidden; }
.chat-header { background:linear-gradient(135deg,#1A1A2E 0%,#2D2D44 100%); padding:14px 20px; display:flex; align-items:center; gap:10px; }
.chat-dot { width:10px; height:10px; border-radius:50%; }
.chat-body { padding:20px; }
.chat-msg { display:flex; gap:10px; margin-bottom:16px; align-items:flex-start; }
.chat-avatar { width:32px; height:32px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:14px; color:#fff; }
.chat-bubble { padding:12px 16px; border-radius:12px; max-width:85%; line-height:1.6; font-size:14px; }
.chat-bubble-user { background:#F5ECD8; color:#1A1A2E; margin-left:auto; border-bottom-right-radius:4px; }
.chat-bubble-ai { background:#F8F9FA; color:#1A1A2E; border-bottom-left-radius:4px; }
.chat-tag { display:inline-block; padding:2px 8px; border-radius:4px; font-size:11px; font-weight:600; }
.chat-highlight { color:#A07D4A; font-weight:600; }

/* Bean shape */
.bean-shape { display:inline-block; width:20px; height:14px; background:#C9A96E; border-radius:50% 50% 50% 50% / 60% 60% 40% 40%; }

/* Gradient divider */
.gradient-divider { height:2px; background:linear-gradient(90deg,transparent,#C9A96E,#E8D5B0,#C9A96E,transparent); margin:0 auto; max-width:600px; }

/* FAQ accordion */
.faq-item { border:1px solid #E8D5B0; border-radius:12px; overflow:hidden; transition:all 0.3s; }
.faq-item:hover { border-color:#C9A96E; }
.faq-header { padding:20px 24px; cursor:pointer; display:flex; justify-content:space-between; align-items:center; background:#fff; transition:background 0.3s; }
.faq-header:hover { background:#FFF9EE; }
.faq-header .faq-icon { transition:transform 0.3s; color:#C9A96E; font-size:14px; }
.faq-item.active .faq-header .faq-icon { transform:rotate(180deg); }
.faq-body { max-height:0; overflow:hidden; transition:max-height 0.4s ease; }
.faq-item.active .faq-body { max-height:500px; }
.faq-body-inner { padding:0 24px 20px; color:#5A5A72; line-height:1.8; }

/* Card hover */
.card-hover { transition:all 0.3s cubic-bezier(0.16,1,0.3,1); }
.card-hover:hover { transform:translateY(-6px); box-shadow:0 20px 40px rgba(201,169,110,0.15); border-color:#C9A96E !important; }

/* Case tabs */
.case-tab { padding:10px 20px; border-radius:8px; cursor:pointer; transition:all 0.3s; font-size:14px; font-weight:500; white-space:nowrap; }
.case-tab.active { background:#C9A96E; color:#fff; }
.case-tab:not(.active) { background:#F5ECD8; color:#A07D4A; }
.case-tab:not(.active):hover { background:#E8D5B0; }

/* Mobile nav */
.mobile-menu { display:none; position:fixed; top:0; left:0; width:100%; height:100vh; background:rgba(255,249,238,0.98); z-index:100; flex-direction:column; align-items:center; justify-content:center; gap:32px; }
.mobile-menu.open { display:flex; }

/* Glow */
.glow-gold { box-shadow:0 0 40px rgba(201,169,110,0.2); }

/* Process step line */
.step-line { position:absolute; top:28px; left:calc(50% + 28px); width:calc(100% - 56px); height:2px; background:linear-gradient(90deg,#C9A96E,#E8D5B0); }

/* Encyclopedia card */
.enc-card { border:1px solid #E8D5B0; border-radius:12px; padding:24px; background:#fff; transition:all 0.3s; cursor:pointer; }
.enc-card:hover { border-color:#C9A96E; transform:translateY(-4px); box-shadow:0 12px 30px rgba(201,169,110,0.12); }
.enc-card .enc-tag { display:inline-block; padding:3px 10px; border-radius:6px; font-size:12px; font-weight:500; }

/* Comparison table */
.compare-table { width:100%; border-collapse:separate; border-spacing:0; border-radius:12px; overflow:hidden; }
.compare-table th { padding:16px 20px; font-weight:600; }
.compare-table td { padding:14px 20px; border-top:1px solid rgba(232,213,176,0.3); }
.compare-table tr:hover td { background:rgba(201,169,110,0.05); }

/* Chat reveal */
.chat-reveal { opacity:0; transform:translateY(10px); }
.chat-reveal.show { opacity:1; transform:translateY(0); transition:all 0.5s ease; }

/* Buttons */
.btn-primary { background:linear-gradient(135deg,#C9A96E 0%,#A07D4A 100%); color:#fff; padding:14px 32px; border-radius:10px; font-weight:600; font-size:16px; transition:all 0.3s; border:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px; text-decoration:none; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(201,169,110,0.35); }
.btn-secondary { background:#fff; color:#A07D4A; padding:14px 32px; border-radius:10px; font-weight:600; font-size:16px; transition:all 0.3s; border:2px solid #C9A96E; cursor:pointer; display:inline-flex; align-items:center; gap:8px; text-decoration:none; }
.btn-secondary:hover { background:#FFF9EE; transform:translateY(-2px); }

/* Deep section bg */
.section-dark { background:linear-gradient(135deg,#1A1A2E 0%,#2D2D44 50%,#1A1A2E 100%); color:#fff; }

/* Page header banner */
.page-banner { padding-top:150px; padding-bottom:90px; position:relative; overflow:hidden; }
.page-banner::before { content:''; position:absolute; top:-50%; right:-20%; width:500px; height:500px; background:radial-gradient(circle,rgba(201,169,110,0.08) 0%,transparent 70%); border-radius:50%; }
.page-banner::after { content:''; position:absolute; bottom:-30%; left:-10%; width:400px; height:400px; background:radial-gradient(circle,rgba(74,124,89,0.06) 0%,transparent 70%); border-radius:50%; }

/* Responsive */
@media (max-width:768px) {
  .hero-title { font-size:2rem !important; line-height:1.3 !important; }
  .hero-sub { font-size:1rem !important; }
  .section-title { font-size:1.75rem !important; }
  .stat-num { font-size:2.5rem !important; }
  .chat-container { margin-top:32px; }
  .step-line { display:none; }
  .case-tabs { flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .case-tab { font-size:13px; padding:8px 14px; }
  .page-banner { padding-top:100px; padding-bottom:40px; }
}
.h80{ height:80px;}

/* ========== GEO百科筛选按钮 ========== */
.enc-filter-btn { display:inline-flex; align-items:center; padding:8px 20px; border-radius:10px; font-size:14px; font-weight:500; border:1px solid #E8D5B0; color:#5A5A72; background:#fff; cursor:pointer; transition:all 0.3s; }
.enc-filter-btn:hover { border-color:#C9A96E; color:#A07D4A; background:#FFF9EE; }
.enc-filter-btn.active { background:#C9A96E; color:#fff; border-color:#C9A96E; }

/* ========== 文章详情页 ========== */
.article-content h2 { font-size:1.5rem; font-weight:800; color:#1A1A2E; margin:2rem 0 1rem; padding-left:14px; border-left:4px solid #C9A96E; }
.article-content h3 { font-size:1.2rem; font-weight:700; color:#2D2D44; margin:1.5rem 0 0.8rem; }
.article-content p { color:#5A5A72; line-height:1.9; margin-bottom:1rem; }
.article-content ul, .article-content ol { margin:1rem 0 1rem 1.5rem; color:#5A5A72; line-height:2; }
.article-content li { margin-bottom:0.4rem; }
.article-content strong { color:#1A1A2E; }
.article-content blockquote { border-left:4px solid #C9A96E; background:#FFF9EE; padding:20px 24px; margin:1.5rem 0; border-radius:0 12px 12px 0; }
.article-content blockquote p { color:#A07D4A; font-weight:600; margin:0; font-size:1.05rem; }

.article-step-list { margin:1.5rem 0; }
.article-step { display:flex; gap:16px; margin-bottom:16px; padding:16px; background:#FFF9EE; border-radius:12px; border:1px solid #E8D5B0; }
.article-step-num { width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,#C9A96E,#A07D4A); color:#fff; font-weight:800; font-size:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.article-step p { margin:0.3rem 0 0; font-size:0.9rem; }

.article-summary-box { background:linear-gradient(135deg,#1A1A2E,#2D2D44); color:#fff; padding:24px; border-radius:12px; margin:2rem 0; }
.article-summary-box h4 { font-weight:700; margin-bottom:8px; font-size:1.05rem; }
.article-summary-box p { color:rgba(255,255,255,0.8); line-height:1.8; margin:0; }

/* 标签 */
.tag-link { display:inline-block; padding:4px 12px; border-radius:6px; background:#F5ECD8; color:#A07D4A; font-size:13px; font-weight:500; transition:all 0.3s; text-decoration:none; }
.tag-link:hover { background:#C9A96E; color:#fff; }

/* 上下篇导航 */
.prev-next-card { display:block; padding:16px; border:1px solid #E8D5B0; border-radius:12px; transition:all 0.3s; text-decoration:none; }
.prev-next-card:hover { border-color:#C9A96E; background:#FFF9EE; }

/* 侧边栏新闻列表 */
.sidebar-news-item { display:flex; gap:12px; padding:10px 0; border-bottom:1px solid rgba(232,213,176,0.3); text-decoration:none; transition:all 0.3s; }
.sidebar-news-item:last-child { border-bottom:none; }
.sidebar-news-item:hover .sidebar-news-title { color:#A07D4A; }
.sidebar-news-num { width:24px; height:24px; border-radius:6px; background:#E8D5B0; color:#A07D4A; font-weight:700; font-size:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; }
.sidebar-news-item:first-child .sidebar-news-num { background:#C9A96E; color:#fff; }
.sidebar-news-title { font-size:14px; font-weight:600; color:#1A1A2E; line-height:1.5; transition:color 0.3s; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sidebar-news-date { font-size:12px; color:#8E8EA0; margin-top:4px; display:block; }

/* 分页 */
.pagination { display:flex; justify-content:center; align-items:center; gap:6px; margin-top:40px; }
.pagination a, .pagination span { display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 12px; border-radius:8px; font-size:14px; font-weight:500; transition:all 0.3s; text-decoration:none; border:1px solid #E8D5B0; color:#5A5A72; background:#fff; }
.pagination a:hover { border-color:#C9A96E; color:#A07D4A; background:#FFF9EE; }
.pagination .active { background:#C9A96E; color:#fff; border-color:#C9A96E; }
.pagination .disabled { opacity:0.4; cursor:not-allowed; pointer-events:none; }
.pagination .page-ellipsis { border:none; background:none; color:#8E8EA0; }
