/* ===== 词元动能 - 企业官网样式 ===== */
/* 设计：蓝绿科技色调 */

:root {
  /* 主色 - 蓝绿科技 */
  --c-primary: #0d9488;        /* teal-600 */
  --c-primary-dark: #0f766e;   /* teal-700 */
  --c-primary-light: #14b8a6;  /* teal-500 */
  --c-accent: #06b6d4;         /* cyan-500 */
  --c-accent-2: #0ea5e9;       /* sky-500 */
  --c-grad: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  --c-grad-soft: linear-gradient(135deg, rgba(14,165,233,.12) 0%, rgba(13,148,136,.12) 100%);

  /* 中性色 */
  --c-text: #0f172a;           /* slate-900 */
  --c-text-2: #334155;         /* slate-700 */
  --c-text-3: #64748b;         /* slate-500 */
  --c-border: #e2e8f0;         /* slate-200 */
  --c-bg: #ffffff;
  --c-bg-alt: #f8fafc;         /* slate-50 */
  --c-bg-tint: #f0fdfa;        /* teal-50 */

  /* 效果 */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow: 0 10px 30px rgba(15,23,42,.08), 0 4px 12px rgba(15,23,42,.04);
  --shadow-lg: 0 24px 60px rgba(13,148,136,.16), 0 8px 24px rgba(15,23,42,.06);
  --container: 1200px;
  --header-h: 72px;
  --topbar-h: 36px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 12px); }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
svg { width: 100%; height: 100%; }

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

/* ===== 顶部公告栏 ===== */
.top-bar {
  background: var(--c-primary-dark);
  color: #e0f2fe;
  font-size: 13px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.top-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ===== 导航 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--c-grad);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(13,148,136,.3);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 18px; color: var(--c-text); }
.logo__sub { font-size: 9px; font-weight: 500; color: var(--c-text-3); letter-spacing: 1.5px; }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__sub { color: rgba(255,255,255,.6); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 14px;
  font-size: 15px;
  color: var(--c-text-2);
  border-radius: 8px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav__link:hover { color: var(--c-primary); background: var(--c-bg-tint); }
.nav__link.active { color: var(--c-primary); font-weight: 600; }
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--c-grad);
  border-radius: 2px;
}
.nav__link--cta {
  background: var(--c-grad);
  color: #fff !important;
  padding: 9px 20px;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(13,148,136,.32);
}
.nav__link--cta:hover { opacity: .92; background: var(--c-grad); }
.nav__link--cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--c-grad); color: #fff; box-shadow: 0 8px 22px rgba(13,148,136,.3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13,148,136,.4); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--subtle { background: #fff; color: var(--c-text-2); border: 1.5px solid var(--c-border); }
.btn--subtle:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ===== Section 通用 ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--c-bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--c-primary);
  text-transform: uppercase;
  padding: 5px 14px;
  background: var(--c-bg-tint);
  border-radius: 999px;
  margin-bottom: 18px;
}
.section__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--c-text); letter-spacing: -.5px; }
.section__subtitle { margin-top: 16px; font-size: 16px; color: var(--c-text-3); }
.section__head--light .section__title,
.section__head--light .section__subtitle { color: rgba(255,255,255,.92); }
.section__head--light .section__subtitle { color: rgba(255,255,255,.7); }
.section__head--light .section__label { background: rgba(255,255,255,.12); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0;
  background: var(--c-grad);
  background: linear-gradient(135deg, #0c4a6e 0%, #0f766e 45%, #06b6d4 100%);
}
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(14,165,233,.45), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(20,184,166,.4), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), transparent 60%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 760px; }
.hero__tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.hero__title { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; }
.hero__desc { margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.85); max-width: 620px; }
.hero__actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 56px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 30px; font-weight: 800; }
.hero__stats span { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ===== 卡片(产品服务) ===== */
.cards { display: grid; gap: 28px; }
.cards--products { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px;
  padding: 12px;
  background: var(--c-grad-soft);
  color: var(--c-primary);
  border-radius: 14px;
  margin-bottom: 22px;
}
.card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card__title { font-size: 22px; font-weight: 700; color: var(--c-text); }
.card__desc { margin-top: 14px; font-size: 14.5px; color: var(--c-text-3); }
.card__features { margin-top: 20px; display: grid; gap: 10px; }
.card__features li { font-size: 14px; color: var(--c-text-2); padding-left: 24px; position: relative; }
.card__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--c-grad);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/10px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/10px no-repeat;
}
.card__metrics {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--c-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card__metrics div { text-align: center; }
.card__metrics strong { display: block; font-size: 15px; color: var(--c-primary); font-weight: 700; }
.card__metrics span { font-size: 12px; color: var(--c-text-3); }
.card__link { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--c-primary); }
.card__link:hover { color: var(--c-accent); }

