/* 美餐宝全站公共样式（自动抽取；修改后请全站回归验证） */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--gray-200); background: var(--gray-950); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* ========== NAV ========== */ nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-links { margin-left: auto; margin-right: 20px; display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 16px; color: #666666; text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 8px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #333333; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); border: 1px solid var(--border); min-width: 160px; z-index: 100; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 14px; color: #666666; text-decoration: none; font-size: 13px; border-radius: 8px; white-space: nowrap; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { color: #333333; }
.btn-nav-login { padding: 8px 16px; background: transparent; color: var(--gray-200); border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; border: 1px solid var(--border); cursor: pointer; }
.btn-nav-login:hover { background: rgba(0,0,0,0.04); border-color: var(--gray-600); }
.btn-nav-register { padding: 8px 16px; background: var(--green); color: white; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
.btn-nav-register:hover { background: var(--green-dark); transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #444; }
.nav-mobile-btns { display: none; }
.btn-mobile-login { padding: 6px 14px; background: transparent; color: var(--gray-200); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.btn-mobile-login:hover { background: rgba(0,0,0,0.04); }
.btn-mobile-register { padding: 6px 14px; background: var(--green); color: white; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.btn-mobile-register:hover { background: var(--green-dark); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
/* ========== SECTION COMMON ========== */ .section { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: rgba(34,197,94,0.1); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--green-dark); margin-bottom: 16px; }
.section-desc { font-size: 16px; color: #666666; max-width: 560px; line-height: 1.7; }
/* ========== FEATURES GRID ========== */ .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card:hover { border-color: rgba(34,197,94,0.2); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.feature-card p { font-size: 13px; color: #666666; line-height: 1.6; }
/* ========== CTA ========== */ .cta { padding: 48px 0; }
.cta-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 30%, rgba(34,197,94,0.05) 0%, transparent 50%); pointer-events: none; }
.cta-box h2 { font-size: clamp(20px, 4vw, 28px); font-weight: 800; margin-bottom: 12px; color: #333333; }
.cta-box p { font-size: 15px; color: #666666; max-width: 400px; margin: 0 auto 24px; line-height: 1.7; }
.footer-content { display: flex; justify-content: space-between; align-items: start; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: #666666; margin-top: 10px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--gray-200); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: #666666; text-decoration: none; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: #666666; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* ========== PHONE TOAST ========== */ .phone-toast { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.phone-toast-box { background: var(--white); border-radius: 20px; padding: 36px 44px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.15); animation: toastIn 0.3s ease; }
@keyframes toastIn { from { opacity: 0; transform: scale(0.85) translateY(30px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.phone-toast-box .phone-num { font-size: 28px; font-weight: 800; color: #333333; letter-spacing: 1px; margin-bottom: 20px; }
.phone-toast-box .phone-actions { display: flex; gap: 12px; justify-content: center; }
.phone-toast-box .phone-actions a, .phone-toast-box .phone-actions button { padding: 10px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.phone-toast-box .phone-actions a { background: var(--green); color: white; }
.phone-toast-box .phone-actions a:hover { background: var(--green-dark); }
.phone-toast-box .phone-actions button { background: var(--gray-800); color: var(--gray-200); border: 1px solid var(--border); }
.phone-toast-box .phone-actions button:hover { background: var(--gray-700); }
/* ========== FLOAT CUSTOMER SERVICE ========== */ .float-cs { position: fixed; bottom: 32px; right: 32px; z-index: 1500; }
.float-cs-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: white; border: none; font-size: 24px; cursor: pointer; box-shadow: 0 4px 20px rgba(34,197,94,0.35); transition: all 0.25s; display: flex; align-items: center; justify-content: center; }
.float-cs-btn:hover { background: var(--green-dark); transform: scale(1.08); box-shadow: 0 6px 28px rgba(34,197,94,0.45); }
.float-cs-panel { display: none; position: absolute; bottom: 68px; right: 0; width: 280px; background: var(--white); border-radius: 16px; box-shadow: 0 12px 48px rgba(0,0,0,0.15); border: 1px solid var(--border); overflow: hidden; animation: csPanelIn 0.25s ease; }
.float-cs-panel.open { display: block; }
@keyframes csPanelIn { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.cs-panel-body { padding: 16px; }
.cs-info-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background 0.2s; cursor: default; }
.cs-info-row:hover { background: var(--gray-900); }
.cs-info-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--green-bg); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--green); flex-shrink: 0; }
.cs-info-row strong { font-size: 13px; color: #333333; display: block; }
.cs-info-row p { font-size: 12px; color: var(--gray-500); margin-top: 1px; }
.cs-time { font-size: 12px; color: var(--gray-500); text-align: center; margin: 10px 0 14px; padding-top: 10px; border-top: 1px solid var(--border); }
.cs-consult-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 11px; background: var(--green); color: white; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 10px; transition: all 0.2s; box-shadow: 0 4px 14px rgba(34,197,94,0.25); }
.cs-consult-btn:hover { background: var(--green-dark); }
/* ========== WECHAT QR POPUP ========== */ .wechat-qr-popup { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.wechat-qr-box { background: var(--white); border-radius: 20px; padding: 36px 32px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.15); animation: toastIn 0.3s ease; max-width: 320px; width: 90%; }
.wechat-qr-box .qr-title { font-size: 18px; font-weight: 700; color: #333333; margin-bottom: 6px; }
.wechat-qr-box .qr-subtitle { font-size: 13px; color: #666666; margin-bottom: 20px; }
.wechat-qr-box img { width: 200px; height: 200px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 20px; }
.wechat-qr-box .qr-tip { font-size: 12px; color: var(--gray-500); margin-bottom: 20px; }
.wechat-qr-box .qr-close-btn { padding: 10px 32px; background: var(--gray-800); color: var(--gray-200); border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.wechat-qr-box .qr-close-btn:hover { background: var(--gray-700); }
/* 新闻正文图片：圆角+不放大不模糊（大图缩到栏宽，小图保持原始尺寸，全部居中）；面包屑不折行 */ .article-body img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin-left: auto; margin-right: auto; }
.breadcrumb { flex-wrap: nowrap; }
.breadcrumb a, .breadcrumb .sep { white-space: nowrap; flex-shrink: 0; }
.breadcrumb .current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 触控屏体验优化 */ a, button, input, select, textarea, label, summary { -webkit-tap-highlight-color: rgba(255,107,45,0.10); touch-action: manipulation; }
.answer-first .af-card { max-width: 100%; background: var(--green-bg, #f0fdf4); border: 1px solid rgba(34, 197, 94, 0.28); border-radius: 18px; padding: 32px 36px 28px; }
.answer-first .af-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--green-light, #15803d); background: #fff; border: 1px solid rgba(34, 197, 94, 0.35); border-radius: 999px; padding: 5px 13px; margin-bottom: 16px; }
.answer-first h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; line-height: 1.35; color: #0f172a; margin-bottom: 14px; }
.answer-first .af-lead { font-size: 16px; line-height: 1.85; color: #334155; margin-bottom: 22px; }
.answer-first .af-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; border-top: 1px dashed rgba(34, 197, 94, 0.38); padding-top: 20px; margin: 0; }
.answer-first .af-fact { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; }
.answer-first .af-fact dt { flex: 0 0 78px; color: var(--green-light, #15803d); font-weight: 700; }
.answer-first .af-fact dd { color: #475569; margin: 0; }
.faq-item:hover { border-color: rgba(34,197,94,0.2); }
/* Back link */ .back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 24px; transition: all 0.2s; padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(34,197,94,0.15); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.article-body strong { color: #0f172a; }
/* ========== SHARE BAR ========== */ .share-card { margin-top: 56px; padding: 20px 24px; background: #f8faf9; border: 1px solid rgba(34,197,94,0.12); border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.faq-item.open .faq-answer { max-height: 260px; }
.share-qr-box .qr-main-sub { font-size: 14px; color: #64748b; margin-bottom: 24px; }
.faq-item { background: var(--gray-900); border: 1px solid var(--gray-700); border-radius: 14px; overflow: hidden; transition: border-color 0.3s; }
.share-btn.copied { color: var(--green-dark) !important; border-color: rgba(34,197,94,0.5) !important; background: rgba(34,197,94,0.08) !important; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-btn.wechat:hover { background: rgba(7,193,96,0.12); border-color: rgba(7,193,96,0.45); }
.related-item:hover { background: var(--green-bg); }
.share-btn.moments:hover { background: rgba(22,163,74,0.12); border-color: rgba(22,163,74,0.45); }
.loading-state i { font-size: 40px; margin-bottom: 16px; color: var(--green); }
.article-meta i { color: #cbd5e1; }
.share-btn.weibo { color: #e6162d; border-color: rgba(230,22,45,0.22); background: rgba(230,22,45,0.05); }
.share-btn.wechat { color: #07c160; border-color: rgba(7,193,96,0.25); background: rgba(7,193,96,0.06); }
/* Loading / Error */ .loading-state { text-align: center; padding: 100px 20px; color: var(--gray-400); }
.page-hero::after { content: ''; position: absolute; bottom: -30%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(34,197,94,0.04) 0%, transparent 55%); pointer-events: none; z-index: 0; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.related-item:hover h4 { color: var(--green); }
/* ========== SHARE QR POPUP ========== */ .share-qr-overlay { display: none; position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); align-items: center; justify-content: center; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.page-hero::before { content: ''; position: absolute; top: -40%; left: -15%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 55%); pointer-events: none; z-index: 0; }
.share-card-title { font-size: 14px; font-weight: 600; color: #475569; display: flex; align-items: center; gap: 8px; }
.article-body blockquote { border-left: 4px solid var(--green); padding: 16px 24px; background: var(--green-bg); border-radius: 0 12px 12px 0; margin: 24px 0; color: #475569; font-style: italic; }
.article-tag.industry { background: rgba(34,197,94,0.05); color: #166534; border-color: rgba(34,197,94,0.08); }
.share-btn i { font-size: 14px; }
.loading-state p { font-size: 15px; }
.share-qr-box .qr-page-url { font-size: 12px; color: #94a3b8; margin-bottom: 24px; word-break: break-all; padding: 10px 16px; background: #f1f5f9; border-radius: 10px; max-width: 280px; margin-left: auto; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* ========== ARTICLE ========== */ .article-section { padding: 60px 0 80px; }
.share-btn.copy-link:hover { color: var(--green-dark); border-color: rgba(34,197,94,0.45); background: rgba(34,197,94,0.06); }
.page-hero h1 span { background: linear-gradient(135deg, var(--green-dark), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.share-qr-box .qr-close-btn { padding: 12px 40px; background: linear-gradient(135deg, #475569, #334155); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.share-card-title i { color: var(--green); font-size: 14px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--gray-500); line-height: 1.8; }
.article-body h3 { font-size: 18px; font-weight: 600; color: #1e293b; margin: 28px 0 12px; }
.related-date { font-size: 11px; color: #94a3b8; margin-top: 3px; }
.back-link:hover { background: var(--green-bg); }
.share-qr-box img { width: 220px; height: 220px; border-radius: 16px; box-shadow: 0 6px 30px rgba(0,0,0,0.1); margin: 0 auto 24px; display: block; }
.share-btn.copied i::before { content: '\f00c'; }
.article-body h2 { font-size: 22px; font-weight: 700; color: #0f172a; margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green-bg); display: inline-block; }
.share-qr-box .qr-close-btn:hover { background: linear-gradient(135deg, #334155, #1e293b); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.article-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: #94a3b8; }
.article-summary { font-size: 17px; color: #475569; line-height: 1.75; padding: 24px 28px; background: var(--green-bg); border-radius: 14px; border-left: 4px solid var(--green); margin-bottom: 40px; font-style: italic; }
.sidebar-title i { color: var(--green); font-size: 14px; }
.article-body li { margin-bottom: 8px; color: #334155; line-height: 1.8; }
.article-header { margin-bottom: 36px; }
.article-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; color: #0f172a; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 20px; }
/* Article Main */ .article-main { min-width: 0; }
.share-qr-overlay.show { display: flex; }
.sidebar-title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
/* ========== BREADCRUMB ========== */ .breadcrumb-section { padding-top: 90px; padding-bottom: 24px; background: linear-gradient(160deg, #f8fdf9 0%, #ffffff 100%); border-bottom: 1px solid var(--border); }
.article-tag.product { background: rgba(34,197,94,0.06); color: #16a34a; border-color: rgba(34,197,94,0.1); }
.share-btn.weibo:hover { background: rgba(230,22,45,0.1); border-color: rgba(230,22,45,0.4); }
/* Related news list */ .related-list { display: flex; flex-direction: column; gap: 12px; }
.article-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 13px; border-radius: 100px; font-size: 12px; font-weight: 600; background: rgba(34,197,94,0.08); color: #15803d; border: 1px solid rgba(34,197,94,0.12); margin-bottom: 18px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.08); background: #fff; font-family: inherit; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; transition: all 0.2s; }
.divider-line { height: 1px; background: linear-gradient(90deg, var(--border), transparent); margin: 32px 0; }
.article-body { font-size: 15.5px; color: #334155; line-height: 2; }
.share-qr-box .qr-main-title { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 4px; letter-spacing: 0.01em; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 16px; background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-400) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.related-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 10px; transition: all 0.2s; text-decoration: none; color: inherit; }
.article-body p { margin-bottom: 20px; text-align: justify; }
.breadcrumb .sep { color: #d1d5db; }
.share-qr-box { background: #fff; border-radius: 24px; padding: 40px 36px 32px; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,0.18); animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1); max-width: 360px; width: 90%; }
.related-info h4 { font-size: 13.5px; font-weight: 600; color: #1e293b; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.related-num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(34,197,94,0.1); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.related-info { flex: 1; min-width: 0; }
.breadcrumb a:hover { opacity: 0.7; }
.share-btn.moments { color: #16a34a; border-color: rgba(22,163,74,0.25); background: rgba(22,163,74,0.06); }
@media (max-width: 768px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } .sidebar { position: static; } .article-section { padding: 36px 0 60px; } .footer-links { flex-wrap: wrap; gap: 12px 20px; justify-content: center; } .footer-col { width: auto; min-width: 88px; flex: 1 1 40%; } .footer-content { flex-direction: column; gap: 32px; } .footer-links { gap: 16px; flex-wrap: nowrap; } .footer-col { min-width: auto; font-size: 12px; } .footer-col h4 { font-size: 12px; } .footer-bottom { flex-direction: column; gap: 12px; } .article-title { font-size: 24px; } .article-body { font-size: 15px; } .article-summary { font-size: 15px; padding: 18px 20px; } }
/* NAV DROPDOWN 移动端修正：触摸设备首次点按会触发 :hover，子菜单必须保持内联，不允许绝对定位飞出面板 */ @media (max-width: 1049px) { .nav-dropdown-menu { position: static; top: auto; left: auto; box-shadow: none; border: none; background: transparent; padding: 0; min-width: 0; } .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: flex; flex-direction: column; } }
@media (hover: none) { input, textarea, select { font-size: 16px !important; } .nav-dropdown-menu a { padding: 12px 16px !important; } .btn-nav-login.desktop, .btn-nav-register.desktop { min-height: 44px; } }
@media (max-width: 720px) { .answer-first .af-card { padding: 24px 20px 20px; border-radius: 14px; } .answer-first .af-facts { grid-template-columns: 1fr; } .answer-first .af-fact dt { flex-basis: 68px; } }