:root{
  --page-max: 1180px;
  --page-pad: 24px;

  --bg: #f7f8fb;
  --panel: rgba(255,255,255,.92);
  --text: #0f172a;
  --muted: rgba(15,23,42,.72);
  --border: rgba(15,23,42,.10);

  --radius: 18px;

  --h2: clamp(20px, 2.4vw, 26px);
  --h3: 18px;
  --body: 16px;

  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --hero-safe-top: 56px;
}

html{ color-scheme: light; }

@media (prefers-color-scheme: dark){
  :root{
    --bg: #f7f8fb;
    --panel: rgba(255,255,255,.92);
    --text: #0f172a;
    --muted: rgba(15,23,42,.72);
    --border: rgba(15,23,42,.10);
  }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: var(--bg) !important;
  color: var(--text) !important;
  font: 400 var(--body)/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

a{ color: inherit; }

/* 首屏背景层 */
.hero-fs{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: calc(var(--hero-safe-top) + 8px) 24px 56px;
  background: #07080a;
  overflow: hidden;
}

.hero-bg{ position:absolute; inset:0; z-index:0; }

.hero-fallback{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(110%) contrast(105%);
}

.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  opacity: 0;
  transition: opacity 1200ms ease;
  will-change: opacity;
}

.hero-video.is-active{ opacity: 1; }

.hero-dim{
  position:absolute; inset:0;
  background: radial-gradient(70% 55% at 50% 40%, rgba(0,0,0,.22), rgba(0,0,0,.64));
}

/* 首屏文案 */
.hero-content{
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  text-align: center;
  margin-top: -16vh;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 900ms ease, transform 900ms ease;
  will-change: opacity, transform;
}

.hero-content,
.hero-content *{
  color: rgba(255,255,255,.92) !important;
}

.hero-content.is-visible{ opacity: 1; transform: none; }

.hero-kicker{
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72) !important;
  margin-bottom: 14px;
}

.hero-h1{
  font-size: clamp(44px, 5.8vw, 68px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.86) !important;
}

.hero-en{
  margin-top: 14px;
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82) !important;
}

/* 首屏胶囊 */
.hero-chips-float{
  position: absolute;
  left:50%;
  bottom: clamp(84px, 14vh, 148px);
  transform: translateX(-50%) translateY(8px);
  width: min(980px, calc(100% - 48px));
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.hero-chips-float.is-visible{ opacity: 1; transform: translateX(-50%) translateY(0); }

.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

/* 分割线（严格居中） */
.after-hero{
  background: var(--bg);
  padding: 28px 0 34px;
}

.after-hero-divider{
  position: relative;
  display:flex;
  align-items: center;
  justify-content: center;
  width: min(100% - 56px, 1320px);
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15,23,42,.52);
  font-weight: 700;
}

.after-hero-left,
.after-hero-right{
  position: absolute;
  top: 0;
  height: 100%;
  display:flex;
  align-items:center;
  white-space: nowrap;
}

.after-hero-left{ left: 0; }
.after-hero-right{ right: 0; }

.after-hero-mid{
  color: rgba(15,23,42,.44);
  white-space: nowrap;
}

/* 页面结构 */
.page{
  width: min(100% - var(--page-pad) * 2, var(--page-max));
  margin: 0 auto;
  padding: 0 0 12px;
}

.section{ padding: var(--space-6) 0; }

h2{
  font-size: var(--h2);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
  color: rgba(15,23,42,.92);
}

h3{
  font-size: var(--h3);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,.90);
}

p{
  margin: 0;
  color: rgba(15,23,42,.78);
  max-width: 68ch;
}

.stack{ display:flex; flex-direction: column; gap: var(--space-3); }

/* 定位区块 */
.pos-intro{
  width: 100%;
  margin: 26px 0 var(--space-5);
  padding-left: 12px;
}

.pos-intro p{
  max-width: 110ch;
  color: rgba(15,23,42,.80);
}

/* 工作方式 + 价值取向 */
.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(15,23,42,.10);
}

.card--lg{
  padding: calc(var(--space-6) - 10px) var(--space-5);
}

.section-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

/* 图片位（占位/真实图片） */
.img-slot{
  border-radius: var(--radius);
  border: 1px dashed rgba(15,23,42,.20);
  background: rgba(255,255,255,.85);
  min-height: 320px;
  display:flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.img-slot--wide{ min-height: 320px; }
.img-slot--card{ min-height: 180px; margin-top: var(--space-3); }

.img-slot-inner{ text-align:center; color: rgba(15,23,42,.56); }
.img-slot-title{ font-weight: 700; letter-spacing: .06em; }
.img-slot-sub{ margin-top: 8px; font-size: 13px; color: rgba(15,23,42,.48); }

.img-slot--img{
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
}

.slot-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

/* 洞察与发现 */
.insight{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-5);
  align-items: start;
}

