/* ============================================================
   启思科技 · Landing 样式
   风格：编辑排版（Editorial）— 米纸底、衬线大标题、朱红点缀
   ============================================================ */

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:      #f4f1e8;
  --paper-2:    #ece8db;
  --card:       #fbf9f3;
  --ink:        #17130d;
  --ink-2:      #4d4636;
  --mute:       #8b8171;
  --line:       rgba(23, 19, 13, .16);
  --line-soft:  rgba(23, 19, 13, .09);
  --accent:     #e8490f;
  --accent-soft:rgba(232, 73, 15, .1);
  --dark:       #15120e;
  --dark-2:     #1e1a15;
  --dark-text:  #efe9da;
  --dark-mute:  #9b9180;
  --dark-line:  rgba(239, 233, 218, .16);
  --radius:     22px;
  --radius-lg:  32px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans:  "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", -apple-system,
           BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease:  cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

/* 纸面颗粒 */
.grain {
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 布局 ---------- */
.wrap { width: min(1240px, 92vw); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 241, 232, .86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav .inner { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .35s var(--ease); }
.nav.scrolled .inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 900; font-size: 21px; letter-spacing: .5px; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; font-weight: 900; line-height: 1;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.brand:hover .mark { background: var(--accent); transform: rotate(-6deg); }
.brand .brand-text i { font-style: normal; color: var(--accent); }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > a:not(.btn) {
  padding: 9px 15px; border-radius: 999px;
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: color .25s, background .25s;
}
.menu > a:not(.btn):hover { color: var(--ink); background: rgba(23, 19, 13, .06); }

.lang-btn {
  padding: 8px 15px; margin: 0 10px 0 4px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  cursor: pointer; font-family: inherit;
  transition: all .25s var(--ease);
}
.lang-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  cursor: pointer; border: 1px solid transparent; font-family: inherit;
  transition: all .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(232, 73, 15, .55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: var(--dark-text); border-color: var(--dark-line); }
.btn-ghost-light:hover { border-color: var(--dark-text); transform: translateY(-2px); }

/* ---------- 通用标题 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); }

.sec-head {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px;
  align-items: end; margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.14; letter-spacing: -1px; margin-top: 20px;
}
.sec-head h2 em { font-style: italic; font-weight: 600; color: var(--accent); }
.sec-head p { color: var(--ink-2); font-size: 16.5px; max-width: 420px; justify-self: end; padding-bottom: 8px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(150px, 18vw, 210px) 0 clamp(56px, 7vw, 90px); position: relative; }
.hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(42px, 7.4vw, 96px);
  line-height: 1.12; letter-spacing: -2px;
  margin: 26px 0 30px; max-width: 1000px;
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--accent); }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 620px; margin-bottom: 42px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 旋转徽章 */
.seal {
  position: absolute; top: clamp(120px, 15vw, 170px); right: 4vw;
  width: clamp(110px, 12vw, 150px); aspect-ratio: 1;
  pointer-events: none;
}
.seal svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font-size: 10.5px; letter-spacing: 2.6px; fill: var(--ink-2); font-weight: 600; }
.seal .dot {
  position: absolute; inset: 36%;
  border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: #fff;
}
.seal .dot svg { width: 46%; height: 46%; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 数据行 */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 7vw, 90px);
  border-top: 1px solid var(--line);
}
.stats .item { padding: 30px 28px 6px 0; border-right: 1px solid var(--line-soft); }
.stats .item + .item { padding-left: 34px; }
.stats .item:last-child { border-right: 0; }
.stats .num {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -1px;
}
.stats .num sup { font-size: .45em; color: var(--accent); font-weight: 600; }
.stats .lab { font-size: 13.5px; color: var(--mute); margin-top: 10px; letter-spacing: .04em; }

