/* EasyConnect 官网样式 */
:root {
  --blue: #0f6bde;
  --blue-dark: #0b4bab;
  --navy: #0c2547;
  --green: #55b936;
  --green-dark: #3f9c26;
  --bg: #f4f7fb;
  --line: #e3e9f2;
  --text: #2b3546;
  --muted: #6b7789;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 6px rgba(12, 37, 71, .06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--navy); text-decoration: none !important; }
.brand svg { display: block; }
.brand .sub { font-size: 12px; font-weight: 400; color: var(--muted); display: block; letter-spacing: .5px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text); font-size: 15px; text-decoration: none; padding: 4px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active { font-weight: 600; }
.nav-btn {
  background: var(--blue); color: #fff !important; padding: 9px 22px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.nav-btn:hover { background: var(--blue-dark); }
@media (max-width: 860px) {
  .main-nav { gap: 14px; }
  .main-nav a:not(.nav-btn) { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #f2f7ff 0%, #eaf2fd 55%, #f6faf3 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e6f3e0; color: var(--green-dark);
  border: 1px solid #cfe8c6; border-radius: 999px;
  font-size: 13px; padding: 4px 14px; margin-bottom: 18px; font-weight: 600;
}
.hero h1 { font-size: 38px; line-height: 1.3; color: var(--navy); margin-bottom: 16px; font-weight: 800; }
.hero h1 .hl { color: var(--blue); }
.hero p.lead { color: var(--muted); font-size: 17px; margin-bottom: 28px; max-width: 540px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-meta span {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  font-size: 13px; color: var(--muted); padding: 4px 12px;
}
.hero-meta span b { color: var(--text); font-weight: 600; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 34px; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; border: none; text-decoration: none; transition: all .2s;
}
.btn-quark { background: var(--blue); color: #fff; }
.btn-quark:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-baidu { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-baidu:hover { background: #eef5ff; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.hero-tip { font-size: 13px; color: var(--muted); }
.hero-tip b { color: #c47f10; }
.hero-shot { position: relative; }
.hero-shot img {
  border-radius: 10px; border: 1px solid #d6e2f2;
  box-shadow: 0 24px 60px -18px rgba(11, 75, 171, .35);
  width: 100%; height: auto;
}
.hero-shot .float-tag {
  position: absolute; left: -14px; bottom: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 16px; font-size: 13px; color: var(--text);
  box-shadow: 0 10px 26px -8px rgba(12, 37, 71, .18);
}
.hero-shot .float-tag b { display: block; color: var(--blue); font-size: 14px; }

/* 通用区块 */
.section { padding: 68px 0; }
.section.alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.sec-head .kicker { color: var(--green-dark); font-weight: 700; font-size: 14px; letter-spacing: 2px; }
.sec-head h2 { font-size: 30px; color: var(--navy); margin: 6px 0 12px; font-weight: 800; }
.sec-head p { color: var(--muted); }

/* 功能卡片 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px -14px rgba(12, 37, 71, .18); }
.feature-card .ico {
  width: 46px; height: 46px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 14px;
  background: #eaf2fd; color: var(--blue);
}
.feature-card:nth-child(even) .ico { background: #e9f6e4; color: var(--green-dark); }
.feature-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* 截图画廊 */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .shot-grid { grid-template-columns: 1fr; } }
.shot-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot-item img { display: block; width: 100%; border-bottom: 1px solid var(--line); }
.shot-item figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--muted); }
.shot-item figcaption b { color: var(--text); }

/* 步骤 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-card .num {
  counter-increment: step; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; display: flex;
  align-items: center; justify-content: center; margin-bottom: 12px;
}
.step-card .num::before { content: counter(step); }
.step-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }

/* 平台表格 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plat-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 760px) {
  .plat-table { min-width: 620px; }
  .table-scroll { border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
  .table-scroll .plat-table { box-shadow: none; border-radius: 0; }
}
.plat-table th, .plat-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.plat-table th { background: #f0f5fc; color: var(--navy); font-weight: 700; }
.plat-table tr:last-child td { border-bottom: none; }
.plat-table td .ok { color: var(--green-dark); font-weight: 600; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--blue); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; border-top: 1px dashed var(--line); padding-top: 14px; }
.faq-item .faq-body b { color: var(--text); }

/* 下载区块 */
.dl-panel {
  background: linear-gradient(135deg, #0c2547 0%, #123b74 60%, #0f5132 130%);
  color: #fff; border-radius: 16px; padding: 44px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
}
@media (max-width: 860px) { .dl-panel { grid-template-columns: 1fr; } }
.dl-panel h2 { font-size: 26px; margin-bottom: 10px; font-weight: 800; }
.dl-panel p { color: #c3d4ec; font-size: 14.5px; margin-bottom: 22px; }
.dl-panel .dl-actions .btn-baidu { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.65); }
.dl-panel .dl-actions .btn-baidu:hover { background: rgba(255,255,255,.18); }
.dl-note { font-size: 13px; color: #9db8dc; margin-top: 14px; }
.dl-qr-side { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.qr-box { text-align: center; }
.qr-box p { color: #c3d4ec; font-size: 12.5px; margin: 10px 0 0; }

/* 二维码呼吸边框（所有二维码统一） */
.qr-breath {
  display: inline-block; padding: 8px; background: #fff; border-radius: 10px;
  animation: qrBreath 2.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}
@keyframes qrBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(85, 185, 54, .55), 0 6px 18px -6px rgba(0,0,0,.35); }
  50% { transform: scale(1.045); box-shadow: 0 0 0 6px rgba(15, 107, 222, .45), 0 10px 26px -8px rgba(0,0,0,.4); }
}
.qr-breath img { display: block; width: 150px; height: 150px; }
@media (max-width: 480px) { .qr-breath img { width: 128px; height: 128px; } }

/* 页脚 */
.site-footer { background: #0c2547; color: #93a8c6; padding: 48px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { color: #93a8c6; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 13px; color: #7189ab; }

/* 面包屑 & 内页头部 */
.page-head { background: linear-gradient(160deg, #f2f7ff, #eef4fc); padding: 44px 0 8px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.page-head h1 { font-size: 32px; color: var(--navy); font-weight: 800; margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 720px; }

/* 文章内容 */
.article { max-width: 880px; margin: 0 auto; }
.article h2 { font-size: 24px; color: var(--navy); margin: 44px 0 16px; padding-left: 14px; border-left: 4px solid var(--blue); }
.article h3 { font-size: 18px; color: var(--navy); margin: 26px 0 10px; }
.article p { margin-bottom: 14px; color: #3c4859; }
.article ul, .article ol { margin: 0 0 16px 22px; color: #3c4859; }
.article li { margin-bottom: 6px; }
.article img { border-radius: 10px; border: 1px solid var(--line); margin: 14px 0; display: block; }
.article .img-cap { font-size: 13px; color: var(--muted); text-align: center; margin: -6px 0 20px; }
.tip-box {
  background: #fff8e8; border: 1px solid #f2dfb5; border-radius: 10px;
  padding: 14px 18px; font-size: 14px; color: #7a5a12; margin: 16px 0;
}
.tip-box b { color: #9c6b0d; }

/* 弹窗 */
.modal-mask {
  display: none; position: fixed; inset: 0; background: rgba(9, 22, 41, .62);
  z-index: 999; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-mask.show { display: flex; }
.modal-card {
  background: #fff; border-radius: 16px; max-width: 560px; width: 100%;
  padding: 32px 30px; position: relative; text-align: center;
  animation: popIn .25s ease;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
  max-height: 92vh; overflow-y: auto;
}
@keyframes popIn { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; right: 14px; top: 12px; border: none; background: none;
  font-size: 22px; color: #9aa7ba; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--navy); }
.modal-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.modal-card .m-sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.modal-qr { margin: 6px 0 14px; }
.m-tips { text-align: left; background: #f6f9fd; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-top: 16px; }
.m-tips li { list-style: none; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; padding-left: 20px; position: relative; }
.m-tips li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 700; }
.m-tips li.warn::before { content: "⏱"; color: #c47f10; }
.m-tips li b { color: var(--text); }

/* 移动端下载按钮占位提示 */
.only-mobile-note { display: none; font-size: 13px; color: var(--green-dark); margin-top: 8px; }
@media (hover: none) and (pointer: coarse) { .only-mobile-note { display: block; } }
