* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2F80ED;
  --primary-hover: #1a6dd4;
  --primary-tint: #eef4fd;
  --ink: #333333;
  --gray: #666666;
  --light-gray: #5b6470;
  --bg: #f4f5f7;
  --bg-soft: #fafbfc;
  --white: #fff;
  --line: #e5e8ed;
  --shadow: 0 2px 12px rgba(47,128,237,0.08);
  --radius: 8px;
  --max-width: 1200px;
  --nav-height: 68px;
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--ink); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); z-index: 1000; display: flex; align-items: center; }
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { font-size: 19px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; }
/* 按高度定尺寸，宽度交给 aspect-ratio：导航栏滚动时高度会从 68px 收到 56px，
   写死 width 会在收缩过程中变形。 */
.nav-logo-img { height: 30px; width: auto; }
.nav-logo span { font-size: 12px; color: var(--light-gray); font-weight: 400; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--gray); transition: color .2s; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Hero — 渐变背景 */
.hero { margin-top: var(--nav-height); padding: 100px 0; background: linear-gradient(135deg, #f0f7ff 0%, #e8f1fd 100%); border-bottom: 1px solid var(--line); }
.hero .container { display: flex; align-items: center; gap: 64px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 38px; font-weight: 700; margin-bottom: 20px; line-height: 1.35; letter-spacing: -0.5px; color: var(--ink); }
.hero-text p { font-size: 16px; color: var(--gray); margin-bottom: 28px; line-height: 1.8; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 32px; font-weight: 700; color: var(--primary); }
.hero-stat span { font-size: 13px; color: var(--light-gray); margin-top: 2px; }
.hero-image { flex: 1; max-width: 480px; }
.hero-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-compare figure { margin: 0; }
.hero-compare img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.hero-compare figcaption { text-align: center; margin-top: 10px; font-size: 13px; color: var(--light-gray); }
.hero-compare figcaption.is-std { color: var(--primary); font-weight: 500; }

.btn { display: inline-block; padding: 11px 28px; background: var(--primary); color: var(--white); border-radius: 8px; font-size: 15px; font-weight: 500; transition: background .2s, transform .1s; cursor: pointer; border: none; }
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: 8px; }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-tint); border-color: var(--primary); transform: translateY(-1px); }

/* Section */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-title { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.3px; }
.section-desc { text-align: center; font-size: 15px; color: var(--gray); margin-bottom: 48px; max-width: 760px; margin-left: auto; margin-right: auto; }

/* Cards Grid */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.card { flex: 1 1 240px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 24px; text-align: center; transition: all .3s; }
.card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.card-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: var(--primary-tint); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--gray); line-height: 1.55; }

/* Process Flow */
.flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flow-step { text-align: center; padding: 20px; min-width: 150px; }
.flow-step .icon { width: 56px; height: 56px; margin: 0 auto 12px; background: var(--primary-tint); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.flow-step .icon svg { width: 28px; height: 28px; fill: var(--primary); }
.flow-step h4 { font-size: 15px; margin-bottom: 4px; }
.flow-step p { font-size: 13px; color: var(--gray); }
.flow-arrow { font-size: 20px; color: var(--light-gray); }

/* Photo Grid - Non-compliant examples */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.photo-item { position: relative; border-radius: var(--radius); overflow: hidden; background: #f0f1f3; aspect-ratio: 3/4; border: 1px solid var(--line); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item .badge { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; background: #d9736b; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 13px; font-weight: 700; }
.photo-item .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: rgba(36,41,47,0.68); color: white; font-size: 12px; text-align: center; }

/* Service Feature */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.feature { text-align: center; }
.feature img { width: 200px; height: 200px; margin: 0 auto 16px; border-radius: var(--radius); object-fit: cover; }
.feature h4 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--gray); }

