/* ===== 彩虹主题 CSS ===== */
:root {
  --rainbow-red: #ff6b6b;
  --rainbow-orange: #f9ca24;
  --rainbow-yellow: #feca57;
  --rainbow-green: #1dd1a1;
  --rainbow-blue: #54a0ff;
  --rainbow-indigo: #5f27cd;
  --rainbow-violet: #ff9ff3;
  
  --primary: #2d3436;
  --primary-light: #636e72;
  --text: #2d3436;
  --text-light: #636e72;
  --text-lighter: #b2bec3;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-dark: #2d3436;
  --border: #dfe6e9;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
  --shadow-rainbow: 0 8px 30px rgba(255,107,107,0.2);
  
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  
  --max-width: 1100px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== 彩虹动画 ===== */
@keyframes rainbow-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes rainbow-border {
  0% { border-color: var(--rainbow-red); }
  14% { border-color: var(--rainbow-orange); }
  28% { border-color: var(--rainbow-yellow); }
  42% { border-color: var(--rainbow-green); }
  57% { border-color: var(--rainbow-blue); }
  71% { border-color: var(--rainbow-indigo); }
  85% { border-color: var(--rainbow-violet); }
  100% { border-color: var(--rainbow-red); }
}

@keyframes rainbow-text {
  0% { color: var(--rainbow-red); }
  14% { color: var(--rainbow-orange); }
  28% { color: var(--rainbow-yellow); }
  42% { color: var(--rainbow-green); }
  57% { color: var(--rainbow-blue); }
  71% { color: var(--rainbow-indigo); }
  85% { color: var(--rainbow-violet); }
  100% { color: var(--rainbow-red); }
}

@keyframes rainbow-shadow {
  0% { box-shadow: 0 8px 30px rgba(255,107,107,0.3); }
  14% { box-shadow: 0 8px 30px rgba(249,202,36,0.3); }
  28% { box-shadow: 0 8px 30px rgba(254,202,87,0.3); }
  42% { box-shadow: 0 8px 30px rgba(29,209,161,0.3); }
  57% { box-shadow: 0 8px 30px rgba(84,160,255,0.3); }
  71% { box-shadow: 0 8px 30px rgba(95,39,205,0.3); }
  85% { box-shadow: 0 8px 30px rgba(255,159,243,0.3); }
  100% { box-shadow: 0 8px 30px rgba(255,107,107,0.3); }
}

@keyframes float-rainbow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(2deg); }
  50% { transform: translateY(-4px) rotate(-1deg); }
  75% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ===== 彩虹渐变工具类 ===== */
.rainbow-gradient {
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  background-size: 300% 300%;
  animation: rainbow-flow 6s ease infinite;
}

.rainbow-text-animated {
  animation: rainbow-text 4s linear infinite;
}

.rainbow-border-animated {
  animation: rainbow-border 3s linear infinite;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 3px solid;
  animation: rainbow-border 4s linear infinite;
  transition: var(--transition);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 0.75rem;
  color: var(--text-lighter);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--bg-alt);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-full);
  z-index: -1;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: white;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  opacity: 1;
}

/* ===== 悬浮菜单 ===== */
.floating-menu {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.floating-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: var(--transition);
  animation: rainbow-shadow 3s linear infinite, pulse-glow 2s ease infinite;
  position: relative;
}

.floating-toggle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
}

.floating-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(20px) scale(0.8);
  pointer-events: none;
  transition: var(--transition);
}

.floating-menu:hover .floating-items,
.floating-menu.active .floating-items {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.floating-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.floating-item:hover {
  transform: scale(1.15) rotate(5deg);
}

.floating-item:nth-child(1) { background: var(--rainbow-red); }
.floating-item:nth-child(2) { background: var(--rainbow-orange); }
.floating-item:nth-child(3) { background: var(--rainbow-green); }
.floating-item:nth-child(4) { background: var(--rainbow-blue); }
.floating-item:nth-child(5) { background: var(--rainbow-indigo); }

.floating-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.floating-item:hover .floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  background-size: 300% 300%;
  animation: rainbow-flow 5s ease infinite;
  color: white;
  box-shadow: 0 6px 25px rgba(255,107,107,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(255,107,107,0.5);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 3px solid;
  animation: rainbow-border 4s linear infinite;
  font-weight: 700;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  background-size: 300% 300%;
  animation: rainbow-flow 5s ease infinite;
  color: white;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ===== 容器与布局 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  display: flex;
  justify-content: center;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: white;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, 
    rgba(255,107,107,0.15), rgba(249,202,36,0.15), rgba(29,209,161,0.15),
    rgba(84,160,255,0.15), rgba(95,39,205,0.15));
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rainbow-indigo);
  margin-bottom: 1rem;
  border: 2px solid transparent;
  animation: rainbow-border 5s linear infinite;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

.section-dark .section-title {
  color: white;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  text-align: center;
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.7);
}

