/* ============================================================
   多姿态官网首页 · 改版专用样式 v1
   仅 index.html 引用，不改动 /assets/css/style.css，内页不受影响。
   配色集中在 :root，后续拿到标注稿只需替换这里的变量。
   ============================================================ */

:root {
  --dark:        #141a2e;
  --dark-2:      #1c2440;
  --ink:         #1a2035;
  --ink-2:       #5c6478;
  --ink-3:       #8d94a6;
  --line:        #e8ebf2;
  --soft:        #f6f7fb;
  --white:       #ffffff;
  --accent:      #ff6a3d;
  --accent-2:    #7c5cff;
  --grad:        linear-gradient(120deg, #ff7a45 0%, #ff5f6d 45%, #8a5cff 100%);
  --grad-soft:   linear-gradient(120deg, #fff1e9 0%, #f3ecff 100%);
  --shadow:      0 10px 34px rgba(24, 32, 62, .07);
  --shadow-hover:0 18px 46px rgba(24, 32, 62, .13);
  --radius:      18px;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* ------------------------------------------------------------
   1. 顶部导航
   ------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo-img { width: auto; height: 42px; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  white-space: nowrap;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-menu a.active { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  border-radius: 9px;
  width: 42px; height: 40px;
  font-size: 18px;
  line-height: 1;
}

/* ------------------------------------------------------------
   2. 轮播 Banner
   ------------------------------------------------------------ */
.hero {
  position: relative;
  height: clamp(400px, 33vw, 560px);
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .85s var(--ease), visibility .85s var(--ease);
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
/* 浅色帧给一层浅底兜底：外链图加载慢时，深色文字也不会落在深色背景上 */
.hero-slide.slide--light { background: #f5f2fb; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-veil { position: absolute; inset: 0; z-index: 1; }
/* 文案居中后遮罩也要左右对称：中间最实保证文字可读，两侧渐透露出底图 */
.slide--dark .hero-veil {
  background: linear-gradient(90deg,
    rgba(8, 12, 26, .32) 0%,
    rgba(8, 12, 26, .78) 50%,
    rgba(8, 12, 26, .32) 100%);
}
.slide--light .hero-veil {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .48) 0%,
    rgba(255, 255, 255, .88) 50%,
    rgba(255, 255, 255, .48) 100%);
}
.hero-inner-max {
  position: absolute;
  inset: 0;
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  z-index: 3;
  pointer-events: none;
}
/* 首屏文案整体水平居中：徽标、标题、副标题、按钮沿中轴排列 */
.hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 100%);
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}
.slide--dark  .hero-copy { color: #fff; }
.slide--light .hero-copy { color: var(--ink); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(255, 106, 61, .3);
}
.hero-copy h1,
.hero-copy .hero-title {
  margin: 20px 0 14px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero-copy p.hero-sub {
  margin: 0 0 26px;
  width: min(540px, 100%);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.9;
  opacity: .88;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(124, 92, 255, .28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(124, 92, 255, .38); }
.hero-btn .arr { font-size: 18px; line-height: 1; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(20, 26, 46, .38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.hero-arrow:hover { background: rgba(20, 26, 46, .72); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-ui {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 34px; height: 4px;
  border: 0; padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 0 0 1px rgba(20, 26, 46, .12);
  transition: width .4s var(--ease), background .4s var(--ease);
}
.hero-dot.is-active { width: 62px; background: var(--accent); }
.hero-count {
  color: #fff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.hero-count .cur { font-size: 20px; font-weight: 700; }
.hero-count .sep { opacity: .6; margin: 0 3px; }

/* 浅色底图：页码 / 指示条 / 箭头改用深色，避免白字融进背景 */
#heroSlider[data-theme="light"] .hero-count {
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(255, 255, 255, .95);
}
#heroSlider[data-theme="light"] .hero-dot {
  background: rgba(20, 26, 46, .28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
}
#heroSlider[data-theme="light"] .hero-dot.is-active { background: var(--accent); }
#heroSlider[data-theme="light"] .hero-arrow {
  background: rgba(20, 26, 46, .62);
  border-color: rgba(255, 255, 255, .8);
}

/* ------------------------------------------------------------
   3. 通用区块标题（中英水印）
   ------------------------------------------------------------ */
.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.sec-head { position: relative; text-align: center; margin-bottom: 58px; }
.sec-watermark {
  position: absolute;
  top: -34px; left: 50%;
  transform: translateX(-50%);
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(26, 32, 53, .045);
  pointer-events: none;
  user-select: none;
}
.sec-title {
  position: relative;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.sec-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-line {
  width: 52px; height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--grad);
}
.sec-sub { margin: 16px 0 0; color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------
   4. 团队
   ------------------------------------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--grad-soft);
  overflow: hidden;
}
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 第三张为带灰白方格底的插画（PNG 无透明通道）：暖底 + 正片叠底淡化格子，
   取景略偏上，把图片右下角的素材站水印裁出画面。换成正经头像图后可删掉这个修饰类。 */
.team-photo--art { background: #fff6ee; }
.team-photo--art img {
  mix-blend-mode: multiply;
  object-position: center 42%;
}
.team-body { padding: 24px 26px 26px; }
.team-role {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.team-body h3 { margin: 0 0 4px; font-size: 21px; font-weight: 700; }
.team-post { margin: 0 0 12px; font-size: 13px; color: var(--ink-3); }
.team-desc { margin: 0 0 18px; font-size: 14px; color: var(--ink-2); line-height: 1.85; min-height: 52px; }
/* 整宽文字按钮：替代原来 34px 的地球小图标，点击区域更大也更显眼 */
.team-social { display: flex; }
.team-social a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 46px;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 14px; font-weight: 700; letter-spacing: .01em;
  color: var(--accent);
  background: linear-gradient(120deg, rgba(255, 106, 61, .10), rgba(124, 92, 255, .10));
  border: 1px solid rgba(124, 92, 255, .22);
  transition: color .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.team-social a span { font-size: 17px; line-height: 1; transition: transform .25s var(--ease); }
.team-social a:hover,
.team-social a:focus-visible {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(124, 92, 255, .28);
  outline: none;
}
.team-social a:hover span,
.team-social a:focus-visible span { transform: translateX(4px); }

/* ------------------------------------------------------------
   5. 业务
   ------------------------------------------------------------ */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.biz-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 106, 61, .32);
}
.biz-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 18px rgba(124, 92, 255, .22);
}
.biz-icon svg { width: 27px; height: 27px; }
.biz-card h3 { margin: 0 0 9px; font-size: 18px; font-weight: 700; }
.biz-card p { margin: 0 0 20px; font-size: 14px; color: var(--ink-2); line-height: 1.8; flex: 1; }
.biz-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--accent);
}
.biz-more .arr { transition: transform .25s var(--ease); }
.biz-card:hover .biz-more .arr { transform: translateX(5px); }
.biz-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--accent-2);
  background: #f2edff;
}

/* ------------------------------------------------------------
   6. 文章专区
   ------------------------------------------------------------ */
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.zone-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.zone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.zone-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.zone-name { font-size: 16px; font-weight: 700; }
.zone-count { font-size: 12px; color: var(--ink-3); }
.zone-more { font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.zone-more:hover { text-decoration: underline; }
.zone-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  flex: 1;
}
.zone-card h3 a:hover { color: var(--accent); }
.zone-card p { margin: 0 0 14px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.zone-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }
.zone-meta .tag {
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--accent-2);
  background: #f2edff;
}

