/* ============================================
   home.css V3 — Cockpit Hero + Legacy Sections
   ============================================ */

/* ============================================
   Hero · Cockpit (指挥舱首屏)
   浅色科技风 + 活体拓扑 + 遥测 + 通道仪表
   ============================================ */
.hero.hero-cockpit {
  position: relative;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  padding: clamp(96px, 9vw, 136px) clamp(24px, 4vw, 64px) clamp(108px, 8vw, 128px);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,107,94,0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 8% 95%, rgba(52,199,89,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 95% 10%, rgba(245,166,35,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #FAFBFE 0%, #F5F6FA 55%, #F9F5EE 100%);
  color: var(--text-primary);
  isolation: isolate;
}

/* ── Background layers ── */
.cockpit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cockpit-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,26,46,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,26,46,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 40%, transparent 100%);
}
.cockpit-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  animation: cockpit-breathe 10s ease-in-out infinite;
}
.cockpit-glow-1 {
  width: 720px; height: 560px;
  top: -18%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,107,94,0.24) 0%, transparent 65%);
}
.cockpit-glow-2 {
  width: 520px; height: 380px;
  top: 35%; left: -8%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.18) 0%, transparent 65%);
  animation-delay: 2.5s;
}
.cockpit-glow-3 {
  width: 520px; height: 380px;
  bottom: -10%; right: -6%;
  background: radial-gradient(ellipse, rgba(52,199,89,0.14) 0%, transparent 65%);
  animation-delay: 5s;
}
@keyframes cockpit-breathe {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.85; transform: translateX(-50%) scale(1.06); }
}
.cockpit-glow-2, .cockpit-glow-3 {
  animation-name: cockpit-breathe-xy;
}
@keyframes cockpit-breathe-xy {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.08); }
}

.cockpit-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  mix-blend-mode: multiply;
}
.cockpit-topo-lines path {
  animation: cockpit-dash 6s linear infinite;
}
.cockpit-topo-lines path:nth-child(2) { animation-duration: 8s; }
.cockpit-topo-lines path:nth-child(3) { animation-duration: 11s; }
.cockpit-topo-lines path:nth-child(4) { animation-duration: 13s; }
.cockpit-topo-lines path:nth-child(5) { animation-duration: 18s; }
@keyframes cockpit-dash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -120; }
}
.cockpit-topo-nodes circle {
  filter: drop-shadow(0 0 6px rgba(255,190,79,0.6));
  animation: cockpit-blink 3s ease-in-out infinite;
}
.cockpit-topo-nodes circle:nth-child(2n)  { animation-delay: 0.8s; animation-duration: 4s; }
.cockpit-topo-nodes circle:nth-child(3n)  { animation-delay: 1.6s; animation-duration: 5s; }
.cockpit-topo-nodes circle:nth-child(4n)  { animation-delay: 2.4s; animation-duration: 3.5s; }
@keyframes cockpit-blink {
  0%, 100% { opacity: 0.35; transform: scale(0.85); transform-origin: center; }
  50%      { opacity: 1;    transform: scale(1.2); }
}

