/* ============================================================
   元企智工 官网  ·  design tokens + base + sections
   Display face: 得意黑 Smiley Sans (oblique, tech). Body: Noto Sans SC
   ============================================================ */

@import url('https://cdn.jsdelivr.net/npm/cn-fontsource-smiley-sans-oblique-regular/font.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  /* brand */
  --orange:      #FF6A1A;
  --orange-deep: #EA5A0C;
  --orange-soft: #FFF1E7;
  --orange-line: #FFD8BD;

  /* ink + paper (warm neutrals) */
  --ink:    #17181C;
  --ink-2:  #555761;
  --ink-3:  #8C8E97;
  --line:   #ECEAE4;
  --line-2: #E0DDD5;
  --paper:  #FFFFFF;
  --paper-2:#FAF8F4;
  --paper-3:#F3F0EA;

  /* secondary accents (used sparingly) */
  --violet: #7C2BE0;
  --violet-soft:#F2E6FE;
  --blue:   #5B8DEF;
  --green:  #4FA45C;

  /* type */
  --font-body: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Smiley Sans Oblique", "Smiley Sans", "SmileySans-Oblique", var(--font-body);

  --maxw: 1240px;
  --nav-h: 80px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* the punchy display face — used for big chinese headlines */
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 400);   /* smiley sans ships one weight; it reads bold */
  letter-spacing: .01em;
}

.app { overflow-x: hidden; }

/* ---- shared layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em;
  color: var(--orange-deep); text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px;
}

.section-head { margin-bottom: 48px; }
.section-title.display {
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; color: var(--ink);
}
.section-sub { margin-top: 16px; max-width: 620px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; font-weight: 700; font-size: 16px;
  padding: 15px 26px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(255,106,26,.7); }
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 14px 30px -10px rgba(255,106,26,.8); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn .arrow {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.22); font-size: 14px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; background: transparent;
  display: grid; place-items: center; flex: 0 0 auto;
}
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; }
.brand-name.display { font-size: 26px; color: var(--ink); white-space: nowrap; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 16px; color: var(--ink-2);
  transition: background .16s, color .16s; white-space: nowrap;
}
.nav-links a:hover { background: var(--paper-3); color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 700; }

/* AI 员工 hover dropdown */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-item .caret { font-size: 10px; color: var(--ink-3); transition: transform .18s; }
.nav-item:hover .caret { transform: rotate(180deg); color: var(--ink); }
.nav-dd {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  padding-top: 12px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.nav-item:hover .nav-dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dd-card {
  width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px;
  box-shadow: 0 30px 60px -24px rgba(23,24,28,.35);
}
.dd-title { font-size: 12px; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; padding: 6px 10px 10px; }
.dd-row {
  display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0;
  padding: 9px 10px; border-radius: 12px; text-align: left; transition: background .14s;
}
.dd-row:hover { background: var(--paper-2); }
.dd-row img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.dd-meta { flex: 1; display: flex; flex-direction: column; }
.dd-meta b { font-size: 15px; font-weight: 700; color: var(--ink); }
.dd-meta i { font-size: 12px; color: var(--ink-3); font-style: normal; margin-top: 1px; }
.dd-arrow { color: var(--ink-3); font-size: 16px; opacity: 0; transition: opacity .14s, transform .14s; }
.dd-row:hover .dd-arrow { opacity: 1; transform: translateX(2px); }
.dd-all {
  width: 100%; margin-top: 6px; background: var(--orange-soft); color: var(--orange-deep); border: 0;
  border-radius: 12px; padding: 12px; font-weight: 700; font-size: 14px; transition: background .14s;
}
.dd-all:hover { background: var(--orange-line); }
.nav-spacer { flex: 1; }
.nav .login { padding: 11px 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(23,24,28,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,24,28,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 36%, #000 38%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 36%, #000 38%, transparent 78%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  height: 880px;
  display: grid; place-items: center;
}

/* center content sits in front of the ring */
.hero-center {
  position: relative; z-index: 6; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  max-width: 620px; padding: 0 20px;
  pointer-events: none; /* let drags hit the ring; re-enable on interactives */
}
.hero-center::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 560px; height: 460px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.92) 42%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}
.hero-center > * { pointer-events: auto; }

.recruit-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  background: #fff; border: 1px solid var(--orange-line); color: var(--orange-deep);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 18px -10px rgba(255,106,26,.6);
}
.recruit-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,26,.18); }

