/* ==========================================================================
   海王出海官网 — 跨境电商出海工具
   主色：深青 #0d3b4c + 青绿 #1a7a8c + 薄荷 #3ecfc0 + 沙金点缀
   ========================================================================== */

:root {
  --primary: #1a7a8c;
  --primary-dark: #0d3b4c;
  --primary-darker: #0b1f2a;
  --mint: #3ecfc0;
  --mint-light: #eaf5f2;
  --sand: #f0c45c;
  --sand-dark: #d9a835;
  --bg: #f7fbfa;
  --card: #ffffff;
  --border: #d9efe9;
  --title: #0b1f2a;
  --body: #33525c;
  --muted: #5c7a82;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(13,59,76,.06);
  --shadow-lg: 0 14px 40px rgba(13,59,76,.12);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--body); font-size: 16px; line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 26px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--title); }
.logo img, .f-logo img { flex: none; border-radius: 8px; }
.logo em { font-style: normal; color: var(--primary); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 7px 14px; border-radius: 8px; color: var(--body); font-size: 15px; font-weight: 500; }
.nav-links a:hover { background: var(--mint-light); color: var(--primary-dark); }
.nav-links a.active { color: var(--primary); background: var(--mint-light); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-login { color: var(--body); font-size: 15px; font-weight: 500; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(26,122,140,.3); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--primary-dark); color: #fff; }
.btn-secondary:hover { background: var(--primary-darker); color: #fff; }
.btn-sand { background: var(--sand); color: #4a3600; }
.btn-sand:hover { background: var(--sand-dark); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--mint-light) 0%, var(--bg) 100%); padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 14px; color: var(--primary); font-weight: 700; letter-spacing: 1px; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.3; color: var(--title); font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--primary); }
.hero .sub { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* 数据面板 */
.hero-panel {
  background: var(--primary-dark); color: #fff; border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow-lg);
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-row .s-num { font-size: 28px; font-weight: 800; color: var(--mint); }
.stat-row .s-lbl { font-size: 12px; color: #9dc3c8; margin-top: 4px; }
.chip-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.chip { background: rgba(255,255,255,.1); border: 1px solid rgba(62,207,192,.3); color: #c9f0ec; padding: 6px 14px; border-radius: 999px; font-size: 13px; }

/* ---------- 通用 section ---------- */
.section { padding: 60px 0; }
.section.soft { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2px; color: var(--primary); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: 30px; font-weight: 800; color: var(--title); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }

/* ---------- 下载卡 ---------- */
.dl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .25s; position: relative;
}
.dl-card.featured { border: 2px solid var(--mint); box-shadow: 0 10px 30px rgba(62,207,192,.12); }
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dl-card .why-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--mint-light); margin-bottom: 16px; font-size: 24px; }
.dl-card h3 { font-size: 18px; color: var(--title); margin-bottom: 8px; }
.dl-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.dl-card .dl-meta { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- 流程卡 ---------- */
.flow-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.flow-card .fc-num { font-size: 28px; font-weight: 800; color: var(--mint); margin-bottom: 10px; }
.flow-card h3 { font-size: 16px; color: var(--title); margin-bottom: 8px; }
.flow-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- 理由卡 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why-item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; align-items: flex-start; }
.why-item .why-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--mint-light); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.why-item h3 { font-size: 17px; color: var(--title); margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--muted); }

/* ---------- 更新列表 ---------- */
.update-list { max-width: 720px; margin: 0 auto; }
.update-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; align-items: flex-start; }
.update-card .ud-date { flex: none; font-size: 13px; font-weight: 700; color: var(--primary); min-width: 84px; }
.update-card h4 { font-size: 15px; color: var(--title); margin-bottom: 4px; }
.update-card p { font-size: 13px; color: var(--muted); }

/* ---------- 博客列表 ---------- */
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.blog-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; transition: all .2s; }
.blog-item:hover { border-color: var(--mint); box-shadow: var(--shadow); }
.blog-item .blog-tag { flex: none; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--mint-light); padding: 3px 10px; border-radius: 6px; }
.blog-item .blog-date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.blog-item h4 { font-size: 15px; color: var(--title); line-height: 1.5; }

