/* ========== 全局变量与基础样式 ========== */
:root {
  --pink-50: #fff5f9;
  --pink-100: #ffe8f2;
  --pink-200: #ffd4e6;
  --pink-300: #ffb8d4;
  --pink-400: #ff9ec2;
  --pink-500: #ff7eb0;
  --pink-600: #e85a94;
  --purple-100: #efe8ff;
  --purple-200: #dccdff;
  --purple-300: #c5a3ff;
  --purple-400: #a780f7;
  --peach-100: #fff0e6;
  --peach-200: #ffdcc5;
  --peach-300: #ffc1a0;
  --mint-100: #e4f8f0;
  --mint-200: #bff0dd;
  --blue-100: #e0f2ff;
  --blue-200: #bfe1ff;
  --cream: #fff9f5;
  --text-primary: #5d4057;
  --text-secondary: #8a6b85;
  --text-muted: #b59bb0;
  --shadow-soft: 0 4px 20px rgba(255, 158, 194, 0.25);
  --shadow-medium: 0 8px 30px rgba(255, 158, 194, 0.3);
  --shadow-large: 0 12px 40px rgba(200, 160, 255, 0.3);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #fff5f9 0%, #fff0f6 30%, #f5edff 70%, #fff5f9 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'ZCOOL KuaiLe', 'Noto Sans SC', cursive;
  font-weight: normal;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  outline: none;
}

/* ========== 漂浮装饰 ========== */
.floating-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-decor > span {
  position: absolute;
  font-size: 24px;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
}

.decor-star { color: #ffd700; }
.decor-heart { color: #ff9ec2; }
.decor-cloud { color: #ffffff; font-size: 32px !important; }
.decor-bow { color: #c5a3ff; }

.decor-star:nth-child(1) { animation-delay: 0s; font-size: 20px; }
.decor-heart:nth-child(2) { animation-delay: 1.5s; font-size: 22px; }
.decor-cloud:nth-child(3) { animation-delay: 2.5s; }
.decor-star:nth-child(4) { animation-delay: 1s; font-size: 18px; }
.decor-heart:nth-child(5) { animation-delay: 3s; font-size: 20px; }
.decor-bow:nth-child(6) { animation-delay: 2s; font-size: 20px; }
.decor-star:nth-child(7) { animation-delay: 0.5s; font-size: 16px; }
.decor-cloud:nth-child(8) { animation-delay: 4s; font-size: 28px !important; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255, 182, 217, 0.4);
  box-shadow: 0 4px 20px rgba(255, 158, 194, 0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 22px;
  color: var(--pink-600);
}

.brand-bow { font-size: 24px; }
.brand-heart { color: var(--pink-400); font-size: 18px; }

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background: var(--pink-100);
  color: var(--pink-600);
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--pink-300), var(--purple-300));
  color: white;
  box-shadow: var(--shadow-soft);
}

.nav-icon { font-size: 18px; }
.nav-text { font-size: 12px; margin-top: 2px; }

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-200), var(--purple-200));
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.music-btn:hover {
  transform: scale(1.1) rotate(10deg);
}

.music-btn.playing {
  animation: musicSpin 3s linear infinite;
}

@keyframes musicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--pink-500);
}

/* ========== 主内容 ========== */
main {
  padding-top: 90px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.page {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  animation: pageIn 0.5s ease;
}

.page.active {
  display: block;
}

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

.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--pink-600);
  margin: 40px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.title-decor {
  color: var(--pink-400);
  font-size: 24px;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 15px;
}

/* ========== 按钮 ========== */
.btn-pink {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-pink:active {
  transform: translateY(0);
}

.btn-pink.btn-small {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple-300), var(--purple-400));
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(197, 163, 255, 0.4);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 163, 255, 0.5);
}

.btn-purple.btn-small {
  padding: 8px 18px;
  font-size: 13px;
}

/* ========== 首页 Hero ========== */
.hero-section {
  padding: 20px 0 40px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,240,246,0.7));
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-large);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-greeting {
  flex: 1;
}

.wave {
  font-size: 36px;
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-10deg); }
}

.hero-greeting h1 {
  font-size: 28px;
  color: var(--text-secondary);
  margin: 10px 0;
}

.hero-title {
  font-size: 44px !important;
  color: var(--pink-600) !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px !important;
  line-height: 1.2;
}

.title-decor-left, .title-decor-right {
  color: var(--pink-300);
  font-size: 28px;
}

.title-decor-right { animation: spinSlow 6s linear infinite; }

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.hero-avatar {
  flex-shrink: 0;
}

