/* ==========================================================
   诗航EMS 邮件营销获客系统 - 专题营销页
   配色：深蓝 + 品牌蓝 + 橙色CTA（与官网企业风格统一）
   ========================================================== */

:root {
  --brand: #1e5eff;
  --brand-dark: #1443b8;
  --dark: #0b2447;
  --dark-2: #12305c;
  --accent: #ff7a00;
  --accent-dark: #e56b00;
  --bg: #f5f8fc;
  --line: #e3eaf3;
  --text: #233043;
  --muted: #64748b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 36, 71, 0.10);
  --shadow-lg: 0 18px 50px rgba(11, 36, 71, 0.16);
  --nav-h: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  letter-spacing: 1px;
}

.section-sub {
  max-width: 720px;
  margin: 14px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.divider {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin: 18px auto 0;
}

section {
  padding: 88px 0;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 36, 71, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.nav.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--dark);
  white-space: nowrap;
  margin-right: 10px;
}

.logo .logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
  max-width: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  white-space: nowrap;
}

.nav-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* 知识库下拉 */
.nav-item.has-drop {
  position: relative;
}

.drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}

.nav-item.has-drop:hover .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.drop a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  margin-left: 20px;
}

.nav-tel svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(30, 94, 255, 0.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(255, 122, 0, 0.16), transparent 60%),
    linear-gradient(160deg, #0b2447 0%, #12305c 55%, #16407c 100%);
  color: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  letter-spacing: 1px;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: 46px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero h1 .hl {
  background: linear-gradient(90deg, #ffb36b, #ff7a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 122, 0, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.42);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-points {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points .tick {
  color: #4ade80;
  font-weight: 800;
}

/* Hero 截图卡片 */
.hero-visual {
  position: relative;
}

.browser {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }

.browser-bar .url {
  flex: 1;
  margin-left: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.browser .shot {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.float-card {
  position: absolute;
  left: -34px;
  bottom: -26px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}

.float-card .fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf3, #d1fae5);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.float-card b {
  color: var(--dark);
  font-size: 15px;
  display: block;
}

.float-card small {
  color: var(--muted);
  font-size: 12.5px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 数据条 ---------- */
.stats {
  background: var(--white);
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats-grid b {
  display: block;
  font-size: 36px;
  color: var(--dark);
  font-weight: 800;
}

.stats-grid b em {
  font-style: normal;
  color: var(--brand);
}

.stats-grid span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 痛点 ---------- */
.pains {
  background: var(--bg);
}

.pain-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.pain-card .pc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff3e8;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.pain-card h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 核心功能 ---------- */
.features {
  background: var(--white);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 72px;
}

.feature-row:first-of-type {
  margin-top: 52px;
}

.feature-row.reverse .feat-visual {
  order: 2;
}

.feature-row.reverse .feat-text {
  order: 1;
}

.feat-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.feat-text h3 {
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 14px;
}

.feat-text p {
  color: var(--muted);
  font-size: 15.5px;
}

.feat-list {
  margin-top: 18px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: #33415c;
}

.feat-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-visual {
  position: relative;
}

.feat-visual .shot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.feat-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
}

/* ---------- 获客流程 ---------- */
.flow {
  background:
    linear-gradient(160deg, #0b2447 0%, #16407c 100%);
  color: #fff;
}

.flow .section-title {
  color: #fff;
}

.flow .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.flow .divider {
  background: linear-gradient(90deg, #ffb36b, var(--accent));
}

.flow-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}

.step:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffb36b);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 定价 ---------- */
.pricing {
  background: var(--bg);
}

.price-card {
  max-width: 560px;
  margin: 52px auto 0;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.price-head {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  padding: 34px 40px;
  text-align: center;
}

.price-head h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.price-head .amount {
  margin: 14px 0 6px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.price-head .amount small {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.price-head p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.price-body {
  padding: 30px 40px 34px;
}

.price-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-body li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: #33415c;
}

.price-body li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: #fff7ed;
  border: 1px dashed #f0b36e;
  border-radius: 10px;
  font-size: 13.5px;
  color: #9a5b1b;
  line-height: 1.7;
}

.price-cta {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- 合规说明 ---------- */
.compliance {
  background: var(--white);
}

.comp-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.comp-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--bg);
  display: flex;
  gap: 16px;
}

.comp-card .cc-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e8f2ff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.comp-card h3 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 8px;
}

.comp-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 底部 CTA ---------- */
.cta-bottom {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(30, 94, 255, 0.35), transparent 60%),
    linear-gradient(160deg, #0b2447, #16407c);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}

.cta-bottom h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
}

.cta-bottom p {
  margin: 14px auto 30px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.cta-bottom .btn-primary {
  font-size: 18px;
  padding: 16px 44px;
}

.cta-bottom .tel-line {
  margin-top: 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.cta-bottom .tel-line a {
  color: #ffb36b;
  font-weight: 700;
  font-size: 17px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #081a33;
  color: rgba(255, 255, 255, 0.65);
  padding: 44px 0 34px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand .logo-img {
  height: 36px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-links h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-contact p {
  line-height: 2;
}

.footer-contact a {
  color: #ffb36b;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
  line-height: 2.1;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom .beian-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.footer-bottom .beian-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ---------- 滚动显示动画 ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in,
.js-ready .reveal.in {
  opacity: 1;
  transform: none;
}

/* 内容始终可见，动画仅作为无 JS 时不影响可访问性的渐进增强 */
.js-ready .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .feature-row {
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .logo .logo-img {
    height: 32px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-item.has-drop {
    position: static;
  }

  .drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
  }

  .drop a {
    border-bottom: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
  }

  .nav-tel {
    font-size: 14px;
  }

  .nav-tel .tel-label {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 44px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .float-card {
    left: 8px;
    bottom: -18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-row.reverse .feat-visual {
    order: 0;
  }

  .feature-row.reverse .feat-text {
    order: 0;
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comp-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-head,
  .price-body {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cta-bottom h2 {
    font-size: 27px;
  }
}
