/* 金记账官网 - 静态站统一样式（part 1/2） */
:root {
  --green: #2ecc71; --green-dark: #27ae60;
  --text: #1f2937; --text-mid: #4b5563; --text-light: #6b7280;
  --border: #e5e7eb; --bg-alt: #f9fafb;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 2000; }
.skip-link:focus { left: 8px; top: 8px; }

/* 顶部导航 */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 1000;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.site-nav .nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 700; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; }
.nav-menu { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-menu a { font-size: .95rem; color: var(--text-mid); padding: 4px 0; border-bottom: 2px solid transparent; transition: all .2s; }
.nav-menu a:hover { color: var(--green-dark); border-bottom-color: var(--green); }
.nav-menu a[aria-current="page"] { color: var(--green-dark); border-bottom-color: var(--green); font-weight: 600; }
.nav-menu a.nav-cta { border: none; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; padding: 8px 20px; border-radius: 24px; font-weight: 600; }

/* 按钮 */
.btn { display: inline-block; border: none; cursor: pointer; font-weight: 600; border-radius: 40px; transition: transform .2s, box-shadow .2s; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; padding: 13px 34px; font-size: 1.05rem; box-shadow: 0 4px 14px rgba(46,204,113,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,204,113,.42); }
.btn-secondary { background: transparent; border: 2px solid var(--green); color: var(--green-dark); padding: 11px 26px; }
.btn-secondary:hover { background: var(--green); color: #fff; }

/* 页头 Banner */
.page-hero { padding: 128px 0 64px; background: url(/site/img/zt.jpg) center / cover no-repeat; text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1.25; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.page-hero p { color: rgba(255,255,255,.94); font-size: 1.12rem; margin-top: 12px; text-shadow: 0 1px 6px rgba(0,0,0,.15); }
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 16px 24px 0; font-size: .85rem; color: var(--text-light); }
.breadcrumb a { color: var(--green-dark); }

/* 区块 */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 40px; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; margin: 12px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--green-dark)); }
.section-desc { text-align: center; color: var(--text-light); margin: 0 auto 36px; max-width: 760px; }
.lead { font-size: 1.05rem; color: var(--text-mid); max-width: 880px; margin: 0 auto; }
.lead p { margin-bottom: 12px; }

/* 首页 Hero */
.home-hero { padding: 132px 0 64px; background: url(/site/img/zt.jpg) center / cover no-repeat; }
.home-hero .hero-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.home-hero .hero-text { flex: 1 1 320px; min-width: 280px; }
.home-hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; }
.home-hero .hero-sub { font-size: 1.2rem; color: var(--text-mid); margin: 18px 0 30px; }
.home-hero .hero-img { flex: 1 1 320px; display: flex; justify-content: center; }
.home-hero .hero-img img { max-width: 600px; width: 100%; height: auto; }

/* 网格与卡片 */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: #d1fae5; box-shadow: 0 10px 28px rgba(46,204,113,.12); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-mid); font-size: .95rem; }
.card .icon { font-size: 2.2rem; margin-bottom: 14px; }

.feature-card { background: #fff; border-radius: 20px; padding: 26px 20px; box-shadow: 0 2px 20px rgba(46,204,113,.18); }
.feature-card .fc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.5; }
.feature-card img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }

.feature-detail { display: flex; align-items: center; gap: 36px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px 30px; margin-bottom: 28px; }
.feature-detail.reverse { flex-direction: row-reverse; }
.feature-detail .fd-icon { flex-shrink: 0; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; border-radius: 20px; background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.feature-detail h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.feature-detail p { color: var(--text-mid); font-size: .95rem; margin-bottom: 14px; }
.feature-detail ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.feature-detail li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--text-mid); }
.feature-detail li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.platform-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 10px; text-align: center; font-weight: 600; font-size: .95rem; color: #374151; }
.platform-item:hover { border-color: var(--green); box-shadow: 0 4px 16px rgba(46,204,113,.15); }

.step-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 22px; text-align: center; }
.step-number { width: 44px; height: 44px; line-height: 44px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-weight: 700; font-size: 1.15rem; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: .9rem; color: var(--text-mid); }