.avatar-frame {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-200), var(--purple-200));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-large);
}

.avatar-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.avatar-sparkle {
  position: absolute;
  font-size: 20px;
  animation: sparkle 2s ease-in-out infinite;
}

.avatar-sparkle.s1 { top: 5px; left: 20px; color: #ffd700; }
.avatar-sparkle.s2 { bottom: 15px; right: 10px; color: var(--pink-400); animation-delay: 1s; }
.avatar-sparkle.s3 { top: 30px; right: 5px; color: var(--purple-400); animation-delay: 0.5s; }

@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* 轮播 */
.carousel {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 140px;
  box-shadow: var(--shadow-medium);
}

.carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s ease;
}

.carousel-slide {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.slide-emoji {
  font-size: 48px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.slide-text {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 24px;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  width: 24px;
  border-radius: 5px;
}

/* 个人介绍 */
.intro-card {
  margin: 40px 0;
  padding: 35px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
}

.intro-header {
  text-align: center;
  margin-bottom: 20px;
}

.intro-badge {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--pink-200), var(--purple-200));
  color: var(--pink-600);
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

.intro-header h2 {
  font-size: 28px;
  color: var(--pink-600);
}

.intro-body p {
  margin-bottom: 10px;
  color: var(--text-secondary);
  text-align: center;
  font-size: 15px;
}

.intro-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--pink-100);
  color: var(--pink-600);
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--pink-200);
  transform: translateY(-2px);
}

/* 快捷入口卡片 */
.quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.quick-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-color, var(--pink-300));
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--card-color, var(--pink-300));
}

.qc-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.quick-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.quick-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.qc-arrow {
  display: inline-block;
  font-size: 18px;
  color: var(--card-color, var(--pink-400));
  transition: transform 0.3s ease;
}

.quick-card:hover .qc-arrow {
  transform: translateX(5px);
}

/* ========== 心灵寄语 ========== */
.quote-card-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.quote-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,240,246,0.9));
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: var(--shadow-large);
  border: 2px solid rgba(255, 182, 217, 0.4);
  margin-bottom: 25px;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-decor {
  color: var(--pink-300);
  font-size: 16px;
  letter-spacing: 8px;
}

.quote-decor.top { margin-bottom: 20px; }
.quote-decor.bottom { margin-top: 20px; }

.quote-text {
  font-size: 20px;
  color: var(--text-primary);
  line-height: 2;
  font-style: italic;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.quote-text.fade {
  opacity: 0;
}

.quote-author {
  margin-top: 15px;
  color: var(--text-muted);
  font-size: 13px;
}

.quote-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ========== 创新功能 ========== */
.innov-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.innov-tab {
  padding: 10px 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.7);
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.innov-tab:hover {
  background: var(--pink-100);
}

.innov-tab.active {
  background: linear-gradient(135deg, var(--pink-300), var(--purple-300));
  color: white;
  box-shadow: var(--shadow-soft);
}

.innov-panel {
  display: none;
  animation: pageIn 0.4s ease;
}

.innov-panel.active {
  display: block;
}

/* 心情打卡 */
.mood-card, .fortune-card, .todo-card, .color-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
  max-width: 700px;
  margin: 0 auto;
}

.mood-card h3 {
  text-align: center;
  font-size: 22px;
  color: var(--pink-600);
  margin-bottom: 20px;
}

.mood-emojis {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.mood-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 14px;
  border-radius: var(--radius-md);
  background: var(--pink-50);
  transition: all 0.3s ease;
  font-size: 28px;
  min-width: 70px;
}

.mood-btn:hover {
  background: var(--pink-100);
  transform: translateY(-3px);
}

.mood-btn.selected {
  background: linear-gradient(135deg, var(--pink-200), var(--purple-200));
  box-shadow: var(--shadow-soft);
  transform: scale(1.05);
}

