/* ===== DZX corporate site ===== */
:root {
  --ink: #0B1026;
  --text: #2A3147;
  --muted: #5B6478;
  --bg: #FFFFFF;
  --tint: #F4F6FD;
  --line: #E3E7F3;
  --primary: #3B5BFD;
  --indigo: #4F46E5;
  --cyan: #06B6D4;
  --violet: #7C3AED;
  --dark: #070B1F;
  --dark-2: #0F1736;
  --grad: linear-gradient(120deg, #4F46E5 0%, #2563EB 50%, #06B6D4 100%);
  --grad-light: linear-gradient(120deg, #A5B4FC, #67E8F9);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 24, 64, .08);
  --font: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
html[lang="zh-CN"] { --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
html[lang="en"] { --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif; }
html[lang="en"] body { line-height: 1.7; }
html[lang="en"] .hero h1 { font-size: clamp(1.9rem, 3.9vw, 3rem); }
html[lang="en"] .page-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h1, h2, .lead { text-wrap: balance; word-break: auto-phrase; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.center .btn { margin-top: 32px; }
.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); margin-top: 24px; }
.empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.7em; border-radius: 999px; font-weight: 600; font-size: .95rem; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(59, 91, 253, .3); }
.btn-ghost { color: #E0E7FF; border-color: rgba(165, 180, 252, .45); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { color: var(--indigo); border-color: #C7D2FE; background: #fff; }
.btn-outline:hover { border-color: var(--indigo); }
.btn-light { background: #fff; color: var(--indigo); }
.btn-sm { padding: .5em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-en { font-weight: 800; letter-spacing: .14em; font-size: 1.15rem; color: #fff; font-family: Inter, sans-serif; }
.brand-ja { font-size: .72rem; letter-spacing: .12em; color: #A5B4FC; }
.scrolled .brand-en { color: var(--ink); }
.scrolled .brand-ja { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a:not(.btn) { color: #C7D2FE; font-size: .9rem; font-weight: 500; position: relative; }
.nav > a:not(.btn).active::after, .nav-item > a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad);
}
.nav a:not(.btn):hover { color: #fff; }
.scrolled .nav a:not(.btn) { color: var(--text); }
.scrolled .nav a:not(.btn):hover { color: var(--primary); }
.nav-item { position: relative; }
.has-sub > a::before { content: ""; }
.sub {
  position: absolute; top: calc(100% + 14px); left: -20px; min-width: 240px; padding: 10px;
  background: #fff; border-radius: 14px; box-shadow: 0 20px 40px rgba(11,16,38,.15);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text) !important; font-size: .88rem; }
.nav .sub a:hover { background: var(--tint); color: var(--primary) !important; }
.nav .sub small { display: block; font-size: .74rem; color: var(--muted); }

.lang-switch { display: flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(165,180,252,.35); }
.scrolled .lang-switch { border-color: var(--line); }
.lang-switch a { padding: .25em .8em; border-radius: 999px; font-size: .78rem; color: #C7D2FE; white-space: nowrap; }
.scrolled .lang-switch a { color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--grad); color: #fff !important; }
.lang-switch .l-short { display: none; }
.menu-toggle { display: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #E0E7FF; padding: 140px 0 56px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(79,70,229,.35), transparent 60%),
    radial-gradient(700px 400px at 0% 90%, rgba(6,182,212,.22), transparent 60%),
    var(--dark);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; padding: .35em 1em; border-radius: 999px; margin: 0;
  background: rgba(129,140,248,.12); border: 1px solid rgba(129,140,248,.3); font-size: .8rem; letter-spacing: .08em; color: #C7D2FE;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 12px #22D3EE; animation: blink 2s infinite; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin: .6em 0 .5em; font-weight: 700; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .grad, .page-hero .grad { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: 1.05rem; color: #B8C2E6; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-svg { width: 100%; max-width: 460px; margin-left: auto; }
.pulse-lines path, .dash-move { stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
.stats {
  position: relative; list-style: none; padding: 0; margin: 64px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(165,180,252,.18);
}
.stats li { padding: 24px 16px 0; }
.stats strong { display: block; font-size: 2rem; font-weight: 800; color: #fff; font-family: Inter, sans-serif; }
.stats small { font-size: .9rem; margin-left: 2px; }
.stats span { font-size: .85rem; color: #94A3D8; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #E0E7FF; padding: 128px 0 64px;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(79,70,229,.35), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(6,182,212,.18), transparent 60%),
    var(--dark);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25;
  background-image: radial-gradient(rgba(165,180,252,.5) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: .4em; }
.page-hero-art svg { width: 100%; max-width: 400px; margin-left: auto; }
.page-hero-sm { padding-bottom: 40px; }
.page-hero-sm .page-hero-art svg { max-width: 260px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: #8A96C8; margin-bottom: 20px; }
.breadcrumb a { color: #A5B4FC; }
.kicker {
  font-family: Inter, sans-serif; font-weight: 800; font-size: .78rem; letter-spacing: .25em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6em;
}
.kicker-light, .section-dark .kicker { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #C7D2FE; }
.section-dark h2, .section-dark h4 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p:not(.kicker) { color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #C7D2FE; }
.card h3 { font-size: 1.12rem; }
.card p { font-size: .92rem; color: var(--muted); margin: 0 0 16px; }
.card-more { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--indigo); }
.card-art { width: 64px; height: 64px; padding: 10px; border-radius: 16px; background: var(--tint); margin-bottom: 20px; }
.cards-compact { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards-compact .card { padding: 22px 18px; }
.cards-compact h3 { font-size: .95rem; }
.cards-compact .card-art { width: 52px; height: 52px; padding: 8px; margin-bottom: 14px; }
/* shared line-illustration styles */
.s1 { fill: none; stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.s2 { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.f2 { fill: var(--cyan); opacity: .85; }

/* ---------- Home menu tiles ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu-tile {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .3s, box-shadow .3s;
}
.menu-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,16,38,.14); }
.menu-tile-art {
  height: 190px; padding: 18px; display: grid; place-items: center;
  background: radial-gradient(260px 160px at 80% 0%, rgba(79,70,229,.4), transparent 70%), var(--dark);
}
.menu-tile-art svg { width: 100%; height: 100%; max-width: 260px; transition: transform .4s; }
.menu-tile:hover .menu-tile-art svg { transform: scale(1.05); }
.menu-tile-body { padding: 22px 24px 26px; }
.menu-tile-body .kicker { margin-bottom: .3em; }
.menu-tile-body h3 { font-size: 1.2rem; margin-bottom: .3em; }
.menu-tile-body p:last-child { margin: 0; padding-right: 44px; color: var(--muted); font-size: .9rem; }
.menu-tile-arrow {
  position: absolute; right: 20px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tint); color: var(--indigo); transition: background .3s, color .3s;
}
.menu-tile:hover .menu-tile-arrow { background: var(--grad); color: #fff; }

/* ---------- Split / art ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.art-panel {
  padding: 28px; border-radius: 24px; background:
    radial-gradient(400px 260px at 80% 0%, rgba(79,70,229,.35), transparent 70%), var(--dark);
  box-shadow: 0 30px 60px rgba(11,16,38,.18);
}
.art-panel svg { width: 100%; max-width: 420px; margin: 0 auto; }
.product-name { font-size: 2rem; font-weight: 800; font-family: Inter, sans-serif; margin-bottom: .4em; }
.product-name small { font-size: .95rem; font-weight: 500; color: var(--muted); font-family: var(--font); }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 24px 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid rgba(165,180,252,.15); }
.checklist-light li { border-color: var(--line); color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat, var(--grad);
}
.mini-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-list li { padding: .25em .9em; border-radius: 999px; background: var(--tint); font-size: .82rem; color: var(--indigo); font-weight: 500; }
.features { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.features li { padding: 14px 16px; border-radius: 14px; background: var(--tint); }
.features b { display: block; color: var(--ink); }
.features span { font-size: .85rem; color: var(--muted); }

/* ---------- Services index ---------- */
.service-rows { display: grid; gap: 40px; }
.service-row { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) { grid-template-columns: 1fr 420px; }
.service-row:nth-child(even) .service-row-art { order: 2; }
.service-row-art { padding: 20px; border-radius: 24px; background: radial-gradient(300px 200px at 80% 0%, rgba(79,70,229,.35), transparent 70%), var(--dark); }
.service-row h2 { font-size: 1.6rem; }
.h-sub { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); margin-top: .2em; }
.for-label { font-size: .9rem; }
.for-label b { display: inline-block; margin-right: 10px; padding: .05em .7em; border-radius: 6px; background: var(--ink); color: #fff; font-size: .78rem; }

/* ---------- DZX SHOP ---------- */
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -16px 0 32px; }
.filter-tabs button {
  padding: .45em 1.2em; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: .88rem; color: var(--text); cursor: pointer; transition: .2s;
}
.filter-tabs button:hover { border-color: #C7D2FE; color: var(--indigo); }
.filter-tabs button[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.templates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.template {
  display: block; width: 100%; margin: 0; padding: 10px; border-radius: 16px; background: var(--dark);
  border: 0; font: inherit; text-align: left; cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.template[hidden] { display: none; }
.template:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,16,38,.2); }
.template svg { width: 100%; border-radius: 10px; }
.template-cap { display: block; padding: 12px 6px 4px; font-size: .92rem; font-weight: 600; color: #fff; }
.template-cap b { font-family: Inter, sans-serif; color: #67E8F9; margin-right: 8px; }
.template-cap small { display: block; font-weight: 400; font-size: .78rem; color: #94A3D8; }

.preview { width: min(920px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.preview::backdrop { background: rgba(7,11,31,.7); backdrop-filter: blur(4px); }
.preview-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; }
.preview-art { padding: 28px; background: radial-gradient(400px 260px at 80% 0%, rgba(79,70,229,.4), transparent 70%), var(--dark); display: grid; place-items: center; }
.preview-art svg { width: 100%; border-radius: 12px; }
.preview-body { padding: 36px 32px; }
.preview-body h3 { font-size: 1.5rem; }
.preview-body h4 { font-size: .95rem; margin-top: 1.2em; }
.preview-body .checklist { margin: 8px 0 24px; }
.preview-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--tint); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.preview-close:hover { background: var(--line); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-thumb {
  position: relative; display: block; width: 100%; padding: 18px 18px 0; border: 0; cursor: zoom-in;
  background: radial-gradient(260px 160px at 80% 0%, rgba(79,70,229,.4), transparent 70%), var(--dark);
}
.case-thumb img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: top;
  transition: filter .3s;
}
.case-thumb:hover img { filter: brightness(.85); }
.case-thumb { overflow: hidden; }
.case-thumb .browser-bar { border-radius: 10px 10px 0 0; }
.case-zoom {
  position: absolute; right: 28px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.1rem;
  opacity: 0; transform: translateY(6px); transition: .3s;
}
.case-thumb:hover .case-zoom, .case-thumb:focus-visible .case-zoom { opacity: 1; transform: none; }
.browser-bar { position: relative; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #1B2550; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #F87171; }
.browser-bar i:nth-child(2) { background: #FBBF24; }
.browser-bar i:nth-child(3) { background: #34D399; }
.browser-bar b { margin-left: 10px; font-size: .78rem; font-weight: 600; color: #C7D2FE; }
.preview-shot { width: min(1000px, calc(100% - 32px)); background: var(--dark); overflow: hidden; }
.preview-shot-inner { max-height: 88vh; overflow-y: auto; }
.preview-shot-inner .browser-bar { position: sticky; top: 0; z-index: 1; height: 44px; padding-right: 60px; }
.preview-shot-inner img { display: block; width: 100%; height: auto; }
.preview-shot .preview-close { top: 6px; right: 8px; z-index: 2; width: 32px; height: 32px; }
.case-body { padding: 20px 24px 24px; }
.case-body .tag { margin-bottom: 10px; }
.case-body h3 { font-size: 1.05rem; }
.case-body p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Points ---------- */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.point { position: relative; padding: 28px 28px 24px 84px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.section-tint .point { border-color: transparent; }
.point-no {
  position: absolute; left: 24px; top: 26px; font-family: Inter, sans-serif; font-weight: 800; font-size: 1.5rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.point h3 { font-size: 1.1rem; margin-bottom: .4em; }
.point p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid #222C5A; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid #67E8F9; border-right: 2px solid #67E8F9; transform: translateY(-50%) rotate(45deg);
}
.steps span { font-family: Inter, sans-serif; font-weight: 800; font-size: 1.6rem; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h4 { margin: .3em 0; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .88rem; color: #A9B4DC; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-item { text-align: center; padding: 0 12px; }
.why-item svg { width: 72px; height: 72px; margin: 0 auto 18px; }
.why-item p { color: var(--muted); font-size: .93rem; margin: 0; }
.why-card { padding: 36px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.structure { display: grid; gap: 16px; margin-top: 24px; }
.structure-item { padding: 22px 24px; border-radius: var(--radius); background: #fff; border-left: 4px solid var(--indigo); }
.structure-item.s-1 { border-left-color: var(--cyan); }
.structure-item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.structure-item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Product scenes ---------- */
.scenes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scenes li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 16px; border-radius: var(--radius); background: var(--tint); font-weight: 600; color: var(--ink); }
.scenes svg { width: 64px; height: 64px; }

/* ---------- Company ---------- */
.mission { max-width: 820px; text-align: center; }
.mission-title { font-size: clamp(1.5rem, 3vw, 2.2rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mission p:last-child { color: var(--muted); }
.company-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.profile { margin: 0; background: #fff; border-radius: var(--radius); padding: 8px 28px; }
.profile div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile div:last-child { border-bottom: 0; }
.profile dt { font-weight: 700; color: var(--ink); }
.profile dd { margin: 0; }
.group { padding: 28px; border-radius: var(--radius); background: #fff; }
.group h3 { font-size: 1.1rem; }
.group-map { margin: 8px 0 16px; }
.group-list { list-style: none; padding: 0; margin: 0; }
.group-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #CBD3EC; font-size: .93rem; }
.tag { display: inline-block; flex: none; padding: .1em .75em; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #E0E7FF; color: var(--indigo); white-space: nowrap; }
.tag-cn, .tag-service { background: #CFFAFE; color: #0E7490; }
.tag-product { background: #EDE9FE; color: #6D28D9; }
.tag-company { background: #DCFCE7; color: #15803D; }

/* ---------- News ---------- */
.news-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 100px auto 1fr 20px; gap: 18px; align-items: center; padding: 20px 24px; color: var(--text); transition: background .2s; }
.news-list a:hover { background: #FAFBFF; }
.news-list a:hover .news-title { color: var(--primary); }
.news-list time { font-family: Inter, sans-serif; font-weight: 600; color: var(--muted); font-size: .9rem; }
.news-list .arrow { color: var(--indigo); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a { min-width: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-align: center; }
.pager a[aria-current="page"] { background: var(--grad); color: #fff; border-color: transparent; }
.article { max-width: 820px; }
.article-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.article-body { font-size: 1.02rem; padding: 24px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.article-h { font-size: 1.15rem; margin-top: 2em; padding-left: 12px; border-left: 4px solid var(--indigo); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--tint); margin-bottom: 14px; }
.contact-card svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--grad); fill: #fff; flex: none; }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; }
.contact-card .tel { display: block; font-family: Inter, sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--ink); line-height: 1.3; }
.contact-card .mail { font-weight: 600; word-break: break-all; }
.form { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; margin-bottom: 16px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form em { font-style: normal; font-size: .7rem; color: #fff; background: #EF4444; padding: .05em .5em; border-radius: 4px; margin-left: 4px; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: .75em 1em; border-radius: 10px;
  border: 1px solid var(--line); background: #FAFBFF; font: inherit; font-weight: 400; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,91,253,.15); }
.form .agree { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.field-error { display: block; margin-top: 4px; color: #DC2626; font-size: .8rem; font-weight: 500; }
.form-alert { padding: 12px 16px; border-radius: 10px; background: #FEF2F2; color: #B91C1C; font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks-icon svg { width: 96px; height: 96px; margin: 0 auto 24px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 64px 0; background: var(--grad); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { margin: 0; opacity: .9; max-width: 36em; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-tel { color: #fff; line-height: 1.4; }
.cta-tel b { display: block; font-family: Inter, sans-serif; font-size: 1.5rem; }
.cta-tel small { display: block; opacity: .85; font-size: .78rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #94A3D8; padding: 64px 0 24px; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 380px; }
.footer-name { margin: 12px 0 4px; color: #fff; }
.footer-name b { letter-spacing: .14em; }
.footer-tag { font-size: .85rem; }
.site-footer address { font-size: .85rem; line-height: 1.9; }
.site-footer a { color: #C7D2FE; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav div { display: flex; flex-direction: column; gap: 6px; }
.footer-nav h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; margin-bottom: 8px; }
.copyright { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(165,180,252,.15); font-size: .8rem; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.float { animation: float 5s ease-in-out infinite; }
.float.d1 { animation-delay: -1s; } .float.d2 { animation-delay: -2.5s; } .float.d3 { animation-delay: -4s; }
.typing circle { animation: blink 1.4s infinite; }
.typing circle:nth-child(2) { animation-delay: .2s; } .typing circle:nth-child(3) { animation-delay: .4s; }
.blink { animation: blink 2s infinite; }
.spin { animation: spin 8s linear infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .lang-switch .l-long { display: none; }
  .lang-switch .l-short { display: inline; }
}
@media (max-width: 1080px) {
  .nav { gap: 14px; }
  .nav a:not(.btn) { font-size: .84rem; }
  .cards-compact { grid-template-columns: repeat(3, 1fr); }
  .service-row { grid-template-columns: 340px 1fr; gap: 36px; }
  .service-row:nth-child(even) { grid-template-columns: 1fr 340px; }
}
@media (max-width: 960px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px;
    border: 0; background: none; cursor: pointer; padding: 8px;
  }
  .menu-toggle span { height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .scrolled .menu-toggle span, .menu-open .menu-toggle span { background: var(--ink); }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 72px 0 auto; max-height: calc(100vh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 24px; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.12);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav a:not(.btn) { display: block; color: var(--text) !important; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav a.active::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .nav .sub a { padding: 10px 4px; font-size: .88rem; border-radius: 0; color: var(--muted) !important; }
  .nav-cta { margin-top: 16px; }
  .menu-open .nav { transform: none; }
  .menu-open.site-header { background: #fff; }
  .menu-open .brand-en { color: var(--ink); }
  .menu-open .lang-switch a:not([aria-current="true"]) { color: var(--muted); }
  .header-inner { gap: 12px; }
  .hero-inner, .page-hero-inner, .split, .company-grid, .contact { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .page-hero-art { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .why { grid-template-columns: 1fr; }
  .why-6, .menu-grid, .templates { grid-template-columns: 1fr 1fr; }
  .cases, .preview-inner { grid-template-columns: 1fr; }
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-art { order: 0; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .brand-ja { display: none; }
  .lang-switch a { padding: .25em .55em; font-size: .72rem; }
  .lang-switch .l-long { display: none; }
  .lang-switch .l-short { display: inline; }
  .cards, .cards-compact, .features, .form .row, .steps, .points, .why-6, .menu-grid { grid-template-columns: 1fr; }
  .menu-tile-art { height: 160px; }
  .profile { padding: 4px 18px; }
  .profile div { grid-template-columns: 1fr; gap: 2px; }
  .news-list a { grid-template-columns: auto 1fr; gap: 6px 12px; padding: 16px 18px; }
  .news-list .news-title { grid-column: 1 / -1; }
  .news-list .tag { justify-self: start; }
  .news-list .arrow { display: none; }
  .form { padding: 22px; }
  .point { padding: 24px 20px 20px 64px; }
  .point-no { left: 18px; }
}
