/* ================================
   瀚予SHEEN - 个人官网样式系统
   Notion极简风格 | 深浅色模式 | 响应式设计
   ================================ */

/* ========== CSS 变量系统 ========== */
:root {
  /* 浅色模式变量 */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f6f3;
  --bg-tertiary: #ffffff;
  --bg-hover: #f1f1ef;
  --bg-card: #ffffff;
  
  --text-primary: #37352f;
  --text-secondary: #6b6b6b;
  --text-tertiary: #9b9a97;
  --text-muted: #c4c4c2;
  
  --border-color: #e9e9e7;
  --border-hover: #d3d3d1;
  
  --accent-color: #2383e2;
  --accent-hover: #1a6dc2;
  --accent-light: #e8f0fe;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
  
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 深色模式变量 */
[data-theme="dark"] {
  --bg-primary: #191919;
  --bg-secondary: #202020;
  --bg-tertiary: #2d2d2d;
  --bg-hover: #353535;
  --bg-card: #252525;
  
  --text-primary: #e8e8e8;
  --text-secondary: #b8b8b8;
  --text-tertiary: #888888;
  --text-muted: #585858;
  
  --border-color: #333333;
  --border-hover: #444444;
  
  --accent-color: #529fff;
  --accent-hover: #7ab3ff;
  --accent-light: #1e3a5f;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.5);
}

/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== 布局容器 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 18px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  border-radius: var(--radius-md);
  color: white;
  font-weight: 700;
  font-size: 14px;
}

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

.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: 14px;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-hover);
}

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

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-secondary);
}

/* ========== Hero 区域 ========== */
.hero {
  padding: 120px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent-color);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-description {
  font-size: 16px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-hover);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.hero-avatar {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
}

.avatar-bg {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
  border-radius: 50%;
  opacity: 0.1;
  animation: pulse 3s ease-in-out infinite;
}

.avatar-main {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  border: 3px solid var(--border-color);
  overflow: hidden;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.05); opacity: 0.15; }
}

/* ========== 通用区块样式 ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== 服务卡片 ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.service-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--accent-color);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
}

.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.service-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ========== 技能标签 ========== */
.skills-container {
  max-width: 800px;
  margin: 0 auto;
}

.skills-category {
  margin-bottom: 32px;
}

.skills-category-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.skill-tag:hover {
  background: var(--accent-light);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* ========== 优势卡片 ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.advantage-item:hover {
  border-color: var(--accent-color);
  background: var(--bg-secondary);
}

.advantage-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.advantage-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage-content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========== 案例展示 ========== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border-color);
}

.project-content {
  padding: 24px;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.project-tag {
  padding: 4px 10px;
  background: var(--accent-light);
  color: var(--accent-color);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}

.project-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========== 报价参考 ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent-color);
  color: white;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

/* ========== 联系区域 ========== */
.contact-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
}

.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.contact-item a:hover {
  color: var(--accent-color);
  text-decoration: underline;
  cursor: pointer;
}

/* ========== 页脚 ========== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-color);
}

/* ========== 博客页面 ========== */
.blog-header {
  padding: 100px 0 40px;
}

.blog-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.blog-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 80px;
}

.blog-card {
  display: block;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

.blog-card:hover {
  border-color: var(--accent-color);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.blog-category {
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent-color);
  border-radius: 100px;
  font-weight: 500;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 博客详情页 */
.post-header {
  padding: 100px 0 12px;
}

.post-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 40px;
}

.post-content {
  padding-bottom: 80px;
}

.post-content > *:first-child {
  margin-top: 0;
}

/* Markdown 渲染样式 */
.markdown-body {
  font-size: 16px;
  line-height: 1.8;
}

.markdown-body h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 32px 0 16px;
}

.markdown-body h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.markdown-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.markdown-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.markdown-body ul,
.markdown-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.markdown-body li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.markdown-body code {
  padding: 2px 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
}

.markdown-body pre {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 20px 0;
}

.markdown-body pre code {
  background: none;
  padding: 0;
}

.markdown-body blockquote {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
}

.markdown-body blockquote p {
  margin: 0;
}

.markdown-body a {
  color: var(--accent-color);
  text-decoration: none;
}

.markdown-body a:hover {
  text-decoration: underline;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
  transition: color var(--transition-fast);
}

.back-btn:hover {
  color: var(--accent-color);
}

/* ========== 音乐页面 ========== */
.music-header {
  padding: 100px 0 40px;
}

.music-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.music-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.music-player {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 40px;
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.track-cover {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.track-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.track-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.player-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg-secondary);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.player-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.05);
}

.player-btn.play {
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  color: white;
}