/* ---------- 跑马灯 ---------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 18px 0; background: var(--paper-2);
}
.ticker-track { display: flex; gap: 0; width: max-content; animation: marquee 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  color: var(--ink-2); white-space: nowrap;
}
.ticker span::after { content: "✦"; color: var(--accent); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 核心业务 · Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento .card {
  position: relative; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line-soft);
  padding: clamp(30px, 3.6vw, 46px); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.bento .card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 30px 60px -30px rgba(23, 19, 13, .28);
}
.bento .card-soft { grid-column: span 7; }
.bento .card-hard { grid-column: span 5; }
.bento .card .idx {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--mute); display: block; margin-bottom: 22px;
}
.bento .card h3 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.5px; margin-bottom: 14px;
}
.bento .card > p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 26px; }
.bento .feat { display: grid; gap: 12px; }
.bento .feat li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.bento .feat li svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.bento .card .glyph {
  position: absolute; right: -14px; bottom: -30px;
  font-family: var(--serif); font-weight: 900; font-style: italic;
  font-size: 170px; line-height: 1; color: var(--accent-soft);
  pointer-events: none; user-select: none;
}

/* 暗色横幅卡 */
.bento .banner {
  grid-column: span 12;
  background: var(--dark); color: var(--dark-text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.bento .banner h3 { font-size: clamp(22px, 2.8vw, 34px); }
.bento .banner h3 em { font-style: italic; font-weight: 600; color: var(--accent); }
.bento .banner p { color: var(--dark-mute); font-size: 15px; max-width: 480px; }
.bento .banner .arrow {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--dark-line); display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.bento .banner .arrow svg { width: 22px; height: 22px; }
.bento .banner:hover .arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }

/* ---------- 产品矩阵 · 编辑列表 ---------- */
.plist { border-top: 1px solid var(--line); }
.prow {
  display: grid; grid-template-columns: 70px 1.1fr 1.4fr 60px;
  gap: 24px; align-items: center;
  padding: 34px 18px; border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), padding .35s var(--ease);
  position: relative;
}
.prow .no { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--mute); transition: color .35s; }
.prow .name { font-family: var(--serif); font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.5px; }
.prow .name small {
  display: block; font-family: var(--sans); font-weight: 600; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.prow .desc { color: var(--ink-2); font-size: 15px; max-width: 520px; transition: color .35s; }
.prow .go {
  width: 46px; height: 46px; border-radius: 50%; justify-self: end;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .35s var(--ease);
}
.prow .go svg { width: 18px; height: 18px; }
.prow:hover { background: var(--ink); color: var(--paper); padding-left: 30px; }
.prow:hover .desc { color: var(--dark-mute); }
.prow:hover .no { color: var(--accent); }
.prow:hover .go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }

/* ---------- 优势 · 暗色区 ---------- */
.dark-sec { background: var(--dark); color: var(--dark-text); border-radius: var(--radius-lg); padding: clamp(48px, 6vw, 80px); }
.dark-sec .eyebrow { color: var(--accent); }
.dark-sec h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.16; letter-spacing: -1px;
  margin: 18px 0 14px; max-width: 640px;
}
.dark-sec h2 em { font-style: italic; font-weight: 600; color: var(--accent); }
.dark-sec > .lead { color: var(--dark-mute); max-width: 560px; margin-bottom: 54px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); }
.adv { padding: 34px 26px 10px 0; border-right: 1px solid var(--dark-line); }
.adv + .adv { padding-left: 26px; }
.adv:last-child { border-right: 0; }
.adv .no { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--accent); display: block; margin-bottom: 20px; }
.adv h4 { font-family: var(--serif); font-weight: 900; font-size: 21px; margin-bottom: 12px; }
.adv p { font-size: 14px; color: var(--dark-mute); line-height: 1.75; }

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.about blockquote {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.32; letter-spacing: -.5px;
  margin: 22px 0 30px; position: relative; padding-left: 30px;
}
.about blockquote::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; border-radius: 4px; background: var(--accent);
}
.about blockquote em { font-style: italic; font-weight: 600; color: var(--accent); }
.about .txt p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
.about .check { display: grid; gap: 13px; margin-top: 26px; }
.about .check li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.about .check li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.about-panel {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 42px);
  position: sticky; top: 110px;
}
.about-panel h5 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 26px;
}
.about-panel .row { margin-bottom: 24px; }
.about-panel .row:last-child { margin-bottom: 0; }
.about-panel .row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; font-size: 14px; color: var(--ink-2); }
.about-panel .row .top b { font-family: var(--serif); font-size: 21px; font-weight: 900; color: var(--ink); }
.about-panel .bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.about-panel .bar i { display: block; height: 100%; border-radius: 6px; background: var(--accent); width: 0; transition: width 1.2s var(--ease); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--dark-text);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 8vw, 100px) clamp(28px, 6vw, 80px);
  text-align: center;
}
.cta::before {
  content: "✦"; position: absolute;
  top: -60px; right: -20px; font-size: 260px; line-height: 1;
  color: rgba(232, 73, 15, .16); pointer-events: none;
}
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::before { display: none; }
.cta h2 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(32px, 5vw, 60px); letter-spacing: -1px; line-height: 1.15;
  margin: 20px 0 18px;
}
.cta h2 em { font-style: italic; font-weight: 600; color: var(--accent); }
.cta p { color: var(--dark-mute); max-width: 560px; margin: 0 auto 40px; font-size: 16.5px; }
.cta .hero-actions { justify-content: center; }