/* ===== Hero（对称布局） ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: linear-gradient(180deg, 
    rgba(255,107,107,0.05) 0%, 
    rgba(249,202,36,0.05) 20%,
    rgba(29,209,161,0.05) 40%,
    rgba(84,160,255,0.05) 60%,
    rgba(95,39,205,0.05) 80%,
    rgba(255,159,243,0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,107,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-rainbow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(84,160,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-rainbow 10s ease-in-out infinite 2s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: white;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 2px solid var(--rainbow-green);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--rainbow-green);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.hero-title span {
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% 300%;
  animation: rainbow-flow 4s ease infinite;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 480px;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid;
  animation: rainbow-border 5s linear infinite;
}

.hero-stat {
  text-align: center;
  flex: 1;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 2;
  border: 3px solid transparent;
  animation: rainbow-border 6s linear infinite;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  flex-shrink: 0;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow));
}

.hero-card-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-card-info p {
  font-size: 0.875rem;
  color: var(--text-lighter);
}

.hero-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card-line {
  height: 14px;
  background: linear-gradient(90deg, var(--bg-alt), var(--border));
  border-radius: 7px;
  animation: shimmer 2s infinite;
}

.hero-card-line:nth-child(1) { width: 100%; }
.hero-card-line:nth-child(2) { width: 80%; }
.hero-card-line:nth-child(3) { width: 65%; }

@keyframes shimmer {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.hero-float {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 3;
  border: 2px solid;
}

.hero-float-1 {
  top: -15px;
  right: -10px;
  animation: float-rainbow 4s ease-in-out infinite, rainbow-border 3s linear infinite;
  color: var(--rainbow-green);
}

.hero-float-2 {
  bottom: 30px;
  left: -25px;
  animation: float-rainbow 5s ease-in-out infinite 1s, rainbow-border 3s linear infinite 1s;
  color: var(--rainbow-blue);
}

/* ===== 对称流程卡片 ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 3px solid transparent;
  animation: rainbow-border 6s linear infinite;
  animation-delay: calc(var(--i, 0) * 0.5s);
}

.process-card:nth-child(1) { --i: 0; }
.process-card:nth-child(2) { --i: 1; }
.process-card:nth-child(3) { --i: 2; }
.process-card:nth-child(4) { --i: 3; }

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

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.25rem;
}

.process-card:nth-child(1) .process-number { background: var(--rainbow-red); }
.process-card:nth-child(2) .process-number { background: var(--rainbow-yellow); }
.process-card:nth-child(3) .process-number { background: var(--rainbow-green); }
.process-card:nth-child(4) .process-number { background: var(--rainbow-blue); }

.process-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ===== 对称案例卡片 ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 3px solid transparent;
  animation: rainbow-border 7s linear infinite;
  animation-delay: calc(var(--i, 0) * 0.7s);
}

.case-card:nth-child(1) { --i: 0; }
.case-card:nth-child(2) { --i: 1; }
.case-card:nth-child(3) { --i: 2; }

.case-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.case-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.case-card:nth-child(1) .case-card-image {
  background: linear-gradient(135deg, var(--rainbow-red), var(--rainbow-orange));
}
.case-card:nth-child(2) .case-card-image {
  background: linear-gradient(135deg, var(--rainbow-green), var(--rainbow-blue));
}
.case-card:nth-child(3) .case-card-image {
  background: linear-gradient(135deg, var(--rainbow-indigo), var(--rainbow-violet));
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-content {
  padding: 1.75rem;
  text-align: center;
}

.case-card-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.case-card:nth-child(1) .case-card-tag { background: var(--rainbow-red); }
.case-card:nth-child(2) .case-card-tag { background: var(--rainbow-green); }
.case-card:nth-child(3) .case-card-tag { background: var(--rainbow-indigo); }

.case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.case-card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-lighter);
}

.case-card-meta .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rainbow-orange), var(--rainbow-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
}

/* ===== 对称理念卡片 ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  color: white;
}

.value-card:nth-child(1) .value-icon { background: linear-gradient(135deg, var(--rainbow-red), var(--rainbow-orange)); }
.value-card:nth-child(2) .value-icon { background: linear-gradient(135deg, var(--rainbow-green), var(--rainbow-blue)); }
.value-card:nth-child(3) .value-icon { background: linear-gradient(135deg, var(--rainbow-indigo), var(--rainbow-violet)); }

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

/* ===== 对称统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 3px solid transparent;
  animation: rainbow-border 6s linear infinite;
  animation-delay: calc(var(--i, 0) * 0.4s);
}

.stat-card:nth-child(1) { --i: 0; }
.stat-card:nth-child(2) { --i: 1; }
.stat-card:nth-child(3) { --i: 2; }
.stat-card:nth-child(4) { --i: 3; }

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

.stat-value {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% 300%;
  animation: rainbow-flow 4s ease infinite;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  display: flex;
  justify-content: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-brand .logo {
  color: white;
  font-size: 1.75rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.footer-links a:hover {
  color: var(--rainbow-yellow);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rainbow-red), var(--rainbow-violet));
  transition: var(--transition);
  transform: translateX(-50%);
}

.footer-links a:hover::after {
  width: 100%;
}

.copyright {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== 动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ===== 简历页（对称） ===== */
.resume-page {
  padding-top: 110px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.resume-container {
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.resume-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid;
  animation: rainbow-border 4s linear infinite;
  flex-wrap: wrap;
  text-align: center;
}

.resume-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  background-size: 300% 300%;
  animation: rainbow-flow 4s ease infinite;
  box-shadow: var(--shadow);
}

