/* =========================================================
   启云昇 · 软件技术服务官网
   风格：极简黑白 + 高级感（Editorial / 描边大字 / 噪点质感 / 精细动效）
   ========================================================= */

:root {
  --ink: #0a0a0a;
  --ink-2: #262626;
  --gray: #6b6b6b;
  --gray-2: #9b9b9b;
  --gray-3: #c9c9c9;
  --line: #e6e6e6;
  --line-soft: #f0f0f0;
  --line-dark: #2a2a2a;
  --paper: #ffffff;
  --paper-2: #f7f7f7;
  --font: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
  --container: 1280px;
  --pad: clamp(20px, 5vw, 76px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* 自定义滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--gray-3); border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--gray); }

/* ===== 全局质感层 ===== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--ink); z-index: 200; transition: width .08s linear; }
.grain { position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .045; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 460px; height: 460px; border-radius: 50%; pointer-events: none; z-index: 2; opacity: 0; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0,0,0,.055) 0%, rgba(0,0,0,.02) 35%, transparent 68%); transition: opacity .6s var(--ease); }

/* 线框图标通用 */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* 滚动进场（支持 stagger 延迟 --d） */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 28px; font-size: 14px; font-weight: 600; letter-spacing: .01em; border: 1px solid var(--ink); cursor: pointer; position: relative; overflow: hidden; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); white-space: nowrap; }
.btn .arrow { font-size: 16px; line-height: 1; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translate(4px, -3px); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--lg { height: 58px; padding: 0 34px; font-size: 15px; }
.btn--full { width: 100%; }

/* ============ 导航 ============ */
.nav { position: sticky; top: 0; z-index: 100; height: 76px; display: flex; align-items: center; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.055); background: rgba(255,255,255,.9); }
.nav__inner { display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.brand__text small { font-size: 8px; letter-spacing: .22em; color: var(--gray); margin-top: 5px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--ink); transition: width .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--ink); font-weight: 700; }
.nav__cta { height: 42px; padding: 0 20px; font-size: 13px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--ink); transition: .35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 92px 0 96px; border-bottom: 1px solid var(--line); }
.hero__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 66px 66px; opacity: .55; mask-image: radial-gradient(ellipse 72% 68% at 76% 42%, #000 0%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 72% 68% at 76% 42%, #000 0%, transparent 78%); }
.hero__side { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--gray-3); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink); padding: 8px 15px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; margin-bottom: 30px; }
.badge__dot { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,0,0,.45); } 50% { box-shadow: 0 0 0 7px rgba(0,0,0,0); } }
.hero__title { font-size: clamp(44px, 5.6vw, 78px); line-height: 1.14; font-weight: 800; letter-spacing: -.045em; }
.hero__line { display: block; }
.hero__outline { position: relative; color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.hero__desc { margin-top: 26px; font-size: 16px; line-height: 2; color: var(--gray); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { display: flex; align-items: center; gap: 10px; margin-top: 36px; }
.hero__trust .ico { width: 18px; height: 18px; stroke-width: 2; }
.hero__trust p { font-size: 13px; color: var(--gray); }
.hero__trust strong { color: var(--ink); font-weight: 700; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 100%; height: 8px; background: var(--line); z-index: -1; transform: scaleX(0); transform-origin: left; animation: hl-draw .9s var(--ease) .5s forwards; }
@keyframes hl-draw { to { transform: scaleX(1); } }

/* 代码窗 */
.hero__visual { position: relative; display: flex; justify-content: center; }
.code-window { width: 100%; max-width: 520px; background: var(--ink); color: #e8e8e8; border: 1px solid var(--ink); box-shadow: 22px 22px 0 var(--paper-2), 23px 23px 0 var(--line), 0 40px 80px rgba(0,0,0,.14); overflow: hidden; position: relative; }
.code-window::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }
.code-window__scan { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.05), transparent); animation: scan 7s linear infinite; pointer-events: none; z-index: 1; }
@keyframes scan { to { top: 100%; } }
.code-window__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark); }
.code-window__bar .dot { width: 9px; height: 9px; border: 1px solid #777; border-radius: 50%; }
.code-window__title { margin-left: auto; font-family: var(--mono); font-size: 10px; color: #777; }
.code-window__body { padding: 24px 20px 28px; overflow: hidden; min-height: 268px; }
.code-window pre { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.95; }
.code-window code { font-family: inherit; display: block; }
.c-line { display: block; white-space: pre; }
.c-num { color: #555; margin-right: 18px; user-select: none; }
.kw { color: #fff; font-weight: 600; }
.cls, .fn, .num { color: #fff; }
.prop { color: #aaa; }
.str { color: #cfcfcf; }

/* 代码打字/逐行流动效果 */
.c-line { opacity: 0; transform: translateX(-8px); }
.code-window.is-ready .c-line { animation: code-in .32s var(--ease) forwards; }
.code-window.is-ready .c-line.is-lit { opacity: 1; transform: none; animation: none; }
@keyframes code-in { to { opacity: 1; transform: none; } }
/* 当前行光标 */
.c-line.cursor::after { content: ""; display: inline-block; width: 7px; height: 15px; margin-left: 3px; vertical-align: -2px; background: #fff; animation: caret 1s steps(1) infinite; }
@keyframes caret { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
/* 代码窗底部渐变遮罩，营造滚动纵深 */
.code-window__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(180deg, transparent, var(--ink)); pointer-events: none; }
.code-window { position: relative; }
.float-badge { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--ink); padding: 11px 15px; box-shadow: 5px 5px 0 var(--ink); animation: floaty 5.5s ease-in-out infinite; z-index: 2; }
.float-badge .ico { width: 20px; height: 20px; }
.float-badge strong { display: block; font-size: 12px; line-height: 1.3; }
.float-badge small { display: block; font-size: 10px; color: var(--gray); }
.float-badge--1 { top: 32px; left: -28px; }
.float-badge--2 { bottom: 26px; right: -24px; animation-delay: 2.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 滚动提示 */
.scroll-hint { position: absolute; left: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: var(--gray-2); }
.scroll-hint i { display: block; width: 1px; height: 36px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; top: -40%; left: 0; width: 1px; height: 40%; background: var(--ink); animation: scroll-line 2.4s var(--ease) infinite; }
@keyframes scroll-line { 0% { top: -40%; } 70%,100% { top: 100%; } }

/* ============ 数据条 ============ */
.stats { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 50px; padding-bottom: 50px; }
.stat { padding: 0 30px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--mono); font-size: clamp(38px, 4.2vw, 58px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.stat__num em { font-style: normal; font-size: .46em; font-weight: 600; margin-left: 3px; color: var(--gray); }
.stat p { font-size: 13px; color: var(--gray); margin-top: 10px; }

/* ============ 通用 Section ============ */
.section { padding: clamp(84px, 10vw, 140px) 0; position: relative; }
.section__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--gray); margin-bottom: 20px; }
.section__eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--ink); }
.section__title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; }
.section__sub { margin-top: 18px; color: var(--gray); font-size: 15px; }
.section__head { margin-bottom: 60px; position: relative; }
.section__head.center { text-align: center; }
.section__head.center .section__eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--ink); }
.section__head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section__intro { max-width: 380px; color: var(--gray); font-size: 14px; line-height: 1.9; }
.lead { font-size: 16px; color: var(--gray); line-height: 2; }

/* ============ 服务范围 ============ */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { position: relative; background: var(--paper); padding: 38px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.service::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border: 1px solid var(--line); border-radius: 50%; transition: transform .6s var(--ease), border-color .45s var(--ease); }
.service:hover { background: var(--ink); color: var(--paper); transform: translateY(-6px); z-index: 1; box-shadow: 0 24px 50px rgba(0,0,0,.16); }
.service:hover::after { border-color: var(--line-dark); transform: scale(1.5); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.service__no { font-family: var(--mono); font-size: 12px; color: var(--gray-2); transition: color .45s var(--ease); }
.service:hover .service__no { color: var(--gray-2); }
.service__icon { width: 40px; height: 40px; stroke-width: 1.4; transition: transform .5s var(--ease); }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.06); }
.service h3 { font-size: 21px; font-weight: 700; margin-bottom: 14px; letter-spacing: -.02em; }
.service p { font-size: 13.5px; line-height: 1.85; color: var(--gray); transition: color .45s var(--ease); }
.service:hover p { color: var(--gray-3); }
.service ul { margin-top: 20px; display: grid; gap: 8px; }
.service li { font-size: 12px; color: var(--gray); position: relative; padding-left: 16px; transition: color .45s var(--ease); }
.service li::before { content: "—"; position: absolute; left: 0; color: var(--gray-3); }
.service:hover li { color: var(--gray-3); }

/* ============ 技术能力 ============ */
.tech { background: var(--paper-2); }
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 100px); align-items: center; }
.tech__copy .lead { margin: 22px 0 30px; }
.tech__points { display: grid; gap: 18px; }
.tech__points > div { display: flex; gap: 15px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tech__points > div:last-child { border-bottom: none; }
.tech__points .ico { width: 20px; height: 20px; stroke-width: 2; margin-top: 3px; }
.tech__points strong { display: block; font-size: 14px; }
.tech__points small { display: block; color: var(--gray); font-size: 12px; font-family: var(--mono); margin-top: 4px; }
.tech__stacks { border: 1px solid var(--line); background: var(--paper); box-shadow: 16px 16px 0 var(--line-soft); }
.stack-col { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.stack-col:last-child { border-bottom: none; }
.stack-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 15px; display: flex; align-items: baseline; gap: 10px; }
.stack-col h4 span { font-family: var(--mono); font-size: 9px; color: var(--gray-2); font-weight: 400; letter-spacing: .1em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--mono); font-size: 11px; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink-2); transition: .3s var(--ease); }
.chips span:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }

/* ============ 开发流程 ============ */
.process { background: var(--paper); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.flow__item { position: relative; padding: 36px 18px 10px 0; }
.flow__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--ink); transition: width .6s var(--ease); }
.flow__item:hover::before { width: 100%; }
.flow__num { font-family: var(--mono); font-size: clamp(42px, 5vw, 66px); font-weight: 700; color: var(--line); line-height: 1; letter-spacing: -.05em; transition: color .5s var(--ease); }
.flow__item:hover .flow__num { color: var(--ink); }
.flow__item h4 { font-size: 17px; font-weight: 700; margin: 22px 0 11px; }
.flow__item p { font-size: 12.5px; color: var(--gray); line-height: 1.8; padding-right: 16px; }
.flow__item:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: 16px; width: 5px; height: 5px; border-top: 1px solid var(--gray-3); border-right: 1px solid var(--gray-3); transform: rotate(45deg); }

/* ============ 行业方案 ============ */
.industries { background: var(--paper-2); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ind { background: var(--paper); padding: 40px 34px 42px; transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease); }
.ind:hover { background: var(--ink); color: var(--paper); z-index: 1; }
.ind .ico { width: 34px; height: 34px; stroke-width: 1.4; margin-bottom: 28px; transition: transform .5s var(--ease); }
.ind:hover .ico { transform: scale(1.1) rotate(-6deg); }
.ind h3 { font-size: 21px; font-weight: 700; margin-bottom: 11px; letter-spacing: -.02em; }
.ind p { font-size: 13px; color: var(--gray); transition: color .45s var(--ease); }
.ind:hover p { color: var(--gray-3); }