/* ------------------------------------------------------------
   7. 页脚
   ------------------------------------------------------------ */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .68); padding: 66px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr) 1.3fr;
  gap: 40px;
  padding-bottom: 46px;
}
.footer-brand .logo-img { height: 40px; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 18px; font-size: 14px; line-height: 1.9; max-width: 320px; }
.footer-contact { font-size: 13px; line-height: 2; }
.footer-contact a { color: rgba(255, 255, 255, .86); }
.footer-contact a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 9px; margin-top: 14px; }
.footer-social a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .08);
  transition: background .25s var(--ease);
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-col h4 { margin: 0 0 16px; font-size: 15px; color: #fff; font-weight: 700; }
.footer-col ul li { margin-bottom: 9px; font-size: 13px; }
.footer-col ul a:hover { color: var(--accent); }
.footer-sub .sub-tip { font-size: 13px; line-height: 1.8; margin: 0 0 14px; }
.subscribe-form { display: flex; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; overflow: hidden; }
.subscribe-form input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  padding: 10px 16px;
  font-size: 13px;
  color: #fff;
  background: transparent;
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, .42); }
.subscribe-form button {
  border: 0; padding: 0 18px;
  color: #fff; font-size: 17px;
  background: var(--grad);
}
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.footer-quicklinks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.footer-quicklinks a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0 26px;
  font-size: 12px;
  color: rgba(255, 255, 255, .48);
  line-height: 1.9;
}
.footer-bottom p { margin: 0; }
.footer-beian a { margin-right: 16px; color: rgba(255, 255, 255, .62); }
.footer-beian a:hover { color: var(--accent); }
.footer-copy { margin-top: 6px !important; }
.ad-notice { opacity: .72; }

/* ------------------------------------------------------------
   8. 响应式
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nav-menu a { padding: 8px 8px; font-size: 13px; }
  .biz-grid, .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .container, .hero-inner-max { width: calc(100% - 32px); }
  .nav-wrap { min-height: 64px; flex-wrap: wrap; }
  .logo-img { height: 34px; }
  .nav-toggle {
    display: block;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .5);
  }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 0 16px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 12px; font-size: 14px; }
  .nav-menu a.active { box-shadow: inset 3px 0 0 var(--accent); }

  .hero { height: 440px; }
  .hero-slide img { object-position: 58% center; }
  .slide--dark .hero-veil {
    background: linear-gradient(90deg, rgba(8, 12, 26, .55) 0%, rgba(8, 12, 26, .82) 50%, rgba(8, 12, 26, .55) 100%);
  }
  .slide--light .hero-veil {
    background: linear-gradient(90deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, .6) 100%);
  }
  .hero-copy { width: calc(100% - 24px); }
  .hero-copy h1,
  .hero-copy .hero-title { font-size: 32px; margin: 14px 0 10px; }
  .hero-copy p.hero-sub { font-size: 13px; line-height: 1.75; margin-bottom: 18px; }
  .hero-btn { padding: 10px 20px; font-size: 14px; }
  /* 窄屏把箭头挪到右下角，与指示条同一行，避免压住正文 */
  .hero-arrow { top: auto; bottom: 12px; transform: none; width: 32px; height: 32px; font-size: 17px; }
  .hero-arrow:hover { transform: none; }
  .hero-arrow.prev { left: auto; right: 48px; }
  .hero-arrow.next { right: 8px; }
  .hero-ui { bottom: 16px; gap: 12px; }
  .hero-dot { width: 22px; }
  .hero-dot.is-active { width: 40px; }

  .section { padding: 62px 0; }
  .sec-head { margin-bottom: 38px; }
  .sec-watermark { top: -20px; font-size: 42px; }
  .team-grid, .biz-grid, .zone-grid { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 16 / 9; }
  .team-desc { min-height: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-sub { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