/* ---------- 页脚 ---------- */
footer { background: var(--dark); color: var(--dark-text); margin-top: clamp(60px, 8vw, 110px); }
.foot { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; padding: clamp(56px, 7vw, 84px) 0 48px; }
.foot .brand { color: var(--dark-text); }
.foot .brand .mark { background: var(--paper); color: var(--ink); }
.foot .brand:hover .mark { background: var(--accent); color: #fff; }
.foot p.desc { color: var(--dark-mute); font-size: 14px; max-width: 300px; margin: 18px 0 22px; }
.foot .social { display: flex; gap: 10px; }
.foot .social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--dark-line); display: grid; place-items: center;
  color: var(--dark-mute); transition: all .3s var(--ease);
}
.foot .social a:hover { color: #fff; border-color: var(--accent); background: var(--accent); }
.foot .social svg { width: 17px; height: 17px; }
.foot h5 { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dark-mute); margin-bottom: 20px; }
.foot ul { display: grid; gap: 12px; }
.foot ul a, .foot ul li { color: var(--dark-mute); font-size: 14.5px; transition: color .25s; }
.foot ul a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px 0 30px; border-top: 1px solid var(--dark-line);
  color: var(--dark-mute); font-size: 13px; text-align: center;
}
.foot-bottom a { color: var(--dark-mute); transition: color .25s; }
.foot-bottom a:hover { color: var(--accent); }
.foot-bottom .legal-links { display: flex; gap: 22px; margin-top: 4px; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--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 (max-width: 980px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head p { justify-self: start; }
  .bento .card-soft, .bento .card-hard { grid-column: span 12; }
  .prow { grid-template-columns: 46px 1fr 52px; }
  .prow .desc { grid-column: 2 / 3; grid-row: 2; max-width: none; margin-top: -8px; }
  .prow .go { grid-row: 1; }
  .adv-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .adv:nth-child(2) { border-right: 0; }
  .adv:nth-child(3), .adv:nth-child(4) { border-top: 1px solid var(--dark-line); }
  .about { grid-template-columns: 1fr; }
  .about-panel { position: static; }
  .foot { grid-template-columns: 1fr 1fr; gap: 36px; }
  .seal { display: none; }
}
@media (max-width: 720px) {
  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: rgba(244, 241, 232, .97); backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 100px 26px 40px; gap: 6px;
    transform: translateX(110%); transition: transform .4s var(--ease);
  }
  .menu.open { transform: none; }
  .menu > a:not(.btn) { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .lang-btn { margin: 10px 0 4px; align-self: flex-start; }
  .menu .btn { width: 100%; justify-content: center; margin-top: 10px; }
  .burger { display: flex; }
  .stats { grid-template-columns: 1fr; }
  .stats .item { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 22px 0; }
  .stats .item + .item { padding-left: 0; }
  .stats .item:last-child { border-bottom: 0; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv { border-right: 0; border-bottom: 1px solid var(--dark-line); padding: 26px 0 !important; }
  .adv:last-child { border-bottom: 0; }
  .foot { grid-template-columns: 1fr; }
  .prow { padding-left: 6px; }
  .prow:hover { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
