/* 正合系統 JSimTech — 前台樣式
   深海軍藍＋青色訊號光，HUD 角框、網格背景，呼應模擬／兵棋系統介面 */
:root {
  --navy: #07152a;
  --navy2: #0c2140;
  --panel: #102a4c;
  --line-d: rgba(110, 180, 255, .16);
  --cyan: #22c3f3;
  --cyan2: #0a8fd0;
  --blue: #0b63a8;
  --amber: #ffb547;
  --bg: #fff;
  --soft: #f1f5f9;
  --text: #1b2838;
  --muted: #5f6e7e;
  --line: #dde5ee;
  --r: 6px;
  --wrap: 1240px;
  --hd: 72px;
  --f: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --fx: "Oxanium", "Noto Sans TC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.75 var(--f); color: var(--text); background: var(--bg); }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan2); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .72em 1.5em; border-radius: 2px; font-weight: 500; letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer; font-size: .95rem; line-height: 1.3; transition: .2s; position: relative; font-family: inherit; }
.btn--pri { background: linear-gradient(135deg, var(--cyan2), var(--cyan)); color: #fff; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn--pri:hover { color: #fff; filter: brightness(1.12); transform: translateY(-1px); }
.btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--line:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--dk { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--dk:hover { background: var(--blue); color: #fff; }
.btn--lg { padding: .9em 2.4em; font-size: 1rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { display: inline-block; font-style: normal; font-size: .72rem; padding: 1px 8px; border-radius: 2px; background: var(--amber); color: #3a2500; margin-left: 8px; vertical-align: 2px; letter-spacing: .05em; }
.kicker { display: inline-block; font: 600 .78rem/1 var(--fx); letter-spacing: .22em; color: var(--cyan2); margin-bottom: 12px; }

/* ── header ── */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(7, 21, 42, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-d); color: #fff; transition: background .3s; }
.is-home .hd { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(4, 12, 26, .75), rgba(4, 12, 26, 0)); border-color: transparent; }
.is-home .hd.is-scrolled { background: rgba(7, 21, 42, .96); border-color: var(--line-d); }
.hd__in { display: flex; align-items: center; gap: 24px; height: var(--hd); }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.logo:hover { color: #fff; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo__t { display: flex; flex-direction: column; line-height: 1.2; }
.logo__t b { font-size: 1.2rem; letter-spacing: .12em; font-weight: 700; }
.logo__t small { font: 500 .66rem/1.2 var(--fx); letter-spacing: .14em; color: #8fb7da; text-transform: uppercase; margin-top: 3px; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.gnav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.gnav li { position: relative; }
.gnav__a { display: block; white-space: nowrap; padding: 0 15px; line-height: var(--hd); color: #dbe7f3; font-size: .97rem; letter-spacing: .06em; position: relative; }
.gnav__a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 18px; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.gnav__a:hover, .gnav__a.is-on { color: #fff; }
.gnav__a:hover::after, .gnav__a.is-on::after { transform: scaleX(1); }
.gnav__sub { position: absolute; top: 100%; left: 0; min-width: 200px; list-style: none; margin: 0; padding: 8px 0; background: var(--navy2); border: 1px solid var(--line-d); border-top: 2px solid var(--cyan);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.has-sub:hover .gnav__sub, .has-sub:focus-within .gnav__sub { opacity: 1; visibility: visible; transform: none; }
.gnav__sub a { display: block; padding: 8px 20px; color: #c7d6e6; font-size: .9rem; white-space: nowrap; }
.gnav__sub a:hover { color: var(--cyan); background: rgba(34, 195, 243, .07); }
.gsearch { display: flex; align-items: center; border: 1px solid var(--line-d); border-radius: 2px; background: rgba(255, 255, 255, .05); }
.gsearch input { width: 120px; background: none; border: 0; color: #fff; padding: 7px 10px; font: inherit; font-size: .85rem; outline: 0; transition: width .25s; }
.gsearch input:focus { width: 170px; }
.gsearch input::placeholder { color: #7f97b0; }
.gsearch button { background: none; border: 0; color: #9fc0de; padding: 6px 10px; cursor: pointer; display: flex; }
.hd__tools { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; border: 1px solid var(--line-d); border-radius: 2px; overflow: hidden; }
.langs a { font: 600 .78rem/1 var(--fx); padding: 7px 10px; color: #9fb5cb; letter-spacing: .08em; }
.langs a.on { background: var(--cyan); color: var(--navy); }
.langs a:not(.on):hover { color: #fff; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-d); background: none; border-radius: 2px; cursor: pointer; padding: 11px 9px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; transition: .25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── HUD corners / grid ── */
.hud { position: absolute; width: 26px; height: 26px; border: 2px solid var(--cyan); opacity: .75; pointer-events: none; z-index: 3; }
.hud--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hud--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.hud--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.hud--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.grid-bg, .phero__grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%); }

/* ── hero ── */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 960px; background: var(--navy); color: #fff; overflow: hidden; }
.hero__track, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1s; }
.hero__slide.is-on { opacity: 1; z-index: 1; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 12, 26, .88) 0%, rgba(4, 12, 26, .55) 45%, rgba(4, 12, 26, .15) 100%), linear-gradient(0deg, rgba(4, 12, 26, .6), transparent 40%); }
.hero__cap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hd); }
.hero__k { display: flex; align-items: center; gap: 10px; font: 600 .82rem/1 var(--fx); letter-spacing: .24em; color: var(--cyan); margin-bottom: 22px; }
.blink { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 0 rgba(34, 195, 243, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 195, 243, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(34, 195, 243, 0); } }
.hero__t { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: .06em; max-width: 15em; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(0, 0, 0, .4); }
.lang-en .hero__t { letter-spacing: .01em; font-family: var(--fx); }
.hero__s { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #cddcec; max-width: 36em; margin-bottom: 34px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; z-index: 4; bottom: 40px; right: 60px; display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 3px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.hero__dots button.on { background: var(--cyan); }
.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 30px; width: 24px; height: 40px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 12px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: scr 1.8s infinite; }
@keyframes scr { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* stats */
.stats { background: var(--navy2); color: #fff; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 26px 20px; border-left: 1px solid var(--line-d); text-align: center; }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 2rem/1.1 var(--fx); color: var(--cyan); letter-spacing: .04em; }
.stat span { font-size: .88rem; color: #a9bfd6; }

/* ── sections ── */
.sec { padding: 96px 0; position: relative; }
.sec--soft { background: var(--soft); }
.sec--dark { background: var(--navy); color: #d5e2ef; overflow: hidden; }
.sec--dark > .wrap { position: relative; }
.sec-h { margin-bottom: 48px; position: relative; }
.sec-h h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: .06em; position: relative; padding-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.sec-h h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: linear-gradient(90deg, var(--cyan), transparent); }
.sec-h--light h2 { color: #fff; }
.sec-h--light .kicker { color: var(--cyan); }
.sec-h__lead { color: var(--muted); max-width: 52em; margin-top: 12px; }
.sec--dark .sec-h__lead { color: #a9bfd6; }
.sec-h__more { position: absolute; right: 0; bottom: 18px; font-size: .9rem; letter-spacing: .05em; }
.sec--dark .sec-h__more { color: var(--cyan); }
.sec-h__icon { width: 40px; height: 40px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* intro */
.intro { padding: 100px 0 60px; }
.intro__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.intro__txt h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: .08em; }
.intro__sub { font-size: 1.1rem; color: var(--blue); font-weight: 500; }
.intro__partners { background: var(--soft); padding: 32px; border-left: 3px solid var(--cyan); position: relative; }
.intro__partners h3 { font-size: 1rem; letter-spacing: .1em; color: var(--muted); }
.plogos { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.plogos a { display: flex; align-items: center; justify-content: center; height: 86px; background: #fff; border: 1px solid var(--line); padding: 14px 24px; transition: .2s; }
.plogos a:hover { border-color: var(--cyan); box-shadow: 0 8px 22px rgba(11, 99, 168, .12); }
.plogos img { max-height: 54px; max-width: 100%; width: auto; object-fit: contain; }

/* 4 cards */
.cards4 { padding: 30px 0 100px; }
.cards4__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ucard { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); color: #fff; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.ucard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s, opacity .4s; opacity: .7; }
.ucard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(4, 12, 26, .95) 0%, rgba(4, 12, 26, .2) 60%); }
.ucard:hover { color: #fff; }
.ucard:hover img { transform: scale(1.06); opacity: .9; }
.ucard__no { position: absolute; z-index: 2; top: 18px; left: 20px; font: 700 .9rem var(--fx); color: var(--cyan); letter-spacing: .14em; }
.ucard__body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 26px; display: flex; flex-direction: column; }
.ucard__body small { font: 600 .72rem var(--fx); letter-spacing: .22em; color: #8fb7da; }
.ucard__body b { font-size: 1.45rem; letter-spacing: .1em; margin: 4px 0 6px; }
.ucard__body em { font-style: normal; font-size: .86rem; color: #b9cadb; line-height: 1.6; }
.ucard__arrow { position: absolute; z-index: 2; right: 20px; top: 16px; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: .25s; }
.ucard:hover .ucard__arrow { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

/* feats (home scope) */
.feats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { background: rgba(16, 42, 76, .6); border: 1px solid var(--line-d); padding: 0 0 26px; position: relative; transition: .25s; }
.feat:hover { border-color: rgba(34, 195, 243, .55); transform: translateY(-4px); }
.feat__img { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 20px; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat h3 { font-size: 1.12rem; color: #fff; padding: 0 24px; display: flex; gap: 12px; align-items: baseline; }
.feat h3 span { font: 700 .9rem var(--fx); color: var(--cyan); }
.feat .ticks { padding: 0 24px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border: 2px solid var(--cyan); transform: rotate(45deg); }
.sec--dark .ticks li { color: #c2d3e4; }

/* products */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--text); transition: .25s; position: relative; }
.pcard:hover { border-color: var(--cyan); box-shadow: 0 16px 36px rgba(7, 21, 42, .12); transform: translateY(-4px); color: var(--text); }
.pcard__img { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pcard__h b { font-size: 1.08rem; font-family: var(--fx); letter-spacing: .02em; }
.pcard__icon { width: 36px; height: 36px; }
.pcard em { font-style: normal; color: var(--muted); font-size: .9rem; flex: 1; }
.pcard__more { margin-top: 12px; color: var(--blue); font-size: .88rem; }

.plist { display: grid; gap: 26px; }
.prow { display: grid; grid-template-columns: 420px 1fr; gap: 36px; background: #fff; border: 1px solid var(--line); padding: 20px; transition: .25s; }
.sec--soft .prow { background: #fff; }
.prow:hover { border-color: rgba(34, 195, 243, .6); box-shadow: 0 14px 30px rgba(7, 21, 42, .08); }
.prow__img { display: block; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.prow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prow:hover .prow__img img { transform: scale(1.04); }
.prow__txt { padding: 6px 0; }
.prow h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-family: var(--fx); }
.prow h3 a { color: var(--navy); }
.prow h3 a:hover { color: var(--blue); }
.prow h3 img { width: 40px; height: 40px; }
.chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .82rem; padding: 3px 12px; border: 1px solid #b8d7ee; color: var(--blue); background: #f2f9ff; border-radius: 2px; }
.prow__more { margin: 0; font-size: .92rem; display: flex; gap: 18px; }
.prow__more .ext { color: var(--muted); }

/* product detail */
.phero--slim { padding: calc(28px) 0 22px !important; }
.pdetail { padding-top: 56px; }
.pdetail__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.pdetail__media { position: relative; background: var(--navy); padding: 10px; }
.pdetail__media img { display: block; width: 100%; }
.pdetail__txt h1 { display: flex; align-items: center; gap: 14px; font: 700 clamp(1.8rem, 3vw, 2.5rem)/1.2 var(--fx); color: var(--navy); }
.pdetail__txt h1 img { width: 56px; height: 56px; }
.pdetail__sum { font-size: 1.06rem; }
.pdetail__h { font-size: 1rem; letter-spacing: .1em; color: var(--muted); margin-top: 26px; }
.pdetail .btns { margin: 28px 0 14px; }
.pdetail__body { margin-top: 56px; }

/* MAK ONE */
.makone__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.makone__media { background: #000; border: 1px solid var(--line-d); }
.makone__media video, .makone__media img { display: block; width: 100%; }
.makone__txt h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.makone__sub { color: var(--cyan); }

/* zig (about scope) */
.zig { display: grid; gap: 56px; }
.zig__row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zig__row:nth-child(even) .zig__img { order: 2; }
.zig__img { position: relative; }
.zig__img::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--cyan); z-index: -1; }
.zig__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.zig__no { font: 700 3rem/1 var(--fx); color: transparent; -webkit-text-stroke: 1px var(--cyan2); display: block; margin-bottom: 8px; }
.zig__txt h3 { font-size: 1.45rem; letter-spacing: .05em; }

/* integration */
.integ { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.integ__txt h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.integ__sub { color: var(--cyan); font-size: 1.1rem; }
.integ__img { margin: 0; background: #fff; padding: 12px; }
.integ__img img { display: block; width: 100%; }

/* timeline */
.tline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.tline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--cyan), var(--line)); }
.tline__i { position: relative; padding: 0 0 34px; }
.tline__i:nth-child(odd) { grid-column: 1; text-align: right; }
.tline__i:nth-child(even) { grid-column: 2; margin-top: 60px; }
.tline__i::before { content: ""; position: absolute; top: 8px; width: 12px; height: 12px; background: #fff; border: 2px solid var(--cyan2); transform: rotate(45deg); }
.tline__i:nth-child(odd)::before { right: -47px; }
.tline__i:nth-child(even)::before { left: -47px; }
.tline__i time { font: 600 .95rem var(--fx); color: var(--cyan2); letter-spacing: .06em; }
.tline__i p { margin: 4px 0 0; font-size: 1.05rem; font-weight: 500; }
.tline__i.is-major p { color: var(--blue); }
.tline__i.is-major::before { background: var(--amber); border-color: var(--amber); }

/* service features */
.feats2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sfeat { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.sfeat:hover { box-shadow: 0 16px 36px rgba(7, 21, 42, .1); border-color: rgba(34, 195, 243, .6); }
.sfeat__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.sfeat__img img { width: 100%; height: 100%; object-fit: cover; }
.sfeat__txt { padding: 24px 28px 28px; }
.sfeat h3 { font-size: 1.25rem; letter-spacing: .05em; color: var(--navy); }

/* partners */
.partner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 40px 0; border-top: 1px solid var(--line-d); }
.partner:first-of-type { border-top: 0; padding-top: 0; }
.partner__logo { background: #fff; padding: 26px; display: flex; align-items: center; justify-content: center; align-self: start; }
.partner__logo img { max-height: 130px; object-fit: contain; }
.partner h3 { color: #fff; font: 700 1.6rem var(--fx); }
.partner__sum { color: #c5d6e7; }

/* rich text */
.rich { overflow-wrap: anywhere; }
.rich img { border-radius: 2px; }
.rich h2 { font-size: 1.4rem; margin-top: 1.6em; }
.rich h3 { font-size: 1.15rem; margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.4em; }
.rich table { border-collapse: collapse; width: 100%; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px 12px; }
.rich video { width: 100%; }
.rich--dark { color: #c5d6e7; }
.rich--dark a { color: var(--cyan); }
.rich .gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tbl-scroll { overflow-x: auto; }

/* videos */
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.vitem { margin: 0; }
.vitem:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.vbox { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-d); }
.vbox video, .vbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.vitem figcaption { display: flex; gap: 16px; align-items: baseline; padding: 16px 4px 0; flex-wrap: wrap; }
.vitem__no { font: 700 1.1rem var(--fx); color: var(--cyan2); }
.vitem h2 { font-size: 1.2rem; margin: 0; }
.vitem p { flex-basis: 100%; color: var(--muted); margin: 4px 0 0; }
.vcap { margin-top: 12px; font-weight: 500; }

/* docs */
.docs { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.docs__grp h3 { font-size: 1.1rem; display: flex; flex-direction: column; }
.docs__grp h3 small { font: 600 .72rem var(--fx); letter-spacing: .2em; color: var(--cyan2); }
.sec--dark .docs__grp h3 { color: #fff; }
.sec--dark .docs__grp h3 small { color: var(--cyan); }
.dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.docs__grp:last-child .dlist { grid-template-columns: 1fr 1fr; }
.docs__grp:only-child { grid-column: 1 / -1; }
.dlist a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); color: var(--text); transition: .2s; height: 100%; }
.sec--dark .dlist a { background: rgba(16, 42, 76, .7); border-color: var(--line-d); color: #dbe7f3; }
.dlist a:hover { border-color: var(--cyan); transform: translateX(3px); }
.dlist__ic { flex-shrink: 0; width: 44px; height: 50px; display: grid; place-items: center; font: 700 .7rem var(--fx); color: #fff; background: #c8352b; clip-path: polygon(0 0, 70% 0, 100% 26%, 100% 100%, 0 100%); }
.dlist__t { flex: 1; display: flex; flex-direction: column; line-height: 1.45; }
.dlist__t em { font-style: normal; font-size: .84rem; color: var(--muted); }
.dlist__go { font-size: 1.2rem; color: var(--cyan2); }

/* news */
.nlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nlist li { border-bottom: 1px solid var(--line); }
.nlist a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; padding: 18px 6px; color: var(--text); transition: .2s; }
.nlist a:hover { background: rgba(34, 195, 243, .06); padding-left: 14px; }
.nlist time { font: 600 .9rem var(--fx); color: var(--cyan2); min-width: 92px; letter-spacing: .04em; }
.nlist b { font-weight: 500; flex: 1; }
.nlist em { flex-basis: 100%; font-style: normal; color: var(--muted); font-size: .9rem; padding-left: 114px; }
.home2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ahead { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ahead time { font: 600 .95rem var(--fx); color: var(--cyan2); }
.ahead h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 6px; }
.acover { margin: 0 0 28px; }
.notice { background: #fff8e8; border-left: 3px solid var(--amber); padding: 10px 16px; }
.prevnext { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); align-items: center; }
.prevnext a { color: var(--text); font-size: .92rem; }
.prevnext small { display: block; color: var(--cyan2); }
.prevnext .next { text-align: right; }
.prevnext .back { padding: 8px 18px; border: 1px solid var(--line); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--fx); }
.pager .on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* page hero */
.phero { position: relative; background: var(--navy) var(--bg, none) center / cover no-repeat; color: #fff; padding: 74px 0 70px; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4, 12, 26, .96) 20%, rgba(7, 21, 42, .7) 100%); }
.phero__in { position: relative; z-index: 2; }
.phero__en { font: 600 .82rem var(--fx); letter-spacing: .26em; color: var(--cyan); margin: 18px 0 8px; }
.phero__t { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: .1em; margin-bottom: 10px; }
.lang-en .phero__t { letter-spacing: .02em; font-family: var(--fx); }
.phero__sub { font-size: 1.15rem; color: #cfe2f5; }
.phero__lead { max-width: 46em; color: #b7c9dc; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .85rem; color: #8fa8c1; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #4e6a88; }
.crumbs a { color: #a9c3dd; }
.crumbs a:hover { color: var(--cyan); }
.anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.anchors a { padding: 7px 16px; border: 1px solid rgba(34, 195, 243, .5); color: #dbeaf7; font-size: .9rem; background: rgba(34, 195, 243, .06); }
.anchors a:hover { background: var(--cyan); color: var(--navy); }

/* solution */
.solution { background: linear-gradient(135deg, #061224, #0d2a4f); color: #fff; padding: 90px 0; position: relative; overflow: hidden; }
.solution::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 48px 48px; opacity: .5; }
.solution .wrap { position: relative; }
.phases { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: ph; }
.phase { padding: 30px 30px 26px; border: 1px solid var(--line-d); background: rgba(7, 21, 42, .55); position: relative; margin-left: -1px; }
.phase::after { content: ""; position: absolute; right: -12px; top: 46px; width: 22px; height: 22px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: rotate(45deg); background: #0a1f3b; z-index: 2; }
.phase:last-child::after { display: none; }
.phase__no { font: 700 2.4rem/1 var(--fx); color: var(--cyan); display: block; margin-bottom: 12px; }
.phase h3 { font-size: 1.15rem; letter-spacing: .06em; }
.phase ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.phase li { font-size: .86rem; padding: 3px 10px; border: 1px solid var(--line-d); color: #c6d7e8; }
.solution__note { color: #a9c0d8; }
.solution__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
.contact__info h2, .contact__form h2 { font-size: 1.35rem; }
.cinfo { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 24px; }
.cinfo dt { color: var(--cyan2); font-weight: 500; }
.cinfo dd { margin: 0; }
.cmap { aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.cmap iframe { width: 100%; height: 100%; border: 0; }
.contact__form { background: var(--soft); padding: 36px; border-top: 3px solid var(--cyan); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__row--end { align-items: end; grid-template-columns: auto auto; justify-content: space-between; }
.fld { display: block; margin-bottom: 16px; }
.fld > span { display: block; font-size: .9rem; margin-bottom: 6px; font-weight: 500; }
.fld i { color: #d0342c; font-style: normal; }
.fld input, .fld textarea { width: 100%; border: 1px solid #c9d5e2; background: #fff; padding: 10px 12px; font: inherit; border-radius: 2px; }
.fld input:focus, .fld textarea:focus { border-color: var(--cyan2); outline: 0; box-shadow: 0 0 0 3px rgba(34, 195, 243, .18); }
.fld.err input, .fld.err textarea { border-color: #d0342c; }
.fld em { color: #d0342c; font-size: .84rem; font-style: normal; }
.fld--cap input { max-width: 120px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 12px 16px; margin-bottom: 18px; border-left: 3px solid; }
.alert.ok { background: #e9f8ef; border-color: #2a9d5b; }
.alert.err { background: #fdeceb; border-color: #d0342c; }
.bigsearch { display: flex; gap: 10px; margin-bottom: 24px; }
.bigsearch input { flex: 1; border: 1px solid #c9d5e2; padding: 12px 14px; font: inherit; }
.sr-h { font-size: 1.15rem; margin-top: 30px; }
.slist { list-style: none; padding: 0; margin: 0 0 20px; }
.slist a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.slist b { display: block; font-family: var(--fx); }
.slist em { font-style: normal; color: var(--muted); font-size: .9rem; }

/* 404 */
.nf { padding: 120px 0; text-align: center; }
.nf__code { font: 700 7rem/1 var(--fx); color: transparent; -webkit-text-stroke: 2px var(--cyan2); margin-bottom: 10px; }
.nf .btns { justify-content: center; }

/* footer */
.ft { background: #040d1b; color: #9fb3c8; font-size: .92rem; }
.ft__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding: 64px 0 48px; }
.ft h2 { color: #fff; font-size: .95rem; letter-spacing: .14em; margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin-bottom: 8px; }
.ft a { color: #b8cadc; }
.ft a:hover { color: var(--cyan); }
.logo--ft { margin-bottom: 16px; }
.logo--ft .logo__t b { font-size: 1.05rem; letter-spacing: .08em; }
.ft__contact li { display: flex; gap: 10px; }
.ft__contact i { font-style: normal; color: var(--cyan); width: 16px; flex-shrink: 0; }
.ft__map { min-height: 180px; border: 1px solid var(--line-d); }
.ft__map iframe { width: 100%; height: 100%; min-height: 180px; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
.ft__bottom { border-top: 1px solid var(--line-d); }
.ft__bin { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 0; font-size: .82rem; }
.ft__bin p { margin: 0; }
.totop { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy2); color: var(--cyan); border: 1px solid var(--cyan); z-index: 40; opacity: 0; visibility: hidden; transition: .3s; }
.totop.show { opacity: 1; visibility: visible; }
.totop:hover { background: var(--cyan); color: var(--navy); }

/* ── responsive ── */
@media (max-width: 1360px) {
  .gsearch { display: none; }
}
@media (max-width: 1180px) {
  .gnav__a { padding: 0 11px; }
  .gnav__a::after { left: 11px; right: 11px; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .prow { grid-template-columns: 340px 1fr; }
}
@media (max-width: 1080px) {
  :root { --hd: 64px; }
  .burger { display: flex; }
  .gnav { position: fixed; top: var(--hd); left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s; margin: 0; }
  .nav-open .gnav { transform: none; }
  .nav-open { overflow: hidden; }
  .gnav > ul { flex-direction: column; }
  .gnav__a { line-height: 1.4; padding: 15px 4px; border-bottom: 1px solid var(--line-d); font-size: 1.05rem; }
  .gnav__a::after { display: none; }
  .gnav__sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: none; padding: 0 0 8px 12px; }
  .has-sub.open .gnav__sub { display: block; }
  .gsearch { display: flex; margin-top: 20px; }
  .gsearch input, .gsearch input:focus { width: 100%; flex: 1; }
  .hd__tools { margin-left: auto; }
  .intro__in, .makone__in, .integ, .contact, .pdetail__in, .home2 { grid-template-columns: 1fr; gap: 36px; }
  .cards4__grid { grid-template-columns: 1fr 1fr; }
  .feats3 { grid-template-columns: 1fr; }
  .feats2, .vgrid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .zig__row { grid-template-columns: 1fr; gap: 26px; }
  .zig__row:nth-child(even) .zig__img { order: 0; }
  .prow { grid-template-columns: 1fr; gap: 16px; }
  .partner { grid-template-columns: 1fr; gap: 24px; }
  .phases { grid-template-columns: 1fr; }
  .phase { margin: 0 0 -1px; }
  .phase::after { right: 30px; top: auto; bottom: -12px; transform: rotate(135deg); }
  .docs { grid-template-columns: 1fr; }
  .tline { grid-template-columns: 1fr; padding-left: 30px; }
  .tline::before { left: 6px; }
  .tline__i:nth-child(odd), .tline__i:nth-child(even) { grid-column: 1; text-align: left; margin-top: 0; }
  .tline__i:nth-child(odd)::before, .tline__i:nth-child(even)::before { left: -29px; right: auto; }
  .sec { padding: 64px 0; }
  .sec-h__more { position: static; display: inline-block; margin-top: 10px; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .logo__t small { display: none; }
  .hero { min-height: 520px; height: 88vh; }
  .hero__dots { right: 24px; bottom: 26px; }
  .hud { width: 18px; height: 18px; }
  .hud--tl, .hud--tr { top: calc(var(--hd) + 8px); }
  .cards4__grid, .pgrid { grid-template-columns: 1fr; }
  .ucard { aspect-ratio: 16 / 10; }
  .ft__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 24px 18px; }
  .docs__grp:last-child .dlist { grid-template-columns: 1fr; }
  .nlist em { padding-left: 0; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext .next { text-align: left; }
  .stat { padding: 18px 10px; }
  .stat b { font-size: 1.5rem; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
}
@media print { .hd, .ft, .totop, .solution { display: none; } }
.partner .rich a img { background: #fff; padding: 6px 12px; border-radius: 2px; box-sizing: content-box; }
.partner .rich .gallery3 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
