/* 标题艺术字体（卓特自由体） */
@font-face {
  font-family: "ZTZiYouTi";
  src: url("../fonts/ZTZiYouTi.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f3eb;
  --bg-warm: #ecead4;
  --bg-deep: #e0ddc7;
  --ink: #0f0f0f;
  --ink-soft: #5a5a55;
  --mint: #c8ecc8;
  --mint-light: #dcf5dc;
  --mint-deep: #95c598;
  --yellow: #fbc536;
  --yellow-light: #ffd96a;
  --yellow-deep: #d99c10;
  --purple: #dcd0ee;
  --purple-light: #ece2f8;
  --purple-deep: #ab9bd0;
  --black: #1a1a1a;
  --font-head: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "PingFang SC", "Microsoft YaHei", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* 噪点纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.1;
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: multiply;
}

.ambient-1 {
  position: fixed;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251, 197, 54, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.ambient-2 {
  position: fixed;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 208, 238, 0.18) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* 自定义光标 */
.cursor {
  position: fixed;
  width: 28px;
  height: 28px;
  background: rgba(90, 90, 90, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
  left: 0;
  top: 0;
}

/* 桌面端隐藏原生光标，使用自定义光标 */
@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  .tile,
  .fpill,
  .feature-card,
  .platform-card {
    cursor: none;
  }
}

/* 轻提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9998;
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ 顶栏 ============ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 56px;
  position: relative;
  z-index: 10;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-cube {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}
.logo-cube svg {
  width: 34px;
  height: 34px;
}
.logo-text {
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.header-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.header-nav a:hover {
  color: var(--ink);
}

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

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 0 var(--ink);
  border: 1.5px solid var(--ink);
  white-space: nowrap;
}
.header-btn--ghost {
  background: transparent;
}
.header-btn--solid {
  background: var(--ink);
  color: #fff;
}
.header-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}
.header-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--ink);
}

/* 汉堡按钮 */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  padding: 40px 56px;
  align-items: center;
  position: relative;
  z-index: 5;
  min-height: 720px;
}

.hero-left {
  padding-top: 20px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-deep);
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
}
.title-inner {
  display: inline-block;
  will-change: transform;
}

/* 主标题重点词「计算机」：艺术字 + 黄色高亮 */
.hero-title .mark {
  display: inline-block;
  font-family: "ZTZiYouTi", var(--font-head);
  font-weight: 400;
  font-size: 1.35em;
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.05;
  animation-duration: 1.2s;
  animation-delay: 0.7s;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 400px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.4), 0 8px 16px rgba(0, 0, 0, 0.22),
    0 16px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.6s ease;
}
.cta-btn:hover::before {
  left: 100%;
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.4), 0 14px 28px rgba(0, 0, 0, 0.3),
    0 28px 56px rgba(0, 0, 0, 0.18);
}
.cta-btn:active {
  transform: translateY(0) scale(0.98);
}
.cta-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.cta-btn--ghost:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}
.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.4s;
}
.cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}
.cta-btn--ghost .cta-arrow {
  background: rgba(0, 0, 0, 0.08);
}

