/* ==========================================================================
   海王出海 SCRM 官网 · 全新电光青绿/曜石黑科技主题 (AI 出海先锋设计)
   目录：css/style.css
   ========================================================================== */

:root {
  --hw-pri: #059669;            /* 翡翠薄荷主色 */
  --hw-pri-hover: #10b981;
  --hw-cyan: #06b6d4;           /* 电光天青 */
  --hw-ind: #6366f1;            /* 极光紫靛 */
  --hw-gold: #f59e0b;           /* 琥珀金点缀 */
  --hw-coral: #f97316;
  --hw-grad: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
  --hw-grad-btn: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --hw-grad-dark: linear-gradient(135deg, #064e3b 0%, #0c1524 55%, #050811 100%);
  --hw-ink: #0f172a;
  --hw-ink-dark: #080d1a;
  --hw-body: #475569;
  --hw-muted: #64748b;
  --hw-line: #e2e8f0;
  --hw-tint: #d1fae5;
  --hw-tint-2: #ecfdf5;
  --hw-tint-3: #f0fdf4;
  --hw-bg: #f8fafc;
  --hw-bg-soft: #f1f5f9;
  --hw-dark: #070b14;
  --hw-dark-2: #0f172a;
  --hw-r-btn: 999px;
  --hw-r-card: 16px;
  --hw-r-lg: 24px;
  --hw-shadow: 0 10px 30px rgba(5, 150, 105, 0.08);
  --hw-shadow-hover: 0 16px 40px rgba(5, 150, 105, 0.22);
  --hw-maxw: 1180px;
  --hw-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: var(--hw-pri); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--hw-pri-hover); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.hw-wrap {
  width: min(var(--hw-maxw), calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- 按钮系统 ---------- */
.hw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--hw-r-btn);
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.hw-btn svg { width: 18px; height: 18px; }
.hw-btn-primary {
  background: var(--hw-grad-btn);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}
.hw-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}
.hw-btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.hw-btn-light:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
.hw-btn-line {
  background: #fff;
  color: var(--hw-ink) !important;
  border: 1.5px solid var(--hw-line);
}
.hw-btn-line:hover {
  border-color: var(--hw-pri);
  color: var(--hw-pri) !important;
  transform: translateY(-2px);
}

/* ---------- 吸顶导航 ---------- */
.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(--hw-line);
  transition: all .2s;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 38px;
  width: auto;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: #334155;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a.active { color: var(--hw-pri); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .hw-btn {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--hw-ink);
}

/* ---------- 首屏 Hero ---------- */
.hw-hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 22%, rgba(16, 185, 129, 0.15), transparent 45%),
    radial-gradient(circle at 82% 65%, rgba(6, 182, 212, 0.14), transparent 50%),
    linear-gradient(180deg, var(--hw-bg) 0%, #ffffff 100%);
  padding: 68px 0 88px;
  overflow: hidden;
}
.hw-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}
.hw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hw-tint-2);
  color: var(--hw-pri);
  border: 1px solid var(--hw-tint);
  margin-bottom: 16px;
}
.hw-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hw-pri);
  box-shadow: 0 0 8px var(--hw-pri);
}
.hw-h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--hw-ink);
  margin-bottom: 16px;
}
.hw-grad-text {
  background: var(--hw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hw-lead {
  font-size: 16.5px;
  color: var(--hw-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 580px;
}
.hw-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hw-hero-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-bottom: 26px;
}
.hw-hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #334155;
  font-weight: 600;
}
.hw-hero-points li::before {
  content: "✓";
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--hw-pri);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  flex: none;
}
.hw-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hw-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hw-ink);
  background: #fff;
  border: 1px solid var(--hw-line);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.hw-channel i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* 右侧大图透视 */
.hw-hero-visual {
  border-radius: var(--hw-r-lg);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(5, 150, 105, 0.18), 0 0 0 1px rgba(16, 185, 129, 0.2);
  transition: transform .3s ease;
  background: #fff;
}
.hw-hero-visual:hover {
  transform: translateY(-4px);
}
.hw-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 核心能力六宫格 ---------- */
.hw-section {
  padding: 92px 0;
  background: #fff;
}
.hw-section.alt { background: var(--hw-bg); }
.hw-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.hw-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--hw-ink);
  line-height: 1.25;
  margin-bottom: 14px;
}
.hw-head p {
  color: var(--hw-muted);
  font-size: 16px;
}
.hw-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hw-card {
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-r-card);
  padding: 32px 26px;
  box-shadow: var(--hw-shadow);
  transition: all .25s ease;
}
.hw-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: var(--hw-shadow-hover);
}
.hw-ico {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--hw-tint-2);
  border: 1px solid var(--hw-tint);
  color: var(--hw-pri);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.hw-ico svg { width: 24px; height: 24px; }
