:root {
  --yellow: #ffd21f;
  --yellow-deep: #e6b900;
  --ink: #11130f;
  --ink-soft: #1a1d17;
  --paper: #f5f2e9;
  --white: #ffffff;
  --muted: #696b65;
  --line: #dedbd2;
  --green: #16a267;
  --shadow: 0 18px 48px rgba(17, 19, 15, 0.12);
  --radius: 20px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(22, 162, 103, 0.48); outline-offset: 3px; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 19, 15, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  color: var(--white);
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(255, 210, 31, 0.7);
}
.brand-copy { display: flex; align-items: center; gap: 14px; line-height: 1.18; }
.brand-name { font-size: 27px; font-weight: 950; letter-spacing: 0.02em; }
.brand-name span { color: var(--yellow); }
.brand-slogan { color: var(--yellow); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.nav a {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  font-weight: 750;
  transition: color .2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--yellow); }
.nav .nav-chat,
.nav .nav-chat[aria-current="page"] {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17,19,15,.96) 0%, rgba(17,19,15,.86) 43%, rgba(17,19,15,.25) 100%),
    url("hero-it-image.jpg") center / cover no-repeat;
}
.hero-content {
  max-width: var(--container);
  padding: 76px 0;
  color: var(--white);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--yellow);
  font-weight: 900;
  font-size: clamp(17px, 1.25vw, 20px);
  letter-spacing: .06em;
}
.eyebrow::before { content: ""; width: 38px; height: 3px; background: currentColor; }
.hero h1 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.hero h1 span { color: var(--yellow); white-space: nowrap; }
.hero-lead {
  max-width: 1040px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.77);
  font-size: clamp(18px, 1.5vw, 21px);
}
.hero-lead span { display: block; }

@media (min-width: 981px) {
  .hero-lead span { white-space: nowrap; }
}
.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(255, 210, 31, .2);
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }

.trust-strip {
  background: var(--yellow);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(17,19,15,.12);
}
.trust-grid div {
  min-height: 96px;
  display: grid;
  place-content: center;
  padding: 18px;
  background: var(--yellow);
  text-align: center;
}
.trust-grid strong { font-size: 18px; }
.trust-grid span { color: rgba(17,19,15,.66); font-size: 13px; }

.section { padding: 82px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-yellow { background: var(--yellow); }
.section-head {
  max-width: 920px;
  margin-bottom: 36px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 850;
  font-size: 14px;
  letter-spacing: .08em;
}
.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.section-dark .section-head p { color: rgba(255,255,255,.64); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.agent-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agent-grid .content-card { padding: 28px; }
.agent-grid .content-card h2 { margin-top: 6px; font-size: 23px; }
.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-body { padding: 26px; }
.card-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}
.service-card h3 { margin: 6px 0 10px; font-size: 24px; }
.service-card p { margin: 0; color: var(--muted); }
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 850;
}
.text-link::after { content: "→"; margin-left: 8px; color: var(--green); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.feature-list,
.check-list,
.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li,
.check-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 32px;
}
.feature-list li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.process-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(17,19,15,.07);
}
.process-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
}
.process-card h3 { margin: 0 0 8px; }
.process-card p { margin: 0; color: var(--muted); }
.section-dark .process-card {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  color: var(--white);
  box-shadow: none;
}
.section-dark .process-card p { color: rgba(255,255,255,.62); }

.page-hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,210,31,.18), transparent 30%),
    var(--ink);
  color: var(--white);
}
.page-hero-inner { max-width: none; }
.breadcrumbs { margin-bottom: 18px; color: rgba(255,255,255,.62); font-size: 15px; }
.breadcrumbs a:hover { color: var(--yellow); }
.page-hero h1 { max-width: 1000px; }
.page-hero p {
  max-width: 920px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 32px;
  align-items: start;
}
.content-card,
.side-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.content-card { padding: 36px; }
.content-card h2 { margin: 0 0 14px; font-size: 32px; }
.content-card h3 { margin: 32px 0 10px; font-size: 22px; }
.content-card p { color: var(--muted); font-size: 18px; }
.side-card {
  position: sticky;
  top: 106px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.side-card h2 { margin: 0 0 10px; font-size: 24px; }
.side-card p { color: var(--muted); }
.side-card .btn { width: 100%; margin-top: 10px; }
.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--yellow-deep);
  border-radius: 10px;
  background: #fff8d8;
  color: #5f4b00;
}

.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; }
.faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 850;
}
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 17px; }

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: start;
}
.chat-shell {
  min-height: 640px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}
.chat-header strong { display: block; }
.chat-status { color: var(--green); font-size: 13px; }
.chat-messages {
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(17,19,15,.03) 30px);
}
.message {
  max-width: min(82%, 620px);
  margin: 0 0 14px;
  padding: 13px 16px;
  border-radius: 18px 18px 18px 5px;
  background: #f0eee7;
  white-space: pre-wrap;
}
.message.user {
  margin-left: auto;
  border-radius: 18px 18px 5px 18px;
  background: var(--yellow);
}
.message-meta { margin-top: 5px; color: var(--muted); font-size: 11px; }
.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 12px;
  background: var(--white);
}
.quick-prompts button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.quick-prompts button:hover { border-color: var(--green); color: var(--green); }
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.chat-input {
  min-width: 0;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid #cfcac0;
  border-radius: 14px;
  resize: none;
}
.chat-submit {
  min-width: 92px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}