/* ============ 星座磁贴 ============ */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.constellation {
  position: relative;
  width: 600px;
  height: 660px;
  max-width: 100%;
  perspective: 1500px;
}
.constellation-inner {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
  z-index: 1;
}
.constellation-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.constellation-lines path {
  fill: none;
  stroke: rgba(15, 15, 15, 0.85);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.tile {
  position: absolute;
  z-index: 2;
}
.tile-inner {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.tile:hover .tile-inner {
  transform: translateY(-10px) scale(1.06);
}
.tile-icon {
  width: 50%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tile:hover .tile-icon {
  transform: scale(1.12) rotate(-4deg);
}
.tile-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 磁贴配色 */
.tile.mint .tile-inner {
  background: linear-gradient(165deg, var(--mint-light) 0%, var(--mint) 50%, var(--mint-deep) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.7), inset 0 -4px 0 rgba(0, 0, 0, 0.08),
    inset 0 0 30px rgba(255, 255, 255, 0.4), 0 12px 24px rgba(149, 197, 152, 0.4), 0 24px 48px rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.tile.yellow .tile-inner {
  background: linear-gradient(165deg, var(--yellow-light) 0%, var(--yellow) 50%, var(--yellow-deep) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.12),
    inset 0 0 30px rgba(255, 255, 255, 0.3), 0 12px 24px rgba(217, 156, 16, 0.35), 0 24px 48px rgba(0, 0, 0, 0.1);
  color: var(--ink);
}
.tile.purple .tile-inner {
  background: linear-gradient(165deg, var(--purple-light) 0%, var(--purple) 50%, var(--purple-deep) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.7), inset 0 -4px 0 rgba(0, 0, 0, 0.08),
    inset 0 0 30px rgba(255, 255, 255, 0.4), 0 12px 24px rgba(171, 155, 208, 0.4), 0 24px 48px rgba(0, 0, 0, 0.08);
  color: var(--ink);
}
.tile.black .tile-inner {
  background: linear-gradient(165deg, #3a3a3a 0%, #1a1a1a 50%, #050505 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(255, 255, 255, 0.05), 0 12px 24px rgba(0, 0, 0, 0.3), 0 24px 48px rgba(0, 0, 0, 0.18);
  color: white;
}

/* 磁贴尺寸 */
.tile.size-main {
  width: 142px;
  height: 118px;
}
.tile.size-big {
  width: 156px;
  height: 132px;
}
.tile.size-pill {
  width: 64px;
  height: 64px;
}
.tile.size-pill .tile-inner {
  border-radius: 50%;
}

/* 磁贴位置 */
.tile-terminal {
  top: 0;
  left: calc(50% - 32px);
}
.tile-code {
  top: 95px;
  left: 95px;
}
.tile-chart {
  top: 95px;
  left: 365px;
}
.tile-cloud {
  top: 245px;
  left: 5px;
}
.tile-book {
  top: 240px;
  left: 222px;
}
.tile-thumb {
  top: 245px;
  left: 455px;
}
.tile-cursor {
  top: 405px;
  left: 45px;
}
.tile-person {
  top: 395px;
  left: 145px;
}
.tile-globe {
  top: 395px;
  left: 315px;
}
.tile-phone {
  top: 405px;
  left: 495px;
}
.tile-hex {
  top: 545px;
  left: 230px;
}

/* 悬浮动画 */
.tile {
  animation: tile-float var(--dur, 5s) ease-in-out infinite var(--delay, 0s);
}
@keyframes tile-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(var(--float, -8px));
  }
}
.tile-terminal { --dur: 4s; --delay: 0s; --float: -6px; }
.tile-code { --dur: 5.5s; --delay: 0.4s; --float: -10px; }
.tile-chart { --dur: 5s; --delay: 0.8s; --float: -8px; }
.tile-cloud { --dur: 6s; --delay: 1.2s; --float: -12px; }
.tile-book { --dur: 4.5s; --delay: 0.2s; --float: -7px; }
.tile-thumb { --dur: 5.5s; --delay: 0.6s; --float: -10px; }
.tile-cursor { --dur: 4s; --delay: 1s; --float: -8px; }
.tile-person { --dur: 5s; --delay: 0.3s; --float: -9px; }
.tile-globe { --dur: 5.5s; --delay: 0.7s; --float: -11px; }
.tile-phone { --dur: 4.5s; --delay: 0.5s; --float: -7px; }
.tile-hex { --dur: 6s; --delay: 0.9s; --float: -10px; }

/* 星星 */
.sparkle {
  position: absolute;
  width: 32px;
  height: 32px;
  bottom: 30px;
  right: 30px;
  color: var(--ink);
  animation: spin 8s linear infinite, sparkleFloat 4s ease-in-out infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes sparkleFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ============ 平台覆盖条 ============ */
.workspace {
  padding: 20px 56px 80px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 5;
}
.workspace-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  line-height: 1;
  height: 64px;
  display: flex;
  align-items: center;
}
.feature-pills {
  display: flex;
  gap: 14px;
}
.fpill {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.fpill:hover {
  transform: translateY(-4px) rotate(-3deg);
}
.fpill.wide-mint,
.fpill.wide-yellow,
.fpill.wide-purple,
.fpill.wide-black {
  width: 130px;
  height: 64px;
}
.fpill.wide-mint {
  background: linear-gradient(165deg, var(--mint-light) 0%, var(--mint) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.08), 0 10px 20px rgba(149, 197, 152, 0.4);
}
.fpill.wide-yellow {
  background: linear-gradient(165deg, var(--yellow-light) 0%, var(--yellow) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.12), 0 10px 20px rgba(217, 156, 16, 0.35);
}
.fpill.wide-purple {
  background: linear-gradient(165deg, var(--purple-light) 0%, var(--purple) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.08), 0 10px 20px rgba(171, 155, 208, 0.4);
}
.fpill.wide-black {
  background: linear-gradient(165deg, #3a3a3a 0%, #1a1a1a 50%, #050505 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.3);
}
.fpill img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0);
}
.fpill.wide-black img {
  filter: brightness(0) invert(1);
}
.learn-more {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}

/* ============ 平台图集 ============ */
.platform-gallery {
  padding: 60px 56px 80px;
  position: relative;
  z-index: 5;
  background: var(--mint-light);
  border-radius: 0 48px 0 0;
  transition: background 0.35s;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  align-items: flex-end;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px 12px 0 0;
  border: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.tab img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0);
}
.tab:first-child {
  border-top-left-radius: 0;
}
.tab:last-child {
  border-top-right-radius: 48px;
}
.tab-android { background: var(--mint); }
.tab-web { background: var(--purple); }
.tab-ios { background: #3a3a3a; color: #fff; }
.tab-ios img { filter: brightness(0) invert(1); }
.tab-windows { background: var(--yellow); }
.tab-android.active { background: var(--mint-light); }
.tab-web.active { background: var(--purple-light); }
.tab-ios.active { background: #e8e8e8; color: var(--ink); }
.tab-ios.active img { filter: brightness(0); }
.tab-windows.active { background: var(--yellow-light); }
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.gallery-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gallery-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.gallery-arrow {
  width: 32px;
  height: 72px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.gallery-arrow:hover:not(:disabled) {
  background: #2a2a2a;
}
.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.gallery-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.gallery-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(15, 15, 15, 0.12);
  display: block;
}
.preview-area {
  position: fixed;
  z-index: 2000;
  display: none;
  width: 560px;
  max-width: 92vw;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 15, 15, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background: #fff;
  cursor: zoom-in;
}
.preview-area.show {
  display: block;
}
.preview-area img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.preview-area::after {
  content: "点击全屏预览";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(15, 15, 15, 0.7);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  pointer-events: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.72);
}
.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.lightbox-close:hover {
  transform: scale(1.1);
}

/* ============ 统计条 ============ */
.stats-bar {
  padding: 80px 56px;
  background: var(--bg-warm);
  border-radius: 48px 48px 0 0;
  margin-top: 40px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat {
  padding: 32px 0;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.stat:last-child {
  border-right: none;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-num .accent {
  color: var(--yellow-deep);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============ 课程体系 ============ */
.features {
  padding: 120px 56px;
  background: var(--bg-warm);
  position: relative;
}
.features-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 80px;
  gap: 60px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: "";
  width: 32px;
  height: 1.5px;
  background: var(--ink);
}
.features h2,
.download h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 720px;
}
.features-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: right;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: 36px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-12px);
}
.feature-card.fc-mint {
  background: linear-gradient(165deg, var(--mint-light) 0%, var(--mint) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.08), 0 20px 40px rgba(149, 197, 152, 0.3), 0 40px 80px rgba(0, 0, 0, 0.06);
}
.feature-card.fc-yellow {
  background: linear-gradient(165deg, var(--yellow-light) 0%, var(--yellow) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.5), inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 20px 40px rgba(217, 156, 16, 0.3), 0 40px 80px rgba(0, 0, 0, 0.08);
}
.feature-card.fc-purple {
  background: linear-gradient(165deg, var(--purple-light) 0%, var(--purple) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.08), 0 20px 40px rgba(171, 155, 208, 0.3), 0 40px 80px rgba(0, 0, 0, 0.06);
}
.feature-card .fc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  color: var(--ink);
  opacity: 0.6;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.75;
  flex: 1;
}
.feature-card .fc-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* ============ 多端下载 ============ */
.download {
  padding: 120px 56px;
  background: var(--bg);
  position: relative;
}
.download-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 64px;
}
.download-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 360px;
  text-align: right;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform-card {
  padding: 32px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(15, 15, 15, 0.1);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s;
}
.platform-card:hover {
  transform: translateY(-10px);
}
.platform-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}
.platform-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--ink-soft);
}
.platform-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.platform-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.75;
  flex: 1;
  margin-bottom: 24px;
}
.platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ink);
  transition: all 0.3s;
  margin-top: auto;
}
.platform-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}
.platform-btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--ink);
}