.insight-text p{ max-width: 95ch; }
.insight-actions{ margin-top: var(--space-3); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.18);
  background: rgba(255,255,255,.70);
  text-decoration: none;
  font-size: 14px;
  color: rgba(15,23,42,.86);
}

.btn:hover{
  background: rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.24);
  color: rgba(15,23,42,.92);
}

/* 与 WIRTUNE I&T 的关系 */
.rel-block{
  padding-left: 12px;
  gap: 20px;
}

.rel-block h2{ margin-bottom: 0; }

.p-relwide{ max-width: 110ch; }

.wide-media{
  margin-top: 14px;
  margin-bottom: -10px;
}

/* 页脚 */
.footer{
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  padding-bottom: 0;
  border-top: 1px solid var(--border);
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: 0;
}

.footer-brand{ font-weight: 700; letter-spacing: .02em; color: rgba(15,23,42,.92); }
.footer-meta{ margin-top: 6px; font-size: 13px; color: rgba(15,23,42,.60); }

.footer-right{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.footer-link{
  font-size: 13px;
  color: rgba(15,23,42,.66);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-link:hover{
  color: rgba(15,23,42,.86);
  border-bottom-color: rgba(15,23,42,.22);
}

.footer-text{
  font-size: 13px;
  color: rgba(15,23,42,.60);
  white-space: nowrap;
}

/* 响应式 */
@media (max-width: 820px){
  .section-grid{ grid-template-columns: 1fr; gap: var(--space-4); }
  .card--lg{ padding: var(--space-5) var(--page-pad); }
  .p-relwide{ max-width: 72ch; }

  .insight{ grid-template-columns: 1fr; gap: var(--space-4); }

  .after-hero-divider{
    width: calc(100% - 36px);
    font-size: 11px;
    letter-spacing: .10em;
  }

  .rel-block{ padding-left: 0; }
  .wide-media{ margin-bottom: 0; }
}

@media (max-width: 720px){
  :root{ --hero-safe-top: 52px; }

  .hero-fs{ padding: calc(var(--hero-safe-top) + 8px) 18px 52px; }

  .hero-content{
    width: min(640px, 100%);
    text-align: left;
    margin-top: -12vh;
  }

  .hero-h1{ font-size: clamp(40px, 9.6vw, 52px); }
  .hero-en{ font-size: 15px; }

  .hero-chips-float{
    left: 18px;
    right: 18px;
    width: auto;
    transform: translateY(8px);
    justify-content: flex-start;
    bottom: 72px;
  }

  .hero-chips-float.is-visible{ transform: translateY(0); }

  /* 移动端页脚 */
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding-bottom: 0;
  }

  .footer-right{
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px 14px;
  }

  .footer-text{
    white-space: normal;
    flex: 0 0 100%;
    width: 100%;
  }

/* 低性能降级 */
html.perf-low .hero-video{ display:none !important; }

html.perf-low .hero-content{
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.perf-low .hero-chips-float{
  opacity: 1 !important;
  transform: translateX(-50%) !important;
  transition: none !important;
}

@media (max-width: 720px){
  html.perf-low .hero-chips-float{ transform: none !important; }
}

html.perf-low .chip{
  backdrop-filter: none !important;
  filter: none !important;
}

html.perf-low .card{ box-shadow: none !important; }


/* 洞察页：仅做局部覆盖，避免影响其他页面 */
.page--insights{ padding-top: 110px; }

.ins-hero{
  padding: 72px 0 34px;
}

.ins-kicker{
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 700;
  color: rgba(15,23,42,.52);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ins-h1{
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 48px);
  letter-spacing: -0.02em;
  color: rgba(15,23,42,.92);
}

.ins-lead{
  margin: 0;
  max-width: 90ch;
  color: rgba(15,23,42,.78);
}

.ins-toolbar{
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ins-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ins-tag{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.70);
  text-decoration: none;
  color: rgba(15,23,42,.78);
  font-size: 13px;
}
.ins-tag:hover{
  background: rgba(255,255,255,.92);
  color: rgba(15,23,42,.92);
  border-color: rgba(15,23,42,.18);
}

.ins-list{ padding-top: 34px; }

.ins-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ins-card{
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}

.ins-card-link{
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.ins-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
  margin-bottom: 10px;
}
.ins-dot{ opacity: .7; }

.ins-title{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,.92);
  max-width: 52ch;
}

.ins-desc{
  margin: 0;
  color: rgba(15,23,42,.75);
  max-width: 70ch;
}

.ins-bottom{
  margin-top: 18px;
}

.ins-note{
  font-size: 13px;
  color: rgba(15,23,42,.60);
}

/* 小屏：单列、按钮靠左 */
@media (max-width: 820px){
  .ins-grid{ grid-template-columns: 1fr; }
  .ins-toolbar{ flex-direction: column; align-items: flex-start; }
}