/* ==========================================================================
   海王出海官网 · 全新电光天青/深海曜石蓝科技主题 (跨境电商出海助手)
   目录：css/style.css
   ========================================================================== */

:root {
  --primary: #0284c7;           /* 电光天青蓝 */
  --primary-hover: #0ea5e9;
  --primary-dark: #0f1c30;      /* 深海曜石蓝 */
  --primary-darker: #080e1a;    /* 曜石深黑底色 */
  --mint: #10b981;              /* 极光薄荷绿 */
  --mint-light: #f0fdf4;
  --sand: #f59e0b;              /* 耀光琥珀金 */
  --sand-dark: #d97706;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-light: rgba(2, 132, 199, 0.16);
  --title: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(8, 14, 26, 0.06);
  --shadow-lg: 0 16px 44px rgba(2, 132, 199, 0.14);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--primary-hover); }
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: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 70px;
}
.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);
  font-size: 15px;
  margin-left: 4px;
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--body);
  font-size: 15px;
  font-weight: 600;
}
.nav-links a:hover { background: var(--mint-light); color: var(--primary); }
.nav-links a.active { color: var(--primary); background: var(--mint-light); }
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-login { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.nav-login:hover { color: var(--primary); }

/* ---------- 按钮系统 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #38bdf8);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.45);
}
.btn-secondary {
  background: var(--primary-dark);
  color: #fff !important;
}
.btn-secondary:hover {
  background: #1e293b;
  color: #fff !important;
  transform: translateY(-2px);
}
.btn-sand {
  background: linear-gradient(135deg, var(--sand), #f59e0b);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.32);
}
.btn-sand:hover {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #fff !important;
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero 英雄区 ---------- */
.hero {
  background:
    radial-gradient(circle at 18% 25%, rgba(14, 165, 233, 0.12), transparent 45%),
    radial-gradient(circle at 82% 65%, rgba(16, 185, 129, 0.10), transparent 50%),
    linear-gradient(180deg, #f0fdf4 0%, var(--bg) 100%);
  padding: 68px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero .lead {
  font-size: 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.22;
  color: var(--title);
  font-weight: 900;
  letter-spacing: -.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* 右侧深青数据面板 */
.hero-panel {
  background:
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.22), transparent 50%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14, 165, 233, 0.2);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 24px;
}
.s-num {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}
.s-lbl {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}
.chip-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13.5px;
  color: #cbd5e1;
  font-weight: 600;
}

/* ---------- 通用 Section ---------- */
.section { padding: 92px 0; background: #fff; }
.section.soft { background: var(--bg); }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--title);
  line-height: 1.25;
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

/* ---------- 下载三卡片 ---------- */
.dl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: all .25s ease;
}
.dl-card.featured {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.dl-card.featured::before {
  content: "推荐";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.why-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.dl-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 8px;
}
.dl-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.dl-card .btn { margin-top: auto; }
.dl-meta {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 12px;
  text-align: center;
  margin-bottom: 0 !important;
}

/* ---------- 4 步极简上手时间线 ---------- */
.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: 28px 22px;
  box-shadow: var(--shadow);
  transition: all .2s;
}
.flow-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}
.flow-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 14px;
}
.flow-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 8px;
}
.flow-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 为什么选海王出海四大优势 ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  transition: all .2s;
}
.why-item:hover {
  background: #fff;
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.why-item .why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex: none;
  margin-bottom: 0;
}
.why-item h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 6px;
}
.why-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 版本更新日志 ---------- */
.update-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.update-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 28px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  box-shadow: var(--shadow);
  transition: all .2s;
}
.update-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.ud-date {
  background: #f1f5f9;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  flex: none;
}
.update-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 4px;
}
.update-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 博客实操指南 ---------- */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .2s;
}
.blog-item:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.blog-tag {
  background: #e0f2fe;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  flex: none;
}
.blog-date {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 2px;
}
.blog-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.4;
}

/* ---------- 四大信任标识 ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}
.trust-badge .mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  display: grid;
  place-items: center;
  flex: none;
}
.trust-badge h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 2px;
}
.trust-badge p {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 底部 CTA ---------- */
.cta-band {
  background:
    radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.22), transparent 50%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  margin-bottom: 14px;
}
.cta-inner p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 30px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- SEO 问答排词长文区 ---------- */
.seo-content {
  max-width: 900px;
  margin: 0 auto;
}
.seo-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--title);
  margin: 32px 0 14px;
  line-height: 1.35;
}
.seo-content h2:first-child { margin-top: 0; }
.seo-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--primary-darker);
  color: #94a3b8;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.f-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #64748b;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--primary-hover); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #475569;
}

/* ---------- 响应式断点 ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dl-cards { grid-template-columns: 1fr; }
  .flow-track { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-actions .nav-login { display: none; }
  .flow-track { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .blog-item { flex-direction: column; align-items: flex-start; }
  .update-card { flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