/* 平台卡配色 */
.pc-web {
  background: linear-gradient(165deg, var(--mint-light) 0%, var(--mint) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.08), 0 20px 40px rgba(149, 197, 152, 0.25);
}
.pc-web .platform-icon {
  background: rgba(0, 0, 0, 0.08);
}
.pc-win {
  background: linear-gradient(165deg, var(--yellow-light) 0%, var(--yellow) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.5), inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 20px 40px rgba(217, 156, 16, 0.25);
}
.pc-win .platform-icon {
  background: rgba(0, 0, 0, 0.08);
}
.pc-android {
  background: linear-gradient(165deg, var(--purple-light) 0%, var(--purple) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.08), 0 20px 40px rgba(171, 155, 208, 0.25);
}
.pc-android .platform-icon {
  background: rgba(0, 0, 0, 0.08);
}
.pc-ios {
  background: linear-gradient(165deg, #3a3a3a 0%, #101010 100%);
  color: #fff;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.5), 0 20px 40px rgba(0, 0, 0, 0.3);
}
.pc-ios .platform-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.pc-ios h3 {
  color: #fff;
}
.pc-ios p {
  color: rgba(255, 255, 255, 0.75);
}
.pc-ios .platform-tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}
.pc-ios .platform-btn {
  color: #fff;
  border-color: #fff;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}
.pc-ios .platform-btn:hover {
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}
.pc-pc {
  background: linear-gradient(165deg, var(--purple-light) 0%, var(--mint-light) 100%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.08), 0 20px 40px rgba(171, 155, 208, 0.2);
}
.pc-pc .platform-icon {
  background: rgba(0, 0, 0, 0.08);
}

/* 二维码 */
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid rgba(15, 15, 15, 0.12);
  box-shadow: 0 4px 0 rgba(15, 15, 15, 0.12);
}
.qr-img {
  width: 148px;
  height: 148px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
.qr-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.qr-wrap.qr-empty {
  align-items: center;
  justify-content: center;
  min-height: 148px;
}
.qr-wrap.qr-empty::before {
  content: "▦";
  font-size: 64px;
  color: var(--purple-deep);
  line-height: 1;
}

/* ============ 评价 ============ */
.quote-section {
  padding: 140px 56px;
  background: var(--bg);
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 1000px;
  margin: 0 auto 32px;
}
.quote-mark {
  display: inline-block;
  font-size: 120px;
  line-height: 0.4;
  color: var(--yellow-deep);
  margin-bottom: 24px;
  font-family: var(--font-head);
}
.quote-author {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

/* ============ 底部 CTA ============ */
.final-cta {
  padding: 100px 56px 120px;
  text-align: center;
  background: var(--bg);
}
.final-cta-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 60px;
  border-radius: 48px;
  background: linear-gradient(165deg, #2a2a2a 0%, #0a0a0a 100%);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.15), inset 0 -5px 0 rgba(0, 0, 0, 0.5), 0 30px 60px rgba(0, 0, 0, 0.3), 0 60px 120px rgba(0, 0, 0, 0.2);
}
.final-cta h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  color: white;
}
.final-cta h2 .accent {
  color: var(--yellow);
}
.final-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin: 0 auto 40px;
}
.final-cta .cta-btn {
  background: linear-gradient(180deg, var(--yellow-light) 0%, var(--yellow-deep) 100%);
  color: var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.2), 0 10px 20px rgba(217, 156, 16, 0.5);
}
.final-cta .cta-btn .cta-arrow {
  background: rgba(0, 0, 0, 0.12);
}
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(251, 197, 54, 0.3) 0%, transparent 70%);
  top: -50px;
  left: -50px;
  filter: blur(40px);
}
.orb-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(220, 208, 238, 0.2) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  filter: blur(50px);
}