/* ============ 客户案例 ============ */
.cases { background: var(--paper); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--paper); border: 1px solid var(--line); padding: 34px 32px; position: relative; transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.case::after { content: "↗"; position: absolute; top: 30px; right: 30px; font-size: 18px; color: var(--gray-3); transition: .4s var(--ease); }
.case:hover { border-color: var(--ink); transform: translateY(-6px); box-shadow: 7px 7px 0 var(--ink); }
.case:hover::after { color: var(--ink); transform: translate(3px, -3px); }
.case__tag { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; border: 1px solid var(--ink); padding: 5px 11px; margin-bottom: 22px; }
.case h3 { font-size: 19px; font-weight: 700; line-height: 1.5; margin-bottom: 13px; padding-right: 20px; }
.case > p { font-size: 13px; color: var(--gray); line-height: 1.85; }
.case__result { display: flex; gap: 30px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.case__result span { font-size: 11px; color: var(--gray); }
.case__result strong { display: block; font-family: var(--mono); font-size: 25px; font-weight: 700; color: var(--ink); letter-spacing: -.04em; }

/* ============ 核心优势 ============ */
.why { background: var(--paper-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why__item { background: var(--paper); padding: 36px 28px; transition: background .4s var(--ease); }
.why__item:hover { background: var(--paper-2); }
.why__item .ico { width: 32px; height: 32px; stroke-width: 1.4; margin-bottom: 26px; }
.why__item h3 { font-size: 17px; font-weight: 700; margin-bottom: 11px; }
.why__item p { font-size: 12.5px; color: var(--gray); line-height: 1.85; }

/* ============ CTA ============ */
.cta { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta__bg-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(90px, 17vw, 240px); font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); white-space: nowrap; pointer-events: none; user-select: none; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 74px; padding-bottom: 74px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta__text h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; letter-spacing: -.03em; }
.cta__text h2 span { color: transparent; -webkit-text-stroke: 1.2px var(--paper); }
.cta__text p { margin-top: 12px; color: var(--gray-2); font-size: 14px; }

/* ============ 联系 ============ */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.contact__copy .lead { margin: 20px 0 34px; }
.contact__info { display: grid; gap: 16px; }
.contact__info > div { display: flex; align-items: center; gap: 16px; }
.contact__info-icon { width: 48px; height: 48px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .3s var(--ease), color .3s var(--ease); }
.contact__info > div:hover .contact__info-icon { background: var(--ink); color: var(--paper); }
.contact__info-icon .ico { width: 20px; height: 20px; }
.contact__info strong { display: block; font-size: 14px; }
.contact__info small { display: block; color: var(--gray); font-size: 12px; font-family: var(--mono); }
.contact__form { border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); position: relative; background: var(--paper); }
.contact__form::before { content: ""; position: absolute; top: -1px; left: -1px; width: 46px; height: 3px; background: var(--ink); }
.contact__form h3 { font-size: 23px; font-weight: 800; margin-bottom: 28px; letter-spacing: -.02em; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 13px 15px; font-size: 14px; color: var(--ink); background: var(--paper-2); outline: none; transition: border-color .3s, background .3s; resize: vertical; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23999' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-3); }
.form__note { font-size: 13px; margin-top: 12px; min-height: 18px; color: var(--gray); }
.form__note.is-error { color: #c0392b; }
.form__note.is-ok { color: var(--ink); font-weight: 600; }

/* ============ 页脚 ============ */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 30px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
.footer__top { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); flex-wrap: wrap; }
.brand--footer .brand__mark { background: var(--paper); color: var(--ink); }
.brand--footer .brand__text strong { color: var(--paper); }
.brand--footer .brand__text small { color: var(--gray-2); }
.footer__brand > p { color: var(--gray-2); font-size: 13px; margin-top: 18px; max-width: 280px; }
.footer__cols { display: flex; gap: 64px; }
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__col h4 { font-size: 13px; margin: 0 0 8px; }
.footer__col a { color: var(--gray-2); font-size: 12px; transition: color .3s, transform .3s; }
.footer__col a:hover { color: var(--paper); transform: translateX(3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; color: var(--gray-2); font-size: 11px; flex-wrap: wrap; }
.footer__legal { display: flex; flex-direction: column; gap: 7px; line-height: 1.6; }
.footer__bottom a { color: var(--gray-2); text-decoration: none; transition: color .3s; }
.footer__bottom a:hover { color: var(--paper); text-decoration: underline; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; gap: 0; padding: 10px var(--pad) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 36px rgba(0,0,0,.08); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .hero__inner, .tech__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .hero__side { display: none; }
  .service-grid, .ind-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .flow, .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .flow__item:not(:last-child)::after { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(3) { padding-left: 0; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .hero__title { font-size: 40px; }
  .hero__outline { -webkit-text-stroke-width: 1.2px; }
  .hero__actions .btn { width: 100%; }
  .float-badge--1 { left: 0; top: -18px; }
  .float-badge--2 { right: 0; bottom: -12px; }
  .scroll-hint { display: none; }
  .service-grid, .ind-grid, .case-grid, .flow, .why-grid { grid-template-columns: 1fr; }
  .section__head.split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 12px; }
  .stat__num { font-size: 30px; }
  .tech__stacks { box-shadow: 8px 8px 0 var(--line-soft); }
  .footer__cols { flex-wrap: wrap; gap: 28px; }
  .cta__inner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hl::after { transform: scaleX(1); }
  .cursor-glow { display: none; }
}