/* ===== 核心业务矩阵 ===== */
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.core-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--c-border);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.core-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.core-item__num {
  font-size: 44px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-primary-light);
  line-height: 1;
  opacity: .5;
}
.core-item__title { margin-top: 16px; font-size: 20px; font-weight: 700; }
.core-item__desc { margin-top: 12px; font-size: 14.5px; color: var(--c-text-3); }
.core-item__list { margin-top: 20px; display: grid; gap: 10px; }
.core-item__list li { font-size: 14px; color: var(--c-text-2); padding-left: 18px; position: relative; }
.core-item__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }

/* ===== 平台能力 ===== */
.platform { display: flex; align-items: stretch; gap: 0; max-width: 920px; margin: 0 auto; flex-direction: column; }
.platform__layer {
  display: flex; align-items: center; gap: 22px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.platform__layer:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.platform__icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  padding: 12px;
  background: var(--c-grad);
  color: #fff;
  border-radius: 14px;
}
.platform__body h3 { font-size: 19px; font-weight: 700; }
.platform__body p { margin-top: 6px; font-size: 14.5px; color: var(--c-text-3); }
.platform__connector {
  width: 2px; height: 28px;
  margin: 0 auto;
  background: linear-gradient(var(--c-primary-light), var(--c-accent));
  opacity: .4;
}

/* ===== 为什么选择我们 ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--c-border);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item__icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  padding: 13px;
  background: var(--c-grad-soft);
  color: var(--c-primary);
  border-radius: 16px;
}
.why-item h3 { font-size: 18px; font-weight: 700; }
.why-item p { margin-top: 12px; font-size: 14px; color: var(--c-text-3); }

/* ===== 场景方案地图 ===== */
.solution { max-width: 880px; margin: 0 auto; }
.solution__stages {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.solution__stage {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-3);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s;
}
.solution__stage:hover { color: var(--c-primary); border-color: var(--c-primary-light); }
.solution__stage.active { background: var(--c-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(13,148,136,.3); }
.solution__panels { position: relative; }
.solution__panel {
  display: none;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  animation: fadeIn .4s;
}
.solution__panel.active { display: block; }
.solution__panel h3 { font-size: 22px; font-weight: 700; color: var(--c-primary); }
.solution__panel > p { margin-top: 12px; font-size: 15px; color: var(--c-text-3); }
.solution__panel ul { margin-top: 22px; display: grid; gap: 12px; }
.solution__panel li { font-size: 15px; color: var(--c-text-2); padding-left: 26px; position: relative; }
.solution__panel li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--c-grad);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/11px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/11px no-repeat;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 典型应用场景 ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--c-border);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case__industry {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
  background: var(--c-bg-tint);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.case__title { font-size: 19px; font-weight: 700; }
.case__desc { margin-top: 12px; font-size: 14.5px; color: var(--c-text-3); }
.case__tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags span { font-size: 12px; color: var(--c-text-2); background: var(--c-bg-alt); border: 1px solid var(--c-border); padding: 4px 10px; border-radius: 6px; }

/* ===== 合作流程 ===== */
.process { display: flex; align-items: stretch; gap: 0; }
.process__step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.process__step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process__num {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  background: var(--c-grad);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(13,148,136,.3);
}
.process__title { font-size: 18px; font-weight: 700; }
.process__desc { margin-top: 10px; font-size: 14px; color: var(--c-text-3); }
.process__line { flex: 0 0 40px; align-self: center; height: 2px; background: linear-gradient(90deg, var(--c-primary-light), var(--c-accent)); opacity: .4; }

/* ===== 关于我们 ===== */
.about { max-width: 860px; margin: 0 auto; }
.about__text p { font-size: 15.5px; color: var(--c-text-2); margin-bottom: 18px; }
.about__text strong { color: var(--c-text); }
.about__values { margin-top: 28px; display: grid; gap: 16px; }
.about__values div {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 20px;
  background: var(--c-bg-tint);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--c-primary);
}
.about__values strong { font-size: 14px; color: var(--c-primary); flex-shrink: 0; min-width: 56px; }
.about__values span { font-size: 15px; color: var(--c-text-2); }