.mood-btn small {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.mood-note {
  width: 100%;
  min-height: 80px;
  padding: 14px;
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  resize: vertical;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.mood-note:focus {
  border-color: var(--pink-300);
}

.mood-card > .btn-pink {
  display: block;
  margin: 0 auto 25px;
}

.mood-history h4 {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 16px;
}

.mood-list {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mood-item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 10px 14px;
   background: var(--pink-50);
   border-radius: var(--radius-sm);
   font-size: 13px;
   position: relative;
 }

 .mood-item .mood-date {
   color: var(--text-muted);
   font-size: 11px;
   min-width: 120px;
   flex-shrink: 0;
   line-height: 1.4;
 }

 .mood-item .mood-emoji {
   font-size: 22px;
   flex-shrink: 0;
 }

 .mood-item .mood-text {
   flex: 1;
   color: var(--text-secondary);
   word-break: break-all;
 }

 .mood-item .mood-del {
   color: var(--pink-500);
   font-size: 18px;
   cursor: pointer;
   padding: 4px 8px;
   border-radius: 50%;
   transition: all 0.2s ease;
   opacity: 0.6;
   flex-shrink: 0;
   background: rgba(255,255,255,0.6);
 }

 .mood-item:hover .mood-del {
   opacity: 1;
 }

 .mood-item .mood-del:hover {
   color: var(--pink-500);
   background: #ffe0e8;
 }

/* 幸运抽签 */
.fortune-card {
  text-align: center;
}

.fortune-box {
  background: linear-gradient(135deg, var(--pink-100), var(--purple-100));
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 25px;
}

.fortune-stick {
  font-size: 64px;
  margin-bottom: 20px;
  animation: swing 3s ease-in-out infinite;
}

@keyframes swing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.fortune-stick.shaking {
  animation: shake 0.5s ease-in-out 3;
}

@keyframes shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

.fortune-level {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 28px;
  color: var(--pink-600);
  margin-bottom: 12px;
}

.fortune-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.8;
}

.fortune-tips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fortune-tips span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* 心愿清单 */
.todo-card h3 {
  font-size: 22px;
  color: var(--pink-600);
  margin-bottom: 20px;
  text-align: center;
}

.todo-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.todo-input-row input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.todo-input-row input:focus {
  border-color: var(--pink-300);
}

.todo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.todo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--pink-50);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.todo-item:hover {
  background: var(--pink-100);
}

.todo-item.completed {
  opacity: 0.6;
}

.todo-item.completed .todo-text {
  text-decoration: line-through;
}

.todo-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--pink-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.todo-check.checked {
  background: var(--pink-400);
  color: white;
  border-color: var(--pink-400);
}

.todo-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
}

.todo-delete {
  color: var(--text-muted);
  font-size: 18px;
  padding: 4px 8px;
  transition: color 0.3s ease;
}

.todo-delete:hover {
  color: var(--pink-500);
}

/* 颜色搭配 */
.color-card h3 {
  font-size: 22px;
  color: var(--pink-600);
  margin-bottom: 10px;
  text-align: center;
}

.color-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 14px;
}

.color-palettes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.palette-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}

.palette-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.palette-colors {
  display: flex;
  height: 80px;
}

.palette-colors span {
  flex: 1;
}

.palette-name {
  background: white;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========== 企业功能 ========== */
.enterprise-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.ent-tab {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.7);
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.3s ease;
}

.ent-tab:hover {
  background: var(--purple-100);
}

.ent-tab.active {
  background: linear-gradient(135deg, var(--purple-300), var(--pink-300));
  color: white;
  box-shadow: var(--shadow-soft);
}

.ent-panel {
  display: none;
  animation: pageIn 0.4s ease;
}

.ent-panel.active {
  display: block;
}

/* 简历 */
.resume-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(197, 163, 255, 0.3);
}

.resume-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px dashed var(--pink-100);
}

.resume-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-200), var(--purple-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.resume-info {
  flex: 1;
}

.resume-info h2 {
  font-size: 26px;
  color: var(--pink-600);
  margin-bottom: 4px;
}

.resume-info p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.resume-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.resume-section {
  margin-bottom: 25px;
}

.resume-section h3 {
  font-size: 18px;
  color: var(--purple-400);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--pink-300);
}

.resume-section p {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 14px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

[contenteditable="true"] {
  outline: 2px dashed transparent;
  border-radius: 6px;
  padding: 4px;
  transition: all 0.3s ease;
}

[contenteditable="true"]:focus {
  outline-color: var(--pink-300);
  background: var(--pink-50);
}

/* 项目看板 */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kanban-col {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 18px;
  min-height: 400px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
}

.kanban-col[data-status="todo"] { border-top: 4px solid var(--peach-300); }
.kanban-col[data-status="doing"] { border-top: 4px solid var(--purple-300); }
.kanban-col[data-status="done"] { border-top: 4px solid var(--mint-200); }

.kanban-col-header {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-align: center;
}

.kanban-tasks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}

