/* ============================================================
   快连官网 · 第三套模板「翡翠·信证」全站样式
   设计语言：翡翠绿×墨绿×金色点缀 · 衬线标题 · 杂志式栅格 · 证书式卡片
   与第一套（深海蓝卡片）、第二套（琥珀橙斜切）完全区分
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
    --jade-900: #06231b;
    --jade-800: #0a352a;
    --jade-700: #0e4d3c;
    --jade-600: #12634e;
    --teal: #14b8a6;
    --gold: #c9a227;
    --gold-soft: rgba(201, 162, 39, .12);
    --paper: #f4f7f5;
    --card: #ffffff;
    --ink: #182621;
    --slate: #4d6259;
    --muted: #879a90;
    --line: #dde8e1;
    --serif: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", "SimSun", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(10, 53, 42, .08);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.8; -webkit-font-smoothing: antialiased; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; }
section { scroll-margin-top: 96px; }

/* ---------- 极细顶栏 ---------- */
.topline { background: var(--jade-900); color: rgba(255,255,255,.75); font-size: .78rem; padding: 6px 0; }
.topline-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.topline a { color: rgba(255,255,255,.75); margin-left: 14px; transition: color .2s; }
.topline a:hover { color: var(--gold); }
.topline .dot { color: var(--teal); margin-right: 6px; }