.chat-side { display: grid; gap: 18px; }
.integration-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
}
.integration-card h2 { margin: 0 0 10px; font-size: 22px; }
.integration-card p { margin: 0; color: rgba(255,255,255,.65); }
.integration-card .check-list li { color: rgba(255,255,255,.78); }
.demo-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,210,31,.14);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 850;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.cta p { margin: 8px 0 0; color: rgba(17,19,15,.65); }

.site-footer {
  padding: 44px 0 86px;
  background: var(--ink);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 38px;
}
.footer-title { margin: 0 0 12px; color: var(--yellow); font-size: 21px; }
.footer-copy { margin: 0; color: rgba(255,255,255,.58); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.46);
  font-size: 13px;
}
.record-links { display: flex; flex-wrap: wrap; gap: 14px; }
.record-links a:hover { color: var(--yellow); }
.mobile-action-bar { display: none; }
.wechat-float {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 88;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 138px;
  padding: 11px 15px 11px 11px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: #07c160;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wechat-float:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.wechat-float-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #07a950;
  font-size: 16px;
}
.wechat-float-copy {
  display: grid;
  line-height: 1.1;
}
.wechat-float-copy small {
  margin-top: 4px;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 700;
}

@media (min-width: 981px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(17,19,15,.97) 0%, rgba(17,19,15,.90) 42%, rgba(17,19,15,.42) 68%, rgba(17,19,15,.12) 100%),
      url("hero-it-image.jpg") left 46% / 128% auto no-repeat;
  }
}

@media (min-width: 1440px) {
  .container { width: min(calc(100% - 80px), var(--container)); }
}

@media (max-width: 980px) {
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .brand { gap: 12px; }
  .brand-logo { width: 64px;
  height: 64px;
  border-radius: 16px; }
  .brand-copy { display: grid; gap: 0; }
  .brand-name { font-size: 22px; }
  .brand-slogan { color: rgba(255,255,255,.6); font-size: 12px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    padding: 12px 14px 16px;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav[data-open="true"] { display: grid; }
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    text-align: center;
    white-space: nowrap;
  }
  .nav .nav-chat,
  .nav .nav-chat[aria-current="page"] {
    justify-content: center;
    margin-top: 0;
  }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid,
  .chat-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-logo { width: 46px; height: 46px; border-radius: 12px; }
  .brand-name { font-size: 19px; }
  .brand-copy { gap: 2px; }
  .brand-slogan {
    display: block;
    color: var(--yellow);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .03em;
    white-space: nowrap;
  }
  .hero { min-height: 660px; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(17,19,15,.96), rgba(17,19,15,.72)),
      url("hero-it-image.jpg") 66% center / cover no-repeat;
  }
  .hero-content { padding: 64px 0 72px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .eyebrow {
    gap: 9px;
    margin-bottom: 18px;
    font-size: clamp(15px, 4.2vw, 17px);
  }
  .eyebrow::before { width: 28px; height: 2px; }
  .hero-lead { font-size: 17px; }
  .hero-lead span { display: inline; }
  .hero-actions .btn,
  .button-row .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div { min-height: 86px; padding: 14px 8px; }
  .trust-grid strong { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-head h2,
  .page-hero h1 { font-size: clamp(31px, 9vw, 42px); }
  .card-grid,
  .process-grid,
  .split { grid-template-columns: 1fr; }
  .site-footer { padding: 32px 0 76px; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-title { margin-bottom: 10px; font-size: 19px; }
  .footer-copy,
  .footer-links a { font-size: 14px; }
  .footer-links { gap: 7px; }
  .process-grid { gap: 12px; }
  .process-card { padding: 20px; }
  .process-number { margin-bottom: 14px; }
  .split { gap: 32px; }
  .page-hero { padding: 48px 0 44px; }
  .page-hero p { font-size: 16px; }
  .content-card { padding: 22px; }
  .content-card h2 { font-size: 27px; }
  .content-card h3 { margin-top: 26px; font-size: 21px; }
  .chat-shell {
    min-height: calc(100svh - 150px);
    border-radius: 18px;
  }
  .chat-header { padding: 15px; }
  .chat-messages { padding: 16px; }
  .message { max-width: 90%; }
  .quick-prompts {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-inline: 14px;
  }
  .quick-prompts button { flex: 0 0 auto; }
  .chat-form { grid-template-columns: 1fr 74px; padding: 12px; }
  .chat-submit { min-width: 0; }
  .cta { align-items: flex-start; flex-direction: column; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    font-size: 12px;
  }
  .record-links { gap: 6px; }
  .wechat-float { display: none; }
  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
    box-shadow: 0 -8px 30px rgba(0,0,0,.2);
  }
  .mobile-action-bar a {
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 850;
  }
  .mobile-action-bar a:first-child { background: var(--yellow); color: var(--ink); }
}

@media (max-width: 380px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero { min-height: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