.kanban-task {
   background: white;
   padding: 12px 14px;
   border-radius: var(--radius-sm);
   font-size: 13px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.06);
   cursor: grab;
   transition: all 0.3s ease;
   display: flex;
   align-items: flex-start;
   gap: 8px;
   flex-direction: column;
 }

 .kanban-task:hover {
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
 }

 .kanban-task .task-title {
   font-weight: 500;
   color: var(--text-primary);
   width: 100%;
   display: flex;
   align-items: center;
   gap: 6px;
 }

 .kanban-task .task-desc {
   font-size: 11px;
   color: var(--text-muted);
   line-height: 1.5;
   width: 100%;
   margin-top: 4px;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
 }

 .kanban-task .task-actions {
   display: flex;
   gap: 4px;
   margin-left: auto;
   margin-top: 4px;
 }

 .kanban-task .task-del, .kanban-task .task-next {
   color: var(--text-secondary);
   font-size: 16px;
   cursor: pointer;
   padding: 2px 8px;
   border-radius: 6px;
   opacity: 0.6;
   transition: all 0.2s ease;
   background: var(--pink-50);
   line-height: 1;
   font-weight: bold;
 }

 .kanban-task:hover .task-del,
 .kanban-task:hover .task-next {
   opacity: 1;
 }

 .kanban-task .task-next:hover {
   color: var(--purple-400);
   background: var(--purple-100);
 }

 .kanban-task .task-del:hover {
   color: var(--pink-600);
   background: #ffe0e8;
 }

.kanban-add {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background: var(--pink-50);
  color: var(--pink-500);
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: all 0.3s ease;
}

.kanban-add:hover {
  background: var(--pink-100);
}

/* 会议笔记 */
.notes-app {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  min-height: 500px;
}

.notes-sidebar {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notes-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.note-item:hover {
  background: var(--pink-50);
}

.note-item.active {
  background: var(--pink-100);
}

.note-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.note-item-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.notes-editor {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notes-editor input[type="text"] {
  padding: 12px 16px;
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-md);
  font-size: 18px;
  font-family: 'ZCOOL KuaiLe', cursive;
  transition: border-color 0.3s ease;
}

.notes-editor input:focus {
  border-color: var(--pink-300);
}

.notes-editor textarea {
  flex: 1;
  min-height: 300px;
  padding: 14px 16px;
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  resize: vertical;
  line-height: 1.8;
  transition: border-color 0.3s ease;
}

.notes-editor textarea:focus {
  border-color: var(--pink-300);
}

.notes-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-date {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

/* 数据看板 */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}

.stat-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
  transition: all 0.3s ease;
}

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

.stat-icon {
  font-size: 36px;
}

.stat-value {
  font-family: 'ZCOOL KuaiLe', cursive;
  font-size: 26px;
  color: var(--pink-600);
}

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

.dashboard-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.chart-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
}

.chart-card h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 16px;
}

.chart-box {
  height: 280px;
}

/* 联系人 */
.contacts-app {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(255, 182, 217, 0.3);
}

