/* 开屏动画 */
body.is-loading {
  overflow: hidden;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #050505;
  display: grid;
  place-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.splash-canvas-container {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

#splashCanvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.splash-logo {
  font-size: 64px;
  font-family: 'Playfair Display', 'Mrs Saint Delafield', 'Zhi Mang Xing', serif;
  color: #ffffff;
  /* 确保使用纯白色 */
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .splash-logo {
    font-size: 84px;
    /* 调整字号以适配手写体 */
    /* 使用专门针对英文设计的顶级艺术手写体：Mrs Saint Delafield (极度撩草华丽), Pinyon Script (优雅书写) */
    font-family: 'Mrs Saint Delafield', 'Pinyon Script', 'Long Cang', cursive;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #fff 20%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(246, 177, 59, 0.3));
    font-style: normal;
    font-weight: 400;
    padding: 0;
    margin-bottom: 30px;
    /* 模拟真实的“签名书写”过程动画 */
    animation: signatureStroke 2.5s cubic-bezier(0.45, 0, 0.55, 1) forwards;
  }

  @keyframes signatureStroke {
    0% {
      clip-path: inset(0 100% 0 0);
      opacity: 0;
      filter: blur(5px);
    }

    30% {
      opacity: 1;
      filter: blur(0);
    }

    100% {
      clip-path: inset(0 0 0 0);
      opacity: 1;
    }
  }

  .splash-text {
    font-family: 'Zhi Mang Xing', cursive;
    font-size: 16px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    font-style: normal;
  }
}

.splash-text {
  font-family: 'Zhi Mang Xing', cursive;
  /* 移动端副标题也使用古风字体 */
  font-size: 18px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.splash-loader {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 15px;
  opacity: 0;
}

.splash-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 15px var(--accent);
}

.splash-text {
  font-size: 10px;
  font-family: monospace;
  letter-spacing: 0.3em;
  color: var(--muted-2);
  opacity: 0;
}

/* 密码锁板块 */
body.is-locked {
  overflow: hidden;
}

.lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.lock-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-card {
  width: min(420px, 90vw);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(246, 177, 59, 0.2);
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(246, 177, 59, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  animation: lockEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
  overflow: hidden;
}

.lock-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent,
      rgba(246, 177, 59, 0.3),
      transparent 30%);
  animation: rotate 4s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.lock-header {
  position: relative;
  z-index: 1;
}

.lock-form {
  position: relative;
  z-index: 1;
}

.lock-icon {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lock-icon {
  font-size: 42px;
  margin-bottom: 20px;
  animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(246, 177, 59, 0));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(246, 177, 59, 0.4));
  }
}

.lock-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.1em;
  color: #fff;
}

.lock-hint {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}

.input-group {
  position: relative;
  margin-bottom: 24px;
}

.input-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px;
  border-radius: 14px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.5em;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(246, 177, 59, 0.15);
}

.input-glow {
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.input-group input:focus+.input-glow {
  opacity: 0.3;
}

.lock-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.lock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.lock-btn:active {
  transform: translateY(0);
}

.lock-error {
  margin-top: 20px;
  font-size: 13px;
  color: #ff4d4d;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
}

.lock-error.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shake {
  animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

:root {
  color-scheme: dark;
  --bg: #050505;
  --fg: #f3f3f3;
  --muted: rgba(243, 243, 243, 0.72);
  --muted-2: rgba(243, 243, 243, 0.55);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.08);
  --accent: #f6b13b;
  --accent-2: #ff6a3d;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: auto;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "PingFang SC",
    "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-display: swap;
  background: radial-gradient(1200px 800px at 15% 20%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(900px 680px at 80% 60%, rgba(246, 177, 59, 0.06), transparent 60%), var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  /* 优化平滑滚动体验 */
  overscroll-behavior-y: none;
}

/* Lenis 推荐的基础样式 */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 177, 59, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 177, 59, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  opacity: 0.5;
}

.bg-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent,
      rgba(246, 177, 59, 0.02) 50%,
      transparent);
  background-size: 100% 100vh;
  pointer-events: none;
  z-index: 1;
  animation: scanline 8s linear infinite;
}

.neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.6;
}

/* 玻璃拟态卡片增强 */
.skills__card {
  position: relative;
  border-radius: 20px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skills__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(246, 177, 59, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.skills__card:hover::before {
  opacity: 1;
}

.skills__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(246, 177, 59, 0.5);
  background: rgba(246, 177, 59, 0.03);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(246, 177, 59, 0.1);
}

@keyframes borderBeam {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.skills__card-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: borderBeam 3s linear infinite;
}

.bg-ring {
  position: absolute;
  border: 1px solid var(--line-2);
  border-radius: 9999px;
  filter: blur(0.2px);
  opacity: 0.65;
}

.bg-ring--1 {
  width: 620px;
  height: 620px;
  left: -120px;
  top: -120px;
}

.bg-ring--2 {
  width: 860px;
  height: 860px;
  left: 120px;
  top: 120px;
  opacity: 0.4;
}

.bg-ring--3 {
  width: 760px;
  height: 760px;
  right: -180px;
  top: 140px;
  opacity: 0.35;
}

.bg-spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 48px rgba(255, 255, 255, 0.08);
  opacity: 0.65;
}

.bg-spark--1 {
  left: 46%;
  top: 20%;
}

.bg-spark--2 {
  left: 68%;
  top: 52%;
  opacity: 0.5;
}

.bg-spark--3 {
  left: 18%;
  top: 58%;
  opacity: 0.35;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
  backdrop-filter: blur(10px);
}

.header__inner {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 56px;
  justify-content: center;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  height: 72px;
  min-width: 72px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.nav__link:focus-visible {
  outline: none;
}

.nav__link.is-active {
  color: var(--fg);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 22px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(246, 177, 59, 0.9), rgba(255, 106, 61, 0.9));
  border-radius: 9999px;
  transition: opacity 180ms ease;
}

.nav__link.is-active:hover::after,
.nav__link.is-active:focus-visible::after {
  opacity: 0;
}


.cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border: 1px solid rgba(246, 177, 59, 0.3);
  background: rgba(246, 177, 59, 0.05);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(246, 177, 59, 0.1);
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.6s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(246, 177, 59, 0.4);
}

