/* 安令客 ANLINK 官网样式 —— 品牌规范 V1.0
   主色 ANLINK Deep Blue #0759D9 | 深色 Responsibility Navy #0B2239
   辅助 Growth Cyan #00A8C6 | 背景 Evidence Mist #EAF4FB */

/* ---------- 网络字体：阿里巴巴普惠体 3.0（阿里官方免费商用字体，本地自托管子集） ---------- */
@font-face {
  font-family: "Alibaba PuHuiTi 3.0";
  src: url("../fonts/AlibabaPuHuiTi-3-55-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi 3.0";
  src: url("../fonts/AlibabaPuHuiTi-3-65-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi 3.0";
  src: url("../fonts/AlibabaPuHuiTi-3-75-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi 3.0";
  src: url("../fonts/AlibabaPuHuiTi-3-85-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0759d9;
  --blue-dark: #05429f;
  --navy: #0b2239;
  --cyan: #00a8c6;
  --mist: #eaf4fb;
  --mist-2: #f4f8fb;
  --risk: #b42318;
  --text: #24384d;
  --text-light: #5b7089;
  --line: #dbe6f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 34, 57, 0.07);
  --shadow-lg: 0 16px 48px rgba(11, 34, 57, 0.12);
  --font: "Alibaba PuHuiTi 3.0", system-ui, sans-serif;
  --font-en: "Alibaba PuHuiTi 3.0", system-ui, sans-serif;
  --maxw: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
}
img, svg { vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; }
.brand .brand-name { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.brand .brand-en {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 3px;
  color: var(--text-light); display: block; margin-top: -3px; font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text); padding: 8px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; transition: all 0.2s;
}
.nav-links a:hover { color: var(--blue); background: var(--mist); }
.nav-links a.active { color: var(--blue); font-weight: 700; }
.nav-auth { display: flex; align-items: center; gap: 12px; }
.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-user .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.nav-user .uname { font-size: 14px; color: var(--navy); font-weight: 600; max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn {
  border: none; background: none; color: var(--text-light);
  font-size: 14px; padding: 8px 10px; border-radius: 8px;
}
.link-btn:hover { color: var(--risk); background: #fdf0ee; }
.nav-toggle { display: none; border: none; background: none; padding: 8px; }
.nav-toggle svg { display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px; font-size: 16px; font-weight: 600;
  border: 1.5px solid transparent; transition: all 0.2s; line-height: 1.4;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(7, 89, 217, 0.28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #b9cede; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--mist); }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- 首屏 Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0, 168, 198, 0.12), transparent 60%),
    linear-gradient(180deg, var(--mist) 0%, #ffffff 100%);
  padding: 96px 0 84px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; color: var(--blue);
  background: rgba(7, 89, 217, 0.08); border: 1px solid rgba(7, 89, 217, 0.18);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 22px; letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 46px; line-height: 1.28; color: var(--navy);
  font-weight: 800; letter-spacing: 0.5px; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead { font-size: 18px; color: var(--text-light); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-note {
  font-size: 13.5px; color: var(--text-light);
  display: flex; align-items: center; gap: 8px;
}
.trust-note svg { flex: none; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; }
.hero-card {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; font-size: 13px; color: var(--navy); font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.hero-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.hero-card.hc1 { left: -14px; top: 18%; animation: float 5s ease-in-out infinite; }
.hero-card.hc2 { right: -6px; bottom: 24%; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--mist-2); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.kicker {
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; color: var(--navy); font-weight: 800; line-height: 1.35; margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 16.5px; }
.section-head.left { text-align: left; margin-left: 0; }

/* 卡片 */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all 0.25s; box-shadow: 0 1px 3px rgba(11,34,57,0.04);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: #b9d4ef; transform: translateY(-4px); }
.card .num {
  font-family: var(--font-en); font-size: 14px; font-weight: 800; color: var(--cyan);
  letter-spacing: 2px; margin-bottom: 12px;
}
.card h3 { font-size: 19px; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-light); }
.card .icon-wrap {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(7,89,217,0.10), rgba(0,168,198,0.12));
  display: flex; align-items: center; justify-content: center;
}
.card .icon-wrap svg { color: var(--blue); }

/* OUR FOCUS —— 关注方向卡片（编号徽标，一行三列居中） */
.hiw-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.hiw-grid > .card { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }

.path-band {
  --tip: 56px;
  margin-top: 36px; padding: 1px; background: #bcd8f3;
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%);
}
.path-band-inner {
  background: linear-gradient(135deg, #e8f3fc, #e6f6fa);
  padding: 30px calc(var(--tip) + 40px) 30px 40px; text-align: center;
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%);
}
.path-band h3 { font-size: 20px; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.path-band p { font-size: 15px; color: var(--text-light); }
.path-band .path-arrow { color: var(--blue); font-weight: 800; margin-right: 2px; }

/* 对比表 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-col { padding: 0; }
.compare-col .col-head {
  padding: 18px 26px; font-weight: 700; font-size: 16px;
}
.compare-col.old { background: #f2f5f8; }
.compare-col.old .col-head { color: var(--text-light); border-bottom: 1px solid var(--line); }
.compare-col.new { background: #fff; border-left: 1px solid var(--line); }
.compare-col.new .col-head { color: var(--blue); border-bottom: 1px solid var(--line); }
.compare-item { padding: 18px 26px; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare-col.old .compare-item { color: var(--text-light); }
.compare-col.new .compare-item { color: var(--text); font-weight: 500; }
.compare-col.new .compare-item:last-child, .compare-col.old .compare-item:last-child { border-bottom: none; }

/* 三关键词展示（替代首页原对比表格的视觉重量） */
.key-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 4px; }
.key-pill {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 28px 20px; background: #fff; border: 1px solid #cbe3f7;
  border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: 2px;
  text-align: center; transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.key-pill:hover { box-shadow: var(--shadow-lg); border-color: #b9d4ef; transform: translateY(-3px); }
.key-pill::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 12px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.stat .v { font-family: var(--font-en); font-size: 34px; font-weight: 800; color: var(--blue); }
.stat .l { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* 底部 CTA */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #123a5f 60%, #0e5aa3 100%);
  border-radius: 20px; padding: 64px 56px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,168,198,0.35), transparent 70%);
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 30px; font-size: 16.5px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--mist); color: var(--blue); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- 页面标题 ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
  padding: 68px 0 56px; text-align: center;
}
.page-hero h1 {
  /* 口号始终单行：字号随视口收窄递减（上限 60px，下限 32px），
     中间档 = (视口宽 - 容器左右内边距 48px) / 15.5，即整句 15 个全角字
     恰好占满一行时所需的字号，故 530px 以上的视口都能排成一行。
     视口小于 530px 时自然换行，text-wrap:balance 让两行均分为 8/7 字，
     断点正好落在顿号处，避免出现孤字。 */
  font-size: clamp(32px, calc((100vw - 48px) / 15.5), 60px);
  text-wrap: balance;
  line-height: 1.22; letter-spacing: 0.5px;
  color: var(--navy); font-weight: 800; margin-bottom: 18px;
}
.page-hero p { color: var(--text-light); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ---------- 产品页 ---------- */
.product-card { display: flex; flex-direction: column; }
.product-card .tag {
  align-self: flex-start; font-size: 12.5px; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; margin-bottom: 14px;
}
.tag-entry { background: rgba(0,168,198,0.12); color: #00738a; }
.tag-flag { background: rgba(7,89,217,0.10); color: var(--blue); }
.tag-ai { background: rgba(11,34,57,0.08); color: var(--navy); }
.product-card ul { margin: 14px 0 20px; display: grid; gap: 8px; }
.product-card ul li { font-size: 14px; color: var(--text-light); padding-left: 24px; position: relative; }
.product-card ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--cyan);
}
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- 关于页 ---------- */
.story-text p { margin-bottom: 15px; }
.story-text p:last-child { margin-bottom: 0; }
.story-quote {
  border-left: 4px solid var(--blue); background: var(--mist);
  padding: 26px 32px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16.5px; color: var(--navy); font-weight: 500; line-height: 1.9;
}
.mvv-card { text-align: left; }
.mvv-card .mvv-label {
  font-family: var(--font-en); font-size: 12px; letter-spacing: 2.5px; font-weight: 700;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 8px;
}
.mvv-card h3 { margin-bottom: 8px; }
.dual-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dual-col .panel { border-radius: var(--radius); padding: 30px 32px; }
.panel-yes { background: #fff; border: 1px solid #cbe3f7; }
.panel-no { background: #fbf5f4; border: 1px solid #ecd2ce; }
.panel h3 { font-size: 18px; margin-bottom: 16px; }
.panel-yes h3 { color: var(--blue); }
.panel-no h3 { color: var(--risk); }
.panel ul { display: grid; gap: 10px; }
.panel li { font-size: 14.5px; padding-left: 26px; position: relative; }
.panel-yes li { color: var(--text); }
.panel-yes li::before {
  content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800;
}
.panel-no li { color: #8a5148; }
.panel-no li::before { content: "×"; position: absolute; left: 0; color: var(--risk); font-weight: 800; }

/* ---------- 表单 ---------- */
.form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 40px; box-shadow: var(--shadow);
}
.form-card h2 { color: var(--navy); font-size: 24px; margin-bottom: 6px; }
.form-intro { color: var(--text-light); font-size: 14px; margin-bottom: 24px; }
.hp-field {
  position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;
}
.noscript-tip { color: var(--risk); font-size: 14px; margin-top: 18px; }
.consent .req { color: var(--risk); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--risk); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7, 89, 217, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { font-size: 14px; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; display: none; }
.form-msg.ok { display: block; background: #e9f7ef; color: #177245; }
.form-msg.err { display: block; background: #fdf0ee; color: var(--risk); }
.consent { font-size: 13px; color: var(--text-light); display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 20px; }
.consent input { width: auto; margin-top: 4px; }
.radio-tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.radio-tabs label {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--text-light); cursor: pointer; transition: all 0.2s;
}
.radio-tabs input { display: none; }
.radio-tabs input:checked + span { color: #fff; }
.radio-tabs label:has(input:checked) { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 联系信息 */
.contact-info { display: grid; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: var(--mist); border-radius: var(--radius); padding: 22px 24px; }
.info-item .ic {
  width: 44px; height: 44px; border-radius: 10px; background: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
  box-shadow: 0 2px 8px rgba(11,34,57,0.08);
}
.info-item h4 { font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.info-item p { font-size: 14px; color: var(--text-light); }

/* ---------- 登录注册 ---------- */
.auth-page { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); min-height: calc(100vh - 72px); padding: 72px 24px; }
.auth-card {
  max-width: 440px; margin: 0 auto; background: #fff; border-radius: 18px;
  padding: 44px 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.auth-card h1 { font-size: 26px; color: var(--navy); font-weight: 800; text-align: center; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--text-light); font-size: 14.5px; margin-bottom: 30px; }
.auth-card .switch { text-align: center; font-size: 14px; color: var(--text-light); margin-top: 22px; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-logo img { height: 48px; }

/* ---------- 学员中心 ---------- */
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.account-side { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; text-align: center; }
.account-side .avatar-lg {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800;
}
.account-side h3 { color: var(--navy); font-size: 20px; }
.account-side .email { font-size: 13.5px; color: var(--text-light); word-break: break-all; }
.account-side .meta { font-size: 13px; color: var(--text-light); margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.account-main { display: grid; gap: 24px; }
.panel-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.panel-box h2 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.panel-box .desc { font-size: 14px; color: var(--text-light); margin-bottom: 22px; }
.upload-zone {
  border: 2px dashed #b9cede; border-radius: 12px; padding: 34px 20px; text-align: center;
  color: var(--text-light); transition: all 0.2s; cursor: pointer; background: var(--mist-2);
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--blue); background: var(--mist); color: var(--blue); }
.upload-zone svg { margin-bottom: 8px; }
.upload-zone p { font-size: 14px; }
.file-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.file-table th, .file-table td { text-align: left; padding: 12px 10px; font-size: 14px; border-bottom: 1px solid var(--line); }
.file-table th { color: var(--navy); font-weight: 700; font-size: 13px; }
.file-table td { color: var(--text-light); }
.file-table td a { font-weight: 600; }
.empty-tip { text-align: center; color: var(--text-light); font-size: 14px; padding: 26px 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,0.72); display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { line-height: 1.8; font-size: 13.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { display: inline; color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 联系我们 · 二维码弹窗 ---------- */
.qr-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.qr-modal.open { display: flex; }
.qr-backdrop { position: absolute; inset: 0; background: rgba(11, 34, 57, 0.55); backdrop-filter: blur(4px); }
.qr-dialog {
  position: relative; background: #fff; border-radius: 20px; padding: 40px 36px 32px;
  max-width: 400px; width: 100%; text-align: center; box-shadow: var(--shadow-lg);
  animation: qrIn 0.22s ease-out;
}
@keyframes qrIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.qr-close {
  position: absolute; top: 12px; right: 12px; border: none; background: none;
  width: 36px; height: 36px; border-radius: 50%; color: var(--text-light); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.qr-close:hover { background: var(--mist); color: var(--navy); }
.qr-dialog h3 { font-size: 20px; color: var(--navy); font-weight: 800; margin-bottom: 6px; }
.qr-dialog .qr-sub { font-size: 13.5px; color: var(--text-light); margin-bottom: 22px; }
.qr-img {
  width: 220px; height: 220px; margin: 0 auto 18px; border-radius: 14px;
  border: 1px solid var(--line); display: block; background: #fff;
}
.qr-dialog .qr-company { font-size: 14px; color: var(--navy); font-weight: 600; }
.qr-dialog .qr-mail { font-size: 14px; margin-top: 6px; }
[data-qr] { cursor: pointer; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-3, .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle { display: block; }
  .nav-auth .btn-sm { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 25px; }
  .grid-2, .grid-3, .grid-4, .stats, .compare, .dual-col { grid-template-columns: 1fr; }
  .compare-col.new { border-left: none; border-top: 1px solid var(--line); }
  .cta-band { padding: 44px 24px; }
  .key-row { grid-template-columns: 1fr; gap: 14px; }
  .key-pill { font-size: 18px; padding: 20px 16px; }
  .form-card, .auth-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-card { display: none; }
}

/* OUR FOCUS 模块卡 —— 响应式 */
@media (max-width: 960px) {
  /* 3 张卡在平板宽度下仍保持一行三列，避免出现 2+1 的落单排布 */
  .hiw-grid > .card { flex-basis: calc((100% - 48px) / 3); }
  .key-pill { font-size: 18px; padding: 24px 14px; letter-spacing: 1px; }
}
@media (max-width: 700px) {
  .hiw-grid { gap: 18px; }
  .hiw-grid > .card { flex-basis: 100%; }
  .path-band { --tip: 34px; margin-top: 26px; }
  .path-band-inner { padding: 22px calc(var(--tip) + 22px) 22px 22px; }
  .path-band h3 { font-size: 17px; }
  .path-band p { font-size: 14px; }
}