/* 折叠面板：details/summary，无需 JS，正文始终存在于 HTML 中 */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion details { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.accordion details[open] { border-color: var(--green); box-shadow: 0 4px 16px rgba(46,204,113,.1); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; margin-left: auto; color: var(--green-dark); font-size: 1.3rem; font-weight: 700; }
.accordion details[open] summary::after { content: '−'; }
.accordion .acc-body { padding: 0 22px 20px; color: var(--text-mid); font-size: .95rem; }
.accordion .acc-body p { margin-bottom: 8px; }
.accordion .acc-body ol, .accordion .acc-body ul { margin: 0 0 8px 22px; }
.accordion .acc-body li { margin-bottom: 5px; }

/* 数据 / 亮点 */
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 22px; text-align: center; }
.value-card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.placeholder { border: 1px dashed #d1d5db; border-radius: 14px; padding: 14px 12px; text-align: center; color: var(--text-light); font-size: .85rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 720px; margin: 0 auto; }
.stat-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 12px; text-align: center; }
.stat-number { display: block; font-size: 1.9rem; font-weight: 800; color: var(--green-dark); }
.stat-label { font-size: .9rem; color: var(--text-light); }

/* 时间线 */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: #d1fae5; }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid #d1fae5; }
.timeline-date { font-size: .85rem; color: var(--green-dark); font-weight: 700; }
.timeline-item h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.timeline-item p { color: var(--text-mid); font-size: .93rem; }

/* 新闻 / 版本 */
.news-list { max-width: 780px; margin: 0 auto; display: grid; gap: 18px; }
.news-item { display: flex; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.news-date { min-width: 64px; text-align: center; flex-shrink: 0; }
.news-date .d { display: block; font-size: 1.5rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.news-date .m { font-size: .78rem; color: var(--text-light); }
.news-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.news-item p { font-size: .92rem; color: var(--text-mid); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 10px; background: #ecfdf5; color: var(--green-dark); margin-bottom: 8px; }
.version-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; }
.version-item .v { font-weight: 700; color: var(--green-dark); }
.version-item .v-meta { font-size: .82rem; color: var(--text-light); margin-bottom: 6px; }

/* 法律条款 */
.legal { max-width: 900px; margin: 0 auto; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 10px; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-mid); font-size: .95rem; margin-bottom: 10px; }
.legal ul, .legal ol { margin: 0 0 12px 22px; }
.legal .updated { text-align: center; color: var(--text-light); font-size: .9rem; margin-bottom: 28px; }

/* 下载 */
.dl-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 34px 28px; max-width: 760px; margin: 0 auto; text-align: center; }
.dl-card .dl-icon { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 20px; }
.dl-meta { color: var(--text-light); font-size: .9rem; margin: 10px 0 20px; }
.dl-note { color: var(--text-light); font-size: .85rem; margin-top: 18px; }

/* 页脚 */
.site-footer { background: #1f2937; color: #d1d5db; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.site-footer .f-brand { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.site-footer .f-brand img { width: 32px; height: 32px; }
.site-footer p, .site-footer a { font-size: .88rem; color: #9ca3af; line-height: 1.9; }
.site-footer a { display: block; }
.site-footer a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid #374151; margin-top: 32px; padding-top: 20px; text-align: center; font-size: .85rem; color: #9ca3af; }
.footer-bottom a { display: inline; color: #9ca3af; }
.footer-bottom .sep { margin: 0 8px; }

/* 响应式 */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .site-nav { height: auto; }
  .site-nav .nav-inner { height: auto; flex-direction: column; align-items: flex-start; padding: 12px 20px; gap: 10px; }
  .brand img { width: 26px; height: 26px; }
  .nav-menu { gap: 14px; font-size: .9rem; }
  .nav-menu a { font-size: .88rem; }
  .container { padding: 0 20px; }
  .home-hero { padding: 180px 0 48px; }
  .page-hero { padding: 180px 0 48px; }
  .home-hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.95rem; }
  .section { padding: 52px 0; }
  .section-title { font-size: 1.6rem; }
  .home-hero .hero-inner, .feature-detail, .feature-detail.reverse { flex-direction: column; text-align: center; }
  .feature-detail ul { grid-template-columns: 1fr; text-align: left; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; gap: 10px; }
}
@media (max-width: 480px) {
  .home-hero h1, .page-hero h1 { font-size: 1.6rem; }
  .grid-3 { grid-template-columns: 1fr; }
}