.cta:hover::before {
  left: 100%;
}

.cta__arrow {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  display: inline-grid;
  place-items: center;
  transition: all 0.4s ease;
  flex: 0 0 auto;
}

.cta:hover .cta__arrow {
  background: #000;
  color: #fff;
  transform: translateX(4px) rotate(-45deg);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 38px 0 72px;
}

.skills {
  position: relative;
  z-index: 1;
  padding: 110px 0 130px;
  overflow: hidden;
}

.skills::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 620px at 10% 10%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(900px 680px at 90% 40%, rgba(246, 177, 59, 0.08), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.skills__inner {
  position: relative;
}

.skills__orbs {
  position: absolute;
  inset: -40px 0 -60px;
  pointer-events: none;
}

.skills__orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(1px);
  opacity: 0.65;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills__orb--1 {
  width: 520px;
  height: 520px;
  left: -180px;
  top: 70px;
}

.skills__orb--2 {
  width: 420px;
  height: 420px;
  right: -160px;
  top: 20px;
  opacity: 0.5;
}

.skills__orb--3 {
  width: 520px;
  height: 520px;
  left: 48%;
  top: 320px;
  transform: translateX(-50%);
  opacity: 0.35;
}

.skills__heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.skills__kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.skills__title {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.2px;
}

.skills__subtitle {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  perspective: 1000px;
}

.skills__card {
  position: relative;
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  transform-style: preserve-3d;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.skills__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
  z-index: -1;
  transition: opacity 0.3s ease;
}

.skills__card:hover::before {
  opacity: 0.6;
}

.skill-card-shopify {
  background-image: url('./skill-shopify.jpg');
}

.skill-card-fullstack {
  background-image: url('./skill-fullstack.jpg');
}

.skill-card-ai {
  background-image: url('./skill-ai.jpg');
}

.skill-card-cross-border {
  background-image: url('./skill-cross-border.jpg');
}

.skill-card-seo {
  background-image: url('./skill-seo.jpg');
}

.skill-card-multimedia {
  background-image: url('./skill-multimedia.jpg');
}

.skill-card-strategy {
  background-image: url('./skill-strategy.jpg');
}

.skill-card-workflow {
  background-image: url('./skill-workflow.jpg');
}

.skills__card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent);
  background: rgba(246, 177, 59, 0.08);
  box-shadow: 0 25px 60px rgba(246, 177, 59, 0.2);
}

