:root {
  --bg: #0a0b0d;
  --bg-2: #111317;
  --line: #22252b;
  --text: #e9eaec;
  --muted: #8b9099;
  --accent: #4de2c5;
  --font: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  background: rgba(10, 11, 13, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .18em; font-size: 14px; }
.logo svg { width: 20px; height: 20px; fill: var(--accent); stroke: var(--accent); stroke-width: 1.2; }
.links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-cta { color: var(--accent) !important; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.lang button {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: 500 12px var(--mono); padding: 6px 10px;
}
.lang button + button { border-left: 1px solid var(--line); }
.lang button:hover { color: var(--text); }
.lang button.on { color: var(--bg); background: var(--accent); }
html[lang="zh"] body { font-family: "Inter", "Noto Sans SC", system-ui, sans-serif; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad) 80px; overflow: hidden; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 40%, transparent 0%, var(--bg) 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .2em; color: var(--accent); margin-bottom: 28px; }
h1 { font-size: clamp(34px, 6vw, 72px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.lead { margin-top: 28px; max-width: 620px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: .2s; }
.btn.primary { background: var(--accent); color: #04110e; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* SECTIONS */
.section { padding: 120px var(--pad); border-top: 1px solid var(--line); max-width: 1280px; margin: 0 auto; }
.sec-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 56px; }
.num { font: 500 13px var(--mono); color: var(--accent); }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; line-height: 1.35; }
h3 { font-size: 19px; font-weight: 500; margin-bottom: 12px; }
p { color: var(--muted); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--bg); padding: 36px 32px; }
.card h3 { color: var(--text); }

/* SERVICES */
.svc { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.svc:first-of-type { border-top: 1px solid var(--line); }
.svc-tag { font: 500 28px var(--mono); color: var(--accent); }
.svc-body { max-width: 760px; }
.svc h3 { font-size: 24px; margin-bottom: 4px; }
.svc-for { font-size: 13px; color: var(--accent); margin-bottom: 14px; opacity: .85; }

.engage { margin-top: 64px; }
.engage-label { font: 500 12px var(--mono); letter-spacing: .15em; margin-bottom: 20px; }
.engage-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.engage-row div { padding: 24px; background: var(--bg-2); border-radius: 6px; }
.engage-row strong { display: block; font-weight: 500; margin-bottom: 6px; }
.engage-row span { font-size: 14px; color: var(--muted); }

/* INSIGHTS */
.map { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
.map h3 { font-size: 28px; }
.map .btn { margin-top: 28px; }
.badge { display: inline-block; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--accent); border: 1px solid var(--accent); padding: 2px 10px; border-radius: 99px; margin-bottom: 16px; }
.map-visual svg { width: 100%; height: auto; }
.layer-lines line { stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 3 4; animation: dash 6s linear infinite; }
.layer-nodes circle { fill: var(--bg); stroke: var(--accent); stroke-width: 1.4; }
.layer-nodes .core { fill: var(--accent); }
.layer-text text { fill: var(--muted); font: 500 9px var(--mono); text-anchor: middle; letter-spacing: .1em; }
@keyframes dash { to { stroke-dashoffset: -70; } }

/* COMPANY */
.company { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.role { font: 500 12px var(--mono); letter-spacing: .15em; color: var(--accent); }
.name { font-size: 28px; color: var(--text); margin: 6px 0 18px; }
.facts { display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }

/* CONTACT */
.contact { text-align: center; padding-top: 140px; padding-bottom: 140px; }
.contact h2 { margin-bottom: 36px; }
.mail { font: 500 clamp(20px, 3vw, 32px) var(--mono); color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.mail:hover { opacity: .8; }

.foot { display: flex; justify-content: space-between; padding: 28px var(--pad); border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .links a:not(.nav-cta) { display: none; }
  .nav { gap: 12px; }
  .lang button { padding: 6px 8px; }
  .grid3, .engage-row, .map, .company { grid-template-columns: 1fr; }
  .map { padding: 28px; }
  .svc { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 88px var(--pad); }
  .facts { grid-template-columns: 88px 1fr; }
  .foot { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .layer-lines line { animation: none; }
}
