/* ============================================================
   奥拓数字 AOTUO DIGITAL — 首页样式
   主色：科技靛蓝渐变
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #4f46e5;
  --primary-2: #4338ca;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e8eaf2;
  --soft: #f6f7fb;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #06b6d4 120%);
  --grad-soft: linear-gradient(135deg, #eef0ff 0%, #f4f0ff 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 12px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(49, 46, 129, .18);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 700; }

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

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: .25s ease;
  white-space: nowrap;
}
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(79, 70, 229, .42); }
.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { color: var(--primary); }
.btn--bordered { border-color: var(--line); }
.btn--bordered:hover { border-color: var(--primary); color: var(--primary); }
.btn--outline { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.btn--outline:hover { background: rgba(255, 255, 255, .2); }
.btn--light { background: #fff; color: var(--primary-2); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: #0b1030;
  color: #c9d0e8;
  font-size: 13px;
  height: 38px;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar__links { display: flex; align-items: center; gap: 10px; }
.topbar__link { transition: color .2s; }
.topbar__link:hover { color: #fff; }

/* ---------- 导航栏 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.header__inner { display: flex; align-items: center; height: var(--header-h); gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark { display: flex; line-height: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 19px; letter-spacing: .5px; color: var(--ink); }
.logo__text small { font-size: 10px; letter-spacing: 1.6px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: .2s;
}
.nav__link:hover { color: var(--primary); background: var(--soft); }
.nav__link.is-active { color: var(--primary); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 18px; height: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: var(--grad);
}

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 Banner ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 82% 8%, #2a2170 0%, transparent 55%),
              radial-gradient(900px 500px at 8% 90%, #123a5e 0%, transparent 55%),
              linear-gradient(135deg, #0b1030 0%, #171a4a 50%, #0b1030 100%);
  color: #eef1ff;
  padding: 84px 0 96px;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
}
.hero__glow--1 { width: 380px; height: 380px; background: #6d28d9; top: -80px; right: 6%; }
.hero__glow--2 { width: 320px; height: 320px; background: #0891b2; bottom: -100px; left: -40px; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: #c7d2fe;
  background: rgba(129, 140, 248, .14);
  border: 1px solid rgba(129, 140, 248, .3);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .22);
}
.hero__title {
  margin: 22px 0 20px;
  font-size: 50px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -.5px;
}
.hero__title .gradient-text {
  background: linear-gradient(120deg, #a5b4fc 0%, #67e8f9 60%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__desc { font-size: 17px; color: #c3cbe6; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero__metrics li { display: flex; flex-direction: column; }
.hero__metrics strong {
  font-size: 26px;
  color: #fff;
  background: linear-gradient(120deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__metrics span { font-size: 13px; color: #9aa4c8; margin-top: 2px; }

.hero__visual { position: relative; }
.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  aspect-ratio: 4 / 3;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }

.hero__float {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__float--a { left: -18px; bottom: 34px; animation: floaty 4.5s ease-in-out infinite; }
.hero__float--b { right: -12px; top: 34px; animation: floaty 5.5s ease-in-out infinite reverse; }
.hero__float--b strong { color: var(--primary); }
.hero__float .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 数据条 ---------- */
.stats { background: #fff; margin-top: -46px; position: relative; z-index: 5; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 8px;
  border: 1px solid var(--line);
}
.stats__item { text-align: center; padding: 6px 16px; border-right: 1px solid var(--line); }
.stats__item:last-child { border-right: none; }
.stats__num {
  font-size: 36px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stats__label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  text-align: left; max-width: none; gap: 20px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section__title { font-size: 34px; letter-spacing: -.4px; }
.section__desc { margin-top: 14px; font-size: 16px; color: var(--muted); }

/* ---------- 核心服务 ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  color: var(--primary);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15px; }
.service-card__more { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--primary); font-size: 14.5px; }
.service-card__more span { display: inline-block; transition: transform .25s; }
.service-card:hover .service-card__more span { transform: translateX(4px); }

/* ---------- 媒体资源 ---------- */
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: .28s ease;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d9ddf5; }
.media-card__icon {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--grad-soft);
  color: var(--primary);
  margin-bottom: 16px;
}
.media-card__icon svg { width: 24px; height: 24px; }
.media-card h4 { font-size: 17px; margin-bottom: 8px; }
.media-card p { font-size: 14px; color: var(--muted); }

