/* ===================================
   统一排版风格 - 基于hero-title设计理念
   =================================== */

/* 导入字体 */
@import url('https://fonts.googleapis.com/css2?family=Oranienbaum:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   基础排版变量
   =================================== */
:root {
  /* 字体家族 */
  --font-display: 'Oranienbaum', serif;      /* 标题字体 */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* 正文字体 */
  
  /* 字体大小 */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  
  /* 行高 */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* 字重 */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* 颜色 */
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --text-muted: #8e9aaf;
  --text-accent: #c2b3a5;
  --text-accent-dark: #8e7d6b;
  
  /* 间距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

/* ===================================
   基础排版重置
   =================================== */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  font-weight: var(--font-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   标题样式系统
   =================================== */

/* 主标题 - 基于hero-title风格 */
.section-title {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-accent), var(--text-accent-dark));
  box-shadow: 0 0 10px rgba(194, 179, 165, 0.3);
}

/* 响应式标题大小 */
.section-title {
  font-size: var(--text-4xl);
}

@media (max-width: 767px) {
  .section-title {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1200px) {
  .section-title {
    font-size: var(--text-5xl);
  }
}

/* 副标题 */
.section-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--font-normal);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: var(--leading-snug);
}

@media (max-width: 767px) {
  .section-subtitle {
    font-size: var(--text-lg);
  }
}

/* 小标题 */
.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: var(--leading-snug);
}

/* ===================================
   正文样式
   =================================== */

/* 段落文本 */
.section-text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-normal);
}

.section-text-large {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-normal);
}

/* 特色文本 */
.feature-text {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-normal);
}

/* ===================================
   特殊文本效果
   =================================== */

/* 强调文本 */
.text-emphasis {
  color: var(--text-accent-dark);
  font-weight: var(--font-medium);
}

/* 引号文本 */
.quote-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  position: relative;
  padding-left: var(--spacing-lg);
}

.quote-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: var(--text-4xl);
  color: var(--text-accent);
  font-family: var(--font-display);
}

/* ===================================
   列表样式
   =================================== */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text-accent);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
}

/* ===================================
   响应式排版
   =================================== */

@media (max-width: 767px) {
  .section-text {
    font-size: var(--text-sm);
  }
  
  .section-text-large {
    font-size: var(--text-base);
  }
  
  .feature-text {
    font-size: var(--text-xs);
  }
}

@media (min-width: 1200px) {
  .section-text {
    font-size: var(--text-lg);
  }
  
  .section-text-large {
    font-size: var(--text-xl);
  }
  
  .feature-text {
    font-size: var(--text-base);
  }
}

/* ===================================
   动画效果
   =================================== */

/* 淡入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 悬停效果 */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===================================
   无障碍设计
   =================================== */

/* 高对比度模式 */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
  }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 深色主题支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
  }
} 