/* ---------- 信任徽章 ---------- */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-badge { display: flex; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; align-items: center; }
.trust-badge .mark { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mint-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.trust-badge h4 { font-size: 14px; color: var(--title); }
.trust-badge p { font-size: 12px; color: var(--muted); }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 56px 0; }
.cta-inner { text-align: center; color: #fff; }
.cta-inner h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-inner p { color: #c9f0ec; max-width: 520px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 订阅套餐 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px;
  display: flex; flex-direction: column; position: relative; transition: all .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.hot { border: 2px solid var(--mint); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--mint); color: #0b1f2a; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 99px; }
.plan h3 { font-size: 18px; color: var(--title); }
.plan .price { margin: 16px 0 4px; font-size: 36px; font-weight: 800; color: var(--title); line-height: 1; }
.plan .price small { font-size: 14px; color: var(--muted); }
.plan .price-unit { font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0 26px; flex: 1; }
.plan ul li { padding: 8px 0; font-size: 14px; color: var(--body); display: flex; gap: 9px; align-items: flex-start; }
.plan ul li::before { content: "✓"; color: var(--mint); font-weight: 700; flex: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-item details summary { padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--title); font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary::after { content: "+"; font-size: 22px; color: var(--primary); font-weight: 400; }
.faq-item details[open] summary::after { content: "−"; }
.faq-item details .faq-a { padding: 0 22px 20px; font-size: 15px; color: var(--body); }

/* ---------- 内页通用网格类（从模板继承） ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: all .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--mint); }
.feature-card .ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--mint-light); margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; color: var(--title); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.scene-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; align-items: flex-start; }
.scene-card .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--mint-light); display: flex; align-items: center; justify-content: center; }
.scene-card h3 { font-size: 17px; color: var(--title); }
.scene-card p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; gap: 16px; }
.step .idx { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: #0b1f2a; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; color: var(--title); }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- 正文 SEO 段 ---------- */
.seo-content { font-size: 15px; color: var(--body); text-align: justify; }
.seo-content p { margin-bottom: 14px; text-indent: 2em; }
.seo-content h2, .seo-content h3 { text-indent: 0; color: var(--title); margin: 22px 0 12px; }
.seo-content strong { color: var(--primary-dark); }

/* ---------- 文章页 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: 13px; margin: 14px 0 26px; display: flex; gap: 16px; flex-wrap: wrap; }
.article h2 { font-size: 22px; color: var(--title); margin: 28px 0 12px; }
.article h3 { font-size: 18px; color: var(--title); margin: 22px 0 10px; }
.article p { margin-bottom: 14px; text-align: justify; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--primary-dark); }
.article .tip { background: var(--mint-light); border-left: 4px solid var(--mint); padding: 16px 18px; border-radius: 8px; margin: 18px 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: var(--border); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-darker); color: #9dc3c8; padding: 54px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-col .f-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.footer-col .f-logo img { border-radius: 8px; }
.footer-col p { font-size: 13px; color: #6fa3ab; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: #6fa3ab; font-size: 13px; padding: 5px 0; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid #0d3b4c; margin-top: 40px; padding: 20px 0; font-size: 12px; color: #4a7a82; text-align: center; }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding: 90px 0 70px; }
.error-404 .code { font-size: 100px; font-weight: 800; color: var(--mint); line-height: 1; }
.error-404 h1 { font-size: 26px; color: var(--title); margin: 18px 0 10px; }
.error-404 p { color: var(--muted); margin-bottom: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav { gap: 14px; flex-wrap: wrap; height: auto; padding: 12px 0; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; gap: 2px; }
  .nav-links a { white-space: nowrap; }
  .hero { padding: 40px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 30px; }
  .dl-cards, .flow-track, .dl-grid, .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .why-grid, .blog-list, .scene-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head h2 { font-size: 25px; }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dl-cards, .flow-track, .trust-row, .dl-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .btn-lg { padding: 13px 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  body { font-size: 15px; }
  .stat-row { grid-template-columns: 1fr; }
}
