/* ==========================================================================
   三版公司介绍网站 - 中端版 (Mid) 核心视觉样式表
   特色：暗色极光 + 极致玻璃拟态 + Bento Grid 自适应 + 滚动微交互
   ========================================================================== */

/* 1. 字体本地化声明 */
@font-face {
  font-family: "Outfit";
  src: url("lib/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("lib/fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("lib/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("lib/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2. 核心设计系统变量 */
:root {
  --bg-dark: #07080d;
  --bg-radial: radial-gradient(circle at 50% 50%, #121422 0%, #07080d 100%);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  --primary-indigo: #6366f1;
  --primary-violet: #a855f7;
  --glow-indigo: rgba(99, 102, 241, 0.15);
  --glow-violet: rgba(168, 85, 247, 0.15);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Outfit", "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --max-width: 1200px;
}

/* 3. 基础样式重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* 底色放在 html(视口最底层),让 z-index:-1 的粒子 canvas 能显示在其上 */
  background: var(--bg-radial);
  font-family: var(--font-sans);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  /* body 必须透明,否则会盖住负层级的粒子 canvas */
  background: transparent;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* 4. 极致玻璃拟态卡片通用类 */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 32px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transform: skewX(-15deg);
  transition: 0.75s;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 120%;
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.25),
              0 0 50px 0 rgba(168, 85, 247, 0.05);
}

/* 5. 导航栏 (Navbar) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  height: 64px;
  background: rgba(7, 8, 13, 0.7);
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
  color: #fff;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, #fff, #a3a3a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 8px 4px;
  position: relative;
}

.nav-item a:hover,
.nav-item.active a {
  color: #fff;
}

.nav-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-indigo), var(--primary-violet));
  transition: var(--transition-smooth);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
}

/* 6. 首屏 (Hero Section) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.08) 40%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #6366f1;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(99, 102, 241, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, #fff 30%, #a5b4fc 70%, var(--primary-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

/* 数据看板上移进 Hero:12 列 bento 里每卡占 4 列 = 等宽 3列×2行(数字横排不换行) */
.hero-stats {
  width: 100%;
  max-width: 880px;
  margin: 10px auto 38px;
}
.hero-stats .stat-card {
  grid-column: span 4;
}
@media (max-width: 768px) {
  .hero-stats .stat-card { grid-column: span 1; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* 7. Bento Grid 布局系统 */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--primary-indigo);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-col-12 { grid-column: span 12; }
.bento-col-8 { grid-column: span 8; }
.bento-col-6 { grid-column: span 6; }
.bento-col-4 { grid-column: span 4; }
.bento-col-3 { grid-column: span 3; }

/* Stats Bento Card */
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--primary-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 700;
}

/* Services Bento Card */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-indigo);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
  color: #fff;
  transform: rotate(6deg) scale(1.1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 8. 作品展示区 (Works Section) */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #0f1015;
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.work-poster-container {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, #181922 0%, #0d0e12 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  color: var(--text-muted);
}

.work-poster-placeholder {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.work-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* 首页精选作品 —— 横向自动滚动轨道 */
.featured-scroller {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.featured-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: featured-scroll 70s linear infinite;
}

.featured-scroller:hover .featured-track {
  animation-play-state: paused;
}

.featured-track .work-card {
  flex: 0 0 300px;
  width: 300px;
}

@keyframes featured-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .featured-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* 首页作品分类分区(沿用 high 的分类展示) */
.works-cat {
  margin-bottom: 50px;
}
.works-cat:last-child {
  margin-bottom: 0;
}
.works-cat-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  padding-left: 4px;
}
.works-cat-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
}
.works-cat-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.works-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}
@media (max-width: 540px) {
  .works-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

.work-poster-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

.work-play-btn {
  position: absolute;
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(7, 8, 13, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.work-play-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.4);
  animation: pulse-ring 2s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
}

.work-card:hover .work-poster-container {
  background: linear-gradient(135deg, #202230 0%, #0f1015 100%);
}

.work-card:hover .work-play-btn {
  opacity: 1;
  transform: scale(1);
}

.work-info {
  padding: 24px;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.work-genre {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.work-year {
  color: var(--text-muted);
}

.work-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.work-stats-row {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.work-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 9. 合作流程 (Process Section) */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.process-step-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
}

.process-step-num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-indigo);
  opacity: 0.8;
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 60px;
}

.process-step-content {
  flex: 1;
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 10. 团队介绍 (Team Section) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
}

.team-avatar-box {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
  padding: 3px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.team-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f1015;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
}

.team-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-title {
  color: var(--primary-indigo);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.team-title::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--primary-indigo);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--primary-indigo);
}

.team-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 11. 合作伙伴无缝跑马灯 (Partners Section) */
.partners-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.partners-container::before,
.partners-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}

.partners-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: scroll-loop 30s linear infinite;
}

@keyframes scroll-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-card {
  padding: 16px 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.partner-logo-card:hover {
  border-color: var(--border-glass-hover);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* 12. 展示型联系人卡片 (Contact Section) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}

.contact-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-indigo);
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.contact-card:hover .contact-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
  color: #fff;
  transform: translateY(-4px) scale(1.05);
}

.contact-label {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.qr-code-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(24, 25, 34, 0.8) 0%, rgba(13, 14, 18, 0.8) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.qr-code-placeholder i {
  color: var(--primary-indigo);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  transition: var(--transition-smooth);
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-item i {
  color: var(--primary-indigo);
  width: 16px;
}

/* Toast 提示框 */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(7, 8, 13, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 13. 页脚 (Footer) */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  background: rgba(7, 8, 13, 0.5);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-weight: 400;
}

.footer-icp {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-icp:hover {
  color: var(--text-secondary);
}

/* 14. 页面转场动效 (Intersection Observer Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* 延迟（Stagger）类定义 */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* 15. 响应式布局自适应 (Responsive 断点) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-col-8, .bento-col-6, .bento-col-4 {
    grid-column: span 2;
  }

  /* stats(col-3)在平板/手机的 2 列网格里改为每行 2 个 */
  .bento-col-3 {
    grid-column: span 1;
  }
  
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(7, 8, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .works-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }
  
  .process-step-num {
    font-size: 1.8rem;
  }
}
