/* ============================================================
   紫光摩度官网 · 深空信号场 V2
   Editorial tech visual system
   ============================================================ */

:root {
  --bg: #05060d;
  --bg-2: #0a0d18;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --violet: #7c3aed;
  --violet-2: #a78bfa;
  --violet-deep: #4c1d95;
  --cyan: #22d3ee;
  --text: #eef1f8;
  --muted: #a4adc2;
  --muted-2: #6f7889;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --danger: #fb7185;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --header-h: 74px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  color-scheme: dark;
  scrollbar-color: rgba(124, 58, 237, 0.4) transparent;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  background:
    radial-gradient(circle at 82% -12%, rgba(124, 58, 237, 0.16), transparent 40rem),
    radial-gradient(circle at -6% 28%, rgba(34, 211, 238, 0.06), transparent 32rem),
    var(--bg);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: rgba(124, 58, 237, 0.5); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.32); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.5); }

.container { width: min(1240px, 92vw); margin: 0 auto; }
.section { position: relative; padding: clamp(88px, 11vh, 144px) 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.025); }
@supports (content-visibility: auto) {
  .section:not(.hero) { content-visibility: auto; contain-intrinsic-size: 720px; }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/></svg>");
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.7);
}

/* ---------- Typography ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

.section-head { max-width: 740px; margin-bottom: clamp(44px, 6vh, 72px); position: relative; z-index: 1; }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 20px;
}
.section-sub { color: var(--muted); font-size: 16px; line-height: 1.9; max-width: 640px; }

h1 em, h2 em, .contact-copy h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--violet-2) 10%, var(--cyan) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.ghost-num {
  position: absolute;
  top: clamp(24px, 5vh, 60px);
  right: 2vw;
  font-family: var(--font-mono);
  font-size: clamp(110px, 18vw, 240px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s, border-color 0.3s, background 0.3s;
}
.magnetic {
  will-change: transform;
}
.btn .arrow { font-style: normal; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9 55%, #4c1d95);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { box-shadow: 0 18px 54px rgba(124, 58, 237, 0.52); }

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }

.btn-sm { height: 40px; padding: 0 20px; font-size: 13.5px; }
.full { grid-column: 1 / -1; width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--cyan);
  font-size: 14.5px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  transition: color 0.3s, border-color 0.3s;
}
.text-link i { font-style: normal; transition: transform 0.35s var(--ease); }
.text-link:hover { color: #7de8fa; border-color: rgba(34, 211, 238, 0.7); }
.text-link:hover i { transform: translateX(4px); }

/* ---------- Spotlight cards ---------- */

.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 58, 237, 0.13), transparent 45%);
}
.spot:hover::after { opacity: 1; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
.header.scrolled {
  background: rgba(6, 8, 15, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.2; }
.brand-lockup strong { font-size: 16px; letter-spacing: 0.02em; }
.brand-lockup em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--muted-2);
}

.nav { display: flex; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet-2), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
}
.menu-button span {
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
body.menu-open .menu-button span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .menu-button span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  z-index: 49;
  background: rgba(5, 6, 13, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 6vw 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 2px; align-content: start; }
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 17px 4px;
  font-size: 22px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
}
.mobile-menu a em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--violet-2);
  letter-spacing: 0.14em;
}
body.menu-open .mobile-menu a { animation: menuIn 0.5s var(--ease) forwards; }
body.menu-open .mobile-menu a:nth-child(1) { animation-delay: 0.05s; }
body.menu-open .mobile-menu a:nth-child(2) { animation-delay: 0.11s; }
body.menu-open .mobile-menu a:nth-child(3) { animation-delay: 0.17s; }
body.menu-open .mobile-menu a:nth-child(4) { animation-delay: 0.23s; }
body.menu-open .mobile-menu a:nth-child(5) { animation-delay: 0.29s; }
body.menu-open .mobile-menu a:nth-child(6) { animation-delay: 0.35s; }
.mobile-menu .mobile-cta {
  margin-top: 32px;
  justify-content: center;
  text-align: center;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.35);
}
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- Dot nav ---------- */