/* Tabs */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.tab { padding: 9px 22px; border-radius: 8px; font-size: 14px; cursor: pointer; background: var(--white); border: 1px solid var(--line); transition: all .2s; }
.tab.active, .tab:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Comparison */
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.comparison-col h3 { font-size: 19px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.comparison-col ul { padding-left: 0; }
.comparison-col li { padding: 8px 0; font-size: 14px; color: var(--gray); position: relative; padding-left: 20px; }
.comparison-col li::before { content: "—"; position: absolute; left: 0; color: var(--primary); }

/* Footer — 深色底 */
.footer { background: #1a2332; color: #b0bec5; padding: 52px 0 24px; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer h4 { color: #ffffff; font-size: 15px; margin-bottom: 16px; }
.footer p, .footer a { font-size: 14px; line-height: 2; color: #b0bec5; }
.footer a:hover { color: #ffffff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: #78909c; }

/* Page hero (inner pages) — 去渐变 */
.page-hero { margin-top: var(--nav-height); padding: 64px 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); text-align: center; }
.page-hero h1 { font-size: 32px; margin-bottom: 12px; letter-spacing: -0.3px; }
.page-hero p { font-size: 16px; color: var(--gray); max-width: 720px; margin: 0 auto; }

/* Product block (alternating image + text) */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.product:last-child { margin-bottom: 0; }
.product.reverse .product-media { order: 2; }
.product-media { background: var(--primary-tint); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-media svg { width: 100%; height: 100%; }
.product-body h3 { font-size: 22px; margin-bottom: 12px; color: var(--ink); }
.product-body .lead { font-size: 15px; color: var(--gray); margin-bottom: 20px; }
.product-body ul { display: grid; gap: 10px; }
.product-body li { padding-left: 24px; position: relative; font-size: 14px; color: var(--gray); }
.product-body li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 28px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.stat .num { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat .label { font-size: 14px; color: var(--gray); margin-top: 8px; }

/* Timeline */
.timeline { max-width: 720px; margin: 0 auto; }
.timeline-item { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: 39px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-year { flex: 0 0 80px; font-weight: 700; color: var(--primary); font-size: 17px; }
.timeline-dot { flex: 0 0 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); margin-top: 5px; z-index: 1; }
.timeline-body h4 { font-size: 16px; margin-bottom: 4px; }
.timeline-body p { font-size: 14px; color: var(--gray); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-info .k { flex: 0 0 90px; color: var(--light-gray); }
.contact-info .v { color: var(--ink); font-weight: 500; }
.contact-map { background: var(--primary-tint); border: 1px solid var(--line); border-radius: var(--radius); min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--gray); }
.form-row input, .form-row textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--primary); }
.form-row textarea { resize: vertical; min-height: 100px; }

/* ===== 滚动进场动画 ===== */
/* 由 IntersectionObserver 加 .in 类触发。prefers-reduced-motion 下直接显示，
   避免前庭敏感用户不适，也保证 JS 失效时内容不会永久隐藏。 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== 关于页 hero ===== */
.about-hero { margin-top: var(--nav-height); padding: 84px 0 72px; background: linear-gradient(135deg, #eaf3ff 0%, #f7fbff 55%, #eef6ff 100%); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.about-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,128,237,.10), transparent 70%); }
.about-hero .container { position: relative; z-index: 1; text-align: center; }
.about-hero .eyebrow { font-size: 13px; letter-spacing: 2px; color: var(--primary); font-weight: 600; margin-bottom: 14px; }
.about-hero h1 { font-size: 36px; letter-spacing: -.5px; margin-bottom: 16px; line-height: 1.4; }
.about-hero .lead { font-size: 16px; color: var(--gray); max-width: 820px; margin: 0 auto; line-height: 1.9; }

/* 数字滚动计数 */
.counters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.counter { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px; backdrop-filter: blur(4px); }
.counter b { display: block; font-size: 34px; font-weight: 700; color: var(--primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.counter b i { font-size: 17px; font-style: normal; margin-left: 2px; }
.counter span { display: block; font-size: 13px; color: var(--gray); margin-top: 6px; }

/* ===== 使命理念 ===== */
.mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-item { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .3s, box-shadow .3s, border-color .3s; }
.mission-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.mission-item .tag { font-size: 12px; color: var(--primary); font-weight: 600; letter-spacing: 1px; }
.mission-item h3 { font-size: 18px; margin: 10px 0 10px; line-height: 1.5; }
.mission-item p { font-size: 14px; color: var(--gray); line-height: 1.85; }

/* Responsive */
@media (max-width: 1024px) {
  .counters { grid-template-columns: repeat(3, 1fr); }
  .mission { grid-template-columns: 1fr; }
  .cards, .photo-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .comparison { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px 24px; gap: 12px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  /* 窄屏留给汉堡菜单，logo 收到 24px 并藏掉域名，否则 390px 宽会挤成两行 */
  .nav-logo-img { height: 24px; }
  .nav-logo span { display: none; }
  .hero { padding: 56px 0; }
  .hero .container { flex-direction: column; text-align: center; gap: 40px; }
  .hero-text h1 { font-size: 26px; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-image { max-width: 100%; }
  .cards, .photo-grid, .features { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .section { padding: 56px 0; }
  .section-title { font-size: 23px; }
  .footer .container { grid-template-columns: 1fr; }
  .product, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .product.reverse .product-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .about-hero h1 { font-size: 26px; }
  .biz-grid { grid-template-columns: 1fr !important; }
  .ai-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .honor-grid { grid-template-columns: 1fr !important; }
  .alliance-list { grid-template-columns: 1fr !important; }
  .tl2-item { grid-template-columns: 64px 20px 1fr !important; }
  .map-cities { gap: 8px !important; }
}

/* ===== 业务板块（7大领域） ===== */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-card { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.biz-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.biz-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.biz-card:hover::before { transform: scaleY(1); }
.biz-card .biz-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: background .3s; }
.biz-card .biz-ico svg { width: 22px; height: 22px; fill: var(--primary); }
.biz-card:hover .biz-ico { background: var(--primary); }
.biz-card:hover .biz-ico svg { fill: #fff; }
.biz-card h3 { font-size: 16px; margin-bottom: 8px; }
.biz-card p { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* ===== AI 产品矩阵 ===== */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ai-item { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; gap: 14px; align-items: flex-start; transition: transform .28s, border-color .28s, box-shadow .28s; }
.ai-item:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.ai-item .dot { flex: 0 0 34px; height: 34px; border-radius: 9px; background: var(--primary-tint); color: var(--primary); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.ai-item h4 { font-size: 15px; margin-bottom: 4px; }
.ai-item p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ===== 荣誉资质 ===== */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; background: var(--white); transition: transform .3s, box-shadow .3s; }
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.honor-card h4 { font-size: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--primary); }
.honor-card li { font-size: 13px; color: var(--gray); padding: 7px 0 7px 18px; position: relative; line-height: 1.7; }
.honor-card li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .55; }

/* ===== 行业联盟 ===== */
.alliance-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.alliance { display: flex; gap: 12px; align-items: baseline; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.alliance:hover { border-color: var(--primary); transform: translateX(4px); }
.alliance .role { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-tint); padding: 3px 9px; border-radius: 5px; }
.alliance .name { font-size: 14px; color: var(--ink); line-height: 1.6; }

/* ===== 增强版时间轴（左右交替） ===== */
.tl2 { max-width: 860px; margin: 0 auto; }
.tl2-item { display: grid; grid-template-columns: 92px 24px 1fr; gap: 16px; position: relative; padding-bottom: 30px; }
.tl2-item::before { content: ""; position: absolute; left: 103px; top: 26px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary) 0%, var(--line) 100%); opacity: .35; }
.tl2-item:last-child::before { display: none; }
.tl2-year { text-align: right; font-weight: 700; color: var(--primary); font-size: 16px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.tl2-mark { position: relative; z-index: 1; width: 14px; height: 14px; margin: 6px auto 0; border-radius: 50%; background: #fff; border: 3px solid var(--primary); transition: transform .3s, box-shadow .3s; }
.tl2-item:hover .tl2-mark { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(47,128,237,.12); }
.tl2-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; transition: border-color .28s, box-shadow .28s, transform .28s; }
.tl2-item:hover .tl2-body { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(4px); }
.tl2-body h4 { font-size: 15px; margin-bottom: 5px; }
.tl2-body p { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* ===== 城市网络 ===== */
.map-cities { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.city { font-size: 14px; padding: 8px 18px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); color: var(--gray); transition: all .25s; }
.city:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.city.hq { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

/* ===== 可点击卡片 ===== */
/* 卡片整体做成 <a>，保留原有 hover 动效并补上箭头与键盘焦点态。 */
a.biz-card, a.ai-item, a.alliance, a.tl2-body, a.mission-item { color: inherit; display: block; cursor: pointer; }
a.ai-item, a.alliance { display: flex; }

/* 跳转提示：常态淡显（触屏无 hover 也能看出可点），hover 时箭头前移 */
.go { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; color: var(--primary); font-weight: 500; opacity: .55; transition: opacity .3s; }
.go svg { width: 14px; height: 14px; fill: currentColor; transition: transform .25s; }
.biz-card:hover .go, .ai-item:hover .go, .mission-item:hover .go { opacity: 1; }
.biz-card:hover .go svg, .ai-item:hover .go svg, .mission-item:hover .go svg { transform: translateX(3px); }

/* 联盟条目右侧箭头 */
.alliance { justify-content: space-between; }
.alliance .arrow { flex: 0 0 auto; color: var(--light-gray); font-size: 15px; transition: color .25s, transform .25s; }
.alliance:hover .arrow { color: var(--primary); transform: translateX(3px); }

/* 键盘可达：焦点态必须可见，否则纯键盘用户无法定位当前项 */
a.biz-card:focus-visible, a.ai-item:focus-visible, a.alliance:focus-visible,
a.mission-item:focus-visible, .city:focus-visible, a.tl2-body:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 3px;
}
a.biz-card:focus-visible .go, a.ai-item:focus-visible .go { opacity: 1; }

/* 时间轴条目可点击 */
a.tl2-body { text-decoration: none; }
.tl2-body .go { margin-top: 8px; }
.tl2-item:hover .tl2-body .go { opacity: 1; }

/* 荣誉卡内的外链 */
.honor-card a { color: var(--primary); border-bottom: 1px dashed rgba(47,128,237,.45); transition: border-color .2s; }
.honor-card a:hover { border-bottom-color: var(--primary); }

/* ===== CTA 收尾 ===== */
.cta-band { background: linear-gradient(135deg, #1f4f8f 0%, #2F80ED 100%); color: #fff; padding: 58px 0; text-align: center; }
.cta-band h2 { font-size: 26px; margin-bottom: 12px; }
.cta-band p { font-size: 15px; opacity: .9; margin-bottom: 26px; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: #eaf3ff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.cta-band .btn-ghost { background: transparent; color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ===== 导航滚动收缩 ===== */
.nav { transition: height .25s ease, box-shadow .25s ease, background .25s ease; }
.nav.scrolled { height: 56px; box-shadow: 0 2px 14px rgba(0,0,0,.07); background: rgba(255,255,255,.96); }

/* ===== 首页 Banner 轮播 ===== */
.slider { position: relative; margin-top: var(--nav-height); background: linear-gradient(135deg, #123a70 0%, #2F80ED 58%, #4f9bf5 100%); color: #fff; overflow: hidden; }
/* 用 grid 叠放：非当前页仍占位，容器高度取最高那页，切换时不会抖动。 */
.slides { display: grid; position: relative; min-height: 520px; }
/* visibility 也参与过渡（延迟到淡出结束），否则隐藏是瞬间截断，淡出看不见。 */
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; padding: 72px 0 88px; display: flex; align-items: center; }
.slide.active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.slide:not(.active) { pointer-events: none; }
.slide-inner { display: flex; align-items: center; gap: 56px; width: 100%; }
.slide-text { flex: 1; min-width: 0; }
.slide-text .eyebrow { font-size: 13px; letter-spacing: 3px; opacity: .85; margin-bottom: 12px; }
.slide-text h1 { font-size: 40px; font-weight: 700; line-height: 1.32; letter-spacing: -.5px; margin-bottom: 18px; }
.slide-text .lead { font-size: 16px; line-height: 1.9; opacity: .92; margin-bottom: 30px; max-width: 560px; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide .btn { background: #fff; color: var(--primary); }
.slide .btn:hover { background: #eaf3ff; }
/* 必须写成 .slide .btn-ghost：单靠 .btn-ghost 的 0,1,0 会输给上面的 0,2,0，
   次要按钮会被填成实心白，两个按钮看起来一模一样。 */
.slide .btn-ghost { background: transparent; color: #fff; }
.slide .btn-ghost:hover { background: rgba(255,255,255,.14); }
.slide-media { flex: 0 0 348px; max-width: 348px; }

/* 轮播箭头与圆点 */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: none; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; z-index: 3; }
.slider-arrow:hover { background: rgba(255,255,255,.34); }
.slider-arrow[data-dir="prev"] { left: 18px; }
.slider-arrow[data-dir="next"] { right: 18px; }
.slider-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; z-index: 3; }
.slider-dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,.42); cursor: pointer; transition: width .25s, background .25s; }
.slider-dot.active { width: 26px; border-radius: 5px; background: #fff; }

/* ===== 前后对比拖动 ===== */
.compare { position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: #0f2a4d; box-shadow: 0 12px 32px rgba(0,0,0,.22); touch-action: pan-y; cursor: ew-resize; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 上层图靠 clip-path 裁切，位置由 JS 写 inline style。 */
.cmp-over { z-index: 1; }
.cmp-tag { position: absolute; top: 12px; z-index: 2; padding: 3px 10px; border-radius: 4px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; }
.cmp-tag-l { left: 12px; }
.cmp-tag-r { right: 12px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); z-index: 2; cursor: ew-resize; }
.cmp-handle i { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.cmp-handle i::before { content: "\2039\00a0\203a"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 17px; font-weight: 700; }
.cmp-handle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cmp-hint { text-align: center; margin-top: 12px; font-size: 12px; opacity: .8; }

/* 第二页的数字徽标 */
.badge-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.badge-list li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 26px 16px; text-align: center; backdrop-filter: blur(4px); }
.badge-list b { display: block; font-size: 32px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.badge-list b i { font-size: 16px; font-style: normal; margin-left: 2px; }
.badge-list span { display: block; font-size: 13px; opacity: .85; margin-top: 6px; }
.trust-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.trust-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; opacity: .92; }
.trust-list li::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.22) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27%23fff%27%3E%3Cpath d=%27M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z%27/%3E%3C/svg%3E") center/11px no-repeat; }

.flow-list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; }
.flow-list li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; opacity: .95; white-space: nowrap; }
.flow-list li span { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); font-size: 11.5px; font-weight: 700; }
.flow-list li:not(:last-child)::after { content: ""; width: 14px; height: 1px; background: rgba(255,255,255,.34); margin-left: 3px; }
/* ===== 痛点 VS 优势 ===== */
.vs-grid { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 20px; align-items: stretch; }
.vs-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.vs-col:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vs-col h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.vs-col li { position: relative; padding: 9px 0 9px 24px; font-size: 14px; color: var(--gray); line-height: 1.7; }
.vs-bad h3 { color: #c0574d; }
.vs-bad li::before { content: "\2715"; position: absolute; left: 0; top: 9px; color: #c0574d; font-size: 12px; }
.vs-bad:hover { border-color: #d9a29c; }
.vs-good h3 { color: var(--primary); }
.vs-good li::before { content: "\2713"; position: absolute; left: 0; top: 9px; color: var(--primary); font-weight: 700; }
.vs-good:hover { border-color: var(--primary); }
.vs-mid { display: flex; align-items: center; justify-content: center; }
.vs-mid span { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(47,128,237,.35); }

/* ===== 不合规示例走马灯 ===== */
/* 轨道内容由 JS 复制一份，位移 -50% 即回到视觉起点，实现无缝循环。 */
.marquee { overflow: hidden; margin-top: 8px; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: 0 0 168px; margin: 0; }
.marquee-item img { width: 168px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: #f0f1f3; }
.marquee-item figcaption { margin-top: 8px; text-align: center; font-size: 12.5px; color: var(--light-gray); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ===== 规范要点 Tab ===== */
.rule-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.rule-list li { position: relative; padding: 14px 18px 14px 42px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--gray); transition: border-color .25s, transform .25s; }
.rule-list li::before { content: "\2713"; position: absolute; left: 18px; top: 14px; color: var(--primary); font-weight: 700; }
.rule-list li:hover { border-color: var(--primary); transform: translateX(3px); }

/* ===== 数字卡（首页复用 .stat） ===== */
.stat .num b { font-size: 36px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat .num b i { font-size: 18px; font-style: normal; margin-left: 2px; }
.stat { transition: transform .3s, box-shadow .3s, border-color .3s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }

@media (max-width: 1024px) {
  .slide-media { flex: 0 0 340px; max-width: 340px; }
  .slide-text h1 { font-size: 32px; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-mid { padding: 4px 0; }
}
@media (max-width: 768px) {
  .slider { margin-top: var(--nav-height); }
  .slide { padding: 44px 0 66px; }
  .slide-inner { flex-direction: column; gap: 32px; text-align: center; }
  .slide-text h1 { font-size: 25px; }
  .slide-text .lead { margin-left: auto; margin-right: auto; }
  .slide-actions { justify-content: center; }
  .slide-media { flex: 0 0 auto; max-width: 280px; width: 100%; }
  .slider-arrow { display: none; }
  .marquee-item, .marquee-item img { flex-basis: 132px; width: 132px; }
}

/* 首页「上传即修图」入口 —— 与 retouch.html 的 .drop-zone 视觉一致但独立命名，
   首页不引 tool-recolor.css，避免为一个区块拖进整份工具样式。 */
.hp-retouch { background: linear-gradient(180deg, var(--primary-tint) 0%, var(--white) 100%); padding: 72px 0; }
.hp-retouch .container { max-width: 760px; }
.hp-rt-head { text-align: center; margin-bottom: 26px; }
.hp-rt-head h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 10px; }
.hp-rt-head p { font-size: 15px; color: var(--gray); }
.hp-rt-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.hp-drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 48px 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.hp-drop:hover, .hp-drop:focus-visible, .hp-drop.dragover { border-color: var(--primary); background: var(--primary-tint); outline: none; }
.hp-drop-icon { font-size: 40px; line-height: 1; margin-bottom: 12px; color: var(--primary); }
.hp-drop-title { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.hp-drop-hint { font-size: 13px; color: var(--light-gray); }
.hp-rt-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.hp-rt-feats span { font-size: 13px; color: var(--gray); background: var(--bg); border-radius: 999px; padding: 5px 14px; }
.hp-rt-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--light-gray); }
.hp-rt-foot a { color: var(--primary); }
.hp-rt-error { margin-top: 14px; text-align: center; font-size: 14px; color: #d93025; }
@media (max-width: 640px) {
  .hp-retouch { padding: 52px 0; }
  .hp-rt-head h2 { font-size: 22px; }
  .hp-rt-card { padding: 18px; }
  .hp-drop { padding: 36px 14px; }
}