.cockpit-scan {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 48%,
      rgba(245,166,35,0.14) 49.5%,
      rgba(255,107,94,0.24) 50%,
      rgba(245,166,35,0.14) 50.5%,
      transparent 52%,
      transparent 100%);
  background-size: 100% 300%;
  mix-blend-mode: multiply;
  animation: cockpit-scan 9s linear infinite;
  opacity: 0.85;
}
@keyframes cockpit-scan {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

.cockpit-noise {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(26,26,46,0.05) 1px, transparent 1px),
    radial-gradient(rgba(26,26,46,0.025) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1.5px 1.5px;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

/* ── Corner L-brackets ── */
.cockpit-corner {
  position: absolute;
  width: 44px; height: 44px;
  z-index: 2;
  pointer-events: none;
}
.cockpit-corner.c-tl { top: 28px; left: 28px;
  border-top: 1px solid rgba(255,107,94,0.75); border-left: 1px solid rgba(255,107,94,0.75); }
.cockpit-corner.c-tr { top: 28px; right: 28px;
  border-top: 1px solid rgba(212,136,14,0.7); border-right: 1px solid rgba(212,136,14,0.7); }
.cockpit-corner.c-bl { bottom: 28px; left: 28px;
  border-bottom: 1px solid rgba(43,168,71,0.65); border-left: 1px solid rgba(43,168,71,0.65); }
.cockpit-corner.c-br { bottom: 28px; right: 28px;
  border-bottom: 1px solid rgba(255,107,94,0.7); border-right: 1px solid rgba(255,107,94,0.7); }

/* ── Telemetry strip (top) ── */
.cockpit-telemetry {
  position: absolute;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26,26,46,0.08);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: rgba(45,45,63,0.72);
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 8px 28px rgba(26,26,46,0.08), inset 0 0 0 1px rgba(255,107,94,0.10);
}
.tele-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: #FF6B5E;
  font-weight: 700;
}
.tele-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF6B5E;
  box-shadow: 0 0 10px rgba(255,107,94,0.9), 0 0 4px #FF6B5E;
  animation: tele-pulse 1.4s ease-in-out infinite;
}
@keyframes tele-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.85); }
}
.tele-div {
  width: 1px; height: 10px;
  background: rgba(26,26,46,0.15);
}
.tele-item { display: inline-flex; align-items: center; gap: 6px; }
.tele-item b {
  color: #D4880E;
  font-weight: 700;
  margin-left: 2px;
}
.tele-item.tele-clock b { color: #2BA847; font-weight: 700; }

/* ── Main content ── */
.cockpit-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: clamp(32px, 4vw, 56px);
}

/* Kicker */
.cockpit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(26,26,46,0.1);
  background: rgba(255,255,255,0.62);
  border-radius: 999px;
  font-family: var(--font-mono), monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(45,45,63,0.85);
  backdrop-filter: blur(8px);
  margin-bottom: clamp(24px, 3vw, 40px);
  box-shadow: 0 2px 8px rgba(26,26,46,0.04);
}
.kicker-mark {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, rgba(255,107,94,0.18), rgba(245,166,35,0.14));
  border: 1px solid rgba(255,107,94,0.4);
  border-radius: 999px;
  color: #D4880E;
  font-weight: 700;
}
.kicker-text { color: #1A1A2E; }
.kicker-ver {
  color: #2BA847;
  font-weight: 700;
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid rgba(26,26,46,0.14);
}

/* Title */
.cockpit-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.1vw, 7rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--text-bright);
  margin: 0 0 clamp(28px, 3.6vw, 52px);
  position: relative;
}
.cockpit-title-line {
  display: block;
  white-space: nowrap;
}
.cockpit-line-2 { margin-top: 0.05em; }