.dot-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}
.dot-nav a { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.dot-nav a span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.dot-nav a:hover span { background: var(--muted); }
.dot-nav a.active span {
  background: var(--violet-2);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18), 0 0 14px rgba(124, 58, 237, 0.6);
  transform: scale(1.12);
}
.dot-nav a::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(8, 10, 20, 0.88);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.dot-nav a:hover::before { opacity: 1; transform: translateY(-50%); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  padding: calc(var(--header-h) + 48px) 0 100px;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 28% 42%, transparent 26%, rgba(5, 6, 13, 0.5) 74%),
    linear-gradient(180deg, rgba(5, 6, 13, 0.25), transparent 32%, rgba(5, 6, 13, 0.5) 94%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero-copy { max-width: 700px; }
.hero-sub { max-width: 620px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 24px 0;
}
.hero-sub {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.95;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 46px 0 0;
}
.hero-tags li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  transition: border-color 0.3s, color 0.3s;
}
.hero-tags li:hover { border-color: rgba(167, 139, 250, 0.45); color: var(--text); }

/* Hero console */
.console {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(22, 17, 42, 0.74), rgba(8, 10, 20, 0.66));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 22px 24px 24px;
  animation: floatY 7s ease-in-out infinite alternate;
}
@keyframes floatY { from { transform: translateY(-7px); } to { transform: translateY(9px); } }

.console-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: ledBlink 2.4s ease-in-out infinite;
}
@keyframes ledBlink { 50% { opacity: 0.35; } }
.console-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: #c4b5fd; flex: 1; }
.console-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

.console-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}
.console-row strong { display: block; font-size: 14px; font-weight: 600; }
.console-row em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.console-val {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
  transition: color 0.25s;
}
.console-val.flash { color: #fff; }

.console-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.console-flow i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.45), rgba(34, 211, 238, 0.45));
  position: relative;
}
.console-flow i::after {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: flowDot 2.4s linear infinite;
}
.console-flow i:nth-of-type(2)::after { animation-delay: 0.8s; }
.console-flow i:nth-of-type(3)::after { animation-delay: 1.6s; }
@keyframes flowDot {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 5px); opacity: 0; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted-2);
  z-index: 2;
  transition: color 0.3s;
}
.scroll-cue:hover { color: var(--muted); }
.scroll-cue i {
  width: 1px; height: 38px;
  background: linear-gradient(180deg, var(--violet-2), transparent);
  overflow: hidden;
  position: relative;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -14px; left: 0;
  width: 1px; height: 14px;
  background: var(--cyan);
  animation: cueDrop 1.8s var(--ease) infinite;
}
@keyframes cueDrop { to { transform: translateY(52px); } }

/* ---------- Ticker ---------- */

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 17px 0;
  animation: ticker 32s linear infinite;
}
.ticker-track > * { margin-right: 30px; }
.ticker span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker b { color: rgba(139, 92, 246, 0.75); font-size: 10px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Era ---------- */

.era { overflow: clip; }
.era-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.era-copy { position: sticky; top: 112px; }
.era-copy h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.24; margin-bottom: 22px; }
.era-lead { color: var(--muted); font-size: 15.5px; line-height: 1.95; }
.era-lead.muted { color: var(--muted-2); margin-top: 12px; }

.evidence-note {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.015);
}
.evidence-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  border: 1px solid currentColor;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  margin-top: 2px;
}
.evidence-note p { font-size: 13px; color: var(--muted); line-height: 1.8; }

.era-cards { display: grid; gap: 20px; }
.era-cards .proof-card:nth-child(2) { margin-left: 34px; }
.era-cards .proof-card:nth-child(3) { margin-left: 68px; }