/* ===== 联系我们 ===== */
.section--contact {
  background: linear-gradient(160deg, #0c4a6e 0%, #0f766e 60%, #115e59 100%);
  color: #fff;
}
.contact { display: flex; justify-content: center; }
.contact__cta {
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  width: 100%;
  max-width: 560px;
}
.contact__cta-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  padding: 14px;
  background: var(--c-grad);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(13,148,136,.3);
}
.contact__cta-title { font-size: 22px; font-weight: 700; color: var(--c-text); }
.contact__cta-desc { margin-top: 12px; font-size: 14.5px; color: var(--c-text-3); line-height: 1.8; }
.contact__cta .btn { margin-top: 24px; }
.contact__cta-tip { margin-top: 14px; font-size: 12.5px; color: var(--c-text-3); }

/* ===== 页脚 ===== */
.footer { background: #0f172a; color: rgba(255,255,255,.7); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer__desc { margin-top: 18px; font-size: 14px; max-width: 360px; line-height: 1.8; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--c-primary-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer__filing { display: flex; align-items: center; gap: 8px; }
.footer__filing a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer__filing a:hover { color: var(--c-primary-light); }
.footer__divider { color: rgba(255,255,255,.25); }

/* ===== 联系我们弹框 ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px 32px;
  box-shadow: 0 30px 80px rgba(15,23,42,.3);
  transform: translateY(16px) scale(.98);
  transition: transform .3s;
}
.modal.open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--c-text-3);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--c-bg-alt); color: var(--c-text); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { text-align: center; }
.modal__icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  padding: 16px;
  background: var(--c-grad-soft);
  color: var(--c-primary);
  border-radius: 20px;
}
.modal__title { font-size: 22px; font-weight: 800; color: var(--c-text); }
.modal__desc { margin-top: 12px; font-size: 14.5px; color: var(--c-text-3); line-height: 1.8; }
.modal__email {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--c-bg-tint);
  border: 1px dashed var(--c-primary-light);
  border-radius: var(--radius-sm);
}
.modal__email-text { font-size: 17px; font-weight: 700; color: var(--c-primary-dark); letter-spacing: .3px; word-break: break-all; }
.modal__copy {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  background: #fff;
  border: 1px solid var(--c-primary-light);
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.modal__copy:hover { background: var(--c-primary); color: #fff; }
.modal__copy.copied { background: var(--c-primary); color: #fff; }
.modal__tip { min-height: 18px; margin-top: 10px; font-size: 13px; color: var(--c-primary); }
.modal__actions { margin-top: 24px; display: flex; gap: 12px; }
.modal__actions .btn { flex: 1; }

/* ===== 返回顶部 ===== */
.backtop {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--c-grad);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(13,148,136,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 90;
}
.backtop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { transform: translateY(-3px); }
.backtop svg { width: 22px; height: 22px; }

/* ===== 滚动出现动画 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .cards--products, .core-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .top-bar { font-size: 12px; }

  /* 移动端导航 */
  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px 18px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .35s;
    max-height: calc(100vh - var(--header-h) - var(--topbar-h));
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 14px 16px; border-radius: 8px; }
  .nav__link.active::after { display: none; }
  .nav__link.active { background: var(--c-bg-tint); }
  .nav__link--cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 72px 0 88px; }
  .hero__stats { gap: 28px; margin-top: 40px; }
  .hero__stats strong { font-size: 24px; }

  .cards--products, .core-grid, .cases-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .process { flex-direction: column; gap: 0; }
  .process__line { width: 2px; height: 24px; margin: 0 auto; }

  .modal__dialog { padding: 36px 22px 26px; }
  .modal__email { flex-direction: column; align-items: stretch; gap: 14px; }
  .modal__copy { width: 100%; }
  .modal__actions { flex-direction: column; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .section__head { margin-bottom: 40px; }
  .solution__panel { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr; }
  .backtop { right: 18px; bottom: 18px; width: 42px; height: 42px; }
}