.t-sans {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1A1A2E;
}
.t-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: #D4880E;
  margin: 0 0.04em;
}
.t-outline {
  font-family: var(--font-sans);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(26,26,46,0.55);
  text-stroke: 1.5px rgba(26,26,46,0.55);
  letter-spacing: -0.02em;
  margin-right: 0.04em;
}
.t-grad {
  background: linear-gradient(120deg, #FF6B5E 0%, #F5A623 45%, #34C759 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255,107,94,0.28));
}

/* Lower row: description + CTAs */
.cockpit-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 52px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.cockpit-desc {
  max-width: 620px;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.85;
  color: var(--text-muted);
}
.cockpit-desc p + p { margin-top: 10px; }
.desc-mono {
  font-family: var(--font-mono), monospace;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: #B57100;
  padding: 10px 14px;
  background: rgba(255,107,94,0.06);
  border: 1px solid rgba(255,107,94,0.22);
  border-radius: 8px;
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px !important;
  margin-bottom: 14px !important;
}
.desc-hash { color: #FF6B5E; font-weight: 700; }
.desc-x { color: rgba(26,26,46,0.25); margin: 0 4px; }
.desc-tail {
  color: #1A1A2E;
  font-weight: 600;
  letter-spacing: 0.015em;
}

/* CTAs */
.cockpit-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 260px;
}
.cockpit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.cockpit-btn .btn-label { flex: 1; text-align: left; }
.cockpit-btn-primary {
  background: linear-gradient(135deg, #FF6B5E 0%, #F5A623 100%);
  color: #FFFFFF;
  box-shadow: 0 14px 40px rgba(255,107,94,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.cockpit-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.cockpit-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(255,107,94,0.55); }
.cockpit-btn-primary:hover::after { transform: translateX(100%); }
.cockpit-btn-primary .btn-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(255,255,255,0.9);
  animation: tele-pulse 1.6s ease-in-out infinite;
}
.cockpit-btn-ghost {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(26,26,46,0.18);
  color: #1A1A2E;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(26,26,46,0.04);
}
.cockpit-btn-ghost:hover {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,107,94,0.55);
  color: #E8533E;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,94,0.16);
}

/* ── Channel strips (3 dashboard cards) ── */
.cockpit-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.cockpit-ch {
  position: relative;
  padding: 18px 20px 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(26,26,46,0.08);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(26,26,46,0.04);
}
.cockpit-ch::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,94,0.55), transparent);
}
.cockpit-ch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,107,94,0.12), transparent 60%);
  pointer-events: none;
}
.cockpit-ch-2::before { background: linear-gradient(90deg, transparent, rgba(245,166,35,0.55), transparent); }
.cockpit-ch-2::after  { background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245,166,35,0.12), transparent 60%); }
.cockpit-ch-3::before { background: linear-gradient(90deg, transparent, rgba(52,199,89,0.55), transparent); }
.cockpit-ch-3::after  { background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(52,199,89,0.12), transparent 60%); }
.cockpit-ch:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,94,0.35);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 12px 30px rgba(255,107,94,0.12);
}
.ch-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.ch-idx {
  color: rgba(26,26,46,0.45);
  font-weight: 600;
}
.ch-name {
  color: #1A1A2E;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.ch-status {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 700;
}
.ch-status-ok {
  background: rgba(52,199,89,0.12);
  color: #2BA847;
  border: 1px solid rgba(52,199,89,0.38);
}
.ch-value {
  font-family: var(--font-mono), monospace;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #1A1A2E;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.ch-unit {
  font-size: 0.42em;
  color: rgba(26,26,46,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: -2px;
}
.ch-delta {
  font-size: 0.34em;
  color: #2BA847;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: auto;
  padding: 2px 6px;
  background: rgba(52,199,89,0.10);
  border-radius: 3px;
}
.ch-bar {
  position: relative;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(26,26,46,0.08) 0 2px, transparent 2px 6px);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.ch-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 60%);
  background: linear-gradient(90deg, #FF6B5E, #F5A623);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,107,94,0.6);
  animation: ch-bar-slide 3s ease-in-out infinite;
}
.cockpit-ch-2 .ch-bar i { background: linear-gradient(90deg, #F5A623, #FFBE4F); box-shadow: 0 0 10px rgba(245,166,35,0.6); }
.cockpit-ch-3 .ch-bar i { background: linear-gradient(90deg, #34C759, #5ED87A); box-shadow: 0 0 10px rgba(52,199,89,0.6); }
@keyframes ch-bar-slide {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.25); }
}
.ch-sub {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(26,26,46,0.5);
}

/* ── Bottom foot ── */
.cockpit-foot {
  position: absolute;
  left: 0; right: 0; bottom: 44px;
  padding: 0 clamp(44px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono), monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(26,26,46,0.55);
  z-index: 2;
  pointer-events: none;
}
.foot-l {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-arrow {
  display: inline-block;
  width: 18px; height: 18px;
  line-height: 17px;
  text-align: center;
  border: 1px solid rgba(26,26,46,0.3);
  border-radius: 50%;
  font-size: 11px;
  animation: foot-bounce 2.2s ease-in-out infinite;
}
@keyframes foot-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(3px); opacity: 1; }
}
.foot-r {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.foot-r b {
  color: #D4880E;
  font-weight: 700;
  margin-right: 6px;
  letter-spacing: 0.02em;
}
.foot-sep { color: rgba(26,26,46,0.25); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .cockpit-title { font-size: clamp(2.6rem, 9vw, 5.4rem); }
  .cockpit-title-line { white-space: normal; }
  .cockpit-lower { grid-template-columns: 1fr; }
  .cockpit-actions { min-width: 0; align-items: flex-start; }
  .cockpit-actions .cockpit-btn { width: 100%; max-width: 380px; }
}
@media (max-width: 768px) {
  .hero.hero-cockpit { padding: 96px 20px 56px; min-height: auto; }
  .cockpit-telemetry {
    position: static;
    transform: none;
    margin: 0 auto clamp(28px, 6vw, 40px);
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 14px;
    font-size: 10px;
    gap: 8px;
  }
  .cockpit-telemetry .tele-div { display: none; }
  .cockpit-kicker { flex-wrap: wrap; font-size: 10.5px; gap: 8px; }
  .cockpit-title { font-size: clamp(2.1rem, 10vw, 3.4rem); letter-spacing: -0.03em; }
  .cockpit-channels { grid-template-columns: 1fr; }
  .cockpit-corner { width: 32px; height: 32px; }
  .cockpit-foot {
    position: static;
    padding: 0;
    margin-top: 28px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Legacy .hero fallback (保留给其它地方) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-5xl) var(--space-xl);
}

/* 多层光晕背景 */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  width: 800px;
  height: 600px;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255,107,94,0.18) 0%, transparent 60%);
  filter: blur(60px);
  animation: glow-breathe 8s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  width: 600px;
  height: 400px;
  top: 30%;
  left: -5%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.14) 0%, transparent 60%);
  filter: blur(60px);
  animation: glow-breathe 10s ease-in-out infinite 2s;
}