.proof-card {
  padding: 26px 28px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
}
.proof-card:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.4); }
.capability-card {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.09), rgba(255, 255, 255, 0.018) 55%, rgba(34, 211, 238, 0.025));
}
.capability-card strong { min-height: 54px; }
.capability-card h3 { letter-spacing: -0.02em; }
.capability-card > small { color: rgba(196, 181, 253, 0.62); }
.proof-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.proof-card strong {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.proof-card strong i {
  font-style: normal;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(110deg, #c4b5fd, #7c3aed 55%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.proof-card strong small { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.proof-card h3 { font-size: 17px; margin: 14px 0 8px; }
.proof-card p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.proof-card > small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ---------- Loop ---------- */

.loop { background: radial-gradient(90% 55% at 50% 0%, rgba(124, 58, 237, 0.08), transparent 62%); }

.loop-stage { position: relative; margin-top: 8px; }
.loop-track {
  position: absolute;
  top: 8px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}
.loop-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.55);
}
.loop-comet {
  position: absolute;
  top: 0;
  left: -90px;
  width: 90px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-2) 55%, var(--cyan));
  filter: blur(0.4px);
  animation: comet 3.6s linear infinite;
}
@keyframes comet { to { left: 100%; } }

.loop-nodes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.loop-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0 6px 10px;
  background: none;
  border: none;
}
.node-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.28);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.loop-node em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.loop-node strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s;
}
.loop-node:hover strong { color: var(--text); }
.loop-node.active .node-dot {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.16), 0 0 26px rgba(124, 58, 237, 0.55);
}
.loop-node.active strong { color: var(--text); }
.node-progress {
  width: 46px; height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.loop-node.active .node-progress { opacity: 1; }
.node-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--violet-2), var(--cyan));
}
.loop-node.active .node-progress i { animation: nodeFill 6.5s linear forwards; }
@keyframes nodeFill { to { width: 100%; } }

.loop-panel {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.loop-panel::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 68%);
  pointer-events: none;
}
.loop-panel-head > *, .loop-panel-body > * { transition: opacity 0.28s ease, transform 0.28s ease; }
.loop-panel.switching .loop-panel-head, .loop-panel.switching .loop-panel-body { opacity: 0; }
.loop-panel.switching .loop-panel-head { transform: translateY(-6px); }

.loop-panel-head h3 { font-size: clamp(22px, 2.6vw, 32px); margin: 6px 0 18px; line-height: 1.4; }
.loop-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.loop-chips span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
}
.loop-panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.loop-panel-body article {
  border-left: 2px solid rgba(124, 58, 237, 0.55);
  padding-left: 22px;
}
.loop-panel-body h4 {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.loop-panel-body h4 i {
  font-style: normal;
  font-size: 9px;
  color: var(--cyan);
}
.loop-panel-body p { color: var(--muted); font-size: 15px; line-height: 1.9; }

/* ---------- Solutions ---------- */

.role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  width: fit-content;
  max-width: 100%;
  margin-bottom: 52px;
}
.role-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  border-radius: 13px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.3s, box-shadow 0.35s;
}
.role-tab em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.role-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.role-tab.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(76, 29, 149, 0.95));
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}
.role-tab.active em { color: rgba(255, 255, 255, 0.65); }

.solution-panel { display: none; }
.solution-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  animation: panelIn 0.55s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }

.solution-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.solution-copy h3 {
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.38;
  margin: 14px 0 16px;
}
.solution-lead { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 28px; }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.solution-grid h4 {
  font-size: 13px;
  color: var(--violet-2);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.solution-grid p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.viz { position: relative; }
.viz-partner, .viz-science, .viz-enterprise { width: 100%; max-width: 460px; margin: 0 auto; }

.viz-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz-lines line {
  stroke: rgba(167, 139, 250, 0.35);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
  animation: dashFlow 1.5s linear infinite;
}
.viz-lines circle { fill: var(--cyan); opacity: 0.85; }
@keyframes dashFlow { to { stroke-dashoffset: -8; } }

.viz-partner { aspect-ratio: 1 / 0.9; }
.hub {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 18px 24px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(124, 58, 237, 0.26), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(167, 139, 250, 0.45);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 0 44px rgba(124, 58, 237, 0.28);
  backdrop-filter: blur(8px);
}
.hub small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: 0.14em;
  margin-top: 4px;
}
.sat {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 12.5px;
  color: var(--text);
  background: rgba(10, 13, 24, 0.78);
  border: 1px solid var(--line-2);
  padding: 9px 15px;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.s1 { left: 16%; top: 16%; }
.s2 { left: 84%; top: 16%; }
.s3 { left: 16%; top: 84%; }
.s4 { left: 84%; top: 84%; }

.solution-figure img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
.solution-figure figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.science-stack { display: grid; gap: 12px; }
.science-stack span {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014));
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.science-stack span:nth-child(1) { margin-left: 44px; border-left-color: #22d3ee; }
.science-stack span:nth-child(2) { margin-left: 22px; border-left-color: #67e8f9; }
.science-stack span:nth-child(3) { border-left-color: #a78bfa; }
.science-stack span:nth-child(4) { margin-left: 22px; border-left-color: #8b5cf6; }
.science-stack span:nth-child(5) { margin-left: 44px; border-left-color: #7c3aed; }

.viz-enterprise { display: flex; flex-direction: column; }
.agent-card {
  padding: 19px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}
.agent-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.agent-card b { font-size: 15px; font-weight: 600; }
.agent-card.main {
  border-color: rgba(167, 139, 250, 0.5);
  background: linear-gradient(150deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.06));
  box-shadow: 0 0 44px rgba(124, 58, 237, 0.2);
}
.flow-arrow {
  text-align: center;
  font-style: normal;
  color: rgba(167, 139, 250, 0.7);
  font-size: 14px;
  line-height: 1;
  padding: 5px 0;
  animation: arrowBob 1.6s ease-in-out infinite;
}
@keyframes arrowBob { 50% { transform: translateY(3px); } }

/* ---------- Products (bento) ---------- */

.products {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.035) 32%, transparent 96%);
}

.product-system {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}
.system-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012));
}
.system-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.system-card h3 { font-size: 18px; margin-bottom: 8px; }
.system-card p { color: var(--muted); font-size: 13.5px; line-height: 1.75; }

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.product-detail-grid div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.product-detail-grid strong { display: block; font-size: 14px; margin-bottom: 6px; }
.product-detail-grid span { display: block; color: var(--muted-2); font-size: 12.5px; line-height: 1.6; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(167, 139, 250, 0.42); }

.pc-matrix { grid-column: span 8; grid-row: span 2; }
.pc-lumii { grid-column: span 4; grid-row: span 2; }
.pc-md { grid-column: span 4; }
.pc-wide { grid-column: span 6; }

.product-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.product-card h3 { font-size: 22px; }
.pc-matrix h3 { font-size: clamp(30px, 3vw, 40px); }
.product-sub { color: var(--muted-2); font-size: 13.5px; margin-top: -6px; }
.product-status,
.project-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: rgba(196, 181, 253, 0.88);
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 999px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.product-status { margin-top: -2px; }
.product-desc { color: var(--muted); font-size: 14px; line-height: 1.85; }
.pc-matrix .product-desc { font-size: 15.5px; max-width: 580px; }

.product-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.product-chips span {
  font-size: 12.5px;
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}

.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
}
.pipeline span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.pipeline i { font-style: normal; color: rgba(167, 139, 250, 0.85); font-size: 12px; }

.product-list { list-style: none; padding: 0; margin: 4px 0 0; }
.product-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--muted);
  padding: 11.5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.product-list li:last-child { border-bottom: none; }
.product-list li::before { content: "◆"; color: var(--violet-2); font-size: 9px; }

/* ---------- Projects ---------- */

.project-list { margin-top: 4px; }
.project-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vh, 44px) 0;
  border-top: 1px solid var(--line);
}
.project-row:first-child { border-top: none; padding-top: 8px; }
.project-row:nth-child(even) .project-media { order: 2; }
.project-row:nth-child(even) .project-info { order: 1; }

.project-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  aspect-ratio: 16 / 10;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.9s var(--ease);
  filter: saturate(0.92) contrast(1.03);
}
.project-row:hover .project-media img { transform: scale(1.05); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(205deg, rgba(124, 58, 237, 0.16), transparent 42%, rgba(5, 6, 13, 0.52));
  pointer-events: none;
  transition: opacity 0.5s;
  opacity: 0.85;
}
.project-row:hover .project-media::after { opacity: 0.6; }
.project-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #ece9fb;
  background: rgba(8, 10, 20, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 7px 13px;
  border-radius: 999px;
}

