/* ============================================================
   SaleSmartly 官方下载站 · 样式表
   品牌主色：蓝 #2E4FED / 青 #5CCCBE
   ============================================================ */

:root {
  --blue: #2E4FED;
  --blue-deep: #1d3bb8;
  --blue-soft: #eef2ff;
  --teal: #5CCCBE;
  --teal-soft: #e6f7f4;
  --ink: #0B1220;
  --ink-2: #1E293B;
  --slate: #52607a;
  --muted: #7b879e;
  --bg: #F6F8FC;
  --bg-2: #eef3fb;
  --card: #ffffff;
  --line: #e6ebf3;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px rgba(15, 35, 90, .10);
  --shadow-lg: 0 24px 60px rgba(20, 45, 110, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, 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.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #3f63ff 100%);
  color: #fff; box-shadow: 0 8px 20px rgba(46, 79, 237, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46, 79, 237, .36); }
.btn-ghost {
  background: #fff; color: var(--ink-2); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-teal {
  background: var(--teal-soft); color: #0f766e;
}
.btn-teal:hover { background: #d3f1ec; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 55%, #3f63ff);
  color: #eaf0ff; font-size: 13px; text-align: center; padding: 8px 16px;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.brand-name .accent { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(92, 204, 190, .18), transparent 60%),
    radial-gradient(800px 500px at 0% 20%, rgba(46, 79, 237, .12), transparent 55%),
    var(--bg);
  padding: 72px 0 60px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.18;
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--blue), #5a7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 17px; color: var(--slate); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat .num { font-size: 26px; font-weight: 800; color: var(--ink); }
.stat .num span { color: var(--blue); }
.stat .label { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual .shot {
  border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: #fff; overflow: hidden;
}
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600;
}
.float-badge .ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--teal-soft); color: #0f766e;
}
.float-badge.b1 { top: -18px; left: -14px; }
.float-badge.b2 { bottom: -16px; right: -10px; }
.float-badge .ico svg { width: 18px; height: 18px; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.section-head p { color: var(--slate); font-size: 16px; }

/* ---------- 下载平台卡片 ---------- */
.downloads { background: #fff; }
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.platform-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 28px; transition: all .25s ease;
  display: flex; flex-direction: column; gap: 16px;
}
.platform-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #d6e0f5; }
.platform-top { display: flex; align-items: center; gap: 14px; }
.platform-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-2); color: var(--ink-2); flex-shrink: 0;
}
.platform-icon svg { width: 28px; height: 28px; }
.platform-card h3 { font-size: 19px; font-weight: 700; }
.platform-card .sub { font-size: 13px; color: var(--muted); }
.platform-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px; color: var(--slate); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
}
.platform-card .desc { font-size: 14px; color: var(--slate); flex: 1; }
.platform-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-actions .btn { padding: 11px 16px; font-size: 14px; border-radius: 10px; }

/* ---------- 功能卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: all .25s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft));
  color: var(--blue); margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--slate); }

/* ---------- 渠道 ---------- */
.channels { background: var(--bg); }
.channel-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.channel-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.channel-chip .dotc { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- 亮点数据 ---------- */
.highlights { background: linear-gradient(135deg, #0d1738, var(--blue-deep)); color: #fff; }
.highlights .section-head h2, .highlights .section-head p { color: #fff; }
.highlights .section-head p { color: #c6d2f5; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hl-card { text-align: center; padding: 28px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.hl-card .num { font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.hl-card .num span { color: var(--teal); }
.hl-card .label { font-size: 14px; color: #c6d2f5; }

/* ---------- 安装指南 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: var(--blue-soft);
  color: var(--blue); font-weight: 800; display: grid; place-items: center; margin-bottom: 18px;
}
.step-card h3 { font-size: 17px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--slate); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 20px 24px; font-size: 16px; font-weight: 600;
  text-align: left; color: var(--ink);
}
.faq-q .chev { transition: transform .25s ease; color: var(--blue); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--slate); }

/* ---------- 评价 ---------- */
.reviews { background: var(--bg); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { font-size: 14.5px; color: var(--slate); margin-bottom: 18px; }
.review-who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700; }
.review-who .name { font-size: 14px; font-weight: 600; }
.review-who .role { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band { padding: 84px 0; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 26px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; padding: 56px 40px; text-align: center;
}
.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-inner p { color: #d7e1ff; max-width: 520px; margin: 0 auto 28px; }
.cta-inner .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.cta-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; font-size: 14px; color: #d7e1ff; }
.cta-list li { display: flex; align-items: center; gap: 8px; }
.cta-list svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b1220; color: #aab6cf; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px;
}
.footer-legal { margin-top: 30px; font-size: 12.5px; color: #7b879e; line-height: 1.8; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .platform-grid, .feature-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px 24px; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  .platform-grid, .feature-grid, .review-grid, .hl-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 40px; }
  .float-badge.b1 { left: 0; }
  .float-badge.b2 { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
