/* GonTu 官网 v1 —— 深色扁平，与软件界面一致的视觉语言 */
:root {
  --bg: #121417;
  --bg-soft: #1a1d21;
  --card: #1e2228;
  --card-hover: #242932;
  --line: #2a2f37;
  --text: #e8eaed;
  --text-dim: #9aa3ad;
  --accent: #4da3ff;
  --accent-deep: #0078d4;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 20, 23, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: .5px; }
.brand em { font-style: normal; color: var(--accent); }
.nav-links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--text-dim); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); font-weight: 600; }
.lang { margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--line); display: flex; gap: 10px; }
.lang a { font-size: 14px; }
.lang a.on { color: var(--text); font-weight: 600; }
.lang a.on:hover { color: var(--text); }

/* 顶部：标语 + 双产品脸面（图片零遮挡） */
.top { text-align: center; padding: 64px 24px 8px; }
.top h1 { font-size: 34px; font-weight: 700; letter-spacing: 1px; }
.top p.sub { color: var(--text-dim); font-size: 17px; margin-top: 12px; }
.face {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 22px; padding: 26px 0 8px;
}
@media (max-width: 640px) { .face { grid-template-columns: 1fr; } }
.face-card {
  display: block; background: transparent; border: none;
  border-radius: var(--radius); overflow: hidden;
}
.face-card:hover { text-decoration: none; }
.face-card:hover img { filter: brightness(1.06); }
.face-head { padding: 6px 4px 14px; }
.face-head .nm { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; }
.face-head .nm img { height: 22px; width: auto; margin-left: 10px; flex: none; }
.face-head .en { color: var(--accent); letter-spacing: .5px; margin-left: 10px; }
.face-head .desc { font-size: 14.5px; color: var(--text-dim); }
.face-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); transition: filter .15s; }
.face-foot { padding: 12px 4px 16px; }
.face-foot .go { color: var(--text); font-size: 14px; font-weight: 600; }
.face-foot .credit { font-size: 11px; color: #5a636d; margin-top: 6px; }

.btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 34px; border: none; border-radius: 6px;
  font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all .15s;
}
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: var(--accent); text-decoration: none; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* 区块 */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
section.block:first-of-type { border-top: none; }
h2.sec { font-size: 28px; margin-bottom: 10px; }
p.sec-sub { color: var(--text-dim); margin-bottom: 40px; }

/* 卡片 */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .15s, background .15s;
}
.card:hover { border-color: #3a4250; background: var(--card-hover); }
.card h3 { font-size: 17px; margin-bottom: 10px; display: flex; align-items: center; }
.card p { font-size: 14.5px; color: var(--text-dim); }
.card .tag {
  display: inline-block; font-size: 12px; font-weight: 400; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 8px;
  margin-left: 10px; flex: none;
}
.card .tag.free { color: #7fd88f; border-color: #2b5b38; }
.card .tag.pro { color: var(--accent); border-color: var(--accent-deep); }
.card h3 .tag { white-space: nowrap; }
.card .tag.soon { color: var(--text-dim); border-color: var(--line); }
.card a.more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--text); }

/* 产品卡行尾图标 */
.card h3 img { height: 17px; width: auto; margin-left: 10px; flex: none; }

/* 中英对照小图对 */
.bi-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px auto 0; }


/* 图片 */
figure.shot { margin: 0 0 26px; }
figure.shot img {
  max-height: 400px; max-width: 100%; width: auto;
  margin: 0 auto; border-radius: var(--radius);
  border: 1px solid var(--line); background: #000;
}
figure.shot figcaption { font-size: 13.5px; color: var(--text-dim); margin-top: 10px; }
figure.shot .credit { font-size: 11.5px; color: #5a636d; margin-top: 3px; }
figure.shot.wide { grid-column: 1 / -1; }

/* 占位图 */
.ph {
  border: 1px dashed #3a4250; border-radius: var(--radius);
  background: var(--bg-soft); padding: 60px 24px; text-align: center;
  color: var(--text-dim); font-size: 14px;
}
.ph strong { display: block; font-size: 16px; color: var(--text); margin-bottom: 8px; }

/* 表格 */
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
table.spec th, table.spec td {
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line);
}
table.spec th { color: var(--text-dim); font-weight: 500; white-space: nowrap; width: 180px; }

/* 列表 */
ul.feat { list-style: none; display: grid; gap: 12px; }
ul.feat li {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 18px; font-size: 14.5px; color: var(--text-dim);
}
ul.feat li b { color: var(--text); }

/* 联系 */
.contact-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; text-align: center;
}
.contact-box .person { font-size: 15px; color: var(--text-dim); margin-bottom: 8px; }
.contact-box .mail { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.contact-box .mail a { color: var(--text); }
.contact-box .mail a:hover { color: var(--accent); text-decoration: none; }
.contact-box .phone { font-size: 15px; color: var(--text-dim); margin-bottom: 20px; }
.contact-box .phone a { color: var(--text-dim); }
.contact-box .aud { font-size: 14px; color: var(--text-dim); max-width: 560px; margin: 0 auto; }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: 13.5px; color: var(--text-dim); }
footer .cols { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 22px; }
footer .col h4 { font-size: 14px; color: var(--text); margin-bottom: 10px; }
footer .col a { display: block; color: var(--text-dim); margin-bottom: 6px; }
footer .icp { text-align: center; margin-top: 20px; font-size: 12.5px; }
footer .icp a { color: var(--text-dim); }

/* 页首（产品页） */
.p-head { padding: 56px 0 0; text-align: center; }
.p-head + .block { padding-top: 24px; }
.p-head .p-name { font-size: 38px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; }
.p-head .p-en { color: var(--accent); letter-spacing: .5px; margin-left: 14px; }
figure.shot.hero img { max-height: 580px; }
.bi-wrap.paw img { max-height: 430px; }
.bi-wrap.bi img { max-width: 420px; }
.p-head .p-tag { font-size: 19px; color: var(--text-dim); max-width: 720px; margin: 14px auto 0; }

@media (max-width: 640px) {
  .top h1 { font-size: 26px; }
  .nav-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
}