/* ---------- 机构式导航（logo 居中 + 菜单下行） ---------- */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.head-row1 { display: flex; justify-content: center; align-items: center; padding: 16px 0 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--jade-800); }
.logo .logo-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--jade-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.logo em { font-style: normal; color: var(--gold); }
.head-row2 { border-top: 1px solid var(--line); }
.menu { display: flex; justify-content: center; gap: 6px; padding: 0; }
.menu a { display: inline-block; padding: 11px 18px; font-size: .92rem; color: var(--slate); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.menu a:hover { color: var(--jade-700); }
.menu a.active { color: var(--jade-700); border-bottom-color: var(--gold); font-weight: 600; }
.menu .btn-menu { color: #fff; background: var(--jade-700); border-radius: 6px; margin-left: 8px; padding: 8px 20px; border-bottom: none; }
.menu .btn-menu:hover { background: var(--jade-800); color: #fff; }
.burger { display: none; background: none; border: none; font-size: 1.4rem; color: var(--jade-800); cursor: pointer; }

/* ---------- 信任 Hero ---------- */
.hero { padding: 64px 0 60px; background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 2.7rem; line-height: 1.3; color: var(--jade-800); margin-bottom: 18px; letter-spacing: .5px; }
.hero h1 .hl { color: var(--jade-600); }
.hero-sub { font-size: 1.02rem; color: var(--slate); max-width: 560px; line-height: 1.95; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: .95rem; border: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--jade-700); color: #fff; box-shadow: 0 8px 20px rgba(14, 77, 60, .25); }
.btn-primary:hover { background: var(--jade-800); }
.btn-line { background: transparent; color: var(--jade-700); border: 1.5px solid var(--jade-700); }
.btn-line:hover { background: rgba(14, 77, 60, .06); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(201, 162, 39, .3); }
.btn-gold:hover { background: #b08d1e; }
.fact-strip { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.fact-strip .fact { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.fact-strip .fact:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.fact-strip .num { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--jade-700); }
.fact-strip .lbl { font-size: .8rem; color: var(--muted); }
.hero-right { display: flex; justify-content: center; }
.cert-card { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--gold); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: 0 14px 40px rgba(6, 35, 27, .1); position: relative; }
.cert-card::before { content: "OFFICIAL"; position: absolute; top: -11px; right: 20px; background: var(--gold); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .14em; padding: 3px 12px; border-radius: 3px; }
.cert-card h3 { font-size: 1.05rem; color: var(--jade-800); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.cert-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.cert-row:last-child { border-bottom: none; }
.cert-row .k { color: var(--slate); }
.cert-row .v { color: var(--jade-700); font-weight: 600; }
.cert-card .cert-foot { margin-top: 12px; font-size: .75rem; color: var(--muted); text-align: center; }

/* ---------- 引文块 ---------- */
.quote-band { background: var(--jade-900); color: #fff; padding: 34px 0; }
.quote-band blockquote { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: 1.25rem; line-height: 1.8; }
.quote-band blockquote .q-mark { color: var(--gold); font-size: 1.6rem; }
.quote-band .q-src { display: block; margin-top: 10px; font-family: var(--sans); font-size: .8rem; color: rgba(255,255,255,.6); letter-spacing: .1em; }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 38px; }
.section-head .eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { font-size: 1.9rem; color: var(--jade-800); }
.section-head p { color: var(--slate); margin-top: 10px; font-size: .97rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 双栏（长文 + 要点） ---------- */
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.prose p { color: var(--slate); font-size: .97rem; line-height: 2.05; margin-bottom: 16px; text-align: justify; }
.prose p strong { color: var(--ink); }
.prose h3 { color: var(--jade-800); font-size: 1.2rem; margin: 22px 0 10px; }
.point-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.point-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; color: var(--slate); }
.point-list li:last-child { border-bottom: none; }
.point-list .p-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 9px; }
.point-list .p-t { font-weight: 600; color: var(--ink); }

/* ---------- 对比表 ---------- */
.compare-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 15px 20px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--jade-800); color: #fff; font-family: var(--serif); font-size: 1rem; }
.compare-table thead th:first-child { background: var(--jade-900); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--muted); font-size: .86rem; }
.compare-table .yes { color: var(--jade-600); font-weight: 700; }
.compare-table .no { color: #b6c2bc; }

/* ---------- 证书式卡片（安全区） ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.cert-card-item .badge-corner { position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 44px 44px 0; border-color: transparent var(--gold) transparent transparent; }
.cert-card-item .c-icon { width: 46px; height: 46px; border-radius: 8px; background: var(--gold-soft); color: var(--jade-700); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.cert-card-item h3 { font-size: 1.08rem; color: var(--jade-800); margin-bottom: 8px; }
.cert-card-item p { font-size: .89rem; color: var(--slate); line-height: 1.85; }

/* ---------- 平台行式列表 ---------- */
.platform-rows { display: grid; gap: 12px; }
.platform-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; display: grid; grid-template-columns: 56px 1fr auto auto; gap: 20px; align-items: center; transition: border-color .2s, box-shadow .2s; }
.platform-row:hover { border-color: var(--jade-600); box-shadow: var(--shadow); }
.platform-row .p-icon { width: 46px; height: 46px; border-radius: 8px; background: var(--jade-700); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.platform-row h3 { font-size: 1.05rem; color: var(--ink); }
.platform-row .p-desc { font-size: .86rem; color: var(--slate); }
.platform-row .p-ver { font-size: .78rem; color: var(--muted); }
.btn-sm { padding: 9px 20px; font-size: .84rem; }

/* ---------- 编号折叠 FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-item.open { border-color: var(--jade-600); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 17px 22px; font-size: .98rem; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 14px; font-family: var(--sans); }
.faq-q .q-no { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--jade-700); font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.faq-q .q-arrow { margin-left: auto; color: var(--muted); transition: transform .25s; }
.faq-item.open .q-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 18px 62px; color: var(--slate); font-size: .92rem; line-height: 1.95; }

/* ---------- 资讯行式列表 ---------- */
.news-rows { display: grid; gap: 12px; }
.news-row { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 24px; display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: baseline; transition: border-color .2s; }
.news-row:hover { border-color: var(--gold); }
.news-row .n-date { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-row h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.news-row .n-sum { font-size: .87rem; color: var(--slate); }

/* ---------- CTA 深绿带 ---------- */
.cta-band { background: var(--jade-800); border-radius: var(--radius); padding: 48px 44px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 85% 10%, rgba(20,184,166,.25), transparent 60%); }
.cta-band h2 { font-size: 1.7rem; color: #fff; margin-bottom: 10px; position: relative; }
.cta-band p { color: rgba(255,255,255,.82); margin-bottom: 24px; position: relative; }
.cta-band .btn { background: var(--gold); color: #fff; position: relative; }

/* ---------- 页脚 ---------- */
.footer { background: var(--jade-900); color: rgba(255,255,255,.72); padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .f-logo { font-family: var(--serif); font-size: 1.35rem; color: #fff; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer .f-logo .logo-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--jade-900); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.footer .f-about { font-size: .88rem; line-height: 1.9; max-width: 320px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; font-family: var(--sans); }
.footer .f-col li { margin-bottom: 9px; }
.footer .f-col a { font-size: .88rem; transition: color .2s; }
.footer .f-col a:hover { color: var(--gold); }
.footer .f-social { display: flex; gap: 10px; margin-top: 16px; }
.footer .f-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: background .2s, border-color .2s; }
.footer .f-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--jade-900); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 0 22px; font-size: .78rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 返回顶部 ---------- */
.back-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; border-radius: 8px; border: none; background: var(--jade-700); color: #fff; font-size: 1rem; cursor: pointer; box-shadow: 0 8px 20px rgba(10, 53, 42, .3); display: none; align-items: center; justify-content: center; z-index: 90; }
.back-top:hover { background: var(--jade-800); }

/* ---------- 子页 Hero ---------- */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.page-hero .crumb { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.page-hero .crumb a:hover { color: var(--jade-700); }
.page-hero h1 { font-size: 2.1rem; color: var(--jade-800); margin-bottom: 12px; }
.page-hero h1 .hl { color: var(--gold); }
.page-hero p { color: var(--slate); max-width: 680px; font-size: .98rem; line-height: 1.95; }

/* ---------- 表格（系统要求） ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; font-size: .9rem; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--jade-800); color: #fff; font-family: var(--serif); }
.spec-table tbody tr:nth-child(even) { background: #f8faf9; }
.spec-table tbody tr:last-child td { border-bottom: none; }

/* ---------- 时间线 ---------- */
.timeline { max-width: 720px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.tl-item:last-child { border-bottom: none; }
.tl-item .tl-date { font-family: var(--serif); font-weight: 700; color: var(--jade-700); font-size: .92rem; }
.tl-item h4 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.tl-item p { font-size: .89rem; color: var(--slate); }

/* ---------- 教程步骤 ---------- */
.guide-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 18px; }
.guide-block h3 { font-size: 1.12rem; color: var(--jade-800); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.guide-block h3 i { color: var(--gold); }
.guide-steps { counter-reset: gs; display: grid; gap: 10px; }
.guide-steps li { counter-increment: gs; display: flex; gap: 12px; font-size: .93rem; color: var(--slate); line-height: 1.85; }
.guide-steps li::before { content: counter(gs); flex-shrink: 0; width: 24px; height: 24px; border-radius: 4px; background: var(--jade-700); color: #fff; font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 3px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { justify-content: flex-start; }
    .cert-card { max-width: 100%; }
    .two-col { grid-template-columns: 1fr; gap: 28px; }
    .cert-grid { grid-template-columns: 1fr 1fr; }
    .platform-row { grid-template-columns: 56px 1fr auto; }
    .platform-row .p-ver { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .head-row1 { justify-content: space-between; }
    .burger { display: block; }
    .menu { display: none; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0 14px; box-shadow: 0 18px 36px rgba(6,35,27,.12); }
    .menu.open { display: flex; }
    .menu a { text-align: center; padding: 11px 0; }
    .menu .btn-menu { margin-left: 0; margin-top: 6px; }
    .hero { padding: 48px 0 44px; }
    .hero h1 { font-size: 2rem; }
    .fact-strip .fact { padding-right: 16px; margin-right: 16px; }
    .cert-grid { grid-template-columns: 1fr; }
    .platform-row { grid-template-columns: 48px 1fr; }
    .platform-row .btn-sm { grid-column: 1 / -1; justify-content: center; }
    .news-row { grid-template-columns: 1fr; gap: 4px; }
    .cta-band { padding: 34px 24px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer .f-about { max-width: 100%; }
    .footer .f-social { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
    .tl-item { grid-template-columns: 1fr; gap: 2px; }
    .page-hero h1 { font-size: 1.7rem; }
    .topline .tl-links { display: none; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.65rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .fact-strip { gap: 12px 20px; }
    .fact-strip .fact { border-right: none; padding-right: 0; margin-right: 0; }
    .section { padding: 48px 0; }
    .section-head h2 { font-size: 1.5rem; }
    .container { padding: 0 16px; }
}
