/* ==========================================================
   海王出海 SCRM 官方下载站 · 全新极光翠绿/黑曜科技主题
   目录：static/css/style.css
   ========================================================== */

:root {
  --navy-950: #060913;
  --navy-900: #0c1322;
  --navy-800: #121c33;
  --navy-700: #182848;
  --blue-600: #059669;         /* 极光翡翠主色 */
  --blue-500: #10b981;
  --blue-400: #34d399;
  --cyan-400: #06b6d4;         /* 霓虹天青 */
  --cyan-300: #67e8f9;
  --accent-purple: #6366f1;
  --ink: #0f172a;
  --muted: #475569;
  --muted-light: #94a3b8;
  --line: rgba(16, 185, 129, 0.15);
  --line-light: rgba(255, 255, 255, 0.16);
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(6, 9, 19, 0.06);
  --shadow-md: 0 12px 34px rgba(16, 185, 129, 0.12);
  --shadow-lg: 0 24px 60px rgba(6, 9, 19, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --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; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), #059669);
  color: #fff;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.48);
  background: linear-gradient(135deg, #34d399, #059669);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border: 1px solid var(--line-light);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline {
  background: #fff;
  color: var(--blue-600);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
}
.btn-outline:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
  border-color: var(--blue-600);
}

/* ---------- 区块标题 ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-600);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--navy-900);
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 19, 0.90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.brand-text .name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.2;
}
.brand-text .sub {
  font-size: 10px;
  color: var(--cyan-300);
  letter-spacing: 0.18em;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--blue-400); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn { padding: 9px 20px; font-size: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 22%, rgba(16, 185, 129, 0.18), transparent 45%),
    radial-gradient(circle at 82% 65%, rgba(6, 182, 212, 0.15), transparent 48%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 68px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 52px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 10px var(--blue-400);
}
.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-copy h1 .accent {
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 17px;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
  color: #cbd5e1;
  flex-wrap: wrap;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta svg {
  width: 17px;
  height: 17px;
  color: var(--blue-400);
}

/* 右侧截图透视 */
.hero-visual {
  position: relative;
}
.hero-shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: perspective(1000px) rotateY(-4deg) rotateX(3deg);
  transition: transform 0.4s ease;
  background: #020617;
}
.hero-shot:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}
.hero-float {
  position: absolute;
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(14px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  color: #fff;
  display: grid;
  gap: 4px;
}
.hero-float strong {
  font-size: 14.5px;
  color: #f1f5f9;
}
.hero-float span {
  font-size: 12px;
  color: var(--cyan-300);
}
.float-a {
  top: -18px;
  left: -20px;
}
.float-b {
  bottom: -22px;
  right: -16px;
}

/* ---------- 统计条 ---------- */
.stats {
  background: #0a0f1d;
  color: #fff;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat .num {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat .num em {
  font-style: normal;
  font-size: 19px;
  color: var(--blue-400);
  margin-left: 2px;
}
.stat .label {
  font-size: 13.5px;
  color: #94a3b8;
  margin-top: 4px;
}

/* ---------- 核心能力六宫格 ---------- */
.features { background: var(--bg); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  padding: 34px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: all 0.28s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.12));
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14.8px;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- 平台徽标矩阵 ---------- */
.platforms { background: var(--bg-soft); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.platform-item {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.platform-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}
.p-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex: none;
}

/* ---------- 界面预览 ---------- */
.shots { background: var(--bg); }
.shot-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.shot-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #020617;
}
.shot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shot-card:hover img { transform: scale(1.02); }

/* ---------- 下载中心 ---------- */
.download {
  background:
    radial-gradient(circle at 15% 25%, rgba(16, 185, 129, 0.16), transparent 50%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
}
.download .section-head h2 { color: #fff; }
.download .section-head p { color: #94a3b8; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.dl-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.dl-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.dl-os {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--blue-400);
  display: grid;
  place-items: center;
}
.dl-os svg { width: 26px; height: 26px; }
.dl-top h3 { font-size: 22px; font-weight: 800; color: #fff; }
.dl-top span { font-size: 13px; color: #94a3b8; }
.dl-meta {
  margin-bottom: 26px;
  color: #cbd5e1;
  font-size: 14px;
  display: grid;
  gap: 8px;
}
.dl-meta li::before {
  content: "•";
  color: var(--blue-400);
  font-weight: 900;
  margin-right: 8px;
}
.dl-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.dl-note {
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
  margin-top: 30px;
}

/* ---------- 安装步骤 ---------- */
.steps { background: var(--bg); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: #fff;
  padding: 34px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #d1fae5;
  color: var(--blue-600);
  font-size: 17px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 常见问题 FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy-900);
  text-align: left;
}
.faq-q:hover { color: var(--blue-600); }
.faq-q .chev {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
  color: var(--muted);
  flex: none;
}
.faq-item.open .chev { transform: rotate(180deg); color: var(--blue-600); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}
.faq-a p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 底部 CTA ---------- */
.cta-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.25), transparent 45%),
    linear-gradient(135deg, #064e3b 0%, #060913 100%);
  color: #fff;
  padding: 84px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-inner p {
  color: #cbd5e1;
  font-size: 17px;
  margin-bottom: 34px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner .btn {
  background: linear-gradient(135deg, var(--blue-400), #059669);
  color: #fff;
  font-size: 17px;
  padding: 16px 36px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #04060c;
  color: #94a3b8;
  padding: 64px 0 32px;
  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: 48px;
}
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  max-width: 340px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
  color: #475569;
}

/* ---------- 滚动显现 Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式断点 ---------- */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-shot { transform: none; }
  .float-a { left: 10px; top: -14px; }
  .float-b { right: 10px; bottom: -18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .feature-grid, .step-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .shot-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #0c1322;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