.resume-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resume-header-info h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.resume-header-info .meta {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.resume-header-info .contact-info {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.resume-section {
  margin-bottom: 2.5rem;
  text-align: center;
}

.resume-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(84,160,255,0.1));
  border: 2px solid;
  animation: rainbow-border 4s linear infinite;
}

.resume-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.resume-item {
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.resume-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--rainbow-blue);
}

.resume-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.resume-item .time {
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-bottom: 0.75rem;
}

.resume-item ul {
  list-style: none;
  padding-left: 0;
  color: var(--text-light);
  font-size: 0.95rem;
  text-align: center;
}

.resume-item ul li {
  margin-bottom: 0.35rem;
  padding: 0.35rem 0;
  position: relative;
}

.resume-item ul li::before {
  content: '🌈';
  margin-right: 0.5rem;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}

.resume-tag {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  transition: var(--transition);
  cursor: default;
}

.resume-tag:nth-child(7n+1) { background: var(--rainbow-red); }
.resume-tag:nth-child(7n+2) { background: var(--rainbow-orange); }
.resume-tag:nth-child(7n+3) { background: var(--rainbow-yellow); color: var(--primary); }
.resume-tag:nth-child(7n+4) { background: var(--rainbow-green); }
.resume-tag:nth-child(7n+5) { background: var(--rainbow-blue); }
.resume-tag:nth-child(7n+6) { background: var(--rainbow-indigo); }
.resume-tag:nth-child(7n+7) { background: var(--rainbow-violet); }

.resume-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-sm);
}

/* ===== 关于页 ===== */
.about-hero {
  padding-top: 130px;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, 
    rgba(255,107,107,0.05) 0%, 
    rgba(84,160,255,0.05) 100%);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-story {
  margin-bottom: 3rem;
}

.about-story h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(84,160,255,0.1));
  border: 2px solid;
  animation: rainbow-border 4s linear infinite;
}

.about-story p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--rainbow-blue);
}

.faq-question {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  background: linear-gradient(135deg, var(--rainbow-red), var(--rainbow-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-light);
  font-size: 0.95rem;
  text-align: center;
}

/* ===== 联系页（对称） ===== */
.contact-page {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  text-align: center;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateX(8px);
  border-color: var(--rainbow-green);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: white;
}

.contact-method:nth-child(1) .contact-method-icon { background: var(--rainbow-red); }
.contact-method:nth-child(2) .contact-method-icon { background: var(--rainbow-orange); }
.contact-method:nth-child(3) .contact-method-icon { background: var(--rainbow-green); }
.contact-method:nth-child(4) .contact-method-icon { background: var(--rainbow-blue); }

.contact-method-info {
  text-align: left;
}

.contact-method-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-method-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  animation: rainbow-border 5s linear infinite;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rainbow-blue);
  box-shadow: 0 0 0 4px rgba(84,160,255,0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: var(--rainbow-red);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
  font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--rainbow-red);
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  background: rgba(29,209,161,0.1);
  border: 2px solid var(--rainbow-green);
  color: #0d8b6a;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: none;
  font-weight: 600;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.turnstile-container {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

/* ===== 404 ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  text-align: center;
}

.error-content {
  max-width: 480px;
  padding: 2rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, 
    var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow),
    var(--rainbow-green), var(--rainbow-blue), var(--rainbow-indigo), var(--rainbow-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% 300%;
  animation: rainbow-flow 3s ease infinite;
}

.error-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.error-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title,
  .hero-subtitle {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-methods {
    align-items: center;
  }
  
  .floating-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 3px solid;
    animation: rainbow-border 4s linear infinite;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    opacity: 0;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .process-grid,
  .cases-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .resume-header {
    flex-direction: column;
  }
  
  .error-code {
    font-size: 5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* ===== 模态框弹窗 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 3vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 1100px;
  max-height: 94vh;
  height: 94vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  border: 3px solid transparent;
  animation: rainbow-border 4s linear infinite;
  transform: translateY(30px) scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid var(--border);
  flex-shrink: 0;
  background: white;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text-light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  background: linear-gradient(135deg, var(--rainbow-red), var(--rainbow-orange));
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  flex: 1;
  overflow: auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: none;
  display: block;
}

@media (max-width: 1024px) {
  .modal-overlay {
    padding: 2vh 2vw;
  }
  .modal-container {
    max-width: 96vw;
    max-height: 96vh;
    height: 96vh;
    border-radius: var(--radius);
  }
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
  }
  .modal-container {
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    border: none;
  }
  .modal-header {
    padding: 0.875rem 1rem;
  }
  .modal-header h3 {
    font-size: 1rem;
  }
}