.player-btn.play:hover {
  transform: scale(1.1);
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  background: var(--accent-color);
  border-radius: 100px;
  width: 0%;
  pointer-events: none;
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.time {
  font-size: 12px;
  color: var(--text-tertiary);
  min-width: 40px;
}

.playlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.playlist-item:hover,
.playlist-item.active {
  background: var(--bg-secondary);
  border-color: var(--accent-color);
}

.playlist-item.active .playlist-item-number {
  color: var(--accent-color);
  font-weight: 600;
}

.playlist-item-number {
  width: 24px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 14px;
}

.playlist-item-cover {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.playlist-item-info {
  flex: 1;
}

.playlist-item-title {
  font-weight: 500;
  font-size: 14px;
}

.playlist-item-artist {
  font-size: 12px;
  color: var(--text-tertiary);
}

.playlist-item-duration {
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .avatar-wrapper {
    width: 200px;
    height: 200px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .contact-section {
    padding: 40px 24px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .now-playing {
    flex-direction: column;
    text-align: center;
  }
  
  .blog-title,
  .music-title {
    font-size: 32px;
  }
  
  .post-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    justify-content: center;
  }
}

/* ========== 页面过渡动画 ========== */
.page-transition {
  animation: fadeIn 0.3s ease-out;
}

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

/* 滚动显示动画 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SVG 悬停动画 */
.svg-hover {
  transition: transform var(--transition-base);
}

.svg-hover:hover {
  transform: translateY(-2px) scale(1.05);
}

/* ========== 移动端汉堡菜单 ========== */

/* 汉堡菜单按钮 */
.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
  transition: background-color var(--transition-fast);
}

.hamburger-btn:hover {
  background: var(--bg-hover);
}

.hamburger-icon {
  position: relative;
  width: 20px;
  height: 16px;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
  bottom: 0;
}

/* 激活状态 - 变成 X */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* 移动端侧边菜单 */
.mobile-menu {
  position: fixed;
  top: 64px;
  right: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: var(--bg-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 998;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.mobile-menu-link:hover {
  background: var(--bg-hover);
}

.mobile-menu-link svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 0;
}

.mobile-menu-cta {
  margin-top: auto;
  padding: 14px 24px;
  background: var(--accent-color);
  color: white;
  text-align: center;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.mobile-menu-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ========== 服务卡片增强（service-meta） ========== */
.service-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 13px;
  color: var(--accent-color);
  font-weight: 500;
}

/* ========== 全链路能力卡片 ========== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.capability-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.capability-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.capability-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-color);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.capability-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.capability-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ========== 项目卡片 meta 信息 ========== */
.project-meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ========== ROI 横幅 ========== */
.roi-banner {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.roi-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-light), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.roi-item {
  position: relative;
  text-align: center;
}

.roi-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roi-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1.2;
  margin-bottom: 8px;
}

.roi-value span {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 4px;
}

.roi-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== 联系区对齐 ========== */
.contact-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
}
.contact-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--accent-light);
  color: var(--accent-color);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
}

.contact-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.contact-hours svg {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .roi-banner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .roi-value {
    font-size: 26px;
  }
}

/* ========== 微信二维码弹窗 ========== */
.contact-wechat-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: var(--text-secondary);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.contact-wechat-btn svg {
  width: 20px;
  height: 20px;
  color: #07c160;
}

.contact-wechat-btn:hover {
  color: var(--accent-color);
}

.contact-wechat-btn:hover svg {
  color: var(--accent-color);
}

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.wechat-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.wechat-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.wechat-modal-content {
  position: relative;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 32px 28px 24px;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-base);
}

.wechat-modal.open .wechat-modal-content {
  transform: scale(1) translateY(0);
}

.wechat-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
}

.wechat-modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.wechat-modal-header {
  margin-bottom: 20px;
}

.wechat-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 3px solid var(--bg-card);
  box-shadow: 0 4px 12px rgba(35, 131, 226, 0.2);
}

.wechat-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.wechat-id {
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.wechat-qrcode-wrap {
  position: relative;
  display: inline-block;
  padding: 12px;
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wechat-qrcode {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 4px;
}

.wechat-qrcode-tip {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

.wechat-modal-footer {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.wechat-modal-footer p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.wechat-modal-footer strong {
  color: var(--accent-color);
  font-weight: 600;
}

.wechat-modal-sub {
  font-size: 12px;
  color: var(--text-tertiary);
}

@media (max-width: 480px) {
  .wechat-modal-content {
    padding: 28px 20px 20px;
  }
  .wechat-qrcode {
    width: 180px;
    height: 180px;
  }
}

/* ========== 关于页时间轴 ========== */
.timeline {
  position: relative;
  padding: 24px 0 0 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 0 0 32px 0;
  align-items: start;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
  text-align: right;
  padding-top: 4px;
}

.timeline-dot {
  position: absolute;
  left: 94px;
  top: 12px;
  width: 14px;
  height: 14px;
  background: var(--bg-card);
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  z-index: 1;
}

.timeline-current .timeline-dot {
  background: var(--accent-color);
  box-shadow: 0 0 0 6px var(--accent-light);
  animation: pulseDot 2s ease-in-out infinite;
}

.timeline-current .timeline-year {
  background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 6px var(--accent-light); }
  50% { box-shadow: 0 0 0 10px var(--accent-light); }
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all var(--transition-base);
}

.timeline-content:hover {
  border-color: var(--accent-color);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.timeline-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.timeline-summary {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: center;
}

.timeline-summary p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 16px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 48px;
  }
  .timeline-year {
    text-align: left;
    font-size: 20px;
  }
  .timeline-dot {
    left: 10px;
    top: 10px;
  }
}

/* 响应式断点 */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  
  .hamburger-btn {
    display: flex;
  }
}