.hero-headline.display {
  font-size: clamp(42px, 5vw, 72px); line-height: 1; color: var(--orange); white-space: nowrap;
  text-shadow: 0 2px 0 rgba(234,90,12,.12);
}
.hero-lede { margin-top: 20px; font-size: clamp(20px, 2.2vw, 26px); color: var(--ink-2); line-height: 1.5; font-weight: 500; }
.hero-lede b { color: var(--ink); font-weight: 700; }
.hero-lede em { font-style: normal; color: var(--orange-deep); font-weight: 800; }
.hero-action { font-size: 17px; padding: 17px 34px; }

.hero-cta { display: flex; gap: 14px; margin-top: 30px; align-items: center; flex-wrap: wrap; justify-content: center; }

.hero-tag {
  margin-top: 40px; display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.hero-tag .big.display { font-size: clamp(28px, 3.4vw, 44px); color: var(--ink); white-space: nowrap; }
.hero-tag .small { font-size: clamp(18px, 2vw, 26px); color: var(--ink-2); font-weight: 500; }
.hero-tag .small em { font-style: normal; color: var(--orange-deep); font-weight: 700; }

/* the rotating ring of character cards */
.ring-layer { position: absolute; inset: 0; z-index: 3; }
.ring {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  touch-action: none;
}
.char-card {
  position: absolute; left: 0; top: 0;
  width: 158px; height: 192px;
  margin-left: -79px; margin-top: -96px;
  border-radius: 24px;
  padding: 11px;
  box-shadow: 0 22px 40px -22px rgba(23,24,28,.5);
  border: 1px solid rgba(255,255,255,.6);
  display: flex; flex-direction: column;
  will-change: transform, opacity;
  cursor: grab;
  transition: box-shadow .2s ease;
  overflow: hidden;
}
.char-card:hover { box-shadow: 0 30px 54px -20px rgba(23,24,28,.6); }
.char-card .slot-wrap { flex: 1; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.16); }
.char-card image-slot { width: 100%; height: 100%; display: block; }
.char-card .role {
  margin-top: 9px; text-align: center; font-weight: 700; font-size: 15px;
  color: rgba(255,255,255,.96); letter-spacing: .04em;
}
.char-card.light .role { color: var(--ink); }

.ring-hint {
  position: absolute; z-index: 6; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 13px; color: var(--ink-3); letter-spacing: .12em; display: flex; align-items: center; gap: 8px;
}
.ring-hint .spin-ico { width: 15px; height: 15px; opacity: .6; }

/* coverflow variant track */
.coverflow { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; perspective: 1600px; }
.coverflow-track { position: relative; width: 100%; height: 300px; transform-style: preserve-3d; }
.coverflow .char-card { left: 50%; top: 50%; }

/* ============================================================
   GENERIC SECTION SHELL
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section.alt { background: var(--paper-2); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink .section-title.display { color: #fff; }
.section.ink .section-sub { color: rgba(255,255,255,.66); }

/* ---- 什么是 AI 数字员工 ---- */
.whatis-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.office-card {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #9B27E6, #7C2BE0 60%, #6A1FC4);
  padding: 26px 26px 0;
  box-shadow: 0 30px 60px -28px rgba(124,43,224,.65);
}
.office-card .caption { color: #fff; font-weight: 700; font-size: 18px; line-height: 1.5; max-width: 460px; margin-bottom: 22px; }
.office-card .scene { border-radius: 18px 18px 0 0; overflow: hidden; aspect-ratio: 16/10; }
.office-card image-slot { width: 100%; height: 100%; display: block; }
.office-float {
  position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; font-family: var(--font-display);
  color: var(--orange); font-size: 30px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
}
.whatis-copy .badge-q { font-size: 15px; color: var(--violet); font-weight: 700; letter-spacing: .1em; }
.whatis-copy h2.display { font-size: clamp(36px,4.4vw,58px); margin: 14px 0 26px; }
.whatis-copy .def { font-size: 20px; line-height: 1.85; color: var(--ink-2); }
.whatis-copy .def b { color: var(--ink); font-weight: 700; }
.whatis-copy .keychip {
  display: inline-block; background: var(--orange-soft); color: var(--orange-deep);
  font-weight: 700; padding: 2px 10px; border-radius: 7px; margin: 0 2px;
}
.whatis-meta { display: flex; gap: 18px; margin-top: 34px; }
.whatis-meta .m {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
}
.section.alt .whatis-meta .m { background: var(--paper); }
.whatis-meta .m .k.display { font-size: 30px; color: var(--orange); }
.whatis-meta .m .v { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ---- 雇用AI员工的优势 ---- */
.adv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.adv-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 0; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(23,24,28,.4); border-color: var(--orange-line); }
.adv-banner { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-3); }
.adv-banner img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.adv-card:hover .adv-banner img { transform: scale(1.05); }
.adv-chip {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  min-width: 46px; height: 46px; padding: 0 8px; display: grid; place-items: center;
  background: var(--orange); color: #fff; border-radius: 13px; font-size: 24px; line-height: 1;
  box-shadow: 0 10px 22px -10px rgba(255,106,26,.85);
}
.adv-body { padding: 26px 28px 30px; }
.adv-card h3 { font-size: 21px; margin: 0 0 12px; }
.adv-card p { font-size: 15px; line-height: 1.75; color: var(--ink-2); }