.hero-glow-3 {
  position: absolute;
  width: 500px;
  height: 400px;
  bottom: -10%;
  right: -5%;
  background: radial-gradient(ellipse, rgba(52,199,89,0.10) 0%, transparent 60%);
  filter: blur(60px);
  animation: glow-breathe 12s ease-in-out infinite 4s;
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  max-width: 850px;
}

/* Logo 动画区 */
.hero-logo {
  margin-bottom: var(--space-2xl);
  display: inline-block;
  animation: fadeInUp 1s ease forwards;
}

.hero-logo svg {
  filter: drop-shadow(0 0 30px rgba(255,107,94,0.3));
}

/* 标题 · Editorial Serif Display */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.8vw, var(--text-7xl));
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  color: var(--text-bright);
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-title .gradient-text {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* 中文部分稍收敛 opsz 让中英衔接自然 */
.hero-title:not(.gradient-text) { font-kerning: normal; }

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-muted);
  line-height: 1.95;
  letter-spacing: 0.015em;
  margin-bottom: var(--space-2xl);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
/* 副标题的两行间留出呼吸 */
.hero-subtitle br { display: block; content: ''; margin-top: 0.15em; }

/* hero 底部 scroll hint 编辑化 */
.hero-scroll span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* 向下滚动 */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-dim);
  font-size: var(--text-xs);
  animation: scroll-hint 3s ease infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
}

/* ── Stats ── */
.stats {
  position: relative;
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stats-grid .stat {
  padding: var(--space-xl) 0;
  position: relative;
}

.stats-grid .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-subtle), transparent);
}

/* ── Bento Products ── */
.bento-section {
  position: relative;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

/* 内顶微光 */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.bento-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-4px);
}

.bento-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid;
  width: fit-content;
  margin-bottom: var(--space-lg);
}

.bento-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  font-variation-settings: "opsz" 48, "SOFT" 30;
  color: var(--text-bright);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin-bottom: var(--space-sm);
}

.bento-card-featured .bento-card-title {
  font-size: 2rem;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.bento-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.9;
  letter-spacing: 0.008em;
  flex: 1;
}

/* SVG 插画区 */
.bento-card-visual {
  margin-top: var(--space-lg);
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.bento-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-lg);
  transition: gap var(--transition-base), color var(--transition-base);
}

.bento-card-link:hover { gap: var(--space-sm); color: var(--color-primary-bright); }

/* 特色大卡 */
.bento-card-featured {
  min-height: 380px;
}

.bento-card-featured .bento-card-visual {
  height: 200px;
}