.project-index {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.project-info h3 {
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.45;
  margin: 13px 0 13px;
}
.project-info p { color: var(--muted); font-size: 14.5px; line-height: 1.88; }

/* ---------- Article feed (WeChat sync) ---------- */

.article-feed {
  margin-top: clamp(44px, 6vh, 72px);
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 5vh, 56px);
}
.article-feed-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.article-feed-head h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 10px 0; }
.article-feed-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 26px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012));
  transition: transform 0.5s var(--ease), border-color 0.4s;
  animation: article-in 0.7s var(--ease) both;
}
.article-card:hover { transform: translateY(-4px); border-color: rgba(94, 234, 212, 0.45); }
.article-cover { aspect-ratio: 16 / 9; overflow: hidden; }
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 0.8s var(--ease);
}
.article-card:hover .article-cover img { transform: scale(1.05); }
.article-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(150deg, rgba(124, 58, 237, 0.28), rgba(34, 211, 238, 0.12));
}
.article-cover-fallback span {
  font-family: var(--font-mono);
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
}
.article-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.article-meta time { margin-left: auto; }
.article-source { color: var(--cyan); }
.article-badge {
  border: 1px solid rgba(94, 234, 212, 0.4);
  color: var(--cyan);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 9.5px;
}
.article-card h4 {
  font-size: 15.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.article-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s, transform 0.35s;
}
.article-card:hover .article-more { opacity: 1; transform: none; }
.article-empty, .article-feed-fallback { color: var(--muted); font-size: 14px; }
@keyframes article-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Advantage ---------- */

.adv-list { border-top: 1px solid var(--line); }
.adv-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 48px;
  gap: 26px;
  align-items: center;
  padding: 27px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, padding-left 0.4s var(--ease);
}
.adv-row:hover {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.08), transparent 62%);
  padding-left: 24px;
}
.adv-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(167, 139, 250, 0.55);
}
.adv-body h3 { font-size: 19px; margin-bottom: 8px; }
.adv-body p { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 720px; }
.adv-arrow {
  font-style: normal;
  color: var(--violet-2);
  font-size: 19px;
  text-align: right;
  opacity: 0;
  transform: translateX(-9px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.adv-row:hover .adv-arrow { opacity: 1; transform: none; }

.eco-banner {
  margin-top: 60px;
  border-radius: 24px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background:
    radial-gradient(120% 140% at 12% 50%, rgba(124, 58, 237, 0.2), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}
.eco-banner img {
  width: clamp(120px, 15vw, 210px);
  height: auto;
  opacity: 0.55;
  filter: drop-shadow(0 0 34px rgba(124, 58, 237, 0.45));
}
.eco-banner h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 12px 0 13px; }
.eco-copy > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 660px; }

/* ---------- Contact ---------- */

.contact {
  background: radial-gradient(85% 60% at 50% 100%, rgba(124, 58, 237, 0.1), transparent 65%);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.26; margin-bottom: 20px; }
.contact-lead { color: var(--muted); font-size: 15.5px; line-height: 1.9; }
.contact-points { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-points li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-points li span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--violet-2);
}

.contact-form {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: linear-gradient(170deg, rgba(19, 15, 35, 0.62), rgba(8, 10, 20, 0.55));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(26px, 3.4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label, .field-label { font-size: 13px; color: var(--muted); }
.form-field label i, .field-label i { font-style: normal; color: #a78bfa; }

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 14.5px;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-2); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
  background: rgba(255, 255, 255, 0.05);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23a4adc2' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-field textarea { resize: vertical; min-height: 100px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 13.5px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
}
.chip:hover span { border-color: rgba(167, 139, 250, 0.5); color: var(--text); }
.chip input:checked + span {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.88), rgba(76, 29, 149, 0.88));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.32);
}
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.4); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.consent input {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #7c3aed;
  cursor: pointer;
}
.consent span i { font-style: normal; color: #a78bfa; }

.form-field.invalid label,
.form-field.invalid .field-label { color: var(--danger); }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: rgba(251, 113, 133, 0.6); }
.form-field.invalid .chip span { border-color: rgba(251, 113, 133, 0.5); }