/* ---- 成为 Boss 的权益 ---- */
.rights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.right-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 30px;
  text-align: center; position: relative; transition: transform .22s ease, box-shadow .22s ease;
}
.right-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(23,24,28,.4); }
.right-illo {
  position: relative; height: 190px; margin: 0 auto 22px; display: grid; place-items: center;
}
.right-illo .blob { position: absolute; border-radius: 50% 48% 52% 50% / 50% 52% 48% 50%; filter: blur(.5px); }
.right-illo image-slot { position: relative; z-index: 2; width: 150px; height: 150px; }
.right-card h3 { font-size: 21px; margin-bottom: 12px; }
.right-card p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.rights-head { text-align: center; }
.rights-head .section-sub { margin-left: auto; margin-right: auto; }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: var(--ink); border-radius: 34px; padding: 70px 60px; position: relative; overflow: hidden;
  text-align: center;
}
.cta-inner .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,26,.5), transparent 66%); filter: blur(10px); }
.cta-inner .g1 { left: -120px; top: -180px; }
.cta-inner .g2 { right: -140px; bottom: -200px; background: radial-gradient(circle, rgba(124,43,224,.45), transparent 66%); }
.cta-inner h2.display { font-size: clamp(34px,4.6vw,62px); color: #fff; position: relative; }
.cta-inner h2.display em { font-style: normal; color: var(--orange); }
.cta-inner p { color: rgba(255,255,255,.72); font-size: 18px; margin: 18px auto 32px; max-width: 540px; position: relative; }
.cta-inner .hero-cta { justify-content: center; position: relative; }

/* ---- footer ---- */
.foot { background: var(--ink); color: rgba(255,255,255,.6); padding: 60px 0 40px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand-name.display { color: #fff; }
.foot .brand-mark { background: #fff; border-radius: 9px; padding: 5px; }
.foot-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.foot-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,.6); }
.foot-col a:hover { color: #fff; }
.foot-cols { display: flex; gap: 64px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.4); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- QR 预约 modal ---- */
.qr-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(15,15,18,.62);
  backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px;
  animation: qrFade .2s ease;
}
@keyframes qrFade { from { opacity: 0; } to { opacity: 1; } }
.qr-modal {
  position: relative; width: min(420px, 92vw); background: #fff; border-radius: 26px;
  padding: 38px 34px 30px; text-align: center; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
  animation: qrPop .26s cubic-bezier(.2,.8,.2,1);
}
@keyframes qrPop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.qr-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--paper-2); color: var(--ink-2); font-size: 15px; transition: background .14s, color .14s;
}
.qr-close:hover { background: var(--paper-3); color: var(--ink); }
.qr-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--orange-deep); background: var(--orange-soft); padding: 6px 14px; border-radius: 999px;
}
.qr-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,26,.18); }
.qr-title { font-size: 30px; line-height: 1.12; margin: 18px 0 12px; color: var(--ink); }
.qr-sub { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 320px; margin: 0 auto; }
.qr-sub b { color: var(--ink); font-weight: 700; }
.qr-img {
  width: 220px; height: 220px; margin: 24px auto 16px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); padding: 10px; background: #fff; box-shadow: 0 12px 30px -16px rgba(0,0,0,.3);
}
.qr-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-foot {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--paper-2); padding: 10px 18px; border-radius: 999px;
}
.qr-foot svg { color: var(--orange-deep); }

@media (max-width: 1080px) {
  .whatis-grid { grid-template-columns: 1fr; gap: 40px; }
  .adv-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .adv-grid, .rights-grid { grid-template-columns: 1fr; }
  .hero-stage { height: 760px; }
}
