/* 小七探险 PPT 全局样式 - 亮色主题版 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

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

:root {
  /* 渐变色保持不变 */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  
  /* 亮色主题背景 */
  --dark-bg: #f5f7fa;
  --dark-surface: #ffffff;
  --dark-card: #f8f9fc;
  --dark-border: #e2e8f0;
  
  /* 深色文字 */
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  
  /* 强调色 */
  --accent-blue: #3182ce;
  --accent-purple: #667eea;
  --accent-pink: #d53f8c;
  --accent-cyan: #0891b2;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #e8e8e8;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* 幻灯片容器 - 960x540 (16:9) */
.slide {
  width: 960px;
  height: 540px;
  margin: 20px auto;
  background: var(--dark-surface);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px var(--dark-border);
}

/* 网格背景 */
.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* 光晕效果 */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.glow-orb.purple {
  background: var(--accent-purple);
}

.glow-orb.blue {
  background: var(--accent-blue);
}

.glow-orb.pink {
  background: var(--accent-pink);
}

.glow-orb.cyan {
  background: var(--accent-cyan);
}

/* 章节页样式 */
.section-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 60px;
}

.section-number {
  font-size: 120px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.section-title {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 4px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  letter-spacing: 3px;
}

/* 内容页标题 */
.page-header {
  padding: 30px 40px 15px;
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-title-accent {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* 内容区域 */
.page-content {
  padding: 0 40px 30px;
  position: relative;
  z-index: 1;
}

/* 统计数据卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

.stat-value {
  font-size: 42px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

/* 信息卡片 */
.info-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.info-card.gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: var(--primary-gradient);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 图片占位符 */
.image-placeholder {
  background: var(--dark-card);
  border: 2px dashed var(--dark-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, var(--dark-border) 49%, var(--dark-border) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, var(--dark-border) 49%, var(--dark-border) 51%, transparent 52%);
  background-size: 18px 18px;
  opacity: 0.3;
}

.image-placeholder-icon {
  font-size: 48px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.image-placeholder-text {
  font-size: 15px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.image-placeholder-size {
  font-size: 12px;
  margin-top: 6px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* 流程步骤 */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

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

/* 标签 */
.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 20px;
  font-size: 13px;
  color: var(--accent-purple);
  margin-right: 8px;
  margin-bottom: 8px;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--primary-gradient);
}

.timeline-item {
  position: relative;
  margin-bottom: 22px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--dark-surface);
}

.timeline-year {
  font-size: 14px;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 4px;
}

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

/* 页码 */
.page-number {
  position: absolute;
  bottom: 24px;
  right: 40px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Logo 占位 */
.logo-placeholder {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: white;
}

/* 导航样式（index页面用） */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.nav-header {
  text-align: center;
  margin-bottom: 60px;
}

.nav-header h1 {
  font-size: 48px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.nav-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.nav-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.nav-card-number {
  font-size: 36px;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.nav-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.nav-card-type {
  font-size: 12px;
  color: var(--text-muted);
}

/* 合作伙伴 LOGO */
.partner-logo {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
  height: 100px;
}

/* 平台图标 */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.platform-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.platform-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 22px;
}

.platform-name {
  font-size: 14px;
  font-weight: 600;
}

/* 服务卡片 */
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 22px;
}

.service-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card .badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(49, 130, 206, 0.15);
  border-radius: 12px;
  font-size: 12px;
  color: var(--accent-cyan);
  margin-top: 10px;
}

/* 图标样式 */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-xl {
  width: 48px;
  height: 48px;
}

/* 渐变边框卡片 */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--primary-gradient);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 打印样式 */
@media print {
  .slide {
    margin: 0;
    page-break-after: always;
    box-shadow: none;
    border-radius: 0;
  }
}