.form-status { min-height: 20px; font-size: 13.5px; color: var(--danger); grid-column: 1 / -1; }
.form-status.success { color: #34d399; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: #04050a;
  padding: 72px 0 34px;
  overflow: clip;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-brand > p { margin-top: 16px; color: var(--muted-2); font-size: 13.5px; }
.footer-col { display: grid; gap: 12px; align-content: start; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.footer-col a { color: var(--muted); font-size: 14px; width: fit-content; transition: color 0.3s, transform 0.3s var(--ease); }
.footer-col a:hover { color: var(--text); transform: translateX(3px); }

.footer-word {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(52px, 10.5vw, 148px);
  line-height: 0.95;
  text-align: center;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 36px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-bottom p { color: var(--muted-2); font-size: 12px; }

.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 13, 24, 0.72);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 17px;
  z-index: 60;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(167, 139, 250, 0.6); background: rgba(124, 58, 237, 0.28); }

/* ---------- Reveal ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal="left"] { transform: translateX(-36px); }
html.js [data-reveal="right"] { transform: translateX(36px); }
html.js [data-reveal="scale"] { transform: scale(0.95); }
html.js [data-reveal].in-view { opacity: 1; transform: none; }
html.no-reveal-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Responsive ---------- */

.desktop-only { display: initial; }

@media (max-width: 1100px) {
  .nav, .dot-nav { display: none; }
  .menu-button { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .console { max-width: 540px; }
  .hero { padding-bottom: 120px; }

  .era-grid { grid-template-columns: 1fr; gap: 48px; }
  .era-copy { position: static; }

  .solution-panel.active { grid-template-columns: 1fr; gap: 40px; }

  .product-system { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pc-matrix, .pc-lumii { grid-column: 1 / -1; grid-row: auto; }
  .pc-md, .pc-wide { grid-column: auto; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .desktop-only { display: none; }

  .loop-track { display: none; }
  .loop-nodes {
    grid-template-columns: 1fr;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin-left: 9px;
    gap: 4px;
  }
  .loop-node {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 13px 0 13px 20px;
    text-align: left;
  }
  .node-progress { display: none; }
  .loop-panel-body { grid-template-columns: 1fr; gap: 24px; }

  .solution-grid { grid-template-columns: 1fr; }

  .era-cards .proof-card:nth-child(2),
  .era-cards .proof-card:nth-child(3) { margin-left: 0; }

  .project-row { grid-template-columns: 1fr; gap: 22px; }
  .project-row:nth-child(even) .project-media { order: 0; }
  .project-row:nth-child(even) .project-info { order: 0; }
  .project-media { aspect-ratio: 16 / 9; }

  .adv-row { grid-template-columns: 54px minmax(0, 1fr) 26px; gap: 14px; }
  .adv-row:hover { padding-left: 10px; }

  .eco-banner { grid-template-columns: 1fr; }
  .eco-banner img { display: none; }

  .contact-form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .scroll-cue { display: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.scrolled,
  .mobile-menu,
  .console,
  .proof-card,
  .btn-ghost,
  .role-tab,
  .project-tag,
  .contact-form,
  .to-top {
    background: rgba(10, 13, 24, 0.94);
  }
}

@media (max-width: 600px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-actions .btn { width: 100%; }
  .console { padding: 18px 18px 20px; }
  .ticker span { font-size: 11px; letter-spacing: 0.18em; }
  .product-system,
  .product-detail-grid,
  .article-grid,
  .bento { grid-template-columns: 1fr; }
  .bento > .product-card { grid-column: 1 / -1; }
  .to-top { right: 16px; bottom: 16px; }
  .footer-word { font-size: 15vw; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; flex-wrap: wrap; width: 100%; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