.channels { margin-top: 46px; text-align: center; }
.channels__label { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.channels__note { margin-top: 18px; font-size: 12.5px; color: #94a0b8; }
.channels__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.channels__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.channels__marquee:hover .channels__track { animation-play-state: paused; }
.channels__chip {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 平台优势 ---------- */
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: .3s ease;
}
.adv-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.adv-card__icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(79, 70, 229, .28);
}
.adv-card__icon svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 服务对象 ---------- */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: .28s ease;
}
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.client-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--primary-2); }
.client-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 发稿流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}
.flow__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: .28s ease;
}
.flow__step::after {
  content: "";
  position: absolute;
  top: 40px; right: -10px;
  width: 20px; height: 2px;
  background: #d9ddf5;
}
.flow__step:last-child::after { display: none; }
.flow__step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.flow__no {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--grad-soft);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.flow__step h4 { font-size: 16px; margin-bottom: 8px; }
.flow__step p { font-size: 13.5px; color: var(--muted); }

/* ---------- 新闻资讯 ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: .3s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-card__cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad-soft); }
.news-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card__cover img { transform: scale(1.06); }
.news-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__tag {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  background: var(--grad-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.news-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 16px; }
.news-card h3 a:hover { color: var(--primary); }
.news-card__meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--muted);
}
.news-card__meta a { color: var(--primary); font-weight: 600; }

/* ---------- 关于我们 ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__text .section__eyebrow { margin-bottom: 12px; }
.about__text .section__title { margin-bottom: 18px; }
.about__text > p { color: var(--muted); font-size: 16px; }
.about__list { margin: 24px 0 30px; display: grid; gap: 12px; }
.about__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.about__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--grad-soft);
}
.about__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA ---------- */
.cta {
  background: radial-gradient(700px 400px at 20% 20%, #4338ca 0%, transparent 60%),
              radial-gradient(700px 400px at 85% 80%, #0e7490 0%, transparent 60%),
              linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fff;
  padding: 66px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__text h2 { color: #fff; font-size: 30px; }
.cta__text p { color: #c7d2fe; margin-top: 10px; font-size: 16px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #0b1030; color: #9aa4c8; padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: #7c86ad; }
.footer__desc { margin-top: 18px; font-size: 14px; max-width: 300px; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col ul li { font-size: 14px; }
.footer__col ul a { transition: color .2s; }
.footer__col ul a:hover { color: #a5b4fc; }
.footer__contact li { color: #9aa4c8; }
.footer__bottom { margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; flex-wrap: wrap; }
.footer__bottom-inner a:hover { color: #a5b4fc; }
.footer__bottom-inner span { margin: 0 8px; opacity: .4; }
.footer__beian { display: inline-block; margin-left: 10px; transition: color .2s; }
.footer__beian:hover { color: #a5b4fc; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(79, 70, 229, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .3s;
  z-index: 90;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 微信咨询弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(11, 16, 48, .62); backdrop-filter: blur(3px); }
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 28px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn .28s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  background: var(--soft);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: .2s;
}
.modal__close:hover { background: #e9ebf5; color: var(--ink); }
.modal__title { font-size: 20px; margin-bottom: 8px; }
.modal__desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.modal__qr {
  position: relative;
  width: 220px; height: 220px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__qr img { width: 100%; height: 100%; object-fit: contain; }
.modal__qr-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%; height: 100%;
  padding: 18px;
  background: var(--grad-soft);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.modal__qr-fallback small { font-size: 12px; color: #94a3b8; word-break: break-all; }
.modal__tip { margin-top: 18px; font-size: 13px; color: var(--muted); }
body.has-modal { overflow: hidden; }

/* ---------- 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .hero__title { font-size: 42px; }
  .advantages, .services, .news { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow__step:nth-child(3)::after { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  /* 顶部条内容仅剩欢迎语，窄屏隐藏欢迎语后已无内容，故整体隐藏；若恢复"联系客服"，删除本行即可 */
  .topbar { display: none; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .28s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 14px; }
  .nav__link.is-active::after { display: none; }

  .hero { padding: 56px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__title { font-size: 36px; }
  .hero__visual { max-width: 520px; }
  .hero__float--a { left: 4px; }
  .hero__float--b { right: 4px; }

  .stats { margin-top: -30px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:last-child { grid-column: 1 / -1; }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }
  .section__title { font-size: 27px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }

  .about { grid-template-columns: 1fr; gap: 36px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__text h2 { font-size: 25px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header__actions .btn--ghost { display: none; }
  .logo__text small { display: none; }

  .hero__title { font-size: 30px; }
  .hero__desc { font-size: 15.5px; }
  .hero__actions .btn { width: 100%; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero__metrics li:last-child { grid-column: 1 / -1; }
  .hero__metrics strong { font-size: 22px; }

  .stats__grid { padding: 26px 4px; }
  .stats__num { font-size: 28px; }

  .services, .advantages, .news, .media-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step::after { display: none; }

  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { width: 100%; }
  .to-top { right: 16px; bottom: 16px; }
}