.skills__card:hover .skills__cardIcon {
  background: var(--accent);
  color: #000;
  transform: rotateY(360deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills__card:hover::before {
  opacity: 1;
}

.skills__cardIcon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  transition: all 0.4s ease;
}

.skills__cardTitle {
  margin: 14px 0 6px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.skills__cardDesc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Global Classes */
.section-padding {
  padding: 120px 0;
}

/* 新手教程引导样式 */
.user-tour {
  position: fixed;
  inset: 0;
  z-index: 25000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.user-tour.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.user-tour.is-active~.about-tabs .tab-btn {
  animation: tabBtnTourPulse 2s infinite;
}

@keyframes tabBtnTourPulse {

  0%,
  100% {
    background: rgba(255, 255, 255, 0.05);
  }

  50% {
    background: rgba(246, 177, 59, 0.15);
  }
}

.tour-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
}

.tour-highlight {
  position: absolute;
  z-index: 25001;
  border-radius: 8px;
  box-shadow: 0 0 0 5000px rgba(0, 0, 0, 0.7);
  /* 关键：镂空效果 */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-dashed-box {
  position: absolute;
  inset: -12px;
  border: 2px dashed var(--accent);
  border-radius: 14px;
  animation: tourDashedPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(246, 177, 59, 0.3);
}

.tour-dashed-box::before {
  content: "TARGET ELEMENT";
  position: absolute;
  top: -25px;
  left: 0;
  font-size: 10px;
  font-family: monospace;
  color: var(--accent);
  letter-spacing: 2px;
}

@keyframes tourDashedPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.tour-tooltip {
  position: absolute;
  z-index: 25002;
  width: min(320px, 80vw);
  background: #1a1a1a;
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(246, 177, 59, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
}

.user-tour.is-active .tour-tooltip {
  transform: translateY(0);
}

/* 引导触发按钮 */
.tab-guide-trigger {
  background: rgba(246, 177, 59, 0.1);
  border: 1px solid rgba(246, 177, 59, 0.3);
  color: var(--accent);
  padding: 0 15px;
  margin-left: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.tab-guide-trigger:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.05);
}

.guide-icon {
  font-size: 16px;
}

/* 步骤指示器 */
.tour-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.tour-steps-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.step-dot.active {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 10px var(--accent);
}

.tour-tooltip-content h3 {
  color: var(--accent);
  margin: 0 0 12px;
  font-size: 18px;
}

.tour-tooltip-content p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.tour-tooltip-content p strong {
  color: var(--accent);
  background: rgba(246, 177, 59, 0.1);
  padding: 0 4px;
  border-radius: 4px;
}

.tour-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tour-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(246, 177, 59, 0.4);
}

.tour-arrow {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #1a1a1a;
  border-left: 1px solid var(--accent);
  border-top: 1px solid var(--accent);
  transform: rotate(45deg);
  top: -11px;
  left: 50%;
  margin-left: -10px;
}

/* About Tabs Section */
.about-tabs {
  background: #000;
  color: #fff;
  padding: 100px 0;
}

.about-box {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 24px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.tabs-content {
  padding: 60px;
  min-height: 500px;
  background: #000;
  position: relative;
}

.tab-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-overlay.is-active {
  opacity: 1;
}

.tab-panel {
  display: none;
  opacity: 0;
  filter: brightness(0);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, filter;
}

.tab-panel.is-active {
  display: block;
  opacity: 1;
  filter: brightness(1);
}

.tab-panel.is-leaving {
  display: block;
  opacity: 0;
  filter: brightness(0);
}

/* Experience Tab Content (Placeholder for grid/layout) */
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  min-height: 500px;
}

/* Rest of existing about styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
}

.about-motto {
  font-size: 18px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 40px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 50px;
  margin-top: 40px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: infoBreathing 4s ease-in-out infinite;
}

.info-item:nth-child(even) {
  animation-delay: 2s;
}

@keyframes infoBreathing {

  0%,
  100% {
    transform: scale(1);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 rgba(246, 177, 59, 0);
  }

  50% {
    transform: scale(1.02);
    background: rgba(246, 177, 59, 0.03);
    border-color: rgba(246, 177, 59, 0.2);
    box-shadow: 0 10px 30px rgba(246, 177, 59, 0.05);
  }
}

.info-item:hover {
  transform: translateY(-5px) scale(1.05) !important;
  background: rgba(246, 177, 59, 0.08) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 15px 40px rgba(246, 177, 59, 0.15) !important;
  animation-play-state: paused;
}

.info-label {
  font-size: 13px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.info-label::before {
  content: "";
  width: 2px;
  height: 12px;
  background: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 0 8px var(--accent), 0 0 12px var(--accent-2);
  display: inline-block;
}

.info-value {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.info-socials {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-tag {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.tab-placeholder {
  text-align: center;
  padding: 100px 0;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Tech Stack Tab */
.tech-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.tech-header {
  max-width: 800px;
}

.tech-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #fff;
}

.tech-motto {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.skills-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 60px;
}

.skill-item-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-info-v2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.skill-name-v2 {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-check {
  width: 16px;
  height: 16px;
  background: rgba(246, 177, 59, 0.15);
  border: 1px solid rgba(246, 177, 59, 0.3);
  border-radius: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skill-check::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translateY(-1px);
}

.special-tag {
  font-size: 10px;
  background: rgba(255, 106, 61, 0.1);
  color: var(--accent-2);
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 106, 61, 0.2);
  margin-left: 12px;
  text-transform: none;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.skill-val-v2 {
  font-size: 13px;
  color: var(--accent);
  font-family: monospace;
  font-weight: 600;
  opacity: 0.8;
}

.skill-progress-v2 {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-progress-fill-v2 {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(246, 177, 59, 0.4);
  transform-origin: left;
  animation: progressFill 1.8s cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
}

@keyframes progressFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* Experience Tab - Map */
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  min-height: 500px;
  position: relative;
  transition: all 0.3s ease;
}

.experience-map-container {
  position: relative;
  height: 500px;
  background: #0b0d11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.experience-map-leaflet {
  width: 100%;
  height: 100%;
}

.experience-timeline {
  flex: 1;
  min-width: 300px;
  height: auto;
  /* 高度自适应 */
  overflow: visible;
  /* 移除滚动条 */
  padding-right: 10px;
}

/* 全屏状态下的特殊样式 */
.experience-layout.is-fullscreen {
  display: block;
  /* 全屏时切换为块级以支持绝对定位浮窗 */
  position: fixed;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999;
  background: #000;
  margin: 0 !important;
  padding: 0 !important;
}

.experience-layout.is-fullscreen .experience-map-container {
  width: 100vw;
  height: 100vh;
  border: none;
  border-radius: 0;
}

.experience-layout.is-fullscreen .experience-timeline {
  position: absolute;
  right: 30px;
  top: 30px;
  bottom: 30px;
  width: 350px;
  height: auto;
  /* 覆盖之前的 bottom: 30px */
  max-height: calc(100vh - 60px);
  /* 确保不超出屏幕 */
  overflow-y: auto;
  /* 全屏模式下如果内容过多允许内部滚动 */
  background: rgba(0, 8, 20, 0.8);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(246, 177, 59, 0.5);
  border-radius: 20px;
  z-index: 2000;
  padding: 35px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(246, 177, 59, 0.15);
  display: flex !important;
  flex-direction: column;
  animation: slideInRightSlow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

@keyframes slideInRightSlow {
  from {
    opacity: 0;
    transform: translateX(100px);
    backdrop-filter: blur(0px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
    backdrop-filter: blur(20px);
  }
}

.experience-map-container.is-fullscreen .timeline-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.experience-map-container.is-fullscreen .timeline-items {
  max-height: none;
}

.map-fullscreen-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  /* 提升层级，防止被地图图层遮挡 */
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.map-fullscreen-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: scale(1.05);
}

.fs-icon {
  font-size: 20px;
}

.experience-map-leaflet {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0d11;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-tiles-grayscale {
  filter: grayscale(100%) invert(90%) brightness(90%) contrast(90%);
}

/* Leaflet Pulse Marker */
.leaflet-pulse-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  /* 与 main.js 中的 iconSize 对应 */
  height: 20px !important;
}

/* 履历城市专属标注样式 */
.city-label-exclusive {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 0 0 10px var(--accent);
  letter-spacing: 0.1em;
  pointer-events: none;
}

.city-label-exclusive::before {
  display: none !important;
  /* 移除默认小箭头 */
}

/* 高德地图暗黑滤镜保持（如果以后切回高德可以使用） */
.dark-tile-filter {
  filter: invert(90%) hue-rotate(180deg) brightness(0.6) contrast(1.2) saturate(0.5) !important;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #f6b13b;
  border-radius: 50%;
  box-shadow: 0 0 10px #f6b13b;
  z-index: 2;
  position: relative;
}

.pulse-ring {
  position: absolute;
  width: 30px;
  /* 初始尺寸 */
  height: 30px;
  border: 2px solid #f6b13b;
  border-radius: 50%;
  animation: leafletPulse 2s ease-out infinite;
  z-index: 1;
  /* 精确对齐中心 */
  top: 50%;
  left: 50%;
  margin-top: -15px;
  /* -width/2 */
  margin-left: -15px;
  /* -height/2 */
  transform-origin: center;
  pointer-events: none;
}

@keyframes leafletPulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Custom Leaflet Popup (Glassmorphism) */
.custom-leaflet-popup .leaflet-popup-content-wrapper {
  background: rgba(0, 8, 20, 0.85) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246, 177, 59, 0.3);
  color: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.custom-leaflet-popup .leaflet-popup-tip {
  background: rgba(0, 8, 20, 0.85) !important;
  border: 1px solid rgba(246, 177, 59, 0.3);
}

.map-2d-popup {
  padding: 12px 16px;
  min-width: 220px;
}

.popup-title {
  color: #f6b13b;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(246, 177, 59, 0.2);
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popup-title::before {
  content: '';
  width: 3px;
  height: 14px;
  background: #f6b13b;
  box-shadow: 0 0 8px #f6b13b;
}

.popup-body {
  font-size: 13px;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Remove default Leaflet elements we don't need */
.leaflet-container {
  background: #000 !important;
}

.map-loader {
  position: absolute;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.8s ease;
}

.map-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 15px var(--accent);
  animation: mapScan 2.5s ease-in-out infinite;
  z-index: 101;
}

@keyframes mapScan {
  0% {
    top: 0;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.loader-rings {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
}

.ring-outer,
.ring-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.ring-outer {
  border-top-color: var(--accent);
  border-bottom-color: var(--accent);
  animation: mapSpin 2s linear infinite;
}

.ring-inner {
  inset: 15px;
  border-left-color: var(--accent-2);
  border-right-color: var(--accent-2);
  animation: mapSpin 1.5s linear reverse infinite;
}

.loader-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.text-main {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.text-sub {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.3em;
  opacity: 0.7;
}

@keyframes mapSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Timeline */
/* Timeline Items */
.timeline-item.active .timeline-content h3 {
  color: var(--timeline-accent, var(--accent));
}

.timeline-item.active::before {
  border-color: var(--timeline-accent, var(--accent));
  background: var(--timeline-accent, var(--accent));
  box-shadow: 0 0 15px var(--timeline-accent, var(--accent));
}

.timeline-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  height: auto;
  /* 高度自适应 */
  overflow: visible;
  /* 禁用内部滚动条 */
}

.timeline-items::before {
  content: "";
  position: absolute;
  left: 7.5px; /* 精确对齐 15px 圆圈的中心 */
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--timeline-accent, rgba(255, 255, 255, 0.1));
  opacity: 0.2;
}

.timeline-item {
  position: relative;
  padding-left: 40px; /* 增加左侧间距，使布局更舒展 */
  cursor: pointer !important;
  transition: all 0.3s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px; /* 向上微调，精确对齐第一行文字的中心 */
  width: 15px;
  height: 15px;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.timeline-date {
  font-size: 11px; /* 稍微调小一点，增强层级感 */
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1; /* 确保高度可控 */
}

.timeline-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.4;
}

.timeline-content p {
  font-size: 13px; /* 稍微调小一点，增加可读性 */
  color: var(--muted-2);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .experience-layout {
    grid-template-columns: 1fr;
  }
}

/* Awards Tab */
.awards-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 50px;
  color: #fff;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.award-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.award-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.award-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(246, 177, 59, 0.1);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(246, 177, 59, 0.2);
}

.award-card p {
  margin: 0;
  font-size: 16px;
  color: var(--fg);
}

/* Showcase Tab */
/* Showcase Tab - 恢复 6 格网格布局 */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.showcase-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0.85;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.showcase-card:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
}

.showcase-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.showcase-text p {
  font-size: 12px;
  color: var(--accent);
  margin: 0;
  font-family: monospace;
}

/* 数据详情弹窗样式 */
.data-modal {
  position: fixed;
  inset: 0;
  z-index: 25000;
  background: radial-gradient(circle at center, rgba(10, 25, 47, 0.98) 0%, rgba(5, 5, 5, 1) 100%);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  padding: 40px;
  overflow: hidden;
}

.data-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 1;
  background-size: 100% 4px, 3px 100%;
  pointer-events: none;
  opacity: 0.3;
}

.data-modal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(246, 177, 59, 0.05) 0%, transparent 100%);
  z-index: 2;
  animation: scifiScan 8s linear infinite;
  pointer-events: none;
}