.hw-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--hw-ink);
  margin-bottom: 10px;
}
.hw-card p {
  color: var(--hw-muted);
  font-size: 14.5px;
  line-height: 1.68;
  margin-bottom: 14px;
}
.hw-card ul {
  display: grid;
  gap: 8px;
}
.hw-card li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: #334155;
}
.hw-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hw-cyan);
}

/* ---------- 4 步接入流程 ---------- */
.hw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hw-step {
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-r-card);
  padding: 28px 24px;
  box-shadow: var(--hw-shadow);
  transition: all .2s;
}
.hw-step:hover {
  transform: translateY(-3px);
  border-color: var(--hw-pri);
}
.hw-step .n {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hw-pri), var(--hw-cyan));
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.hw-step h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--hw-ink);
  margin-bottom: 8px;
}
.hw-step p {
  font-size: 14px;
  color: var(--hw-muted);
  line-height: 1.65;
}

/* ---------- 出海场景矩阵 ---------- */
.hw-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.hw-scene-card {
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-r-card);
  padding: 28px;
  box-shadow: var(--hw-shadow);
  transition: all .2s;
}
.hw-scene-card:hover {
  transform: translateY(-2px);
  border-color: var(--hw-cyan);
}
.hw-scene-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--hw-ink);
  margin-bottom: 8px;
}
.hw-scene-card p {
  font-size: 14.5px;
  color: var(--hw-muted);
  line-height: 1.68;
}

/* ---------- 核心对比表格 (重点转化模块) ---------- */
.hw-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-r-card);
  background: #fff;
  box-shadow: var(--hw-shadow);
  max-width: 960px;
  margin: 0 auto;
}
.hw-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.hw-table th, .hw-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--hw-line);
  font-size: 14.8px;
  vertical-align: middle;
}
.hw-table thead th {
  background: var(--hw-bg-soft);
  color: var(--hw-ink);
  font-weight: 800;
  font-size: 15px;
}
.hw-table thead th.hl {
  background: linear-gradient(135deg, var(--hw-pri), #047857);
  color: #fff;
}
.hw-table td.hl {
  background: #ecfdf5;
  color: var(--hw-ink);
  font-weight: 700;
}
.hw-table tr:last-child td { border-bottom: 0; }

/* ---------- 稳健出海 4 大护航特性 ---------- */
.hw-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hw-safe-card {
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: var(--hw-r-card);
  padding: 24px;
  box-shadow: var(--hw-shadow);
  text-align: center;
}
.hw-safe-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--hw-ink);
  margin-bottom: 8px;
}
.hw-safe-card p {
  font-size: 14px;
  color: var(--hw-muted);
  line-height: 1.6;
}

/* ---------- FAQ 常见问答手风琴 ---------- */
.hw-faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.hw-faq details {
  background: #fff;
  border: 1px solid var(--hw-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--hw-shadow);
  transition: all .2s;
}
.hw-faq details[open] {
  border-color: var(--hw-pri);
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.1);
}
.hw-faq summary {
  padding: 18px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--hw-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hw-faq summary::-webkit-details-marker { display: none; }
.hw-faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--hw-pri);
  font-weight: 800;
  transition: transform .2s;
}
.hw-faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.hw-faq .ans {
  padding: 0 24px 20px;
  font-size: 14.8px;
  color: var(--hw-muted);
  line-height: 1.7;
}

/* ---------- 底部 CTA ---------- */
.hw-cta {
  background: var(--hw-grad-dark);
  color: #fff;
  padding: 84px 0;
  text-align: center;
}
.hw-cta h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  margin-bottom: 14px;
}
.hw-cta p {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ---------- 页脚 ---------- */
.hw-footer {
  background: var(--hw-dark);
  color: #94a3b8;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hw-ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.hw-ft-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.hw-ft-brand p { font-size: 13.5px; line-height: 1.7; color: #64748b; }
.hw-ft-col h4 { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 16px; }
.hw-ft-col ul { display: grid; gap: 8px; }
.hw-ft-col a { font-size: 13.5px; color: #94a3b8; }
.hw-ft-col a:hover { color: var(--hw-cyan); }
.hw-ft-bar {
  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) {
  .hw-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hw-lead { margin-left: auto; margin-right: auto; }
  .hw-cta-row { justify-content: center; }
  .hw-channels { justify-content: center; }
  .hw-grid-3, .hw-steps { grid-template-columns: 1fr 1fr; }
  .hw-grid-4 { grid-template-columns: 1fr 1fr; }
  .hw-ft-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--hw-line);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .hw-grid-3, .hw-steps, .hw-grid-2, .hw-grid-4 { grid-template-columns: 1fr; }
  .hw-hero-points { grid-template-columns: 1fr; }
  .hw-ft-grid { grid-template-columns: 1fr; }
  .hw-btn { width: 100%; }
}
