/* ===== 海角网 全站样式 ===== */
/* 品牌色: #1a7a5a 深绿 | #2db87a 亮绿 | #0d5c3f 暗绿 | #f5f9f7 浅背景 */

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",Arial,sans-serif; color:#333; background:#f5f9f7; line-height:1.8; }
a { color:#1a7a5a; text-decoration:none; transition:color .3s; }
a:hover { color:#2db87a; }
img { max-width:100%; height:auto; display:block; }
ul,ol { list-style:none; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ===== 头部导航 ===== */
.site-header { background:#0d5c3f; color:#fff; position:sticky; top:0; z-index:1000; box-shadow:0 2px 10px rgba(0,0,0,.15); }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:10px 20px; max-width:1200px; margin:0 auto; }
.logo-area { display:flex; align-items:center; gap:10px; }
.logo-area img { width:48px; height:48px; border-radius:8px; }
.logo-area h1 { font-size:22px; color:#fff; font-weight:700; }
.logo-area h1 span { color:#2db87a; }
.main-nav { display:flex; gap:5px; flex-wrap:wrap; }
.main-nav a { color:#e0f0e8; padding:8px 14px; border-radius:6px; font-size:14px; transition:all .3s; white-space:nowrap; }
.main-nav a:hover,.main-nav a.active { background:#2db87a; color:#fff; }
.mobile-menu-btn { display:none; background:none; border:none; color:#fff; font-size:24px; cursor:pointer; }

/* ===== 搜索框 ===== */
.search-bar { background:#0a4e35; padding:12px 0; }
.search-bar .container { display:flex; justify-content:center; }
.search-form { display:flex; max-width:600px; width:100%; }
.search-form input { flex:1; padding:10px 16px; border:2px solid #2db87a; border-right:none; border-radius:25px 0 0 25px; font-size:15px; outline:none; }
.search-form button { padding:10px 24px; background:#2db87a; color:#fff; border:2px solid #2db87a; border-radius:0 25px 25px 0; cursor:pointer; font-size:15px; font-weight:600; transition:background .3s; }
.search-form button:hover { background:#1a7a5a; }

/* ===== Banner ===== */
.hero-banner { position:relative; height:480px; overflow:hidden; }
.hero-banner img { width:100%; height:100%; object-fit:cover; }
.hero-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(135deg,rgba(13,92,63,.85) 0%,rgba(26,122,90,.6) 100%); display:flex; align-items:center; justify-content:center; }
.hero-content { text-align:center; color:#fff; max-width:800px; padding:0 20px; }
.hero-content h2 { font-size:42px; margin-bottom:16px; text-shadow:2px 2px 8px rgba(0,0,0,.3); }
.hero-content p { font-size:18px; line-height:1.8; opacity:.95; }
.hero-content .hero-tags { margin-top:20px; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.hero-content .hero-tags span { background:rgba(255,255,255,.2); padding:6px 16px; border-radius:20px; font-size:13px; backdrop-filter:blur(4px); }

/* ===== 面包屑 ===== */
.breadcrumb { padding:12px 0; font-size:13px; color:#888; }
.breadcrumb a { color:#1a7a5a; }
.breadcrumb span { margin:0 6px; }

/* ===== 通用模块标题 ===== */
.section-title { text-align:center; margin:50px 0 30px; }
.section-title h2 { font-size:32px; color:#0d5c3f; position:relative; display:inline-block; padding-bottom:12px; }
.section-title h2::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:60px; height:3px; background:linear-gradient(90deg,#2db87a,#1a7a5a); border-radius:2px; }
.section-title p { color:#666; margin-top:10px; font-size:15px; }

/* ===== 视频卡片网格 ===== */
.video-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:20px 0; }
.video-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,.08); transition:all .3s; position:relative; }
.video-card:hover { transform:translateY(-6px); box-shadow:0 8px 30px rgba(0,0,0,.15); }
.video-thumb { position:relative; padding-top:56.25%; overflow:hidden; background:#e0e0e0; }
.video-thumb img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.video-card:hover .video-thumb img { transform:scale(1.08); }
.play-btn { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:56px; height:56px; background:rgba(45,184,122,.9); border-radius:50%; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .3s; cursor:pointer; }
.play-btn::after { content:''; width:0; height:0; border-style:solid; border-width:10px 0 10px 18px; border-color:transparent transparent transparent #fff; margin-left:4px; }
.video-card:hover .play-btn { opacity:1; }
.video-info { padding:14px 16px; }
.video-info h3 { font-size:15px; color:#222; margin-bottom:6px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.video-meta { display:flex; gap:12px; font-size:12px; color:#999; flex-wrap:wrap; }
.video-meta span { display:flex; align-items:center; gap:3px; }
.video-tag { display:inline-block; background:#e8f5ee; color:#1a7a5a; padding:2px 8px; border-radius:4px; font-size:11px; margin-top:6px; }
.video-duration { position:absolute; bottom:8px; right:8px; background:rgba(0,0,0,.7); color:#fff; padding:2px 8px; border-radius:4px; font-size:12px; }

/* ===== 模块区块 ===== */
.content-section { padding:40px 0; }
.content-section:nth-child(even) { background:#fff; }
.module-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.module-card { background:#fff; border-radius:12px; padding:30px 24px; text-align:center; box-shadow:0 2px 12px rgba(0,0,0,.06); transition:all .3s; border:1px solid #e8f5ee; }
.module-card:hover { border-color:#2db87a; transform:translateY(-4px); }
.module-card .icon { font-size:40px; margin-bottom:16px; }
.module-card h3 { font-size:18px; color:#0d5c3f; margin-bottom:10px; }
.module-card p { font-size:14px; color:#666; line-height:1.7; }

/* ===== 专家展示 ===== */
.expert-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.expert-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,.08); text-align:center; transition:all .3s; }
.expert-card:hover { transform:translateY(-4px); }
.expert-card img { width:100%; height:240px; object-fit:cover; }
.expert-card .info { padding:20px 16px; }
.expert-card h3 { font-size:17px; color:#0d5c3f; margin-bottom:4px; }
.expert-card .role { color:#2db87a; font-size:13px; margin-bottom:8px; }
.expert-card p { font-size:13px; color:#666; line-height:1.6; }
.expert-card .btn-group { display:flex; gap:8px; justify-content:center; margin-top:12px; }
.expert-card .btn-group a { padding:6px 14px; border-radius:20px; font-size:12px; }
.btn-primary { background:#2db87a; color:#fff !important; }
.btn-outline { border:1px solid #2db87a; color:#2db87a !important; }
.btn-primary:hover { background:#1a7a5a; }
.btn-outline:hover { background:#e8f5ee; }

/* ===== FAQ ===== */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { background:#fff; border-radius:10px; margin-bottom:12px; box-shadow:0 2px 8px rgba(0,0,0,.05); overflow:hidden; }
.faq-question { padding:18px 24px; font-size:16px; font-weight:600; color:#0d5c3f; cursor:pointer; display:flex; justify-content:space-between; align-items:center; transition:background .3s; }
.faq-question:hover { background:#f0faf5; }
.faq-question::after { content:'+'; font-size:22px; color:#2db87a; transition:transform .3s; }
.faq-item.active .faq-question::after { transform:rotate(45deg); }
.faq-answer { padding:0 24px; max-height:0; overflow:hidden; transition:all .4s ease; }
.faq-item.active .faq-answer { padding:0 24px 18px; max-height:500px; }
.faq-answer p { color:#555; font-size:14px; line-height:1.8; }

/* ===== 用户评论 ===== */
.review-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.review-card { background:#fff; border-radius:12px; padding:24px; box-shadow:0 2px 12px rgba(0,0,0,.06); border-left:4px solid #2db87a; }
.review-card .stars { color:#f5a623; font-size:16px; margin-bottom:8px; }
.review-card blockquote { font-size:14px; color:#555; line-height:1.8; font-style:italic; margin-bottom:12px; }
.review-card .reviewer { display:flex; align-items:center; gap:10px; }
.review-card .reviewer-name { font-weight:600; color:#333; font-size:14px; }
.review-card .reviewer-date { font-size:12px; color:#999; }

/* ===== 合作品牌 ===== */
.brand-wall { display:flex; flex-wrap:wrap; gap:20px; justify-content:center; align-items:center; padding:30px 0; }
.brand-wall .brand-item { background:#fff; padding:16px 28px; border-radius:10px; box-shadow:0 2px 8px rgba(0,0,0,.06); font-size:16px; font-weight:600; color:#0d5c3f; transition:all .3s; }
.brand-wall .brand-item:hover { transform:scale(1.05); box-shadow:0 4px 16px rgba(0,0,0,.12); }

/* ===== 联系我们 ===== */
.contact-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:30px; }
.contact-info-card { background:#fff; border-radius:12px; padding:30px; box-shadow:0 4px 16px rgba(0,0,0,.08); }
.contact-info-card h3 { font-size:20px; color:#0d5c3f; margin-bottom:16px; border-bottom:2px solid #e8f5ee; padding-bottom:10px; }
.contact-info-card p { font-size:14px; color:#555; margin-bottom:10px; line-height:1.8; }
.contact-info-card .qr-codes { display:flex; gap:20px; margin-top:16px; }
.contact-info-card .qr-codes img { width:140px; height:140px; border-radius:8px; border:2px solid #e8f5ee; }

/* ===== 社交分享 ===== */
.share-bar { display:flex; gap:12px; justify-content:center; padding:20px 0; flex-wrap:wrap; }
.share-btn { display:inline-flex; align-items:center; gap:6px; padding:10px 20px; border-radius:25px; color:#fff; font-size:14px; font-weight:500; transition:all .3s; cursor:pointer; }
.share-btn:hover { transform:translateY(-2px); color:#fff; }
.share-wechat { background:#07c160; }
.share-weibo { background:#e6162d; }
.share-douyin { background:#161823; }
.share-bilibili { background:#00a1d6; }

/* ===== 页脚 ===== */
.site-footer { background:#0a3d2a; color:#ccc; padding:40px 0 20px; }
.footer-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; margin-bottom:30px; }
.footer-col h4 { color:#2db87a; font-size:16px; margin-bottom:14px; }
.footer-col p,.footer-col a { font-size:13px; color:#aaa; line-height:2; display:block; }
.footer-col a:hover { color:#2db87a; }
.footer-col img { width:120px; border-radius:6px; margin-top:8px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:16px; text-align:center; font-size:12px; color:#777; }
.footer-bottom a { color:#2db87a; }

/* ===== How-To 指南 ===== */
.howto-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.howto-step { background:#fff; border-radius:12px; padding:24px 20px; text-align:center; box-shadow:0 2px 12px rgba(0,0,0,.06); position:relative; counter-increment:step; }
.howto-step::before { content:counter(step); position:absolute; top:-14px; left:50%; transform:translateX(-50%); width:32px; height:32px; background:#2db87a; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; }
.howto-step h4 { font-size:16px; color:#0d5c3f; margin:10px 0 8px; }
.howto-step p { font-size:13px; color:#666; }

/* ===== MCP服务前端 ===== */
.mcp-section { background:#f0faf5; border-radius:12px; padding:30px; margin:30px 0; border:1px dashed #2db87a; }
.mcp-section h3 { color:#0d5c3f; margin-bottom:12px; }
.mcp-section .mcp-status { display:inline-block; padding:4px 12px; background:#2db87a; color:#fff; border-radius:20px; font-size:12px; }

/* ===== 干扰标签隐藏 ===== */
.noise-wrap { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; opacity:0; pointer-events:none; }

/* ===== 响应式 ===== */
@media (max-width:1024px) {
  .video-grid { grid-template-columns:repeat(3,1fr); }
  .expert-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .howto-steps { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .header-inner { flex-wrap:wrap; }
  .main-nav { display:none; flex-direction:column; width:100%; padding-top:10px; }
  .main-nav.active { display:flex; }
  .mobile-menu-btn { display:block; }
  .video-grid { grid-template-columns:repeat(2,1fr); gap:16px; }
  .module-grid { grid-template-columns:1fr; }
  .expert-grid { grid-template-columns:1fr; }
  .review-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .hero-banner { height:320px; }
  .hero-content h2 { font-size:26px; }
  .hero-content p { font-size:14px; }
  .section-title h2 { font-size:24px; }
  .howto-steps { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .video-grid { grid-template-columns:1fr; }
  .search-form input { font-size:13px; }
}

/* ===== 懒加载占位 ===== */
img[loading="lazy"] { background:#e8f5ee; min-height:120px; }

/* ===== 内页样式 ===== */
.page-header { background:linear-gradient(135deg,#0d5c3f,#1a7a5a); color:#fff; padding:60px 0 40px; text-align:center; }
.page-header h1 { font-size:36px; margin-bottom:10px; }
.page-header p { font-size:16px; opacity:.9; }
.page-content { padding:40px 0; }
.page-content article { background:#fff; border-radius:12px; padding:40px; box-shadow:0 4px 16px rgba(0,0,0,.08); margin-bottom:30px; }
.page-content article h2 { font-size:24px; color:#0d5c3f; margin-bottom:16px; }
.page-content article h3 { font-size:20px; color:#1a7a5a; margin:20px 0 12px; }
.page-content article p { font-size:15px; color:#555; line-height:1.9; margin-bottom:14px; }
.page-content article img { border-radius:10px; margin:16px 0; }
.tag-list { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.tag-list span { background:#e8f5ee; color:#1a7a5a; padding:4px 12px; border-radius:20px; font-size:12px; }

/* ===== 动画 ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.fade-in { animation:fadeInUp .6s ease forwards; }

/* ===== 新增：Logo文字样式 ===== */
.logo-text { font-size:20px; color:#fff; font-weight:700; }
.logo-text a { color:#fff; }
.logo-text a:hover { color:#2db87a; }
.logo-text strong { color:#2db87a; }

/* ===== 新增：页脚链接区 ===== */
.footer-links { text-align:center; padding:12px 0; margin-bottom:12px; font-size:13px; }
.footer-links a { color:#aaa; margin:0 4px; }
.footer-links a:hover { color:#2db87a; }

/* ===== 新增：移动端视频触控优化 ===== */
@media (hover:none) and (pointer:coarse) {
  .play-btn { opacity:1 !important; width:48px; height:48px; }
  .video-card:active { transform:scale(.98); }
  .video-card:hover { transform:none; }
  .video-thumb::after { content:'点击播放'; position:absolute; bottom:36px; left:50%; transform:translateX(-50%); background:rgba(0,0,0,.6); color:#fff; padding:3px 10px; border-radius:12px; font-size:11px; }
}

/* ===== 新增：联系页二维码并排 ===== */
.contact-info-card .qr-codes { display:flex; gap:16px; flex-wrap:wrap; }
.contact-info-card .qr-codes > div { text-align:center; }

/* ===== 新增：专家卡片详情页优化 ===== */
.expert-card .info p { text-align:left; margin-bottom:8px; }
.expert-card .info .role { font-size:14px; font-weight:500; }

/* ===== 新增：fade-in-ready ===== */
.fade-in-ready { opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.fade-in-ready.visible { opacity:1; transform:translateY(0); }