@keyframes scifiScan {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

.data-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.data-modal-container {
  width: min(1200px, 100%);
  max-height: 90vh;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(246, 177, 59, 0.3);
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 10;
  box-shadow: 0 0 50px rgba(246, 177, 59, 0.1), inset 0 0 20px rgba(246, 177, 59, 0.05);
}

.data-modal.is-active .data-modal-container {
  transform: translateY(0);
}

.data-modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-carousel {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.data-slide {
  flex: 0 0 100%;
  display: none;
  grid-template-columns: 1.2fr 1fr;
  height: 100%;
}

.data-slide.active {
  display: grid;
}

.data-slide-left {
  background: #000;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.data-slide-left img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.data-slide-right {
  padding: 60px;
  overflow-y: auto;
}

.data-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(246, 177, 59, 0.15);
  color: var(--accent);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.data-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.data-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.data-tags span {
  font-size: 12px;
  color: var(--muted-2);
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

.data-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.data-list {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.data-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 15px;
}

.data-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.data-nav {
  padding: 20px 60px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.data-nav-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.data-nav-btn:hover {
  background: #fff;
  color: #000;
}

.data-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 992px) {
  .data-slide {
    grid-template-columns: 1fr;
  }

  .data-slide-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
  }

  .data-slide-right {
    padding: 40px;
  }

  .data-title {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .data-modal {
    padding: 0;
  }

  .data-modal-container {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .data-slide-right {
    padding: 30px;
  }

  .data-nav {
    padding: 20px 30px;
  }
}

.showcase-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.showcase-card:hover video {
  opacity: 1;
}

.video-play-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 20px rgba(246, 177, 59, 0.4);
  transition: transform 0.3s ease;
}

.showcase-card:hover .video-play-icon {
  transform: scale(1.1);
}

.video-card {
  cursor: pointer;
}

/* 视频弹窗样式 */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  display: none !important;
  /* Force hide on load */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.video-modal.is-active {
  display: flex !important;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: min(1200px, 100%);
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.is-active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-modal-close:hover {
  background: var(--accent);
  color: #000;
  transform: rotate(90deg);
}

.video-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-modal-footer {
  padding: 20px;
  background: #000;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-exit-btn {
  padding: 12px 40px;
  border-radius: 9999px;
  background: var(--accent);
  color: #000;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-exit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(246, 177, 59, 0.3);
  background: #fff;
}

@media (max-width: 768px) {
  .video-modal {
    padding: 10px;
  }

  .video-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .showcase-card {
    aspect-ratio: 16/9;
  }

  .showcase-overlay {
    opacity: 1;
    /* 移动端默认可见部分信息 */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    padding: 15px;
  }

  .showcase-text h3 {
    font-size: 14px;
  }

  .video-play-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

.showcase-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* 占位板块样式 */
.showcase-card.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border-style: dashed;
  cursor: default;
}

.placeholder-content {
  text-align: center;
  color: var(--muted-2);
}

.placeholder-icon {
  font-size: 24px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.placeholder-content p {
  font-size: 13px;
  margin: 0;
}

@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .awards-grid,
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {

  .awards-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__title span:first-child {
  position: relative;
  display: inline-block;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(246, 177, 59, 0.3);
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0% {
    transform: translate(0);
    text-shadow: -2px 0 var(--accent-2), 2px 0 #00fff2;
  }

  2% {
    transform: translate(-2px, 2px);
  }

  4% {
    transform: translate(-2px, -2px);
  }

  6% {
    transform: translate(2px, 2px);
  }

  8% {
    transform: translate(2px, -2px);
  }

  10% {
    transform: translate(0);
    text-shadow: -2px 0 var(--accent-2), 2px 0 #00fff2;
  }

  100% {
    transform: translate(0);
  }
}

.hero__title span:nth-child(2) {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #fff, var(--accent), #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
  font-weight: 800;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero__title {
  margin: 0;
  font-size: clamp(44px, 4.6vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.6px;
  text-align: center;
}

.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__title-sub {
  font-size: 0.75em;
  /* 减小字体 */
  opacity: 0.85;
}

.hero__actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn--primary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn__icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__profile {
  display: flex;
  justify-content: center;
}

.profile {
  position: relative;
  width: 400px;
  /* 从 250px 加大到 400px */
  height: 400px;
  /* 从 250px 加大到 400px */
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.profile__ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.profile__avatar {
  position: relative;
  width: 260px;
  /* 加大头像 */
  height: 260px;
  /* 加大头像 */
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(120px 120px at 30% 25%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(120px 120px at 70% 65%, rgba(246, 177, 59, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.6));
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

/* 技能悬浮球容器 */
.skill-orbs-container {
  position: absolute;
  inset: -60px; /* 从 -100px 缩小到 -60px，使图标更靠近头像 */
  pointer-events: none;
  z-index: 2;
  transform-style: preserve-3d;
}

.skill-orb {
  position: absolute;
  width: 52px; /* 从 42px 增加到 52px */
  height: 52px; /* 从 42px 增加到 52px */
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 177, 59, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px; /* 增加内边距 */
  pointer-events: auto;
  cursor: default;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: orbFloat 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.5s);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  will-change: transform;
}

.skill-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.skill-orb:hover {
  background: rgba(246, 177, 59, 0.2);
  transform: scale(1.3) !important;
  z-index: 10;
  box-shadow: 0 0 20px rgba(246, 177, 59, 0.4);
}

/* 精确位置分布，确保不遮挡中心头像且不溢出 */
.skill-orb:nth-child(1) {
  top: 0%;
  left: 0%;
}

.skill-orb:nth-child(2) {
  top: -20%;
  left: 35%;
}

.skill-orb:nth-child(3) {
  top: -5%;
  right: 5%;
}

.skill-orb:nth-child(4) {
  top: 25%;
  right: -20%;
}

.skill-orb:nth-child(5) {
  bottom: 35%;
  right: -25%;
}

.skill-orb:nth-child(6) {
  bottom: 5%;
  right: -10%;
}

.skill-orb:nth-child(7) {
  bottom: -20%;
  right: 25%;
}

.skill-orb:nth-child(8) {
  bottom: -10%;
  left: 5%;
}

.skill-orb:nth-child(9) {
  bottom: 25%;
  left: -20%;
}

.skill-orb:nth-child(10) {
  top: 45%;
  left: -25%;
}

.skill-orb:nth-child(11) {
  top: -15%;
  left: 65%;
}

.skill-orb:nth-child(12) {
  top: 20%;
  left: -10%;
}

.skill-orb:nth-child(13) {
  bottom: 55%;
  left: -28%;
}

.skill-orb:nth-child(14) {
  top: 55%;
  right: -28%;
}

.skill-orb:nth-child(15) {
  bottom: -5%;
  right: 60%;
}

.skill-orb:nth-child(16) {
  top: 75%;
  right: -5%;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.01deg);
  }

  33% {
    transform: translate3d(8px, -12px, 0) rotate(1deg);
  }

  66% {
    transform: translate3d(-6px, 10px, 0) rotate(-0.5deg);
  }
}

.profile__img {
  width: 100%;
  height: 260px;
  /* 同步加大 */
  object-fit: cover;
  display: block;
  transform: perspective(var(--tilt-p, 720px)) rotateX(var(--tilt-rx, 0deg)) rotateY(var(--tilt-ry, 0deg)) translateZ(18px) scale(1.02);
  transition: transform 220ms ease;
  will-change: transform;
}

.profile__img-wrapper {
  width: 100%;
  height: 260px;
  /* 同步加大 */
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.profile__avatarInner {
  width: 46%;
  height: 46%;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: clamp(22px, 2.2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.profile__name {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.85);
}

/* Testimonials Section */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  perspective: 1500px;
}

.testimonial-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-box:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(246, 177, 59, 0.1);
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.box-label {
  font-size: 11px;
  font-family: monospace;
  color: var(--muted-2);
  letter-spacing: 0.2em;
}

.box-status {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Terminal Log Style */
.terminal-body {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #00ff8c;
  height: 200px;
  overflow-y: auto;
  scrollbar-width: none;
}

.terminal-body::-webkit-scrollbar {
  display: none;
}

.log-line {
  margin-bottom: 8px;
  opacity: 0.8;
  line-height: 1.4;
}

/* Summary Card Style */
.summary-content {
  position: relative;
}

.quote-icon {
  font-size: 60px;
  color: var(--accent);
  opacity: 0.1;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.system-tags span {
  font-size: 10px;
  font-family: monospace;
  background: rgba(246, 177, 59, 0.1);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(246, 177, 59, 0.2);
}

/* Param Items */
.param-item {
  margin-bottom: 20px;
}

.param-name {
  font-size: 13px;
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}

.param-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.param-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent);
  transform-origin: left;
}

@media (max-width: 1200px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

.testimonials {
  position: relative;
  background: #000;
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.testimonial-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-box:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(246, 177, 59, 0.05);
}

/* 自我评价样式 */
.self-eval {
  border-left: 4px solid var(--accent);
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.box-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted-2);
  font-weight: 700;
}

.box-status {
  font-size: 10px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.eval-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
}

.param-item {
  margin-bottom: 20px;
}

.param-name {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.param-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.param-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent);
}

.eval-desc {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* BOSS 评价样式 */
.boss-evals {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.boss-item {
  padding: 35px;
}

.quote-mark {
  font-size: 60px;
  font-family: serif;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.boss-quote {
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.boss-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.boss-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.boss-meta {
  display: flex;
  flex-direction: column;
}

.boss-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.boss-date {
  font-size: 12px;
  color: var(--muted-2);
}

@media (max-width: 992px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .testimonial-box {
    padding: 30px;
  }

  .eval-title {
    font-size: 20px;
  }
}

/* Image Modal Styles */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.image-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.image-modal-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-modal-close:hover {
  transform: rotate(90deg);
  color: var(--accent);
}

.image-preview-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.image-preview-content::-webkit-scrollbar {
  width: 6px;
}

.image-preview-content::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.image-preview-content img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .image-modal {
    padding: 10px;
  }

  .image-modal-close {
    top: -35px;
    right: 5px;
    font-size: 28px;
  }
}

/* Contact Section */
/* 能力详解板块样式 */
.skills-detail-container {
  padding: 20px 0;
}

.skills-detail-main-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.skill-detail-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.skill-detail-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  background: rgba(246, 177, 59, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(246, 177, 59, 0.1);
}

.skill-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.skill-detail-card:hover::before {
  height: 100%;
}

.skill-detail-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.skill-detail-icon {
  font-size: 32px;
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-detail-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.skill-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-detail-list li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
}

.skill-detail-list li::before {
  display: none;
}

.skill-detail-list li strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .skills-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .skills-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 之前被删除的 awards 样式如果还需要可以保留，但此处按要求重构 */

.contact {
  position: relative;
  background: radial-gradient(circle at 80% 80%, rgba(246, 177, 59, 0.05), transparent 50%);
}

.contact__header {
  text-align: center;
  margin-bottom: 60px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent);
  transform: translateX(10px);
}

.contact-card__icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  background: rgba(246, 177, 59, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 177, 59, 0.2);
  color: var(--accent);
}

.contact-card__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 5px var(--accent));
}

.contact-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 1px;
}

.contact-card__value {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.contact-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(246, 177, 59, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.contact-card:hover .contact-card__glow {
  opacity: 1;
}

/* Status Box */
.status-box {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(246, 177, 59, 0.2);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
  /* 为扫描线效果准备 */
}

/* 终端扫描线动效 */
.status-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg,
      transparent 0%,
      rgba(246, 177, 59, 0.03) 50%,
      transparent 100%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 1;
  animation: terminalScan 4s linear infinite;
}

@keyframes terminalScan {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

.status-title {
  font-family: monospace;
  font-size: 13px;
  color: var(--muted-2);
}

.status-online {
  font-size: 11px;
  color: #4ade80;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-body {
  font-family: monospace;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.status-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid transparent;
  /* 为打字机光标准备 */
}

.status-footer {
  margin-top: 40px;
  font-family: monospace;
  font-size: 12px;
  color: var(--accent);
  opacity: 0.6;
  position: relative;
  z-index: 2;
}

.status-footer::after {
  content: "_";
  animation: terminalBlink 1s step-end infinite;
}

@keyframes terminalBlink {

  from,
  to {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 992px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-methods {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .contact-card {
    padding: 15px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .contact-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-card__value {
    font-size: 14px;
    word-break: break-all;
    white-space: normal;
  }

  .contact-card:hover {
    transform: translateY(-5px);
  }

  .status-box {
    padding: 25px 20px;
  }

  .status-text {
    font-size: 12px;
    white-space: normal;
    height: auto;
    overflow: visible;
  }
}

/* 升级版点击交互特效 */
.click-shockwave {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--accent), inset 0 0 10px var(--accent);
}

.click-heart {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
  font-size: 20px;
  user-select: none;
}

.cursor {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-ring,
.cursor-dot {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 9999px;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 32px rgba(255, 255, 255, 0.14);
  transition: width 200ms ease, height 200ms ease, background 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  will-change: width, height;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: width 140ms ease, height 140ms ease, border-color 140ms ease, background 140ms ease, opacity 140ms ease;
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor [role="button"] {
  cursor: none;
}

body.cursor-hover .cursor-ring {
  width: 44px;
  height: 44px;
  border-color: rgba(246, 177, 59, 0.65);
  background: rgba(246, 177, 59, 0.06);
}

body.cursor-down .cursor-ring {
  width: 30px;
  height: 30px;
}

body.nav-highlight .cursor-ring {
  opacity: 0;
}

body.nav-highlight .cursor-dot {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
  mix-blend-mode: difference;
}

/* 隐藏自定义鼠标逻辑 */
.experience-layout:hover~.cursor,
body:has(.experience-layout:hover) .cursor {
  opacity: 0 !important;
  pointer-events: none;
}

body.hide-custom-cursor .cursor {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Mobile Optimized Refactor (max-width: 768px)
   ========================================================================== */
/* ==========================================================================
   Unified Mobile Optimization (max-width: 768px)
   ========================================================================== */
/* 导航切换按钮 (默认隐藏) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}

.nav-toggle__line {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 2px;
}

/* 按钮激活状态 (变为 X) */
.nav-toggle.is-active .nav-toggle__line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

@media (max-width: 900px) {
  .header__inner {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 20px 20px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.is-active {
    transform: translateX(0);
  }

  .nav__link {
    width: 100%;
    height: 60px;
    justify-content: flex-start;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav__link.is-active::after {
    left: 0;
    bottom: 0;
    top: 0;
    width: 3px;
    height: 100%;
    transform: none;
    border-radius: 0;
  }

  .logo {
    justify-self: center;
  }

  .cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero__profile {
    order: -1;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile {
    width: min(300px, 80vw);
  }

  .profile__name {
    font-size: 20px;
    bottom: 20px;
  }

  .skills__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .skills {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  :root {
    --container: 92%;
  }

  body {
    font-size: 13px;
    /* Further reduction from 14px */
    line-height: 1.5;
    /* Tighten line height */
  }

  .header__inner {
    height: 56px;
    /* Reduced from 76px */
  }

  .section-padding {
    padding: 12px 0;
    /* Further reduced from 15px */
  }

  /* Typography Refinement */
  .skills__heading {
    margin-bottom: 20px;
  }

  .skills__title {
    font-size: 18px;
    line-height: 1.3;
  }

  .skills__subtitle {
    font-size: 11px;
    margin-top: 6px;
  }

  /* Hero Section Slimming */
  .hero {
    min-height: auto;
    padding: 25px 0;
  }

  .hero__title {
    font-size: 24px;
    line-height: 1.2;
  }

  /* Reduced from 26px */
  .hero__title span {
    white-space: normal;
  }

  /* 移动端允许换行 */
  .hero__title span:nth-child(2) {
    font-size: 0.8em;
  }

  .hero__hint {
    font-size: 10px;
    margin-top: 6px;
  }

  .btn {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 8px;
  }

  /* Skills Section Slimming */
  .skills__card {
    padding: 12px;
    border-radius: 12px;
  }

  .skills__cardIcon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .skills__cardTitle {
    font-size: 14px;
    margin: 8px 0 4px;
  }

  .skills__cardDesc {
    font-size: 11px;
  }

  /* Tabs Navigation - Refined */
  .tabs-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 12px;
    gap: 6px;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    background: transparent;
    border: none;
    flex: 0 0 auto;
    /* Prevent shrinking */
    color: var(--muted-2);
  }

  .tab-btn.is-active {
    background: rgba(246, 177, 59, 0.25);
    color: var(--accent);
    font-weight: 700;
  }

  /* Hide Decorative Elements that cause overflow */
  .bg-ring,
  .bg-spark,
  .skills__orb,
  .profile__ring {
    display: none !important;
  }

  /* Profile & Orbs Mobile Refinement */
  .profile {
    width: min(280px, 75vw);
    /* 适度加大移动端头像容器 */
    height: min(280px, 75vw);
  }

  .profile__avatar {
    width: 170px;
    /* 同步加大头像 */
    height: 170px;
  }

  .profile__img-wrapper,
  .profile__img {
    height: 170px;
  }

  .skill-orbs-container {
    inset: -25px; /* 移动端进一步收缩 */
  }

  .skill-orb {
    width: 32px; /* 从 28px 增加到 32px */
    height: 32px;
    padding: 6px;
    animation: orbFloatMobile 10s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.6s);
  }

  /* 移动端重新排布，确保在加大尺寸后依然不溢出 */
  .skill-orb:nth-child(1) {
    top: 5%;
    left: 0%;
  }

  .skill-orb:nth-child(2) {
    top: -15%;
    left: 40%;
  }

  .skill-orb:nth-child(3) {
    top: 5%;
    right: 0%;
  }

  .skill-orb:nth-child(4) {
    top: 40%;
    right: -15%;
  }

  .skill-orb:nth-child(5) {
    bottom: 40%;
    right: -15%;
  }

  .skill-orb:nth-child(6) {
    bottom: 5%;
    right: 0%;
  }

  .skill-orb:nth-child(7) {
    bottom: -15%;
    right: 40%;
  }

  .skill-orb:nth-child(8) {
    bottom: 5%;
    left: 0%;
  }

  .skill-orb:nth-child(9) {
    bottom: 40%;
    left: -15%;
  }

  .skill-orb:nth-child(10) {
    top: 40%;
    left: -15%;
  }

  .skill-orb:nth-child(n+11) {
    display: none;
  }

  @keyframes orbFloatMobile {

    0%,
    100% {
      transform: translate3d(0, 0, 0);
    }

    33% {
      transform: translate3d(4px, -6px, 0);
    }

    66% {
      transform: translate3d(-3px, 5px, 0);
    }
  }

  .tabs-content {
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 6px;
  }

  /* About Me - Clean Bento 2-Column Grid */
  .about-grid {
    gap: 10px;
  }

  .about-image {
    display: none;
  }

  .about-title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #fff;
  }

  .info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .info-item {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    /* Important for grid item content overflow */
  }

  .info-label {
    font-size: 9px;
    color: var(--muted-2);
    margin-bottom: 1px;
  }

  .info-value {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    word-break: break-all;
    /* Fix long text overflow like emails */
    line-height: 1.3;
  }

  .info-item:nth-child(2),
  .info-item:nth-child(6),
  .info-item:nth-child(7),
  .info-item:nth-child(8) {
    grid-column: span 2;
  }

  /* Tech Stack - Refined Layout */
  .tech-title {
    font-size: 14px;
    margin-bottom: 6px;
    color: #fff;
  }

  .tech-motto {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--muted);
  }

  .skills-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .skill-item-v2 {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    gap: 4px;
    min-width: 0;
  }

  .skill-info-v2 {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1px;
  }

  .skill-name-v2 {
    font-size: 11px;
    gap: 6px;
    word-break: break-word;
  }

  .skill-check {
    width: 10px;
    height: 10px;
  }

  .skill-val-v2 {
    font-size: 10px;
  }

  .skill-progress-v2 {
    height: 2px;
  }

  /* 移除移动端帮助按钮 */
  .tab-guide-trigger {
    display: none !important;
  }
}

/* Experience - Fix Map Display */
.experience-layout {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.experience-map-container {
  height: 320px;
  width: 100%;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 5px;
  background: #000;
  /* Ensure black bg if tiles load slow */
  overflow: hidden;
  position: relative;
}

.map-tiles-grayscale {
  filter: grayscale(100%) invert(85%) brightness(80%) contrast(100%);
  /* Lighter for mobile */
  will-change: transform, filter;
}

.experience-map-leaflet {
  width: 100% !important;
  height: 100% !important;
}

/* Reduce Map Elements for Mobile */
.city-label-exclusive {
  font-size: 11px !important;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8), 0 0 6px var(--accent);
}

.leaflet-pulse-icon {
  width: 14px !important;
  height: 14px !important;
}

.pulse-dot {
  width: 6px;
  height: 6px;
}

.pulse-ring {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
}

.map-2d-popup {
  padding: 10px 12px;
  min-width: 160px;
  max-width: 200px;
}

.popup-title {
  font-size: 13px;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.popup-body {
  font-size: 11px;
  line-height: 1.4;
}

.custom-leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
}

.timeline-title {
  font-size: 16px;
  margin-bottom: 15px;
  padding-left: 8px;
  border-left: 3px solid var(--accent);
  color: #fff;
}

.timeline-item {
  padding: 12px 15px;
  margin-bottom: 8px;
  border-radius: 12px;
}

.timeline-date {
  font-size: 11px;
}

.timeline-content h3 {
  font-size: 14px;
}

.timeline-content p {
  font-size: 12px;
}

/* Skills Detail - Fix wrapping */
.skills-detail-main-title {
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.skills-detail-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.skill-detail-card {
  padding: 12px;
  border-radius: 10px;
}

.skill-detail-header {
  gap: 8px;
  margin-bottom: 15px;
}

.skill-detail-icon {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.skill-detail-card h3 {
  font-size: 13px;
}

.skill-detail-list li {
  font-size: 11px;
  margin-bottom: 4px;
}

/* Testimonials - Simplified */
.testimonials__grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.testimonial-box {
  padding: 15px;
  border-radius: 12px;
}

.eval-title {
  font-size: 16px;
  margin-bottom: 12px;
}

.terminal-body {
  height: 100px;
  font-size: 9px;
}

.eval-desc {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
}

/* Video Modal - Mobile Redesign */
.video-modal {
  padding: 0;
  background: #000;
}

.video-modal-content {
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-container {
  aspect-ratio: auto;
  height: auto;
  max-height: 80vh;
}

.video-modal-close {
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  z-index: 100;
}

/* Fix for videos appearing at top */
#showcase:not(.is-active) video {
  display: none !important;
}

#showcase video {
  max-width: 100%;
  border-radius: 8px;
}

.video-card {
  position: relative;
  overflow: hidden;
}

/* Contact - Mobile Optimized */
.contact__grid {
  gap: 12px;
}

.contact-card {
  padding: 12px;
  border-radius: 12px;
  gap: 12px;
}

.contact-card__icon {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.contact-card__icon svg {
  width: 18px;
  height: 18px;
}

.contact-card__label {
  font-size: 9px;
}

.contact-card__value {
  font-size: 13px;
}

.status-box {
  padding: 15px;
  border-radius: 12px;
}

.status-text {
  font-size: 10px;
}


/* 微信悬浮窗样式 */
.wechat-float {
  position: fixed !important;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateZ(0);
  z-index: 999999 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
}

.wechat-float__inner {
  width: 60px;
  height: 60px;
  background: #07C160;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(7, 193, 96, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
}

.wechat-float__inner::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #07C160;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.wechat-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.wechat-float__tip {
  display: none !important;
}

/* 悬浮效果 */
.wechat-float:hover {
  transform: translateY(-58%) translateZ(0);
}

.wechat-float:hover .wechat-float__inner {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(7, 193, 96, 0.5);
  background: #09d36b;
}

.wechat-float:hover .wechat-float__inner::after {
  opacity: 1;
  transform: scale(1);
}

.wechat-float:hover .wechat-float__tip {
  opacity: 1;
  transform: translateY(0);
}

/* 呼吸动画 */
@keyframes wechatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(7, 193, 96, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(7, 193, 96, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(7, 193, 96, 0);
  }
}

.wechat-float__inner {
  animation: wechatPulse 2s infinite;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .wechat-float {
    right: 12px;
    top: 50%;
    transform: translateY(-50%) translateZ(0);
    position: fixed !important;
  }

  .wechat-float__inner {
    width: 50px;
    height: 50px;
  }

  .wechat-icon {
    width: 26px;
    height: 26px;
  }

  .wechat-float__tip {
    display: none;
    /* 移动端隐藏提示文字，保持简洁 */
  }
}

/* Capability Section */
.capability {
  background: rgba(10, 10, 10, 0.4);
  position: relative;
  overflow: hidden;
}

.capability__header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
}

.capability__kicker {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  font-size: 14px;
}

.capability__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  min-height: 1.2em;
}

.capability__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.capability__card {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(246, 177, 59, 0.2);
  border-radius: 20px;
  padding: 35px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(30px);
}

.capability__card--full {
  grid-column: 1 / -1;
}

.capability__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.capability__card:hover::before {
  transform: translateX(100%);
}

.capability__card:hover {
  transform: translateY(-12px);
  border-color: rgba(246, 177, 59, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(246, 177, 59, 0.1);
}

/* 打字机元素初始隐藏 */
.typewriter, .typewriter-sub, .typewriter-item {
  min-height: 1.2em;
  visibility: hidden;
}

.typewriter.is-typing, .typewriter-sub.is-typing, .typewriter-item.is-typing,
.typewriter.is-complete, .typewriter-sub.is-complete, .typewriter-item.is-complete {
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 1024px) {
  .capability__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .capability__grid {
    grid-template-columns: 1fr;
  }
  .capability__card--full {
    grid-column: auto;
  }
}

.capability__card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: nowrap;
}

.capability__icon-wrapper {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 177, 59, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--accent);
}

.capability__svg-icon {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.capability__card-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
  white-space: nowrap;
}

.capability__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9); /* 提高文字亮度 */
  font-size: 15px;
  line-height: 1.6;
  min-height: 1.6em;
}

.capability__list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: monospace;
  font-weight: bold;
  opacity: 0.8;
}

/* 增强打字机光标效果 */
.typewriter::after,
.typewriter-sub::after,
.typewriter-item::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 5px;
  vertical-align: middle;
  animation: blink 0.8s step-end infinite;
  box-shadow: 0 0 8px var(--accent);
}

.typewriter.is-complete::after,
.typewriter-sub.is-complete::after,
.typewriter-item.is-complete::after {
  display: none;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}