/* ============ 基础 ============ */
:root {
  --bg: #0a0a0a;
  --card: #111113;
  --card-hover: #16161a;
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-mute: #71717a;
  --mint: rgb(60, 230, 172);
  --grad: linear-gradient(120deg, #06e3fa 0%, #4fdb5e 100%);
  --font-sans: "Inter", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Iowan Old Style", Georgia, "Songti SC", "Noto Serif SC", serif;
  --radius-card: 21px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 鼠标跟随光晕（仅桌面端） */
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(60, 230, 172, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-glow.active { opacity: 1; }

@media (max-width: 1024px) {
  .cursor-glow { display: none; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

::selection { background: rgba(6, 227, 250, 0.3); }

/* 渐变强调（衬线斜体） */
.nowrap { white-space: nowrap; }

.accent-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.08em;
}

/* ============ 导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-name {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-links a.active { color: var(--text); }

.nav-links .nav-cta {
  color: #0a0a0a;
  background: rgb(60, 230, 172);
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-links .nav-cta:hover {
  color: #0a0a0a;
  background: rgb(60, 230, 172);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(60, 230, 172, 0.35);
}

/* ============ 左侧圆点导航 ============ */
.dots {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dots a {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.dots a:hover { background: rgba(255, 255, 255, 0.4); }

.dots a.active {
  background: var(--mint);
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(60, 230, 172, 0.6);
}

/* ============ 进场动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 70% 20%, rgba(6, 227, 250, 0.07), transparent),
    radial-gradient(ellipse 45% 35% at 30% 75%, rgba(79, 219, 94, 0.06), transparent);
}

.hero-globe {
  position: absolute;
  top: 38%;
  right: -18%;
  width: 800px;
  height: 800px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 1300px) {
  .hero-globe { right: -26%; opacity: 0.4; }
}

@media (max-width: 1024px) {
  .hero-globe { display: none; }
}

.hero h1 {
  font-size: clamp(36px, 5.8vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: clamp(16px, 2vw, 19px);
  margin-bottom: 28px;
  max-width: 640px;
}

.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

.pill {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text-dim);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, color 0.2s;
}

.pill:hover { border-color: var(--border-bright); color: var(--text); }

/* 资质徽章 */
.creds { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }

.cred {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px 7px 13px;
  border: 1px solid rgba(60, 230, 172, 0.28);
  background: rgba(60, 230, 172, 0.06);
  border-radius: 9999px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}

.cred svg { color: var(--mint); flex-shrink: 0; }

/* 数字条 */
.stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-num {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { color: var(--text-mute); font-size: 13px; }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-mute);
  animation: float 2.4s ease-in-out infinite;
  transition: color 0.2s;
}

.scroll-hint:hover { color: var(--mint); }

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ============ 通用 Section ============ */
.section { padding: 110px 0; border-top: 1px solid var(--border); }

.section-quote {
  color: var(--text-mute);
  font-size: 15px;
  font-style: italic;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

/* ============ 卡片通用 ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.card:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
  transform: translateY(-3px);
}

/* 三行结构 */
.line-position { color: var(--text); font-weight: 500; margin-top: 10px; }

.line-logic { color: var(--text-dim); font-size: 14.5px; margin-top: 8px; }

.line-result {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.line-result strong { color: var(--mint); font-weight: 700; font-size: 16px; }

/* 项目卡片内的子块（业务问题/产品逻辑/我的角色/结果） */
.block { margin-top: 16px; }

.block-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.block-text { color: var(--text-dim); font-size: 14.5px; }

.block.result-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

/* 通用要点列表 */
.bullet-list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bullet-list li {
  position: relative;
  padding-left: 15px;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.6;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}

.result-list li strong { color: var(--mint); font-weight: 700; }

/* 流程行（等宽字体） */
.flow-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  margin-top: 8px;
  line-height: 1.8;
}

/* 板块小注（AI 探索落地等） */
.section-note {
  color: var(--text-dim);
  font-size: 15px;
  margin-top: -32px;
  margin-bottom: 40px;
  max-width: 640px;
}

/* 联系方式话题标签 */
.contact-topics {
  justify-content: center;
  margin-bottom: 32px !important;
}

/* ============ 我怎么做产品 ============ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.method-card .method-index {
  font-size: 13px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.1em;
}

.method-card h3 { font-size: 20px; margin: 10px 0 8px; }

.method-card > p { color: var(--text-dim); font-size: 14.5px; }

.method-card .bullet-list { margin-top: 14px; }

/* 关于我 · 内部小标题 */
.sub-head {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* 职业履历时间线（骨架） */
.timeline { display: flex; flex-direction: column; }

.timeline + .sub-head { margin-top: 64px; }

.tl-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 17px 8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.tl-item:last-child { border-bottom: none; }

.tl-item:hover { background: rgba(255, 255, 255, 0.02); }

.tl-time {
  flex-shrink: 0;
  width: 150px;
  color: var(--text-mute);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.tl-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
  flex-wrap: wrap;
}

.tl-company { color: var(--text); font-weight: 600; font-size: 16px; }

.tl-tag {
  color: var(--mint);
  font-size: 12.5px;
  border: 1px solid rgba(60, 230, 172, 0.25);
  padding: 3px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* 渐变描边容器 */
.gradient-frame {
  position: relative;
  border-radius: var(--radius-card);
  padding: 1px;
  background: linear-gradient(120deg, rgba(6, 227, 250, 0.5), rgba(79, 219, 94, 0.5));
}

.gradient-frame > * {
  background: #0e0e10;
  border-radius: 20px;
}

.ai-lever { padding: 32px; }

.ai-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 9999px;
  background: var(--grad);
  color: #0a0a0a;
  margin-bottom: 16px;
}

.ai-lever p { color: var(--text-dim); font-size: 15px; }

.ai-lever .ai-punchline {
  margin-top: 16px;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--text);
}

/* ============ 项目经历：吸顶列表 + 滚动面板 ============ */
.work-layout {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.work-nav {
  position: sticky;
  top: 96px;
  flex-shrink: 0;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-nav-group {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin: 22px 0 8px;
}

.work-nav-group:first-child { margin-top: 0; }

.work-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.work-nav a em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-mute);
  margin-top: 2px;
}

.work-nav a:hover { color: var(--text); }

.work-nav a.active { color: var(--mint); border-left-color: var(--mint); }

.work-nav a.active em { color: var(--mint); opacity: 0.8; }

.work-panels {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.work-panel { margin-bottom: 72px; scroll-margin-top: 88px; }

.work-panel:last-child { margin-bottom: 0; }

.work-panel .layer-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mint);
  margin-bottom: 10px;
}

.work-panel .project-time {
  display: inline-block;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 10px;
}

.work-panel h3 { font-size: clamp(19px, 2.2vw, 23px); }

.work-era-mobile { display: none; }

/* ============ AI 探索落地 ============ */
.explore-card {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 36px;
}

.explore-body { flex: 1; min-width: 0; }

.explore-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.explore-title h3 { font-size: 22px; }

.badge-live {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mint);
  border: 1px solid rgba(60, 230, 172, 0.35);
  background: rgba(60, 230, 172, 0.08);
  padding: 3px 12px;
  border-radius: 9999px;
}

.explore-qr {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.explore-qr img {
  width: 172px;
  height: 172px;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  object-fit: contain;
}

.explore-qr span { font-size: 13px; color: var(--text-mute); }

/* ============ 联系方式 ============ */
.section-contact { text-align: center; }

.section-contact h2 { margin-bottom: 14px; }

.contact-intro { color: var(--text-dim); margin-bottom: 32px; }

.email-btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 9999px;
  background: var(--grad);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 48px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(6, 227, 250, 0.35);
}

.qr-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px;
  width: 200px;
}

.qr-card img {
  width: 148px;
  height: 148px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  object-fit: contain;
}

.qr-card span { font-size: 13.5px; color: var(--text-dim); }

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-mute);
  font-size: 13.5px;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .dots { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }

  .section { padding: 72px 0; }

  .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

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

  .work-layout { display: block; }

  .work-nav { display: none; }

  .work-panel { margin-bottom: 48px; }

  .work-era-mobile {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mint);
    border: 1px solid rgba(60, 230, 172, 0.3);
    padding: 4px 14px;
    border-radius: 9999px;
    margin: 0 0 20px;
  }

  .explore-card { flex-direction: column; align-items: stretch; }

  .explore-qr { align-self: center; }

  .tl-item { flex-direction: column; align-items: flex-start; gap: 8px; }

  .tl-time { width: auto; }

  .tl-main { width: 100%; }
}
