/* ============================================================
   易歪歪 · 官网下载站 样式表
   设计基调：深蓝 + 青色渐变，现代 SaaS，高级留白
   ============================================================ */

:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --ink: #0f1f38;
  --ink-2: #33455f;
  --muted: #6b7c95;
  --primary: #1d5fd6;
  --primary-dark: #1648a8;
  --cyan: #06b6d4;
  --grad: linear-gradient(135deg, #1d5fd6 0%, #06b6d4 100%);
  --grad-dark: linear-gradient(135deg, #0b1b33 0%, #123057 55%, #0e4a63 100%);
  --border: #e2eaf3;
  --shadow-sm: 0 2px 10px rgba(15, 31, 56, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 31, 56, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 31, 56, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(29, 95, 214, 0.08);
  border: 1px solid rgba(29, 95, 214, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 95, 214, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(29, 95, 214, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }

/* ---------- 导航 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; }
.brand-name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
  padding: 88px 0 100px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 80% -10%, rgba(6, 182, 212, 0.25), transparent 60%),
    radial-gradient(600px 380px at 10% 110%, rgba(29, 95, 214, 0.3), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: #cfe6ff;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero h1 .grad-text {
  background: linear-gradient(90deg, #7dd3fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 18px; color: #c3d4ea; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat .num { font-size: 30px; font-weight: 800; }
.stat .num em { font-style: normal; color: #22d3ee; }
.stat .label { font-size: 13px; color: #a9bcd6; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-media .float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
}
.float-card strong { display: block; font-weight: 600; }
.float-card.fc-1 { top: 24px; left: -28px; }
.float-card.fc-2 { bottom: 28px; right: -18px; }
.float-card small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

/* ---------- 平台信任条 ---------- */
.trust { padding: 34px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 36px; }
.trust-inner span { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.trust-inner .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* ---------- 功能卡片 ---------- */
.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(29, 95, 214, 0.25); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* ---------- 图文亮点 ---------- */
.highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.highlight + .highlight { margin-top: 88px; }
.highlight-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.highlight:nth-child(even) .highlight-media { order: 2; }
.highlight-body .eyebrow { margin-bottom: 16px; }
.highlight-body h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-bottom: 16px; }
.highlight-body > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--ink-2); font-size: 15px; }
.check-list .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  margin-top: 3px;
}

/* ---------- 软件预览 ---------- */
.preview-wrap {
  background: var(--grad-dark);
  border-radius: 26px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.preview-wrap img { border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); }
.preview-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.preview-notes .note { color: #c3d4ea; font-size: 14px; }
.preview-notes .note strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }

/* ---------- 下载平台 ---------- */
.grid-downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dl-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.dl-icon svg { width: 32px; height: 32px; }
.dl-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.dl-meta { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.dl-card .btn { width: 100%; }
.dl-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- 更新日志 ---------- */
.changelog { max-width: 760px; margin: 0 auto; }
.log-item {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.log-item:last-child { border-bottom: none; }
.log-version {
  flex: none;
  width: 92px;
  font-weight: 700;
  color: var(--primary);
}
.log-date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.log-item ul li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }
.log-item ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* ---------- 系统要求 ---------- */
.req-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: stretch; }
.req-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.req-table th, .req-table td { padding: 16px 22px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.req-table th { background: var(--surface-2); font-weight: 700; width: 34%; }
.req-table tr:last-child td { border-bottom: none; }
.rating-card {
  background: var(--grad-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.rating-icon { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 16px; box-shadow: var(--shadow-md); }
.rating-score { font-size: 46px; font-weight: 800; }
.rating-score small { font-size: 16px; color: #c3d4ea; font-weight: 500; }
.stars { color: #fbbf24; letter-spacing: 3px; margin: 8px 0; }
.rating-card p { color: #c3d4ea; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--grad-dark);
  color: #fff;
  border-radius: 26px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 50% 0%, rgba(6,182,212,0.25), transparent 60%);
}
.cta .container { position: relative; }
.cta h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: #c3d4ea; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #0b1626; color: #9fb2cc; padding: 56px 0 28px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.footer-brand .brand-name { color: #fff; }
.footer-about { font-size: 14px; max-width: 300px; }
.footer 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: #22d3ee; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ---------- 回到顶部 / Toast ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
}
.back-top.show { display: flex; }
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 滚动显现（仅在 JS 启用时初始隐藏，保证无 JS 内容可见） ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
body.anim .reveal { opacity: 0; transform: translateY(28px); }
body.anim .reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-features { grid-template-columns: repeat(2, 1fr); }
  .grid-downloads { grid-template-columns: repeat(2, 1fr); }
  .highlight { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .navbar.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .navbar.menu-open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--surface-2); }
  .hero { padding: 56px 0 72px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .float-card.fc-1 { left: 0; }
  .float-card.fc-2 { right: 0; }
  .grid-features, .grid-downloads, .highlight, .req-grid, .preview-notes { grid-template-columns: 1fr; }
  .highlight:nth-child(even) .highlight-media { order: 0; }
  .log-item { flex-direction: column; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .preview-wrap { padding: 20px; }
}
