:root {
  --ink: #071a32;
  --ink-2: #0d2947;
  --cyan: #35d3e6;
  --cyan-dark: #0eaabe;
  --green: #56df85;
  --paper: #f2f6f8;
  --white: #fff;
  --muted: #647487;
  --line: #cfdae1;
  --orange: #f5b449;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  padding: 0 clamp(22px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: rgba(7, 26, 50, .78);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
nav { display: flex; gap: clamp(20px, 3vw, 44px); font-size: 14px; color: #d7e4ed; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--cyan); transition: .25s; }
nav a:hover::after { right: 0; }
.header-action { padding: 10px 18px; border: 1px solid rgba(255,255,255,.32); font-size: 13px; }

.hero {
  min-height: 780px;
  padding: 142px clamp(24px, 7vw, 120px) 82px;
  display: grid;
  grid-template-columns: minmax(390px, .86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 6vw, 94px);
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.eyebrow { margin: 0 0 20px; color: var(--cyan-dark); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 22px; height: 2px; margin: 0 10px 4px 0; background: currentColor; }
.hero .eyebrow { color: var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(58px, 6.5vw, 104px); line-height: .98; letter-spacing: -.06em; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-intro { max-width: 590px; color: #b7c7d5; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.9; }
.hero-actions { margin: 38px 0 54px; display: flex; align-items: center; gap: 30px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; color: var(--ink); background: var(--cyan); font-weight: 800; transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: #64e4f0; }
.text-button { color: #dfeaf1; font-size: 14px; }
.text-button span { color: var(--cyan); margin-left: 7px; }
.hero-facts { display: flex; gap: clamp(25px, 4vw, 56px); margin: 0; }
.hero-facts div { padding-left: 14px; border-left: 2px solid rgba(53,211,230,.45); }
.hero-facts dt { font-weight: 800; font-size: 19px; }
.hero-facts dd { margin: 4px 0 0; color: #8499ab; font-size: 12px; }

.hero-visual { position: relative; min-height: 590px; border: 1px solid rgba(132,189,211,.22); background: #06172c; box-shadow: 0 40px 90px rgba(0,0,0,.32); }
.hero-visual::before { content: "DRAW / TURN / VERIFY"; position: absolute; top: 21px; left: 26px; z-index: 2; color: #6e879c; font: 11px/1 monospace; letter-spacing: .18em; }
.cad-figure { width: 100%; height: 100%; min-height: 590px; }
.coordinate-chip, .tool-badge { position: absolute; z-index: 2; padding: 9px 13px; color: #bcd0dd; background: rgba(5,21,41,.88); border: 1px solid #27445d; font: 12px/1 monospace; }
.coordinate-chip { top: 20px; right: 20px; }
.tool-badge { right: 22px; bottom: 20px; }
.tool-badge span, .program-title span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.program-card { position: absolute; left: -38px; bottom: 24px; width: min(340px, 50%); padding: 18px 20px; background: rgba(9,35,60,.96); border-left: 3px solid var(--cyan); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.program-title { margin-bottom: 12px; color: #dce8ef; font-size: 12px; font-weight: 700; }
.program-title small { float: right; color: #678196; font-weight: 400; }
.program-card code { display: block; white-space: pre-line; color: #9ab0c1; font: 12px/1.65 Consolas, monospace; }
.program-card code b { color: var(--cyan); }.program-card code i { color: var(--green); font-style: normal; }

.statement { min-height: 430px; padding: 100px clamp(24px, 10vw, 170px); display: flex; justify-content: space-between; align-items: flex-end; background: var(--white); }
.statement p { margin: 0; max-width: 950px; font-size: clamp(36px, 4.4vw, 70px); line-height: 1.25; letter-spacing: -.045em; font-weight: 800; }
.statement span { writing-mode: vertical-rl; color: #8a99a6; font-size: 12px; letter-spacing: .13em; }

.features { padding: 120px clamp(24px, 7vw, 120px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 54px; }
.section-heading h2, .workflow h2, .file-copy h2, .notice h2, .closing h2 { margin: 0; font-size: clamp(38px, 4.3vw, 68px); line-height: 1.12; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature { position: relative; min-height: 380px; padding: 34px; overflow: hidden; background: var(--white); border-top: 3px solid var(--ink); }
.feature h3 { margin: 12px 0 14px; font-size: 28px; }.feature p { color: var(--muted); line-height: 1.8; }
.feature-number { color: var(--cyan-dark); font: 700 12px/1 monospace; }
.feature-drawing { grid-column: span 7; }.feature-dimension { grid-column: span 5; }.feature-path { grid-column: span 5; }.feature-program { grid-column: span 7; }
.feature-drawing ul { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.feature-drawing li { padding: 7px 10px; color: #536779; background: #edf3f6; font-size: 12px; }
.feature-drawing svg { position: absolute; left: 32px; right: 32px; bottom: 18px; width: calc(100% - 64px); height: 160px; fill: none; stroke: var(--cyan-dark); stroke-width: 3; }
.feature-drawing svg .part-outline { stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.feature-drawing svg .part-detail { stroke-width: 2.2; }
.feature-drawing svg .center-mark { stroke-width: 1.2; }
.feature-drawing svg .soft { stroke: #b7c7d1; stroke-width: 1; stroke-dasharray: 7 7; }
.feature-drawing svg .dimension-line { stroke-dasharray: none; }
.feature-drawing svg circle { fill: var(--white); }
.feature-drawing svg .snap-points circle { fill: var(--cyan-dark); stroke: var(--white); stroke-width: 1.5; }
.feature-drawing svg .drawing-labels { fill: #687f91; stroke: none; font: 12px/1 monospace; }
.dimension-demo { position: absolute; left: 35px; right: 35px; bottom: 45px; height: 105px; border-left: 1px solid #849aaa; border-right: 1px solid #849aaa; }
.dim-line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--ink); }
.dimension-demo strong { position: absolute; left: 50%; top: 3px; padding: 0 10px; transform: translateX(-50%); background: var(--white); font: 16px/1.2 monospace; }
.dimension-demo > i { position: absolute; top: 18px; width: 9px; height: 9px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }.dimension-demo > i:first-of-type { left: 1px; transform: rotate(-135deg); }.dimension-demo > i:last-of-type { right: 1px; }
.dimension-demo div { position: absolute; right: 0; bottom: 0; color: var(--cyan-dark); font: 12px/1.7 monospace; text-align: right; }
.path-list { position: absolute; left: 34px; right: 34px; bottom: 34px; display: grid; gap: 8px; }
.path-list span { padding: 13px 14px; background: #edf3f6; font-size: 13px; }.path-list i { display: inline-block; width: 9px; height: 9px; margin-right: 9px; background: var(--green); }.path-list b { float: right; color: #6d7d89; font-size: 11px; font-weight: 500; }
.mini-code { position: absolute; left: 34px; right: 34px; bottom: 34px; padding: 22px; display: grid; gap: 11px; color: #8699a8; background: var(--ink); font: 13px/1.2 Consolas, monospace; }.mini-code b { margin: 0 -22px; padding: 11px 22px; color: var(--cyan); background: #102d4b; }

.workflow { padding: 120px clamp(24px, 8vw, 135px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 10vw, 160px); color: white; background: var(--ink); }
.workflow-copy { position: sticky; top: 130px; align-self: start; }.workflow-copy > p:last-child { max-width: 520px; margin-top: 30px; color: #9eb1c0; line-height: 1.9; }
.workflow-steps { margin: 0; padding: 0; list-style: none; }
.workflow-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 34px 0 40px; border-top: 1px solid #29445e; }
.workflow-steps li > span { color: var(--cyan); font: 12px/1 monospace; }.workflow-steps h3 { margin: 0 0 12px; font-size: 24px; }.workflow-steps p { color: #91a6b7; line-height: 1.75; }

.files { min-height: 680px; padding: 110px clamp(24px, 8vw, 135px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; background: #dce8ed; overflow: hidden; }
.file-visual { position: relative; height: 440px; }.file-sheet { position: absolute; width: 280px; height: 370px; padding: 28px; background: white; border: 1px solid #b8c9d2; box-shadow: 0 30px 50px rgba(20,52,70,.13); }.file-sheet.back { left: 6%; top: 10px; transform: rotate(-10deg); }.file-sheet.middle { left: 27%; top: 35px; transform: rotate(2deg); background: #f5f8fa; }.file-sheet.front { left: 48%; top: 62px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; background: var(--ink); color: white; transform: rotate(10deg); }.file-sheet > span { font: 800 42px/1 monospace; }.file-sheet.front img { position: absolute; top: 25px; left: 25px; width: 70px; border-radius: 15px; }.file-sheet.front small { margin-top: 12px; color: #8ca3b5; line-height: 1.5; }
.file-copy > p:not(.eyebrow) { margin: 28px 0; color: #566d7d; line-height: 1.9; }.format-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }.format-row span { padding: 8px 11px; color: white; background: var(--ink-2); font: 12px/1 monospace; }.file-copy > small { color: #718492; }

.notice { padding: 80px clamp(24px, 8vw, 135px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 9vw; align-items: end; color: white; background: #bf6828; }.notice span { display: inline-block; margin-bottom: 22px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.5); font-size: 11px; }.notice p { margin: 0; color: #ffe4d0; line-height: 1.9; }
.closing { min-height: 620px; padding: 100px clamp(24px, 10vw, 170px); display: grid; grid-template-columns: 150px 1fr auto; gap: 55px; align-items: center; background: white; }.closing-icon { width: 140px; border-radius: 30px; box-shadow: 0 20px 45px rgba(7,26,50,.18); }.closing p:not(.eyebrow) { max-width: 650px; margin-top: 24px; color: var(--muted); line-height: 1.8; }.closing-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; align-self: end; }.closing-actions .text-button { color: var(--muted); font-size: 13px; }

footer { min-height: 100px; padding: 26px clamp(24px, 7vw, 120px); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 10px 28px; color: #8da1b2; background: var(--ink); font-size: 12px; }footer .brand { color: white; }footer .brand img { width: 34px; height: 34px; }footer p { margin: 0; line-height: 1.6; }footer a:hover { color: var(--cyan); }.footer-info { display: grid; gap: 4px; text-align: center; }.footer-legal { display: grid; gap: 4px; text-align: right; }.footer-info a { color: #b7c7d5; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  nav { display: none; }.hero { grid-template-columns: 1fr; padding-top: 125px; }.hero-copy { max-width: 720px; }.hero-visual { min-height: 520px; }.cad-figure { min-height: 520px; }
  .feature-drawing, .feature-dimension, .feature-path, .feature-program { grid-column: span 12; }.feature { min-height: 350px; }
  .workflow, .files { grid-template-columns: 1fr; }.workflow-copy { position: static; }.file-visual { max-width: 650px; width: 100%; margin: auto; }
  .notice { grid-template-columns: 1fr; }.closing { grid-template-columns: 120px 1fr; }.closing-actions { grid-column: 2; align-items: flex-start; }
}

@media (max-width: 620px) {
  .site-header { height: 64px; }.site-header .brand img { width: 36px; height: 36px; }.header-action { display: none; }
  .hero { min-height: 0; padding: 108px 20px 60px; }.hero-intro { line-height: 1.75; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin: 30px 0 40px; }.hero-facts { gap: 18px; }.hero-facts dt { font-size: 15px; }.hero-facts dd { font-size: 10px; }
  .hero-visual { min-height: 390px; margin-top: 14px; }.cad-figure { min-height: 390px; }.coordinate-chip { top: 18px; right: 12px; font-size: 9px; }.program-card { left: 12px; bottom: 14px; width: 74%; padding: 13px; }.program-card code { font-size: 9px; }.tool-badge { font-size: 9px; }
  .statement { min-height: 340px; padding: 75px 22px; }.statement span { display: none; }
  .features { padding: 80px 18px; }.section-heading { display: block; }.feature { padding: 25px; }.feature-drawing svg { left: 22px; width: calc(100% - 44px); }.path-list, .mini-code { left: 25px; right: 25px; bottom: 25px; }
  .workflow, .files, .notice { padding: 80px 22px; }.workflow-steps li { grid-template-columns: 42px 1fr; gap: 12px; }
  .file-visual { height: 330px; transform: scale(.78); transform-origin: left center; }.file-sheet { width: 235px; height: 310px; }.file-sheet.middle { left: 22%; }.file-sheet.front { left: 42%; }
  .closing { min-height: 520px; padding: 75px 22px; grid-template-columns: 78px 1fr; gap: 24px; }.closing-icon { width: 78px; border-radius: 18px; }.closing-actions { grid-column: 1 / -1; align-items: flex-start; }
  footer { grid-template-columns: 1fr; }.footer-info, .footer-legal { text-align: left; }
}
