/* ==========================================================================
   易小计 · 官网样式
   配色与客户端一致：主蓝 #2E7BF6 / 橙 #FFB23F，浅色背景
   ========================================================================== */
:root {
  --brand: #2E7BF6;
  --brand-dark: #1C5FD0;
  --brand-soft: #E9F1FF;
  --orange: #FFB23F;
  --orange-soft: #FFF4E0;
  --income: #14B67B;
  --income-soft: #E4F8F0;
  --expense: #F0603C;
  --expense-soft: #FFEDE7;
  --text: #14213D;
  --text-2: #5A6B85;
  --text-3: #93A3BC;
  --line: #E7EEF8;
  --bg: #F5F9FF;
  --card: #FFFFFF;
  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(20, 45, 90, .06), 0 10px 30px rgba(20, 45, 90, .05);
  --shadow-md: 0 10px 40px rgba(20, 45, 90, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- 顶部导航 ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 238, 248, .9);
}
.nav {
  display: flex; align-items: center; gap: 26px; height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 14.5px; color: var(--text-2); font-weight: 600; transition: color .18s; position: relative; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-size: 14.5px; font-weight: 700;
  transition: transform .16s, box-shadow .16s, background .16s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, #3D8BFF, var(--brand)); color: #fff;
  box-shadow: 0 6px 20px rgba(46, 123, 246, .32);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 10px 28px rgba(46, 123, 246, .4); }
.btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand-soft); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 123, 246, .13), transparent 65%);
  top: -220px; right: -160px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--brand-dark);
  background: #fff; border: 1px solid var(--brand-soft);
  padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--income); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(20,182,123,.5);} 50% { box-shadow: 0 0 0 6px rgba(20,182,123,0);} }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px); line-height: 1.22; letter-spacing: -1px;
  margin: 20px 0 16px; font-weight: 900;
}
.hero h1 .hl { color: var(--brand); position: relative; }
.hero p.lead { font-size: 17px; color: var(--text-2); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

.shot-wrap {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(20, 45, 90, .22), 0 4px 16px rgba(20, 45, 90, .1);
  border: 1px solid #fff; animation: float 7s ease-in-out infinite;
  background: #fff;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(-.5deg); }
}
.shot-wrap img { width: 100%; }

/* ---------- 信任条 ---------- */
.trust { padding: 8px 0 54px; }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600;
}
.trust-item .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.trust-item .ic svg { width: 18px; height: 18px; }
.ic.blue { background: var(--brand-soft); color: var(--brand); }
.ic.green { background: var(--income-soft); color: var(--income); }
.ic.orange { background: var(--orange-soft); color: #D98A00; }
.ic.red { background: var(--expense-soft); color: var(--expense); }

/* ---------- 通用 section ---------- */
section { padding: 64px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head .tag {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  color: var(--brand); background: var(--brand-soft); padding: 5px 14px; border-radius: 999px;
}
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 10px; font-weight: 900; letter-spacing: -.5px; }
.sec-head p { color: var(--text-2); font-size: 15.5px; }

/* ---------- 功能 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: #fff; border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
  border: 1px solid rgba(231, 238, 248, .8);
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feat .fic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 16px; transition: transform .24s cubic-bezier(.2,.8,.3,1.4);
}
.feat:hover .fic { transform: scale(1.1) rotate(-4deg); }
.feat .fic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 16.5px; margin-bottom: 8px; font-weight: 800; }
.feat p { font-size: 13.8px; color: var(--text-2); line-height: 1.85; }

/* ---------- 截图展示 ---------- */
.shots { background: linear-gradient(180deg, #fff, var(--bg)); }
.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shot-card {
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .24s, box-shadow .24s; border: 1px solid var(--line);
}
.shot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.shot-card img { width: 100%; }
.shot-card .cap { padding: 15px 20px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.shot-card .cap small { color: var(--text-3); font-weight: 500; margin-left: auto; }

/* ---------- 更新日志 ---------- */
.log-list { max-width: 780px; margin: 0 auto; }
.log-item {
  display: grid; grid-template-columns: 108px 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px dashed var(--line);
}
.log-ver { font-weight: 900; color: var(--brand); font-size: 15px; }
.log-ver small { display: block; color: var(--text-3); font-weight: 600; font-size: 12px; margin-top: 3px; }
.log-body h4 { font-size: 15px; margin-bottom: 8px; }
.log-body ul { list-style: none; }
.log-body li { font-size: 13.8px; color: var(--text-2); padding-left: 18px; position: relative; margin-bottom: 5px; }
.log-body li::before { content: '·'; position: absolute; left: 6px; color: var(--brand); font-weight: 900; }
.log-badge {
  display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px;
  background: var(--income-soft); color: #067647; margin-left: 8px; vertical-align: 2px;
}

/* ---------- 下载 ---------- */
.download-box {
  background: linear-gradient(135deg, #1C4FA8 0%, var(--brand) 55%, #5B9DFF 100%);
  border-radius: 26px; padding: 52px 46px; color: #fff; text-align: center;
  box-shadow: 0 24px 60px rgba(28, 79, 168, .35); position: relative; overflow: hidden;
}
.download-box::after {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%);
  bottom: -220px; left: -120px;
}
.download-box h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; }
.download-box p.sub { opacity: .9; margin: 12px auto 30px; max-width: 520px; font-size: 15px; }
.dl-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--brand-dark); position: relative; overflow: hidden; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
/* 主下载按钮的「扫光」效果 */
.btn-white::after {
  content: ''; position: absolute; top: -10%; left: -80%; width: 45%; height: 120%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: skewX(-22deg); transition: left .65s ease;
}
.btn-white:hover::after { left: 130%; }
.dl-faq { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.dl-faq:hover { background: rgba(255,255,255,.24); }
.dl-meta { margin-top: 26px; font-size: 13px; opacity: .85; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.req { max-width: 780px; margin: 30px auto 0; background: #fff; border-radius: 18px; padding: 0; box-shadow: var(--shadow-sm); overflow: hidden; }
.req summary {
  list-style: none; cursor: pointer; padding: 20px 26px;
  font-size: 15.5px; font-weight: 800; display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.req summary::-webkit-details-marker { display: none; }
.req summary:hover { color: var(--brand-dark); }
.req .req-chevron { color: var(--brand); transition: transform .25s; }
.req[open] .req-chevron { transform: rotate(180deg); }
.req ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; padding: 0 26px 24px; }
.req li { font-size: 13.5px; color: var(--text-2); padding-left: 20px; position: relative; }
.req li::before { content: '✓'; position: absolute; left: 0; color: var(--income); font-weight: 900; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  background: #fff; border-radius: 16px; padding: 20px 24px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.faq h4 { font-size: 15px; margin-bottom: 8px; display: flex; gap: 10px; }
.faq h4 .q { color: var(--brand); font-weight: 900; }
.faq p { font-size: 13.8px; color: var(--text-2); }

/* ---------- 页脚 ---------- */
footer { background: #0F1B33; color: #C6D3E8; padding: 46px 0 30px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.foot-brand img { width: 32px; height: 32px; }
footer p, footer li { font-size: 13.5px; color: #8FA3C4; }
footer h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.09); margin-top: 34px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #6E82A6;
}

/* ---------- 滚动入场动画 ----------
   仅在 JS 可用时才隐藏元素（html.js），否则内容始终可见 */
.js .reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .shot-wrap { animation: none !important; }
  .btn-white::after { display: none !important; }
}

/* ==========================================================================
   响应式（PC / 平板 / 手机）
   ========================================================================== */

/* 汉堡按钮（桌面端隐藏） */
.nav-burger { display: none; }

/* ---------- 平板 & 以下（≤1024px） ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .hero p.lead { max-width: 640px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .shots-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .req ul { grid-template-columns: 1fr; }
  .download-box { padding: 40px 28px; }
}

/* ---------- 手机（≤720px） ---------- */
@media (max-width: 720px) {
  .wrap { width: 92vw; }
  .nav { height: 58px; }
  .brand { font-size: 16px; }

  /* 汉堡菜单 */
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft);
    align-items: center; transition: background .2s;
  }
  .nav-burger span {
    display: block; width: 20px; height: 2.4px; border-radius: 2px;
    background: var(--brand); transition: transform .25s, opacity .2s;
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

  .nav-cta { gap: 10px; margin-left: auto; }
  .nav-cta .btn { padding: 9px 14px; font-size: 13px; }

  /* 下拉菜单 */
  .nav-links {
    position: fixed; top: 58px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(20, 45, 90, .16);
    display: flex; flex-direction: column; gap: 0;
    padding: 8px 4vw 14px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 6px; font-size: 15.5px; border-bottom: 1px solid #F3F6FB; }
  .nav-links a:last-child { border-bottom: none; }
  body.nav-open { overflow: hidden; }

  /* 首屏 */
  .hero { padding: 40px 0 36px; }
  .hero::before { width: 380px; height: 380px; top: -160px; right: -140px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; }
  .hero h1 { font-size: clamp(28px, 9vw, 38px); margin: 16px 0 12px; }
  .hero p.lead { font-size: 15px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 12px 18px; font-size: 12.5px; }
  .shot-wrap { border-radius: 16px; animation: none; }

  /* 通用间距 */
  section { padding: 44px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 26px; }

  .trust-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-item { padding: 12px 14px; font-size: 13px; gap: 8px; }

  .feat-grid { grid-template-columns: 1fr; gap: 13px; }
  .feat { padding: 22px 20px; }

  .shots-grid { grid-template-columns: 1fr; }
  .shot-card .cap { font-size: 13px; }

  .download-box { padding: 34px 20px; border-radius: 20px; }
  .download-box h2 { font-size: 26px; }
  .download-box .sub { display: none; }          /* 手机端去掉副标题，少字更清爽 */
  .dl-btns { flex-direction: column; }
  .dl-btns .btn { width: 100%; }
  .dl-faq { display: none; }                       /* 手机端去掉次要按钮，只留主下载 */
  .dl-meta { gap: 10px 16px; font-size: 12px; }

  .req { margin-top: 18px; }
  .req summary { padding: 16px 18px; font-size: 14.5px; }
  .log-item { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }

  footer { padding: 36px 0 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

/* ---------- 小屏手机（≤380px） ---------- */
@media (max-width: 380px) {
  .trust-row { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 6px; }
}

