:root {
  --ink: #0b1728;
  --ink-2: #14243a;
  --paper: #f4f7fa;
  --white: #ffffff;
  --muted: #5f6d7c;
  --line: #d9e1e8;
  --blue: #1268ff;
  --cyan: #22d3c5;
  --orange: #ff6a3d;
  --shadow: 0 24px 70px rgba(10, 34, 66, .12);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); line-height: 1.5; }
a { color: inherit; }
img { display: block; max-width: 100%; }
code { font-family: "SFMono-Regular", Consolas, monospace; }

.site-header { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 0 max(24px,4vw); border-bottom: 1px solid rgba(217,225,232,.82); background: rgba(244,247,250,.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(145deg,var(--blue),#0748ba); box-shadow: 0 10px 24px rgba(18,104,255,.24); font: 850 13px/1 Arial,sans-serif; }
.brand > span:last-child { display: grid; gap: 3px; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand small { color: #7f8b98; font: 700 8px/1.1 Consolas,monospace; letter-spacing: .12em; }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { color: #526171; font-size: 13px; font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--blue); }
.header-action { display: inline-flex; align-items: center; gap: 10px; justify-self: end; padding: 11px 17px; border-radius: 10px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 740; text-decoration: none; }
.header-action span { color: var(--cyan); }

.hero { position: relative; display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(44px,5.5vw,84px); align-items: center; min-height: calc(100vh - 76px); max-width: 1440px; margin: 0 auto; padding: 64px max(24px,4vw) 68px; }
.hero::before { position: absolute; top: 0; left: 38%; z-index: -1; width: 46vw; height: 46vw; border-radius: 50%; background: radial-gradient(circle,rgba(18,104,255,.11),rgba(34,211,197,.03) 50%,transparent 70%); content: ""; filter: blur(12px); }
.eyebrow { margin: 0; color: var(--blue); font: 780 11px/1.3 Consolas,monospace; letter-spacing: .13em; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-copy > .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,197,.12); }
.hero h1 { max-width: 690px; margin: 28px 0 24px; font-size: clamp(58px,5.9vw,94px); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.82; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 760; text-decoration: none; transition: transform .2s ease,box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 16px 34px rgba(18,104,255,.25); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.7); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 38px 0 0; color: #667586; font-size: 11px; line-height: 1.6; }
.hero-proof i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,197,.1); }
.hero-proof b { color: #a0acb8; font-weight: 600; }

.hero-visual { min-width: 0; }
.visual-frame { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 28px; background: #07111e; box-shadow: var(--shadow); }
.visual-frame > img { width: 100%; min-height: 570px; object-fit: cover; object-position: center; }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(4,13,25,.03),rgba(4,13,25,.04) 50%,rgba(4,13,25,.56)); }
.live-label { position: absolute; top: 22px; left: 22px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(6,17,31,.62); backdrop-filter: blur(12px); font: 760 10px/1 Consolas,monospace; letter-spacing: .1em; }
.live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.mapping-card { position: absolute; right: 22px; bottom: 22px; left: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 17px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; color: #fff; background: rgba(7,18,33,.8); box-shadow: 0 18px 44px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.mapping-card span { color: #91a2b5; font: 700 9px/1 Consolas,monospace; letter-spacing: .09em; }
.mapping-card code { overflow-wrap: anywhere; color: #fff; font-size: 13px; }
.mapping-card b { width: max-content; padding: 7px 10px; border-radius: 999px; color: #fff; background: #d84837; font-size: 9px; }
.visual-caption { display: flex; justify-content: space-between; padding: 14px 4px 0; color: #718091; font: 700 9px/1 Consolas,monospace; letter-spacing: .11em; }

.protocol-strip { display: flex; align-items: center; justify-content: center; gap: 26px; min-height: 82px; padding: 20px 4vw; overflow: hidden; color: #5d6c7c; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 760 11px/1 Consolas,monospace; letter-spacing: .11em; white-space: nowrap; }
.protocol-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.section { max-width: 1380px; margin: 0 auto; padding: 104px max(24px,4vw); }
.section-heading { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(300px,.64fr); gap: clamp(50px,8vw,120px); align-items: end; margin-bottom: 46px; }
.section-heading h2 { max-width: 820px; margin: 18px 0 0; font-size: clamp(42px,4.7vw,70px); line-height: 1.07; letter-spacing: -.055em; text-wrap: balance; }
.section-heading > p { max-width: 570px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.section-heading.compact h2 { font-size: clamp(40px,4.2vw,62px); }

.outcomes { max-width: none; background: #fff; }
.outcomes > * { max-width: 1324px; margin-right: auto; margin-left: auto; }
.outcome-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.outcome-grid article { position: relative; min-height: 324px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #f8fafc; }
.outcome-grid article::after { position: absolute; right: -60px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: rgba(18,104,255,.05); content: ""; }
.outcome-grid .featured-outcome { color: #fff; border-color: var(--blue); background: linear-gradient(150deg,#1268ff,#0b4ab9); box-shadow: 0 20px 50px rgba(18,104,255,.2); }
.card-number { color: #8a97a4; font: 740 10px/1 Consolas,monospace; }
.featured-outcome .card-number { color: rgba(255,255,255,.62); }
.outcome-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 60px 0 22px; border-radius: 15px; color: var(--blue); background: #e9f0ff; font-size: 24px; }
.featured-outcome .outcome-icon { color: #071f49; background: var(--cyan); }
.outcome-grid h3 { margin: 0 0 13px; font-size: 24px; letter-spacing: -.03em; }
.outcome-grid p { max-width: 350px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.featured-outcome p { color: rgba(255,255,255,.75); }

.workflow-list { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 22px 22px 0 0; background: #fff; list-style: none; }
.workflow-list li { min-height: 192px; padding: 26px; border-right: 1px solid var(--line); }
.workflow-list li:last-child { border-right: 0; }
.workflow-list li > span { display: inline-block; color: var(--blue); font: 760 11px/1 Consolas,monospace; }
.workflow-list li div { margin-top: 56px; }
.workflow-list h3 { margin: 0 0 9px; font-size: 21px; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.mapping-demo { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; padding: 25px 28px; border-radius: 0 0 22px 22px; color: #fff; background: var(--ink); }
.mapping-demo > span { color: #52677f; font-size: 22px; }
.mapping-demo div { display: grid; gap: 9px; min-width: 0; }
.mapping-demo small { color: #8294a8; font: 700 9px/1 Consolas,monospace; letter-spacing: .1em; }
.mapping-demo code { overflow-wrap: anywhere; color: var(--cyan); font-size: 14px; }
.mapping-result strong { font-size: 17px; }
.mapping-result b { width: max-content; padding: 6px 9px; border-radius: 999px; color: #fff; background: #d84837; font-size: 10px; }

.capabilities { max-width: none; color: #fff; background: var(--ink); }
.capabilities > * { max-width: 1324px; margin-right: auto; margin-left: auto; }
.capabilities .eyebrow { color: var(--cyan); }
.capabilities .section-heading > p { color: #9bacbd; }
.bento-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 14px; }
.bento-card { position: relative; min-height: 272px; padding: 30px; overflow: hidden; border: 1px solid #2b3d54; border-radius: 20px; background: var(--ink-2); }
.bento-card > span,.bento-image div > span { color: var(--cyan); font: 730 10px/1 Consolas,monospace; letter-spacing: .11em; }
.bento-card h3 { margin: 18px 0 11px; font-size: 28px; letter-spacing: -.04em; text-wrap: balance; }
.bento-card p { max-width: 520px; margin: 0; color: #9bacbd; font-size: 14px; line-height: 1.75; }
.bento-image { grid-row: span 2; min-height: 558px; padding: 0; }
.bento-image img { width: 100%; height: 69%; object-fit: cover; object-position: left center; filter: saturate(.82); }
.bento-image div { padding: 28px 32px; }
.bento-image h3 { margin: 13px 0 8px; }
.bento-dark { background: linear-gradient(145deg,#104fb8,#1268ff); }
.bento-dark > span { color: rgba(255,255,255,.7); }
.bento-dark ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 34px 0 0; padding: 1px; border-radius: 12px; background: rgba(255,255,255,.24); list-style: none; }
.bento-dark li { padding: 14px; background: rgba(9,43,95,.6); font: 700 12px/1 Consolas,monospace; }
.binding-line { display: flex; align-items: center; gap: 12px; margin-top: 42px; }
.binding-line i { flex: 1; height: 1px; background: #40546b; }
.binding-line code { padding: 10px; border: 1px solid #40546b; border-radius: 8px; color: #d6e1ec; font-size: 11px; }
.binding-line b { color: var(--cyan); }
.alarm-card { min-height: 270px; }
.alarm-states { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 34px; }
.alarm-states b { padding: 11px 7px; border-radius: 8px; color: #fff; background: #d84837; font-size: 10px; text-align: center; }
.alarm-states b:nth-child(2) { color: #2b2400; background: #f6c84c; }
.alarm-states b:nth-child(3) { color: #08261f; background: #4dd1aa; }
.alarm-states b:nth-child(4) { color: #b8c6d4; background: #34475e; }
.history-card { min-height: 270px; }
.history-chart { display: flex; align-items: end; gap: 8px; height: 66px; margin-top: 28px; border-bottom: 1px solid #40546b; }
.history-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--blue),var(--cyan)); }
.history-chart i:nth-child(1) { height: 30%; }.history-chart i:nth-child(2) { height: 52%; }.history-chart i:nth-child(3) { height: 43%; }.history-chart i:nth-child(4) { height: 78%; }.history-chart i:nth-child(5) { height: 68%; }.history-chart i:nth-child(6) { height: 90%; }.history-chart i:nth-child(7) { height: 74%; }

.demo { max-width: none; background: #fff; }
.demo > * { max-width: 1324px; margin-right: auto; margin-left: auto; }
.video-shell { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #050a10; box-shadow: var(--shadow); }
.video-shell video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #050a10; }
.video-shell figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 15px 18px; color: #8fa0b1; background: var(--ink); font: 700 9px/1 Consolas,monospace; letter-spacing: .1em; }
.video-shell figcaption span:first-child { display: flex; align-items: center; gap: 8px; }
.video-shell figcaption i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.services { padding-bottom: 118px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-grid article { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 36px rgba(12,39,72,.05); }
.service-grid article > span { color: var(--blue); font: 730 10px/1 Consolas,monospace; letter-spacing: .1em; }
.service-grid h3 { margin: 30px 0 14px; font-size: 29px; letter-spacing: -.04em; }
.service-price { display: flex; align-items: baseline; gap: 12px; margin: -3px 0 16px; }
.service-price strong { color: var(--blue); font-size: 27px; letter-spacing: -.04em; }
.service-price small { color: var(--muted); font-size: 11px; }
.service-grid p { max-width: 540px; min-height: 50px; margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-grid a { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 760; text-decoration: none; }
.service-grid a b { color: var(--blue); }

.final-cta { padding: 120px max(24px,4vw); color: #fff; background: linear-gradient(135deg,#0a1a2d,#0c376b); text-align: center; }
.final-cta .eyebrow { color: var(--cyan); }
.final-cta h2 { margin: 24px auto 38px; font-size: clamp(46px,6vw,88px); line-height: 1.04; letter-spacing: -.06em; }
.final-cta > div { display: flex; justify-content: center; align-items: center; gap: 28px; }
.button-light { color: var(--ink); background: #fff; }
.text-link { color: #bac9d8; font-size: 14px; text-underline-offset: 5px; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 82px; padding: 20px max(24px,4vw); color: #728194; background: #07111f; font: 700 9px/1 Consolas,monospace; letter-spacing: .1em; }
.site-footer a { justify-self: end; }
.modal-open { overflow: hidden; }
.contact-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .2s ease,visibility .2s ease; }
.contact-modal.is-open { visibility: visible; opacity: 1; }
.contact-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(4,13,25,.66); backdrop-filter: blur(8px); cursor: pointer; }
.contact-dialog { position: relative; z-index: 1; width: min(440px,100%); padding: 36px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: #fff; box-shadow: 0 34px 100px rgba(4,20,40,.3); }
.contact-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: #607080; background: #f7f9fb; font-size: 24px; line-height: 1; cursor: pointer; }
.contact-dialog h2 { margin: 18px 0 10px; font-size: 38px; letter-spacing: -.05em; }
.contact-dialog > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }
.contact-dialog > p strong { color: var(--blue); }
.wechat-id { display: grid; gap: 8px; margin: 28px 0 12px; padding: 18px; border: 1px solid #cbd9e8; border-radius: 14px; background: #f3f7fb; }
.wechat-id span { color: #7a8998; font-size: 11px; }
.wechat-id code { color: var(--ink); font-size: 26px; font-weight: 800; letter-spacing: .04em; }
.copy-wechat { width: 100%; min-height: 50px; border: 0; border-radius: 12px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 760; cursor: pointer; }
.contact-dialog small { display: block; margin-top: 13px; color: #8a97a4; font-size: 11px; text-align: center; }
.contact-download { display: block; margin-top: 12px; color: var(--blue); font-size: 12px; font-weight: 760; text-align: center; text-decoration: none; }
.contact-download:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 820px; }
  .visual-frame > img { min-height: 600px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: 0 18px; }
  .brand small { display: none; }
  .brand-symbol { width: 38px; height: 38px; }
  .header-action { padding: 10px 13px; }
  .hero { min-height: auto; padding: 58px 20px 50px; }
  .hero h1 { margin-top: 24px; font-size: clamp(52px,15vw,72px); }
  .hero-lead { font-size: 16px; }
  .visual-frame { border-radius: 20px; }
  .visual-frame > img { min-height: 430px; }
  .mapping-card { right: 14px; bottom: 14px; left: 14px; grid-template-columns: 1fr; gap: 8px; }
  .visual-caption span:last-child { display: none; }
  .protocol-strip { display: grid; grid-template-columns: repeat(2,max-content); justify-content: center; gap: 13px 26px; min-height: auto; padding: 24px 20px; white-space: normal; }
  .protocol-strip i { display: none; }
  .protocol-strip span:last-child { grid-column: 1/-1; text-align: center; }
  .section { padding: 78px 20px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2,.section-heading.compact h2 { font-size: 41px; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-grid article { min-height: 278px; }
  .outcome-icon { margin-top: 42px; }
  .workflow-list { grid-template-columns: 1fr 1fr; }
  .workflow-list li:nth-child(2) { border-right: 0; }
  .workflow-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-list li { min-height: 180px; }
  .workflow-list li div { margin-top: 46px; }
  .mapping-demo { grid-template-columns: 1fr; }
  .mapping-demo > span { transform: rotate(90deg); text-align: center; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card { padding: 26px; }
  .bento-card h3 { font-size: 26px; }
  .bento-image { grid-row: auto; min-height: 490px; }
  .bento-image img { height: 62%; }
  .service-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 82px 20px; }
  .final-cta > div { flex-direction: column; gap: 20px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer span:nth-child(2) { display: none; }
}

@media (max-width: 460px) {
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 7px; font-size: 10px; }
  .visual-frame > img { min-height: 380px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-list li div { margin-top: 34px; }
  .alarm-states { grid-template-columns: 1fr 1fr; }
  .video-shell figcaption span:last-child { display: none; }
  .contact-dialog { padding: 30px 22px 24px; border-radius: 20px; }
  .contact-dialog h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