.contacts-toolbar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contacts-toolbar input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.contacts-toolbar input:focus {
  border-color: var(--pink-300);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  background: var(--pink-50);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.contact-card:hover {
   transform: translateY(-3px);
   box-shadow: var(--shadow-soft);
 }

 .contact-avatar {
   width: 56px;
   height: 56px;
   border-radius: 50%;
   background: linear-gradient(135deg, var(--pink-200), var(--purple-200));
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 28px;
   margin: 0 auto 10px;
 }

 .contact-name {
   font-family: 'ZCOOL KuaiLe', cursive;
   font-size: 16px;
   color: var(--text-primary);
   margin-bottom: 2px;
 }

 .contact-role {
   font-size: 12px;
   color: var(--text-muted);
   margin-bottom: 2px;
 }

 .contact-company {
   font-size: 11px;
   color: var(--pink-400);
   margin-bottom: 8px;
 }

 .contact-info {
   font-size: 11px;
   color: var(--text-secondary);
   text-align: left;
   padding: 8px 10px;
   background: rgba(255,255,255,0.6);
   border-radius: var(--radius-sm);
   margin-top: 6px;
 }

 .contact-info p {
   margin: 2px 0;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
 }

 .contact-note {
   font-size: 11px;
   color: var(--text-muted);
   margin-top: 6px;
   font-style: italic;
   text-align: left;
   padding: 0 4px;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
 }

.contact-del {
   position: absolute;
   top: 6px;
   right: 6px;
   width: 24px;
   height: 24px;
   border-radius: 50%;
   background: rgba(255,255,255,0.9);
   color: var(--pink-500);
   font-size: 16px;
   line-height: 22px;
   text-align: center;
   opacity: 0.7;
   transition: all 0.3s ease;
   cursor: pointer;
   border: 1px solid var(--pink-200);
   z-index: 3;
   box-shadow: 0 2px 6px rgba(0,0,0,0.1);
 }

.contact-card:hover .contact-del {
  opacity: 1;
}

.contact-del:hover {
  color: var(--pink-500);
}

/* ========== 弹窗 ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(93, 64, 87, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: linear-gradient(135deg, #fff, #fff5f9);
  border-radius: var(--radius-xl);
  padding: 35px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-large);
  border: 2px solid rgba(255, 182, 217, 0.5);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--pink-500);
  transform: rotate(90deg);
}

.modal h3 {
  font-size: 22px;
  color: var(--pink-600);
  margin-bottom: 20px;
  text-align: center;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.modal form input,
.modal form textarea {
  padding: 12px 16px;
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.modal form input:focus,
 .modal form textarea:focus {
   border-color: var(--pink-300);
 }

 .modal form select {
   padding: 12px 16px;
   border: 2px solid var(--pink-100);
   border-radius: var(--radius-md);
   font-size: 14px;
   background: white;
   color: var(--text-primary);
   outline: none;
   transition: border-color 0.3s ease;
   appearance: none;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e85a94' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 14px center;
   padding-right: 36px;
 }

 .modal form select:focus {
   border-color: var(--pink-300);
 }

 .confirm-modal {
   max-width: 320px;
   text-align: center;
 }

 .confirm-message {
   font-size: 14px;
   color: var(--text-secondary);
   margin: 10px 0 20px;
   line-height: 1.6;
 }

 .confirm-actions {
   display: flex;
   gap: 12px;
   justify-content: center;
 }

 .confirm-cancel {
   background: var(--pink-100) !important;
   color: var(--pink-500) !important;
   box-shadow: none !important;
 }

 .form-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 15px;
 }

 @media (max-width: 500px) {
   .form-row {
     grid-template-columns: 1fr;
   }
 }

 .task-form, .contact-form {
   display: flex;
   flex-direction: column;
   gap: 14px;
 }

.error-msg {
  color: #e85a94;
  font-size: 13px;
  text-align: center;
}

/* ========== 音乐提示条 ========== */
.music-hint {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(135deg, rgba(255,158,194,0.95), rgba(197,163,255,0.95));
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(255,158,194,0.4);
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  pointer-events: none;
  animation: hintPulse 2s ease-in-out infinite;
}

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

.music-hint.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
}

@keyframes hintPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,158,194,0.4); }
  50% { box-shadow: 0 4px 30px rgba(255,158,194,0.6); }
}

.music-hint span:first-child {
  font-size: 18px;
  animation: musicNote 1.5s ease-in-out infinite;
}

@keyframes musicNote {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(10deg); }
}

/* ========== Toast 提示 ========== */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(135deg, var(--pink-400), var(--purple-400));
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

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

/* ========== 底部 ========== */
.footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-muted);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.footer-sub {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.7;
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .navbar {
    padding: 10px 16px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 15px;
    gap: 4px;
    border-bottom: 2px solid rgba(255, 182, 217, 0.4);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    flex-direction: row;
    padding: 12px 20px;
    justify-content: flex-start;
    gap: 12px;
  }

  .nav-icon { font-size: 20px; }
  .nav-text { font-size: 14px; margin-top: 0; }

  .menu-toggle {
    display: block;
  }

  .nav-brand {
    font-size: 18px;
  }

  .music-btn {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .brand-bow { font-size: 20px; }

  main {
    padding-top: 80px;
  }

  .page {
    padding: 15px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 25px;
    gap: 20px;
  }

  .hero-title {
    font-size: 28px !important;
    justify-content: center;
  }

  .section-title {
    font-size: 24px;
  }

  .kanban-board {
    grid-template-columns: 1fr;
  }

  .notes-app {
    grid-template-columns: 1fr;
  }

  .dashboard-charts {
    grid-template-columns: 1fr;
  }

  .enterprise-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 5px;
  }

  .innov-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 5px;
  }

  .resume-header {
    flex-direction: column;
    text-align: center;
  }

  .resume-contact {
    justify-content: center;
  }

  .shop-header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 500px) {
  .quick-cards {
    grid-template-columns: 1fr 1fr;
  }

  .quote-card {
    padding: 30px 20px;
    min-height: 220px;
  }

  .quote-text {
    font-size: 16px;
  }

  .modal {
    padding: 25px 20px;
  }

  .slide-text {
    font-size: 16px;
  }

  .slide-emoji {
    font-size: 32px;
  }
}