/* ============ 页脚 ============ */
.site-footer {
  background: var(--bg);
  padding: 60px 56px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 60px;
}
.footer-brand h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 280px;
}
.footer-cols {
  display: flex;
  gap: 60px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 10px;
}
.footer-col a:hover {
  text-decoration: underline;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.footer-beian {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-beian:hover {
  color: var(--ink);
}

/* ============ 入场动画初始态（仅在 GSAP 可用时隐藏） ============ */
html.gsap .title-inner {
  transform: translateY(110%);
}
html.gsap .hero-desc,
html.gsap .hero-eyebrow,
html.gsap .hero-ctas,
html.gsap .site-header {
  opacity: 0;
}
html.gsap .tile {
  opacity: 0;
}
html.gsap .constellation-lines path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
html.gsap .workspace {
  opacity: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 32px;
  }
  .site-header {
    padding: 20px 32px;
  }
  .workspace {
    padding: 20px 32px 60px;
    flex-wrap: wrap;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-cards,
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features,
  .download,
  .stats-bar {
    padding: 60px 32px;
  }
  .final-cta,
  .quote-section {
    padding: 60px 32px;
  }
  .features-head,
  .download-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .features-meta,
  .download-desc {
    text-align: left;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .header-nav {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .header-btn--ghost {
    display: none;
  }
  /* 移动端菜单 */
  .header-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border: 1.5px solid var(--ink);
    border-radius: 20px;
    box-shadow: 0 8px 0 var(--ink);
    padding: 12px;
    z-index: 100;
  }
  .header-nav.mobile-open a {
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .header-nav.mobile-open a:last-child {
    border-bottom: none;
  }
  .hero-right {
    overflow: hidden;
  }
  .constellation-wrap {
    position: relative;
    width: 300px;
    height: 344px;
    overflow: hidden;
  }
  .constellation {
    position: absolute;
    top: 7px;
    left: 0;
    width: 600px;
    height: 660px;
    max-width: none;
    transform: scale(0.5);
    transform-origin: top left;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .feature-cards,
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .feature-pills {
    flex-wrap: wrap;
    flex: 1 1 100%;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .final-cta-card {
    padding: 48px 24px;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .stat:last-child {
    border-bottom: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