/* ── SVG Neural Network (AI 实训) ── */
.svg-neural {
  width: 100%;
  height: 100%;
}

.svg-neural circle {
  fill: var(--color-primary);
  opacity: 0.8;
}

.svg-neural line {
  stroke: rgba(255,107,94,0.3);
  stroke-width: 1;
}

.svg-neural .pulse {
  animation: twinkle 2s ease infinite;
}

/* ── SVG Layers (AI 中台) ── */
.svg-layers rect {
  rx: 8;
  opacity: 0.8;
}

/* ── SVG Brain Wave (脑控机器人) ── */
.svg-brain-wave path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.8;
}

/* ── CTA ── */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255,107,94,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .hero { min-height: 90vh; padding: var(--space-4xl) var(--space-md); }
  .hero-title { font-size: var(--text-3xl); white-space: normal; }
  .hero-actions { flex-direction: column; }
  .stats-grid .stat::after { display: none; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Media Ribbon · 媒体报道条
   ============================================ */
.media-ribbon {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, rgba(255,107,94,0.05) 0%, rgba(245,166,35,0.02) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.media-ribbon-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.media-ribbon-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 400;
  font-variation-settings: "opsz" 14, "SOFT" 50;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  text-transform: none;
  flex-shrink: 0;
}

.media-ribbon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}

.media-ribbon-logos {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.media-ribbon-logo {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
}

.media-ribbon-logo:hover {
  color: var(--color-primary);
}

.media-ribbon-sep {
  width: 1px;
  height: 14px;
  background: rgba(0,0,0,0.15);
}

.media-ribbon-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--gradient-primary);
  color: #fff !important;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 999px;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.media-ribbon-link:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 16px rgba(255,107,94,0.3);
}

/* ============================================
   Scene Gallery · 真实场景
   ============================================ */
.scene-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255,107,94,0.02) 100%);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.scene-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  transition: all var(--transition-base);
  grid-row: span 1;
  grid-column: span 1;
  background: #05080d;
}

.scene-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.scene-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,94,0.35);
  box-shadow: 0 24px 50px rgba(0,0,0,0.28);
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.scene-card:hover img {
  transform: scale(1.06);
}

.scene-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 55%, rgba(0,0,0,0.92) 100%);
  color: #fff;
}

.scene-caption-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: rgba(255,107,94,0.9);
  color: #fff;
  margin-bottom: 8px;
}

.scene-tag-secondary { background: rgba(245,166,35,0.9); }
.scene-tag-accent { background: rgba(52,199,89,0.9); }
.scene-tag-primary { background: rgba(255,107,94,0.9); }

.scene-card figcaption h3,
.scene-card figcaption h4 {
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}

.scene-card figcaption h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.scene-card figcaption h4 {
  font-size: 15px;
}

.scene-card figcaption p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .scene-card-feature {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 520px) {
  .scene-grid {
    grid-template-columns: 1fr;
  }
  .scene-card-feature {
    grid-column: span 1;
  }
}

/* ============================================
   Home Value Cards · 核心价值
   ============================================ */
.home-value {
  position: relative;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1180px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-md), var(--shadow-elevated);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-card-featured {
  background: linear-gradient(180deg, rgba(255,107,94,0.04) 0%, rgba(245,166,35,0.02) 100%);
  border-color: rgba(255,107,94,0.22);
  box-shadow: 0 0 40px rgba(255,107,94,0.08);
}

.value-card-featured::after {
  transform: scaleX(1);
}

.value-card-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  line-height: 0.9;
  color: rgba(255,107,94,0.22);
  letter-spacing: -0.04em;
  font-variant-numeric: oldstyle-nums;
}

.value-card-num-bright {
  color: var(--color-primary);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.55;
}

.value-card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  font-variation-settings: "opsz" 48, "SOFT" 30;
  color: var(--text-bright);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.value-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.92;
  letter-spacing: 0.008em;
  flex: 1;
}

.value-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,0,0,0.08);
}

.value-pill {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255,107,94,0.08);
  color: var(--color-primary);
  border: 1px solid rgba(255,107,94,0.18);
}

@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}
